arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.10325cs.CL
收藏

SeqDiffuSeq:基于编码器-解码器 Transformers 的文本扩散

SeqDiffuSeq: Text Diffusion with Encoder-Decoder Transformers

Alibaba DAMO Academy(阿里巴巴达摩院);Alibaba Group(阿里巴巴集团);Tsinghua University(清华大学)

Hongyi Yuan, Zheng Yuan, Chuanqi Tan, Fei Huang, Songfang Huang

AI总结:

本文提出 SeqDiffuSeq,一种基于编码器-解码器 Transformers 的文本扩散模型,结合自条件与自适应噪声调度技术,有效提升了序列到序列文本生成的质量与推理效率。

摘要:

扩散模型作为一种新的生成建模范式,在图像、音频和视频生成中取得了巨大成功。然而,考虑到文本的离散类别性质,将连续扩散模型扩展到自然语言并非易事,且文本扩散模型研究较少。序列到序列文本生成是自然语言处理的核心课题之一。在本工作中,我们将扩散模型应用于序列到序列文本生成,并探索扩散模型的优越生成性能能否迁移到自然语言领域。我们提出了 SeqDiffuSeq,一种用于序列到序列生成的文本扩散模型。SeqDiffuSeq 使用编码器-解码器 Transformers 架构对去噪函数进行建模。为了提升生成质量,SeqDiffuSeq 结合了自条件技术和一种新提出的自适应噪声调度技术。自适应噪声调度使去噪难度在各时间步上均匀分布,并针对不同位置顺序的 token 考虑专属噪声调度。实验结果表明,该方法在文本质量和推理时间方面的序列到序列生成具有良好的性能。

英文摘要:

Diffusion model, a new generative modelling paradigm, has achieved great success in image, audio, and video generation. However, considering the discrete categorical nature of text, it is not trivial to extend continuous diffusion models to natural language, and text diffusion models are less studied. Sequence-to-sequence text generation is one of the essential natural language processing topics. In this work, we apply diffusion models to approach sequence-to-sequence text generation, and explore whether the superiority generation performance of diffusion model can transfer to natural language domain. We propose SeqDiffuSeq, a text diffusion model for sequence-to-sequence generation. SeqDiffuSeq uses an encoder-decoder Transformers architecture to model denoising function. In order to improve generation quality, SeqDiffuSeq combines the self-conditioning technique and a newly proposed adaptive noise schedule technique. The adaptive noise schedule has the difficulty of denoising evenly distributed across time steps, and considers exclusive noise schedules for tokens at different positional order. Experiment results illustrate the good performance on sequence-to-sequence generation in terms of text quality and inference time.

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

↑