Lune

ACL2021顶会

Attention Calibration for Transformer in Neural Machine Translation

Yu Lu, Jiali Zeng, Jiajun Zhang, Shuangzhi Wu, Mu Li

摘要

Attention mechanisms have achieved substantial improvements in neural machine translation by dynamically selecting relevant inputs for different predictions. However, recent studies have questioned the attention mechanisms' capability for discovering decisive inputs. In this paper, we propose to calibrate the attention weights by introducing a mask perturbation model that automatically evaluates each input's contribution to the model outputs. We increase the attention weights assigned to the indispensable tokens, whose removal leads to a dramatic performance decrease. The extensive experiments on the Transformer-based translation have demonstrated the effectiveness of our model. We further find that the calibrated attention weights are more uniform at lower layers to collect multiple information while more concentrated on the specific inputs at higher layers. Detailed analyses also show a great need for calibration in the attention weights with high entropy where the model is unconfident about its decision 1 .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SinkTrack: Attention Sink based Context Anchoring for Large Language Models 引用了 ZeroTuning: Unlocking the Initial Token's Power to Enhance Large Language Models Without Training
  • Attention-Aligned Transformer for Image Captioning 引用了 Towards Transparent and Explainable Attention Models
  • Towards Enhancing Faithfulness for Neural Machine Translation 引用了 Modeling Fluency and Faithfulness for Diverse Neural Machine Translation
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Attention-Aligned Transformer for Image CaptioningZhengcong FeiAAAI 2022 · 42 次引用
  2. SSPAttack: A Simple and Sweet Paradigm for Black-Box Hard-Label Textual Adversarial AttackHan Liu, Zhi Xu, Xiaotong Zhang, Xiaoming Xu 等AAAI 2023 · 31 次引用
  3. ZeroTuning: Unlocking the Initial Token's Power to Enhance Large Language Models Without TrainingFeijiang Han, Xiaodong Yu, Jianheng Tang, Delip Rao 等ICLR 2026 · 17 次引用
  4. Interpreting and Exploiting Functional Specialization in Multi-Head Attention under Multi-task LearningChong Li, Shaonan Wang, Yunhao Zhang, Jiajun Zhang 等EMNLP 2023 · 5 次引用
  5. SinkTrack: Attention Sink based Context Anchoring for Large Language ModelsXu Liu, Guikun Chen, Wenguan WangICLR 2026 · 4 次引用

它引用的 Paper4

  1. Modeling Fluency and Faithfulness for Diverse Neural Machine TranslationYang Feng, Wanying Xie, Shuhao Gu, Chenze Shao 等AAAI 2020 · 28 次引用
  2. Towards Enhancing Faithfulness for Neural Machine TranslationRongxiang Weng, Heng Yu, Xiangpeng Wei, Weihua LuoEMNLP 2020 · 18 次引用
  3. Towards Transparent and Explainable Attention ModelsAkash Kumar Mohankumar, Preksha Nema, Sharan Narasimhan, Mitesh M. Khapra 等ACL 2020 · 11 次引用
  4. Analyzing the Source and Target Contributions to Predictions in Neural Machine TranslationElena Voita, Rico Sennrich, Ivan TitovACL 2021

相关 Paper

  1. Attention Weights in Transformer NMT Fail Aligning Words Between Sequences but Largely Explain Model PredictionsJavier Ferrando, Marta R. Costa-jussàEMNLP Findings 2021 · 14 次引用
  2. Do Multilingual Neural Machine Translation Models Contain Language Pair Specific Attention Heads?Zae Myung Kim, Laurent Besacier, Vassilina Nikoulina, Didier SchwabACL Findings 2021 · 6 次引用
  3. Interpreting Positional Information in Perspective of Word OrderXilong Zhang, Ruochen Liu, Jin Liu, Xuefeng LiangACL 2023
  4. Attention is Not Only a Weight: Analyzing Transformers with Vector NormsGoro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, Kentaro InuiEMNLP 2020 · 138 次引用
  5. How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained TransformersMichael Hassid, Hao Peng, Daniel Rotem, Jungo Kasai 等EMNLP Findings 2022 · 16 次引用
黄昏的海面,两侧是细线勾勒的悬崖