Bridging the Domain Gaps in Context Representations for k-Nearest Neighbor Neural Machine Translation
Zhiwei Cao, Baosong Yang, Huan Lin, Suhang Wu, Xiangpeng Wei, Dayiheng, Liu, Jun Xie, Min Zhang, Jinsong Su

TL;DR
This paper introduces a method to improve $k$NN-MT by reconstructing key representations in the datastore, aligning them better with downstream domains to enhance translation accuracy.
Contribution
It proposes a novel reviser that refines key representations using semantic and knowledge retention losses, significantly boosting $k$NN-MT performance in domain adaptation.
Findings
Enhanced retrieval accuracy in domain-specific translation tasks.
Improved translation quality demonstrated through extensive experiments.
Effective domain adaptation achieved with the proposed key revision method.
Abstract
-Nearest neighbor machine translation (NN-MT) has attracted increasing attention due to its ability to non-parametrically adapt to new translation domains. By using an upstream NMT model to traverse the downstream training corpus, it is equipped with a datastore containing vectorized key-value pairs, which are retrieved during inference to benefit translation. However, there often exists a significant gap between upstream and downstream domains, which hurts the retrieval accuracy and the final translation quality. To deal with this issue, we propose a novel approach to boost the datastore retrieval of NN-MT by reconstructing the original datastore. Concretely, we design a reviser to revise the key representations, making them better fit for the downstream domain. The reviser is trained using the collected semantically-related key-queries pairs, and optimized by two proposed…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Multimodal Machine Learning Applications
