CVLGMay 19, 2025

WriteViT: Handwritten Text Generation with Vision Transformer

arXiv:2505.13235v11 citationsh-index: 12
Originality Incremental advance
AI Analysis

This work addresses the problem of generating handwritten text in low-data settings, particularly for languages like Vietnamese with complex typography, offering an incremental improvement through transformer-based designs.

The paper tackles one-shot handwritten text synthesis by introducing WriteViT, a framework using Vision Transformers to separate content from style, achieving high-quality, style-consistent handwriting with strong recognition performance in low-resource scenarios on Vietnamese and English datasets.

Humans can quickly generalize handwriting styles from a single example by intuitively separating content from style. Machines, however, struggle with this task, especially in low-data settings, often missing subtle spatial and stylistic cues. Motivated by this gap, we introduce WriteViT, a one-shot handwritten text synthesis framework that incorporates Vision Transformers (ViT), a family of models that have shown strong performance across various computer vision tasks. WriteViT integrates a ViT-based Writer Identifier for extracting style embeddings, a multi-scale generator built with Transformer encoder-decoder blocks enhanced by conditional positional encoding (CPE), and a lightweight ViT-based recognizer. While previous methods typically rely on CNNs or CRNNs, our design leverages transformers in key components to better capture both fine-grained stroke details and higher-level style information. Although handwritten text synthesis has been widely explored, its application to Vietnamese -- a language rich in diacritics and complex typography -- remains limited. Experiments on Vietnamese and English datasets demonstrate that WriteViT produces high-quality, style-consistent handwriting while maintaining strong recognition performance in low-resource scenarios. These results highlight the promise of transformer-based designs for multilingual handwriting generation and efficient style adaptation.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes