@inproceedings{gao-etal-2023-nearest,
title = "Nearest Neighbor Machine Translation is Meta-Optimizer on Output Projection Layer",
author = "Gao, Ruize and
Zhang, Zhirui and
Du, Yichao and
Liu, Lemao and
Wang, Rui",
editor = "Bouamor, Houda and
Pino, Juan and
Bali, Kalika",
booktitle = "Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing",
month = dec,
year = "2023",
address = "Singapore",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/ingest_wac_2008/2023.emnlp-main.964/",
doi = "10.18653/v1/2023.emnlp-main.964",
pages = "15592--15608",
abstract = "Nearest Neighbor Machine Translation ($k$NN-MT) has achieved great success in domain adaptation tasks by integrating pre-trained Neural Machine Translation (NMT) models with domain-specific token-level retrieval. However, the reasons underlying its success have not been thoroughly investigated. In this paper, we comprehensively analyze $k$NN-MT through theoretical and empirical studies. Initially, we provide new insights into the working mechanism of $k$NN-MT as an efficient technique to implicitly execute gradient descent on the output projection layer of NMT, indicating that it is a specific case of model fine-tuning. Subsequently, we conduct multi-domain experiments and word-level analysis to examine the differences in performance between $k$NN-MT and entire-model fine-tuning. Our findings suggest that: ($i$) Incorporating $k$NN-MT with adapters yields comparable translation performance to fine-tuning on in-domain test sets, while achieving better performance on out-of-domain test sets; ($ii$) Fine-tuning significantly outperforms $k$NN-MT on the recall of in-domain low-frequency words, but this gap could be bridged by optimizing the context representations with additional adapter layers."
}
Markdown (Informal)
[Nearest Neighbor Machine Translation is Meta-Optimizer on Output Projection Layer](https://preview.aclanthology.org/ingest_wac_2008/2023.emnlp-main.964/) (Gao et al., EMNLP 2023)
ACL