arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.00992cs.CV

UniGlyph:面向精确视觉文本合成的统一分割条件扩散模型

UniGlyph: Unified Segmentation-Conditioned Diffusion for Precise Visual Text Synthesis

Tsinghua University(清华大学);Baidu Inc.(百度公司)

Yuanrui Wang, Cong Han, Yafei Li, Zhipeng Jin, Xiawei Li, SiNan Du, Wen Tao, Yi Yang, Shuanglong Li, Chun Yuan, Liu Lin

AI总结:

UniGlyph提出以像素级视觉文本掩码作为统一条件的分割引导扩散框架,结合双语分割模型与自适应字形条件机制,在AnyText及新基准上显著提升中英文视觉文本渲染精度。

摘要:

文本到图像生成已极大推动了内容创作的发展,然而由于字形模糊、语义漂移和风格控制有限,准确渲染视觉文本仍然是一个关键挑战。现有方法通常依赖预渲染的字形图像作为条件,但这些方法难以保留原始字体风格和颜色线索,因而需要复杂的多分支设计,增加了模型开销并降低了灵活性。为解决这些问题,我们提出了一种分割引导框架,该框架使用像素级视觉文本掩码——其中富含字形形状、颜色和空间细节——作为统一的条件输入。我们的方法引入了两个核心组件:(1)一个经过微调的双语分割模型,用于精确提取文本掩码;(2)一个精简的扩散模型,并增强了自适应字形条件机制和区域特定损失,以在内容和风格两方面保持文本保真度。我们的方法在AnyText基准上取得了最先进的性能,在中英文设置下均显著超越了先前方法。为了实现更严格的评估,我们还引入了两个新的基准:GlyphMM-benchmark用于测试复杂排版中的布局和字形一致性,MiniText-benchmark用于评估小尺度文本区域的生成质量。实验结果表明,我们的模型在两种场景下均以较大幅度优于现有方法,尤其在小文本渲染和复杂布局保持方面表现突出,验证了其强大的泛化能力和部署就绪性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑