This work proposes an extensive analysis of the Transformer architecture in the Neural Machine Translation (NMT) setting. Focusing on the encoder-decoder attention mechanism, we prove that attention weights systematically make alignment errors by relying mainly on uninformative tokens from the source sequence. However, we observe that NMT models assign attention to these tokens to regulate the contribution in the prediction of the two contexts, the source and the prefix of the target sequence. We provide evidence about the influence of wrong alignments on the model behavior, demonstrating that the encoder-decoder attention mechanism is well suited as an interpretability method for NMT. Finally, based on our analysis, we propose methods that largely reduce the word alignment error rate compared to standard induced alignments from attention weights.
Looking for a Needle in a Haystack: A Comprehensive Study of Hallucinations in Neural Machine Translation
Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico(高等技术学院);LUMLIS (Lisbon ELLIS Unit)(LUMLIS(里斯本ELLIS单元));University of Edinburgh(爱丁堡大学);Unbabel(Unbabel公司)
Sequence-Level Training for Non-Autoregressive Neural Machine Translation
WeChat AI, Tencent Inc(腾讯公司微信AI)
近年来,神经机器翻译(NMT)在各种翻译任务中取得了显著的成绩。然而,由自回归机制决定的逐词生成方式导致了NMT的高翻译延迟,限制了其低延迟应用。非自回归神经机器翻译(NAT)消除了自回归机制,通过同时独立地生成目标词,实现了显著的解码加速。然而,NAT仍然以词级交叉熵损失作为训练目标,这不是最优的,因为NAT的输出由于多模态问题而不能被正确地评估。在这篇文章中,我们提出使用序列级训练目标来训练NAT模型,它从整体上评估NAT输出,并与真实的翻译质量很好地相关。首先,我们提出了训练NAT模型来优化序列级评估指标(例如,BLEU)基于几种新的NAT增强算法,通过减小梯度估计的方差,获得了比传统方法更好的增强效果。其次,我们为NAT模型引入了一个新的训练目标,旨在最大限度地减少模型输出和参考句子之间的Bag-of-Ngrams(BoN)差异。BoN训练目标是可微的,并且可以在不进行任何近似的情况下有效地计算。最后,我们采用一个三阶段的训练策略,将这两种方法结合起来,对NAT模型进行训练。我们验证了我们的方法在四个翻译任务(WMT 14 En $\leftrightarrow$ De,WMT 16 En $\leftrightarrow$ Ro),这表明,我们的方法大大优于NAT基线,并在所有翻译任务上实现了卓越的性能。源代码可在https://github.com/ictnlp/Seq…
Mitigating Geospatial Knowledge Hallucination in Large Language Models: Benchmarking and Dynamic Factuality Aligning
College of AI, Tsinghua University(清华大学人工智能学院);Department of Electronic Engineering, BNRist, Tsinghua University(清华大学电子工程系);School of Electronic and Information Engineering, Beijing Jiaotong University(北京交通大学电子信息学院);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系)
Beyond Entity Alignment: Towards Complete Knowledge Graph Alignment via Entity-Relation Synergy
School of Information Science and Engineering, Yanshan University(燕山大学信息科学与工程学院);Beijing University of Posts and Telecommunications(北京邮电大学);Beihang University(北京航空航天大学)