EMNLP Findings2023
Addressing the Length Bias Challenge in Document-Level Neural Machine Translation
Zhuocheng Zhang, Shuhao Gu, Min Zhang, Yang Feng
Abstract
Document-level neural machine translation (DNMT) has shown promising results by incorporating more context information. However, this approach also introduces a length bias problem, whereby DNMT suffers from significant translation quality degradation when decoding documents that are much shorter or longer than the maximum sequence length during training. To solve the length bias problem, we propose to improve the DNMT model in training method, attention mechanism, and decoding strategy. Firstly, we propose to sample the training data dynamically to ensure a more uniform distribution across different sequence lengths. Then, we introduce a length-normalized attention mechanism to aid the model in focusing on target information, mitigating the issue of attention divergence when processing longer sequences. Lastly, we propose a sliding window strategy during decoding that integrates as much context information as possible without exceeding the maximum sequence length. The experimental results indicate that our method can bring significant improvements on several open datasets, and further analysis shows that our method can significantly alleviate the length bias problem 1 .
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Lune answers from
the full paper · 1 top-tier paper that cites it · related work
Free to start. No credit card required.
Cited by top-tier papers1
Builds on8
- Train Short, Test Long: Attention with Linear Biases Enables Input Length ExtrapolationOfir Press, Noah A. Smith, Mike LewisICLR 2022 · 1,168 citations
- KERPLE: Kernelized Relative Positional Embedding for Length ExtrapolationTa-Chung Chi, Ting-Han Fan, Peter J. Ramadge, Alexander RudnickyNeurIPS 2022 · 112 citations
- Rethinking Document-level Neural Machine TranslationZewei Sun, Mingxuan Wang, Hao Zhou, Chengqi Zhao et al.ACL Findings 2022 · 45 citations
- Improving Context-Aware Neural Machine Translation Using Self-Attentive Sentence EmbeddingHyeongu Yun, Yongkeun Hwang, Kyomin JungAAAI 2020 · 21 citations
- Divide and Rule: Effective Pre-Training for Context-Aware Multi-Encoder Translation ModelsLorenzo Lupo, Marco Dinarelli, Laurent BesacierACL 2022 · 21 citations
Related papers
- Scaling Law for Document Neural Machine TranslationZhuocheng Zhang, Shuhao Gu, Min Zhang, Yang FengEMNLP Findings 2023 · 2 citations
- On Search Strategies for Document-Level Neural Machine TranslationChristian Herold, Hermann NeyACL Findings 2023 · 2 citations
- Dynamic Context Selection for Document-level Neural Machine Translation via Reinforcement LearningXiaomian Kang, Yang Zhao, Jiajun Zhang, Chengqing ZongEMNLP 2020 · 61 citations
- Modeling Context With Linear Attention for Scalable Document-Level TranslationZhaofeng Wu, Hao Peng, Nikolaos Pappas, Noah A. SmithEMNLP Findings 2022 · 2 citations
- Multi-Sentence Resampling: A Simple Approach to Alleviate Dataset Length Bias and Beam-Search DegradationIvan Provilkov, Andrey MalininEMNLP 2021 · 3 citations
