Beyond Isolated Words: Diffusion Brush for Handwritten Text-Line Generation
Gang Dai, Yifan Zhang, Yutao Qin, Qiangya Guo, Shuangping Huang, Shuicheng Yan
Abstract
Existing handwritten text generation methods primarily focus on isolated words. However, realistic handwritten text demands attention not only to individual words but also to the relationships between them, such as vertical alignment and horizontal spacing. Therefore, generating entire text line emerges as a more promising and comprehensive task. However, this task poses significant challenges, including the accurate modeling of complex style patterns—encompassing both intra- and inter-word relationships—and maintaining content accuracy across numerous characters. To address these challenges, we propose DiffBrush, a novel diffusion-based model for handwritten text-line generation. Unlike existing methods, Diff-Brush excels in both style imitation and content accuracy through two key strategies: (1) content-decoupled style learning, which disentangles style from content to better capture intra-word and inter-word style patterns by using column- and row-wise masking; and (2) multi-scale content learning, which employs line and word discriminators to ensure global coherence and local accuracy of textual content. Extensive experiments show that DiffBrush excels in generating high-quality text-lines, particularly in style reproduction and content preservation. Code is available at https://github.com/dailenson/DiffBrush
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers5
- Order-Level Attention Similarity Across Language Models: A Latent CommonalityJinglin Liang, Jin Zhong, Shuangping Huang, Yunqing Hu et al.NeurIPS 2025 · 4 citations
- SkyReels-Text: Fine-Grained Font-Controllable Text Editing for Poster DesignYunjie Yu, Jingchen Wu, Junchen Zhu, Chunze Lin et al.CVPR 2026 · 1 citation
- Learning Hierarchical and Geometry-Aware Graph Representations for Text-to-CADShengjie Gong, Wenjie Peng, Hongyuan Chen, Gangyu Zhang et al.ICLR 2026
- Towards Human-Like Robot Handwriting via Contour-Aware GenerationYutao Qin, Gang Dai, Yifan Zhang, Youwei Han et al.CVPR 2026
- DIMOS: Disentangling Instance-level Moving Object SegmentationHongxiang Huang, Hongwei Ren, Xiaopeng Lin, Yulong Huang et al.CVPR 2026
Builds on20
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
Related papers
- Learning to Generate Stylized Handwritten Text via a Unified Representation of Style, Content, and NoiseHonglie Wang, Yan-Ming Zhang, Wangzi Yao, Fei Yin et al.ICLR 2026
- DiffInk: Glyph- and Style-Aware Latent Diffusion Transformer for Text to Online Handwriting GenerationWei Pan, Huiguo He, Hiuyi Cheng, Yilin Shi et al.ICLR 2026 · 2 citations
- Decoupling Layout from Glyph in Online Chinese Handwriting GenerationMinsi Ren, Yan-Ming Zhang, Yi ChenICLR 2025
- Handwriting TransformersAnkan Kumar Bhunia, Salman H. Khan, Hisham Cholakkal, Rao Muhammad Anwer et al.ICCV 2021 · 64 citations
- FontDiffuser: One-Shot Font Generation via Denoising Diffusion with Multi-Scale Content Aggregation and Style Contrastive LearningZhenhua Yang, Dezhi Peng, Yuxin Kong, Yuyi Zhang et al.AAAI 2024 · 90 citations
