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

发现备忘录:约束序列生成任务中的抽取式优化

Finding Memo: Extractive Memorization in Constrained Sequence Generation Tasks

Microsoft Azure AI(微软Azure人工智能)

Vikas Raunak, Arul Menezes

摘要:

泛化对诸如神经机器翻译(NMT)的若干受约束的自然语言生成(NLG)任务提出了挑战,其中神经模型记忆噪声和非典型样本的倾向与噪声(网络爬行)数据集产生不利的反应。然而,以前的研究记忆的限制NLG任务只集中在反事实记忆,它与幻觉的问题。在这项工作中,我们提出了一个新的,廉价的算法提取记忆(准确的训练数据生成不足的情况下)在约束序列生成任务,并使用它来研究提取记忆及其影响NMT。我们表明,提取记忆NMT的可靠性构成了严重的威胁,定性和定量表征记忆的样本以及在他们附近的模型行为。基于经验观察,我们开发了一个简单的算法,elancement非记忆的翻译记忆样本从同一个模型,为大部分这样的样本。最后,我们证明了所提出的算法也可以通过微调来减轻模型中的记忆。我们已经在https://github.com/vyraun/Finding-Memo上发布了代码来重现我们的结果。

英文摘要:

Memorization presents a challenge for several constrained Natural Language Generation (NLG) tasks such as Neural Machine Translation (NMT), wherein the proclivity of neural models to memorize noisy and atypical samples reacts adversely with the noisy (web crawled) datasets. However, previous studies of memorization in constrained NLG tasks have only focused on counterfactual memorization, linking it to the problem of hallucinations. In this work, we propose a new, inexpensive algorithm for extractive memorization (exact training data generation under insufficient context) in constrained sequence generation tasks and use it to study extractive memorization and its effects in NMT. We demonstrate that extractive memorization poses a serious threat to NMT reliability by qualitatively and quantitatively characterizing the memorized samples as well as the model behavior in their vicinity. Based on empirical observations, we develop a simple algorithm which elicits non-memorized translations of memorized samples from the same model, for a large fraction of such samples. Finally, we show that the proposed algorithm could also be leveraged to mitigate memorization in the model through finetuning. We have released the code to reproduce our results at https://github.com/vyraun/Finding-Memo.

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

↑