What is the Reward for Handwriting? -- Handwriting Generation by
Imitation Learning
- URL: http://arxiv.org/abs/2009.10962v1
- Date: Wed, 23 Sep 2020 07:04:08 GMT
- Title: What is the Reward for Handwriting? -- Handwriting Generation by
Imitation Learning
- Abstract summary: We use a reinforcement learning framework to realize handwriting generation with the careful future planning ability.
For the algorithm, we employ generative adversarial imitation learning (GAIL)
In other words, through GAIL, we can understand the reward of the handwriting generation process from handwriting examples.
- Score: 12.9611801481722
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Analyzing the handwriting generation process is an important issue and has
been tackled by various generation models, such as kinematics based models and
stochastic models. In this study, we use a reinforcement learning (RL)
framework to realize handwriting generation with the careful future planning
ability. In fact, the handwriting process of human beings is also supported by
their future planning ability; for example, the ability is necessary to
generate a closed trajectory like '0' because any shortsighted model, such as a
Markovian model, cannot generate it. For the algorithm, we employ generative
adversarial imitation learning (GAIL). Typical RL algorithms require the manual
definition of the reward function, which is very crucial to control the
generation process. In contrast, GAIL trains the reward function along with the
other modules of the framework. In other words, through GAIL, we can understand
the reward of the handwriting generation process from handwriting examples. Our
experimental results qualitatively and quantitatively show that the learned
reward catches the trends in handwriting generation and thus GAIL is well
suited for the acquisition of handwriting behavior.
Related papers
- HandwritingAgent: Language-Driven Handwriting Synthesis in Scalable Vector Space [12.612154268994184]
HandwritingAgent is a language-driven agent that can synthesize natural handwriting sequences directly in SVG format with no need for style-specific training.<n>Experiments on diverse handwriting tasks spanning imitation, recognition, multi-lingual handwriting synthesis, and generation of complex handwritten maths and science expressions indicate substantial improvement in performance.
arXiv Detail & Related papers (2026-06-17T08:02:19Z) - Layout Stroke Imitation: A Layout Guided Handwriting Stroke Generation for Style Imitation with Diffusion Model [8.457315999229907]
This work proposes multi-scale attention features for calligraphic style imitation.<n>These multi-scale feature embeddings highlight the local and global style features.<n> Secondly, we propose a conditional diffusion model to predict strokes in contrast to previous work, which directly generated style images.
arXiv Detail & Related papers (2025-09-19T06:53:17Z) - Looking beyond the next token [75.00751370502168]
We argue that rearranging and processing the training data sequences can allow models to more accurately imitate the true data-generating process.
Our method naturally enables the generation of long-term goals at no additional cost.
arXiv Detail & Related papers (2025-04-15T16:09:06Z) - Semi-Supervised Adaptation of Diffusion Models for Handwritten Text Generation [0.0]
We present an extension of a latent DM for handwritten text generation.
Our proposed content encoder allows for different ways of conditioning the DM on textual and calligraphic features.
For adapting the model to a new unlabeled data set, we propose a semi-supervised training scheme.
arXiv Detail & Related papers (2024-12-20T12:48:58Z) - Online Writer Retrieval with Chinese Handwritten Phrases: A Synergistic Temporal-Frequency Representation Learning Approach [53.189911918976655]
We propose DOLPHIN, a novel retrieval model designed to enhance handwriting representations through synergistic temporal-frequency analysis.<n>We introduce OLIWER, a large-scale online writer retrieval dataset encompassing over 670,000 Chinese handwritten phrases from 1,731 individuals.<n>Our findings emphasize the significance of point sampling frequency and pressure features in improving handwriting representation quality.
arXiv Detail & Related papers (2024-12-16T11:19:22Z) - Self-Supervised Representation Learning for Online Handwriting Text
Classification [0.8594140167290099]
We propose the novel Part of Stroke Masking (POSM) as a pretext task for pretraining models to extract informative representations from the online handwriting of individuals in English and Chinese languages.
To evaluate the quality of the extracted representations, we use both intrinsic and extrinsic evaluation methods.
The pretrained models are fine-tuned to achieve state-of-the-art results in tasks such as writer identification, gender classification, and handedness classification.
arXiv Detail & Related papers (2023-10-10T14:07:49Z) - Continual Zero-Shot Learning through Semantically Guided Generative
Random Walks [56.65465792750822]
We address the challenge of continual zero-shot learning where unseen information is not provided during training, by leveraging generative modeling.
We propose our learning algorithm that employs a novel semantically guided Generative Random Walk (GRW) loss.
Our algorithm achieves state-of-the-art performance on AWA1, AWA2, CUB, and SUN datasets, surpassing existing CZSL methods by 3-7%.
arXiv Detail & Related papers (2023-08-23T18:10:12Z) - Improving Accuracy and Explainability of Online Handwriting Recognition [0.9176056742068814]
We develop handwriting recognition models on the OnHW-chars dataset and improve the accuracy of previous models.
Our results are verifiable and reproducible via the provided public repository.
arXiv Detail & Related papers (2022-09-14T21:28:14Z) - Drawing out of Distribution with Neuro-Symbolic Generative Models [49.79371715591122]
Drawing out of Distribution is a neuro-symbolic generative model of stroke-based drawing.
DooD operates directly on images, requires no supervision or expensive test-time inference.
We evaluate DooD on its ability to generalise across both data and tasks.
arXiv Detail & Related papers (2022-06-03T21:40:22Z) - Towards Document-Level Paraphrase Generation with Sentence Rewriting and
Reordering [88.08581016329398]
We propose CoRPG (Coherence Relationship guided Paraphrase Generation) for document-level paraphrase generation.
We use graph GRU to encode the coherence relationship graph and get the coherence-aware representation for each sentence.
Our model can generate document paraphrase with more diversity and semantic preservation.
arXiv Detail & Related papers (2021-09-15T05:53:40Z) - Structural Information Preserving for Graph-to-Text Generation [59.00642847499138]
The task of graph-to-text generation aims at producing sentences that preserve the meaning of input graphs.
We propose to tackle this problem by leveraging richer training signals that can guide our model for preserving input information.
Experiments on two benchmarks for graph-to-text generation show the effectiveness of our approach over a state-of-the-art baseline.
arXiv Detail & Related papers (2021-02-12T20:09:01Z) - Diffusion models for Handwriting Generation [0.0]
We propose a diffusion probabilistic model for handwriting generation.
Our method does not require using any text-recognition based, writer-style based, or adversarial loss functions.
Our model is able to incorporate writer stylistic features directly from image data, eliminating the need for user interaction during sampling.
arXiv Detail & Related papers (2020-11-13T00:31:22Z) - Unsupervised Paraphrasing with Pretrained Language Models [85.03373221588707]
We propose a training pipeline that enables pre-trained language models to generate high-quality paraphrases in an unsupervised setting.
Our recipe consists of task-adaptation, self-supervision, and a novel decoding algorithm named Dynamic Blocking.
We show with automatic and human evaluations that our approach achieves state-of-the-art performance on both the Quora Question Pair and the ParaNMT datasets.
arXiv Detail & Related papers (2020-10-24T11:55:28Z) - Neural Language Modeling for Contextualized Temporal Graph Generation [49.21890450444187]
This paper presents the first study on using large-scale pre-trained language models for automated generation of an event-level temporal graph for a document.
arXiv Detail & Related papers (2020-10-20T07:08:00Z) - Handwriting Quality Analysis using Online-Offline Models [4.61479186986544]
This work is part of an innovative e-learning project allowing the development of an advanced digital educational tool.
It automatically detects mistakes, gives real-time on-line feedback for children's writing, and helps teachers comprehend and evaluate children's writing skills.
arXiv Detail & Related papers (2020-10-09T14:33:56Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.