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

Segment-Level Diffusion: 一种用于扩散语言模型可控长文本生成的框架

Segment-Level Diffusion: A Framework for Controllable Long-Form Generation with Diffusion Language Models

University of Cambridge(剑桥大学)

Xiaochen Zhu, Georgi Karadzhov, Chenxi Whitehouse, Andreas Vlachos

AI总结:

提出Segment-Level Diffusion框架,通过文本分割、对抗与对比学习及潜在空间引导,提升扩散模型长文本生成的连贯性与可控性,在四个数据集上取得优于或媲美基线的表现。

摘要:

扩散模型在文本生成方面显示出潜力,但往往难以生成连贯、上下文准确的长文本。令牌级扩散未显式建模词序依赖,且操作于短且固定的输出窗口,而段落级扩散则难以学习长文本的稳健表示。为应对这些挑战,我们提出Segment-Level Diffusion (SLD),一个通过文本分割、对抗与对比学习的稳健表示训练以及改进的潜在空间引导来增强基于扩散的文本生成的框架。通过将长输出分割为多个潜在表示并用自回归解码器解码,SLD简化了扩散预测并提高了可扩展性。在四个数据集上的实验表明,与其他扩散和自回归基线相比,SLD在自动和人工评估中达到了具有竞争力或更优的流畅性、连贯性和上下文兼容性。

英文摘要:

Diffusion models have shown promise in text generation, but often struggle with generating long, coherent, and contextually accurate text. Token-level diffusion doesn't model word-order dependencies explicitly and operates on short, fixed output windows, while passage-level diffusion struggles with learning robust representations for long-form text. To address these challenges, we propose Segment-Level Diffusion (SLD), a framework that enhances diffusion-based text generation through text segmentation, robust representation training with adversarial and contrastive learning, and improved latent-space guidance. By segmenting long-form outputs into multiple latent representations and decoding them with an autoregressive decoder, SLD simplifies diffusion predictions and improves scalability. Experiments on four datasets demonstrate that, when compared to other diffusion and autoregressive baselines SLD achieves competitive or superior fluency, coherence, and contextual compatibility in automatic and human evaluations.

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

↑