arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.00136cs.CVcs.AIcs.LG
收藏

FonTS:基于排版与风格控制的文本渲染

FonTS: Text Rendering with Typography and Style Controls

The Hong Kong Polytechnic University(香港理工大学);National University of Singapore(新加坡国立大学);Zhejiang University(浙江大学);Tiamat AI

Wenda Shi, Yiren Song, Dengming Zhang, Jiaming Liu, Xingxing Zou

AI总结:

本文提出基于DiT的两阶段文本渲染流水线FonTS,通过引入排版控制微调(TC-FT)和风格控制适配器(SCA),结合HTML渲染构建的首个单词级可控数据集,实现了精确的单词级排版与风格控制,有效解决了字体不一致和细粒度控制不足的问题。

摘要:

视觉文本渲染在各种实际应用中十分普遍,需要仔细选择字体和排版。近期基于扩散变换器(DiT)的文本到图像(T2I)模型的进展在自动化这些过程方面显示出前景。然而,这些方法仍然面临字体不一致、风格变化和细粒度控制有限等挑战,特别是在单词级别。本文提出了一种两阶段的基于DiT的流水线,通过增强文本渲染中排版和风格的可控性来解决这些问题。我们引入了排版控制微调(TC-FT),这是一种参数高效的微调方法(针对$5\%$的关键参数),配合封闭排版控制令牌(ETC-tokens),能够精确地在单词级别应用排版特征。为了进一步解决文本渲染中的风格不一致问题,我们提出了一种与文本无关的风格控制适配器(SCA),它能防止内容泄露同时增强风格一致性。为了有效实施TC-FT和SCA,我们在数据合成流水线中集成了HTML渲染,并提出了首个单词级可控数据集。通过综合实验,我们证明了我们的方法在文本渲染任务中实现卓越的单词级排版控制、字体一致性和风格一致性方面的有效性。数据集和模型将可供学术使用。

英文摘要:

Visual text rendering are widespread in various real-world applications, requiring careful font selection and typographic choices. Recent progress in diffusion transformer (DiT)-based text-to-image (T2I) models show promise in automating these processes. However, these methods still encounter challenges like inconsistent fonts, style variation, and limited fine-grained control, particularly at the word-level. This paper proposes a two-stage DiT-based pipeline to address these problems by enhancing controllability over typography and style in text rendering. We introduce typography control fine-tuning (TC-FT), an parameter-efficient fine-tuning method (on $5\%$ key parameters) with enclosing typography control tokens (ETC-tokens), which enables precise word-level application of typographic features. To further address style inconsistency in text rendering, we propose a text-agnostic style control adapter (SCA) that prevents content leakage while enhancing style consistency. To implement TC-FT and SCA effectively, we incorporated HTML-render into the data synthesis pipeline and proposed the first word-level controllable dataset. Through comprehensive experiments, we demonstrate the effectiveness of our approach in achieving superior word-level typographic control, font consistency, and style consistency in text rendering tasks. The datasets and models will be available for academic use.

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

↑