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

通过对抗训练学习全局优化的语言结构

Learning Globally Optimized Language Structure via Adversarial Training

Xuwang Yin

AI总结:

本文提出一种对抗训练策略,通过迭代攻击生成负样本训练基于能量的模型,以提升自回归语言模型的文本生成质量,并在算术序列任务上验证了有效性。

摘要:

近期研究探索了将自回归语言模型与基于能量的模型(EBMs)相结合,以增强文本生成能力。然而,由于语言的离散性,为文本学习有效的EBM面临挑战。本文提出了一种对抗训练策略,以解决先前工作中的局限性。具体而言,提出了一种迭代对抗攻击算法,通过扰动自回归模型生成的文本来生成负样本,用于训练EBM。这旨在使EBM能够抑制数据分布支持范围之外的虚假模式。在算术序列生成任务上的实验表明,与先前方法相比,所提出的对抗训练方法能显著提升生成序列的质量。结果凸显了对抗技术在改进离散EBM训练方面的潜力。主要贡献包括:(1)一种针对文本定制的对抗攻击策略,用于生成负样本,规避了MCMC的局限性;(2)一种利用这些攻击的EBM对抗训练算法;(3)在序列生成任务上性能提升的实证验证。

英文摘要:

Recent work has explored integrating autoregressive language models with energy-based models (EBMs) to enhance text generation capabilities. However, learning effective EBMs for text is challenged by the discrete nature of language. This work proposes an adversarial training strategy to address limitations in prior efforts. Specifically, an iterative adversarial attack algorithm is presented to generate negative samples for training the EBM by perturbing text from the autoregressive model. This aims to enable the EBM to suppress spurious modes outside the support of the data distribution. Experiments on an arithmetic sequence generation task demonstrate that the proposed adversarial training approach can substantially enhance the quality of generated sequences compared to prior methods. The results highlight the promise of adversarial techniques to improve discrete EBM training. Key contributions include: (1) an adversarial attack strategy tailored to text to generate negative samples, circumventing MCMC limitations; (2) an adversarial training algorithm for EBMs leveraging these attacks; (3) empirical validation of performance improvements on a sequence generation task.

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

↑