UniGlyph: Unified Segmentation-Conditioned Diffusion for Precise Visual Text Synthesis
Yuanrui Wang, Cong Han, Yafei Li, Zhipeng Jin, Xiawei Li, Sinan Du, Wen Tao, Shuanglong Li, Yi Yang, Chun Yuan, Liu Lin
Abstract
Text-to-image generation has greatly advanced content creation, yet accurately rendering visual text remains a key challenge due to blurred glyphs, semantic drift, and limited style control. Existing methods often rely on pre-rendered glyph images as conditions, but these struggle to retain original font styles and color cues, necessitating complex multi-branch designs that increase model overhead and reduce flexibility. To address these issues, we propose a segmentation-guided framework that uses pixel-level visual text masks -- rich in glyph shape, color, and spatial detail -- as unified conditional inputs. Our method introduces two core components: (1) a fine-tuned bilingual segmentation model for precise text mask extraction, and (2) a streamlined diffusion model augmented with adaptive glyph conditioning and a region-specific loss to preserve textual fidelity in both content and style. Our approach achieves state-of-the-art performance on the AnyText benchmark, significantly surpassing prior methods in both Chinese and English settings. To enable more rigorous evaluation, we also introduce two new benchmarks: GlyphMM-benchmark for testing layout and glyph consistency in complex typesetting, and MiniText-benchmark for assessing generation quality in small-scale text regions. Experimental results show that our model outperforms existing methods by a large margin in both scenarios, particularly excelling at small text rendering and complex layout preservation, validating its strong generalization and deployment readiness.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Text-Guided Visual Prompt DINO for Generic Segmentation cites Segment Anything
- Text-Guided Visual Prompt DINO for Generic Segmentation cites OptMerge: Unifying Multimodal LLM Capabilities and Modalities via Model Merging
- Adding Conditional Control to Text-to-Image Diffusion Models cites T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion Models
- T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion Models cites Adding Conditional Control to Text-to-Image Diffusion Models
- VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and Reconstruction cites Scalable Diffusion Models with Transformers
- VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and Reconstruction cites Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
- VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and Reconstruction cites OptMerge: Unifying Multimodal LLM Capabilities and Modalities via Model Merging
- OptMerge: Unifying Multimodal LLM Capabilities and Modalities via Model Merging cites VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and Reconstruction
- GlyphPrinter: Region-Grouped Direct Preference Optimization for Glyph-Accurate Visual Text Rendering cites Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
- PSDesigner: Automated Graphic Design with a Human-Like Creative Workflow cites Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
- Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites Scalable Diffusion Models with Transformers
Cited by top-tier papers6
- VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and ReconstructionSinan Du, Jiahao Guo, Bo Li, Shuhao Cui et al.CVPR 2026 · 11 citations
- OptMerge: Unifying Multimodal LLM Capabilities and Modalities via Model MergingYongxian Wei, Runxi Cheng, Weike Jin, Enneng Yang et al.ICLR 2026 · 10 citations
- GlyphPrinter: Region-Grouped Direct Preference Optimization for Glyph-Accurate Visual Text RenderingXincheng Shuai, Ziye Li, Henghui Ding, Dacheng TaoCVPR 2026 · 4 citations
- Text-Guided Visual Prompt DINO for Generic SegmentationYuchen Guan, Chong Sun, Canmiao Fu, Zhipeng Huang et al.ICCV 2025 · 3 citations
- PSDesigner: Automated Graphic Design with a Human-Like Creative WorkflowXincheng Shuai, Song Tang, Yutong Huang, Henghui Ding et al.CVPR 2026 · 1 citation
Builds on26
- Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
- Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
- Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 citations
- Scaling Rectified Flow Transformers for High-Resolution Image SynthesisPatrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari et al.ICML 2024 · 3,620 citations
- T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion ModelsChong Mou, Xintao Wang, Liangbin Xie, Yanze Wu et al.AAAI 2024 · 1,641 citations
Related papers
- AnyText: Multilingual Visual Text Generation and EditingYuxiang Tuo, Wangmeng Xiang, Jun-Yan He, Yifeng Geng et al.ICLR 2024 · 148 citations
- ControlText: Unlocking Controllable Fonts in Multilingual Text Rendering without Font AnnotationsBowen Jiang, Yuan Yuan, Xinyi Bai, Zhuoqun Hao et al.EMNLP Findings 2025
- StyleTextGen: Style-Conditioned Multilingual Scene Text GenerationZeyu Chen, Fangmin Zhao, Yan Shu, Yichao Liu et al.CVPR 2026 · 4 citations
- RealText: Realistic Text Image Generation based on Glyph and Scene Aware InpaintingZihou Liu, Dongming Zhang, Jing Zhang, Jun Li et al.ACM MM 2025
- GlyphControl: Glyph Conditional Control for Visual Text GenerationYukang Yang, Dongnan Gui, Yuhui Yuan, Weicong Liang et al.NeurIPS 2023 · 163 citations
