Towards Robust k-Nearest-Neighbor Machine Translation
Hui Jiang, Ziyao Lu, Fandong Meng, Chulun Zhou, Jie Zhou, Degen Huang, Jinsong Su
Abstract
k-Nearest-Neighbor Machine Translation (kNN-MT) becomes an important research direction of NMT in recent years. Its main idea is to retrieve useful key-value pairs from an additional datastore to modify translations without updating the NMT model. However, the underlying retrieved noisy pairs will dramatically deteriorate the model performance. In this paper, we conduct a preliminary study and find that this problem results from not fully exploiting the prediction of the NMT model. To alleviate the impact of noise, we propose a confidence-enhanced kNN-MT model with robust training. Concretely, we introduce the NMT confidence to refine the modeling of two important components of kNN-MT: kNN distribution and the interpolation weight. Meanwhile we inject two types of perturbations into the retrieved pairs for robust training. Experimental results on four benchmark datasets demonstrate that our model not only achieves significant improvements over current kNN-MT models, but also exhibits better robustness. Our code is available at https://github.com/ DeepLearnXMU/Robust-knn-mt .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Enhancing Neural Machine Translation Through Target Language Data: A kNN-LM Approach for Domain Adaptation cites Boosting Neural Machine Translation with Similar Translations
- Enhancing Neural Machine Translation Through Target Language Data: A kNN-LM Approach for Domain Adaptation cites Fast Nearest Neighbor Machine Translation
- Enhancing Neural Machine Translation Through Target Language Data: A kNN-LM Approach for Domain Adaptation cites Efficient Cluster-Based k-Nearest-Neighbor Machine Translation
- Enhancing Neural Machine Translation Through Target Language Data: A kNN-LM Approach for Domain Adaptation cites Nearest Neighbor Machine Translation
- Bridging the Domain Gaps in Context Representations for k-Nearest Neighbor Neural Machine Translation cites Boosting Neural Machine Translation with Similar Translations
- Bridging the Domain Gaps in Context Representations for k-Nearest Neighbor Neural Machine Translation cites Fast Nearest Neighbor Machine Translation
- Bridging the Domain Gaps in Context Representations for k-Nearest Neighbor Neural Machine Translation cites Efficient Cluster-Based k-Nearest-Neighbor Machine Translation
- Bridging the Domain Gaps in Context Representations for k-Nearest Neighbor Neural Machine Translation cites Nearest Neighbor Machine Translation
- Revisiting Source Context in Nearest Neighbor Machine Translation cites Efficient Cluster-Based k-Nearest-Neighbor Machine Translation
- Revisiting Source Context in Nearest Neighbor Machine Translation cites Nearest Neighbor Machine Translation
- Fast Nearest Neighbor Machine Translation cites Boosting Neural Machine Translation with Similar Translations
- Fast Nearest Neighbor Machine Translation cites Nearest Neighbor Machine Translation
- Efficient Cluster-Based k-Nearest-Neighbor Machine Translation cites Nearest Neighbor Machine Translation
- Nearest Neighbor Machine Translation cites Boosting Neural Machine Translation with Similar Translations
- INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translation cites Fast Nearest Neighbor Machine Translation
- INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translation cites Nearest Neighbor Machine Translation
Cited by top-tier papers6
- Locate-and-Focus: Enhancing Terminology Translation in Speech Language ModelsSuhang Wu, Jialong Tang, Chengyi Yang, Pei Zhang et al.ACL 2025 · 4 citations
- INK: Injecting kNN Knowledge in Nearest Neighbor Machine TranslationWenhao Zhu, Jingjing Xu, Shujian Huang, Lingpeng Kong et al.ACL 2023 · 4 citations
- Bridging the Domain Gaps in Context Representations for k-Nearest Neighbor Neural Machine TranslationZhiwei Cao, Baosong Yang, Huan Lin, Suhang Wu et al.ACL 2023 · 1 citation
- Enhancing Neural Machine Translation Through Target Language Data: A kNN-LM Approach for Domain AdaptationAbudurexiti Reheman, Hongyu Liu, Junhao Ruan, Abudukeyumu Abudula et al.ACL 2025
- Revisiting Source Context in Nearest Neighbor Machine TranslationXuanhong Li, Peng Li, Po HuEMNLP 2023
Builds on10
- Nearest Neighbor Machine TranslationUrvashi Khandelwal, Angela Fan, Dan Jurafsky, Luke Zettlemoyer et al.ICLR 2021 · 323 citations
- Boosting Neural Machine Translation with Similar TranslationsJitao Xu, Josep Maria Crego, Jean SenellartACL 2020 · 59 citations
- A Robust Adversarial Training Approach to Machine Reading ComprehensionKai Liu, Xin Liu, An Yang, Jing Liu et al.AAAI 2020 · 54 citations
- Efficient Cluster-Based k-Nearest-Neighbor Machine TranslationDexin Wang, Kai Fan, Boxing Chen, Deyi XiongACL 2022 · 35 citations
- Fast Nearest Neighbor Machine TranslationYuxian Meng, Xiaoya Li, Xiayu Zheng, Fei Wu et al.ACL Findings 2022 · 32 citations
Related papers
- Non-Parametric Unsupervised Domain Adaptation for Neural Machine TranslationXin Zheng, Zhirui Zhang, Shujian Huang, Boxing Chen et al.EMNLP Findings 2021 · 23 citations
- Subset Retrieval Nearest Neighbor Machine TranslationHiroyuki Deguchi, Taro Watanabe, Yusuke Matsui, Masao Utiyama et al.ACL 2023 · 7 citations
- Simple and Scalable Nearest Neighbor Machine TranslationYuhan Dai, Zhirui Zhang, Qiuzhi Liu, Qu Cui et al.ICLR 2023 · 9 citations
- Non-parametric Online Learning from Human Feedback for Neural Machine TranslationDongqi Wang, Haoran Wei, Zhirui Zhang, Shujian Huang et al.AAAI 2022 · 15 citations
- You can't pick your neighbors, or can you? When and How to Rely on Retrieval in the kNN-LMAndrew Drozdov, Shufan Wang, Razieh Rahimi, Andrew McCallum et al.EMNLP Findings 2022 · 10 citations
