mlsanityData to 14 Oct 2026

CONSTANT: Towards High-Quality One-Shot Handwriting Generation with Patch Contrastive Enhancement and Style-Aware Quantization

arXiv 2603.07543 ↗First posted 8 Mar 2026cs.CV cs.MMcited by 1

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

Abstract (arXiv)

One-shot styled handwriting image generation, despite achieving impressive results in recent years, remains challenging due to the difficulty in capturing the intricate and diverse characteristics of human handwriting by using solely a single reference image. Existing methods still struggle to generate visually appealing and realistic handwritten images and adapt to complex, unseen writer styles, struggling to isolate invariant style features (e.g., slant, stroke width, curvature) while ignoring irrelevant noise. To tackle this problem, we introduce Patch Contrastive Enhancement and Style-Aware Quantization via Denoising Diffusion (CONSTANT), a novel one-shot handwriting generation via diffusion model. CONSTANT leverages three key innovations: 1) a Style-Aware Quantization (SAQ) module that models style as discrete visual tokens capturing distinct concepts; 2) a contrastive objective to ensure these tokens are well-separated and meaningful in the embedding style space; 3) a latent patch-based contrastive (LLatentPCE) objective help improving quality and local structures by aligning multiscale spatial patches of generated and real features in latent space. Extensive experiments and analysis on benchmark datasets from multiple languages, including English, Chinese, and our proposed ViHTGen dataset for Vietnamese, demonstrate the superiority of adapting to new reference styles and producing highly detailed images of our method over state-of-the-art approaches. Code is available at GitHub

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 41 of its 56 references that are in the map. First posted on arXiv 8 Mar 2026.

Builds on

41 of 56 references.

Closest ancestors · 8

Same direction, newest first

  1. 2024DiffusionPen: Towards Controlling the Style of Handwritten Text Generation9 Sep
  2. 2024VATr++: Choose Your Words Wisely for Handwritten Text Generation16 Feb
  3. 2023FontDiffuser: One-Shot Font Generation via Denoising Diffusion with Multi-Scale Content Aggregation and Style Contrastive Learning19 Dec
  4. 2023Conditional Text Image Generation with Diffusion Models19 Jun
  5. 2023WordStylist: Styled Verbatim Handwritten Text Generation with Latent Diffusion Models29 Mar
  6. 2022Diff-Font: Diffusion Model for Robust One-Shot Font Generation12 Dec
  7. 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attention10 Oct
  8. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec

Other references · 33

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  6. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  7. 2020Denoising Diffusion Implicit Modelscited by 9,781
  8. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  9. 2022Classifier-Free Diffusion Guidancecited by 5,847
  10. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  11. 2017Neural Discrete Representation Learningcited by 4,712
  12. 2020Exploring Simple Siamese Representation Learningcited by 2,866
21 more
  1. 2022BEiT v2: Masked Image Modeling with Vector-Quantized Visual Tokenizerscited by 303
  2. 2022Disentangled Representation Learningcited by 112
  3. 2017Exploring the structure of a real-time, arbitrary neural artistic stylization networkcited by 89
  4. 2018Patch-Based Image Inpainting with Generative Adversarial Networkscited by 70
  5. 2020ScrabbleGAN: Semi-Supervised Varying Length Handwritten Text Generationcited by 69
  6. 2020GANwriting: Content-Conditioned Generation of Styled Handwritten Word Imagescited by 68
  7. 2021TextStyleBrush: Transfer of Text Aesthetics from a Single Examplecited by 49
  8. 2023Disentanglement via Latent Quantizationcited by 40
  9. 2021Handwriting Transformerscited by 37
  10. 2021Discrete Representations Strengthen Vision Transformer Robustnesscited by 35
  11. 2023Handwritten Text Generation from Visual Archetypescited by 32
  12. 2019A Scalable Handwritten Text Recognition Systemcited by 25
  13. 2023Learning Generative Structure Prior for Blind Text Image Super-resolutioncited by 24
  14. 2024One-Shot Diffusion Mimicker for Handwritten Text Generationcited by 20
  15. 2023HWD: A Novel Evaluation Score for Styled Handwritten Text Generationcited by 19
  16. 2021SmartPatch: Improving Handwritten Word Imitation with Patch Discriminatorscited by 17
  17. 2021Contrastive Feature Loss for Image Predictioncited by 12
  18. 2022AttentionHTR: Handwritten Text Recognition Based on Attention Encoder-Decoder Networkscited by 12
  19. 2024Vintern-1B: An Efficient Multimodal Large Language Model for Vietnamesecited by 12
  20. 2024Rethinking HTG Evaluation: Bridging Generation and Recognitioncited by 6
  21. 2023Learning Disentangled Discrete Representationscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2020Diffusion models for Handwriting Generation
  2. 2024Zero-Shot Paragraph-level Handwriting Imitation with Latent Diffusion Models
  3. 2025DiffInk: Glyph- and Style-Aware Latent Diffusion Transformer for Text to Online Handwriting Generation
  4. 2023DS-Fusion: Artistic Typography via Discriminated and Stylized Diffusion
  5. 2026InkDiffuser: High-Fidelity One-shot Chinese Calligraphy via Differentiable Morphological Optimization
  6. 2023Calliffusion: Chinese Calligraphy Generation and Style Transfer with Diffusion Modeling
  7. 2024VisioBlend: Sketch and Stroke-Guided Denoising Diffusion Probabilistic Model for Realistic Image Generation
  8. 2024Semi-Supervised Adaptation of Diffusion Models for Handwritten Text Generation