Skip to content
conftrace_
2022 COLING COLING 2022

Learning Decoupled Retrieval Representation for Nearest Neighbour Neural Machine Translation

AbstractK-Nearest Neighbor Neural Machine Translation (kNNMT) successfully incorporates external corpus by retrieving word-level representations at test time. Generally, kNNMT borrows the off-the-shelf context representation in the translation task, e.g., the output of the last decoder layer, as the query vector of the retrieval task. In this work, we highlight that coupling the representations of these two tasks is sub-optimal for fine-grained retrieval. To alleviate it, we leverage supervised contrastive learning to learn the distinctive retrieval representation derived from the original context representation. We also propose a fast and effective approach to constructing hard negative samples. Experimental results on five domains show that our approach improves the retrieval accuracy and BLEU score compared to vanilla kNNMT.

🌉 Interdisciplinary Bridge - Artificial Intelligence and Natural Language Processing
🐣 Hot Topic Early Bird - hard negative mining

More from COLING 2022

All COLING 2022 papers →