mlsanityData to 13 Oct 2026

Zero-Shot Paragraph-level Handwriting Imitation with Latent Diffusion Models

arXiv 2409.00786 ↗First posted 1 Sep 2024cs.CVcited by 5

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

The imitation of cursive handwriting is mainly limited to generating handwritten words or lines. Multiple synthetic outputs must be stitched together to create paragraphs or whole pages, whereby consistency and layout information are lost. To close this gap, we propose a method for imitating handwriting at the paragraph level that also works for unseen writing styles. Therefore, we introduce a modified latent diffusion model that enriches the encoder-decoder mechanism with specialized loss functions that explicitly preserve the style and content. We enhance the attention mechanism of the diffusion model with adaptive 2D positional encoding and the conditioning mechanism to work with two modalities simultaneously: a style image and the target text. This significantly improves the realism of the generated handwriting. We set a new benchmark in our comprehensive evaluation, achieving 61 % mAP and 56 % top-1 accuracy in style preservation, significantly outperforming the previous best method (37 % mAP, 30 % top-1). We are making our code publicly available for reproducibility, supporting research in this area and research into potential countermeasures: https://github.com/M4rt1nM4yr/paragraph_handwriting_imitation_ldm

Key facts. Cited by 5 papers in the map (data through 13 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 40 of its 60 references that are in the map. First posted on arXiv 1 Sep 2024.

Builds on

40 of 60 references.

Closest ancestors · 6

Same direction, newest first

  1. 2024StylusAI: Stylistic Adaptation for Robust German Handwritten Text Generation22 Jul
  2. 2023Conditional Text Image Generation with Diffusion Models19 Jun
  3. 2023Improving Handwritten OCR with Training Samples Generated by Glyph Conditional Denoising Diffusion Probabilistic Model31 May
  4. 2023TextDiffuser: Diffusion Models as Text Painters18 May
  5. 2023WordStylist: Styled Verbatim Handwritten Text Generation with Latent Diffusion Models29 Mar
  6. 2020Diffusion models for Handwriting Generation13 Nov

Other references · 34

  1. 2017Attention Is All You Needcited by 60,106
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,043
  3. 2020Denoising Diffusion Probabilistic Modelscited by 20,952
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,777
  5. 2020Denoising Diffusion Implicit Modelscited by 9,718
  6. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,213
  7. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,023
  8. 2022Classifier-Free Diffusion Guidancecited by 5,785
  9. 2021Zero-Shot Text-to-Image Generationcited by 4,284
  10. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,751
  11. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,870
  12. 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 2,005
22 more
  1. 2018Demystifying MMD GANscited by 1,277
  2. 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,112
  3. 2013Generating Sequences With Recurrent Neural Networkscited by 553
  4. 2020Pay Attention to What You Read: Non-recurrent Handwritten Text-Line Recognitioncited by 71
  5. 2020ScrabbleGAN: Semi-Supervised Varying Length Handwritten Text Generationcited by 69
  6. 2020GANwriting: Content-Conditioned Generation of Styled Handwritten Word Imagescited by 68
  7. 2019On Recognizing Texts of Arbitrary Shapes with 2D Self-Attentioncited by 59
  8. 2018DeepWriting: Making Digital Ink Editable via Deep Generative Modelingcited by 39
  9. 2021Handwriting Transformerscited by 37
  10. 2020Text and Style Conditioned GAN for Generation of Offline Handwriting Linescited by 35
  11. 2022Content and Style Aware Generation of Text-line Images for Handwriting Recognitioncited by 35
  12. 2023Disentangling Writer and Character Styles for Handwriting Generationcited by 35
  13. 2022Few-Shot Font Generation by Learning Fine-Grained Local Stylescited by 34
  14. 2023Handwritten Text Generation from Visual Archetypescited by 32
  15. 2022SLOGAN: Handwriting Style Synthesis for Arbitrary-Length and Out-of-Vocabulary Textcited by 26
  16. 2021Page Layout Analysis System for Unconstrained Historic Documentscited by 20
  17. 2023HWD: A Novel Evaluation Score for Styled Handwritten Text Generationcited by 19
  18. 2021SmartPatch: Improving Handwritten Word Imitation with Patch Discriminatorscited by 17
  19. 2023AGTGAN: Unpaired Image Translation for Photographic Ancient Character Generationcited by 17
  20. 2017Encoding CNN Activations for Writer Recognitioncited by 13
  21. 2021Style Equalization: Unsupervised Learning of Controllable Generative Sequence Modelscited by 11
  22. 2020Spatio-Temporal Handwriting Imitationcited by 5

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025DiffInk: Glyph- and Style-Aware Latent Diffusion Transformer for Text to Online Handwriting Generation
  2. 2025Layout Stroke Imitation: A Layout Guided Handwriting Stroke Generation for Style Imitation with Diffusion Model
  3. 2024DiffusionPen: Towards Controlling the Style of Handwritten Text Generation
  4. 2023DS-Fusion: Artistic Typography via Discriminated and Stylized Diffusion
  5. 2026CONSTANT: Towards High-Quality One-Shot Handwriting Generation with Patch Contrastive Enhancement and Style-Aware Quantization
  6. 2026HandwritingAgent: Language-Driven Handwriting Synthesis in Scalable Vector Space
  7. 2024One-Shot Diffusion Mimicker for Handwritten Text Generation
  8. 2023Calliffusion: Chinese Calligraphy Generation and Style Transfer with Diffusion Modeling