JoyType:多语言视觉文本创作的鲁棒设计
JoyType: A Robust Design for Multilingual Visual Text Creation
AI总结:
JoyType提出多语言视觉文本创作方法,通过构建JoyType-1M数据集和Font ControlNet网络,结合多层OCR感知损失,在图像生成中保持字体样式,显著优于现有方法,并可作为插件使用。
摘要:
生成带有准确文本表示的图像,尤其是在非拉丁语言中,对扩散模型构成了重大挑战。现有方法,如通过辅助网络(例如ControlNet)集成提示条件图,已在解决此问题上取得了进展。然而,扩散模型在需要受控文本生成的任务中常常表现不佳,例如指定特定字体或生成小字体文本。在本文中,我们提出了一种新颖的多语言视觉文本创作方法,名为JoyType,旨在图像生成过程中保持文本的字体样式。我们的方法首先构建了一个训练数据集JoyType-1M,包含100万对数据。每对数据包括一张图像、其描述以及对应图像中字体样式的字形指令。然后,我们开发了一个文本控制网络Font ControlNet,负责提取字体样式信息以引导图像生成。为了进一步增强模型保持字体样式的能力,特别是在生成小字体文本时,我们将多层OCR感知损失纳入扩散过程。这一增强使JoyType能够使用低级描述符来指导文本渲染。基于视觉和准确性指标的评估表明,JoyType显著优于现有最先进的方法。此外,JoyType可以作为插件使用,与HuggingFace和CivitAI上的其他稳定扩散模型结合,促进多样化图像风格的创作。我们的项目已在https://jdh-algo.github.io/JoyType/上开源。
英文摘要:
Generating images with accurately represented text, especially in non-Latin languages, poses a significant challenge for diffusion models. Existing approaches, such as the integration of hint condition diagrams via auxiliary networks (e.g., ControlNet), have made strides towards addressing this issue. However, diffusion models often fall short in tasks requiring controlled text generation, such as specifying particular fonts or producing text in small fonts. In this paper, we introduce a novel approach for multilingual visual text creation, named JoyType, designed to maintain the font style of text during the image generation process. Our methodology begins with assembling a training dataset, JoyType-1M, comprising 1 million pairs of data. Each pair includes an image, its description, and glyph instructions corresponding to the font style within the image. We then developed a text control network, Font ControlNet, tasked with extracting font style information to steer the image generation. To further enhance our model's ability to maintain font style, notably in generating small-font text, we incorporated a multi-layer OCR-aware loss into the diffusion process. This enhancement allows JoyType to direct text rendering using low-level descriptors. Our evaluations, based on both visual and accuracy metrics, demonstrate that JoyType significantly outperforms existing state-of-the-art methods. Additionally, JoyType can function as a plugin, facilitating the creation of varied image styles in conjunction with other stable diffusion models on HuggingFace and CivitAI. Our project is open-sourced on https://jdh-algo.github.io/JoyType/.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。