Efficient Cluster-Based k-Nearest-Neighbor Machine Translation
Dexin Wang, Kai Fan, Boxing Chen, Deyi Xiong
摘要
k-Nearest-Neighbor Machine Translation (kNN-MT) has been recently proposed as a non-parametric solution for domain adaptation in neural machine translation (NMT). It aims to alleviate the performance degradation of advanced MT systems in translating out-ofdomain sentences by coordinating with an additional token-level feature-based retrieval module constructed from in-domain data. Previous studies (Khandelwal et al., 2021; Zheng et al., 2021a) have already demonstrated that non-parametric NMT is even superior to models fine-tuned on out-of-domain data. In spite of this success, kNN retrieval is at the expense of high latency, in particular for large datastores. To make it practical, in this paper, we explore a more efficient kNN-MT and propose to use clustering to improve the retrieval efficiency. Concretely, we first propose a cluster-based Compact Network for feature reduction in a contrastive learning manner to compress context features into 90+% lower dimensional vectors. We then suggest a cluster-based pruning solution to filter out 10% 40% redundant nodes in large datastores while retaining translation quality. Our proposed methods achieve better or comparable performance while reducing up to 57% inference latency against the advanced non-parametric MT model on several machine translation benchmarks. Experimental results indicate that the proposed methods maintain the most useful information of the original datastore and the Compact Network shows good generalization on unseen domains. Codes are available at https: //github.com/tjunlp-lab/PCKMT .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- kNN-TL: k-Nearest-Neighbor Transfer Learning for Low-Resource Neural Machine Translation 引用了 Learning Kernel-Smoothed Machine Translation with Retrieved Examples
- kNN-TL: k-Nearest-Neighbor Transfer Learning for Low-Resource Neural Machine Translation 引用了 Simple and Scalable Nearest Neighbor Machine Translation
- kNN-TL: k-Nearest-Neighbor Transfer Learning for Low-Resource Neural Machine Translation 引用了 Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translation
- kNN-TL: k-Nearest-Neighbor Transfer Learning for Low-Resource Neural Machine Translation 引用了 Efficient Nearest Neighbor Language Models
- kNN-TL: k-Nearest-Neighbor Transfer Learning for Low-Resource Neural Machine Translation 引用了 Nearest Neighbor Machine Translation
- Learning Kernel-Smoothed Machine Translation with Retrieved Examples 引用了 Nearest Neighbor Machine Translation
- Simple and Scalable Nearest Neighbor Machine Translation 引用了 Learning Kernel-Smoothed Machine Translation with Retrieved Examples
- Simple and Scalable Nearest Neighbor Machine Translation 引用了 Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translation
- Simple and Scalable Nearest Neighbor Machine Translation 引用了 Efficient Nearest Neighbor Language Models
- Simple and Scalable Nearest Neighbor Machine Translation 引用了 Nearest Neighbor Machine Translation
- Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translation 引用了 Nearest Neighbor Machine Translation
- Efficient Nearest Neighbor Language Models 引用了 Nearest Neighbor Machine Translation
- Towards Robust k-Nearest-Neighbor Machine Translation 引用了 Learning Kernel-Smoothed Machine Translation with Retrieved Examples
- Towards Robust k-Nearest-Neighbor Machine Translation 引用了 Non-Parametric Unsupervised Domain Adaptation for Neural Machine Translation
- Towards Robust k-Nearest-Neighbor Machine Translation 引用了 Nearest Neighbor Machine Translation
- Why do Nearest Neighbor Language Models Work? 引用了 Efficient Nearest Neighbor Language Models
- Why do Nearest Neighbor Language Models Work? 引用了 Nearest Neighbor Machine Translation
- An interpretable error correction method for enhancing code-to-code translation 引用了 Nearest Neighbor Machine Translation
引用它的顶会 Paper9
- Why do Nearest Neighbor Language Models Work?Frank F. Xu, Uri Alon, Graham NeubigICML 2023 · 33 次引用
- Towards Robust k-Nearest-Neighbor Machine TranslationHui Jiang, Ziyao Lu, Fandong Meng, Chulun Zhou 等EMNLP 2022 · 16 次引用
- kNN-TL: k-Nearest-Neighbor Transfer Learning for Low-Resource Neural Machine TranslationShudong Liu, Xuebo Liu, Derek F. Wong, Zhaocong Li 等ACL 2023 · 14 次引用
- An interpretable error correction method for enhancing code-to-code translationMin Xue, Artur Andrzejak, Marla LeutherICLR 2024 · 10 次引用
- Simple and Scalable Nearest Neighbor Machine TranslationYuhan Dai, Zhirui Zhang, Qiuzhi Liu, Qu Cui 等ICLR 2023 · 9 次引用
它引用的 Paper4
- Nearest Neighbor Machine TranslationUrvashi Khandelwal, Angela Fan, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2021 · 323 次引用
- Non-Parametric Unsupervised Domain Adaptation for Neural Machine TranslationXin Zheng, Zhirui Zhang, Shujian Huang, Boxing Chen 等EMNLP Findings 2021 · 23 次引用
- Learning Kernel-Smoothed Machine Translation with Retrieved ExamplesQingnan Jiang, Mingxuan Wang, Jun Cao, Shanbo Cheng 等EMNLP 2021 · 1 次引用
- Efficient Nearest Neighbor Language ModelsJunxian He, Graham Neubig, Taylor Berg-KirkpatrickEMNLP 2021
相关 Paper
- Efficient k-Nearest-Neighbor Machine Translation with Dynamic RetrievalYan Gao, Zhiwei Cao, Zhongjian Miao, Baosong Yang 等ACL Findings 2024 · 1 次引用
- Subset Retrieval Nearest Neighbor Machine TranslationHiroyuki Deguchi, Taro Watanabe, Yusuke Matsui, Masao Utiyama 等ACL 2023 · 7 次引用
- Nearest Neighbor Machine Translation is Meta-Optimizer on Output Projection LayerRuize Gao, Zhirui Zhang, Yichao Du, Lemao Liu 等EMNLP 2023 · 3 次引用
- Chunk-based Nearest Neighbor Machine TranslationPedro Henrique Martins, Zita Marinho, André F. T. MartinsEMNLP 2022 · 17 次引用
- Fast Nearest Neighbor Machine TranslationYuxian Meng, Xiaoya Li, Xiayu Zheng, Fei Wu 等ACL Findings 2022 · 32 次引用
