arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.12519cs.CLcs.CVcs.LG
收藏

GlyphDiffusion:将文本生成视为图像生成

GlyphDiffusion: Text Generation as Image Generation

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);DIRO, Université de Montréal(蒙特利尔大学计算机与运筹学系);Beijing Key Laboratory of Big Data Management and Analysis Methods(北京大数据管理与分析方法重点实验室);School of Information, Renmin University of China(中国人民大学信息学院)

Junyi Li, Wayne Xin Zhao, Jian-Yun Nie, Ji-Rong Wen

AI总结:

提出GlyphDiffusion,将文本渲染为字形图像,通过级联扩散模型生成高保真图像并接地为文本,在四个条件文本生成任务上达到或超越基线性能。

摘要:

扩散模型已成为文本生成的一种新的生成范式。考虑到文本的离散类别性质,在本文中,我们提出了GlyphDiffusion,一种通过文本引导的图像生成来实现文本生成的新型扩散方法。我们的关键思想是将目标文本渲染为包含视觉语言内容的字形图像。这样,条件文本生成可以被视为字形图像生成任务,并且自然地将连续扩散模型应用于离散文本。特别地,我们利用级联架构(即一个基础扩散模型和一个超分辨率扩散模型)来生成高保真字形图像,以输入文本为条件。此外,我们设计了一个文本接地模块,用于从生成的字形图像中转换和细化视觉语言内容为最终文本。在四个条件文本生成任务和两类指标(即质量和多样性)的实验中,GlyphDiffusion能够取得与包括预训练语言模型在内的多个基线相当甚至更好的结果。我们的模型相比最近的扩散模型也有显著改进。

英文摘要:

Diffusion models have become a new generative paradigm for text generation. Considering the discrete categorical nature of text, in this paper, we propose GlyphDiffusion, a novel diffusion approach for text generation via text-guided image generation. Our key idea is to render the target text as a glyph image containing visual language content. In this way, conditional text generation can be cast as a glyph image generation task, and it is then natural to apply continuous diffusion models to discrete texts. Specially, we utilize a cascaded architecture (ie a base and a super-resolution diffusion model) to generate high-fidelity glyph images, conditioned on the input text. Furthermore, we design a text grounding module to transform and refine the visual language content from generated glyph images into the final texts. In experiments over four conditional text generation tasks and two classes of metrics (ie quality and diversity), GlyphDiffusion can achieve comparable or even better results than several baselines, including pretrained language models. Our model also makes significant improvements compared to the recent diffusion model.

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

↑