N-Gram Nearest Neighbor Machine Translation
Not on the map. Why?
Abstract (arXiv)
Nearest neighbor machine translation augments the Autoregressive Translation~(AT) with k-nearest-neighbor retrieval, by comparing the similarity between the token-level context representations of the target tokens in the query and the datastore. However, the token-level representation may introduce noise when translating ambiguous words, or fail to provide accurate retrieval results when the representation generated by the model contains indistinguishable context information, e.g., Non-Autoregressive Translation~(NAT) models. In this paper, we propose a novel n-gram nearest neighbor retrieval method that is model agnostic and applicable to both AT and NAT models. Specifically, we concatenate the adjacent n-gram hidden representations as the key, while the tuple of corresponding target tokens is the value. In inference, we propose tailored decoding algorithms for AT and NAT models respectively. We demonstrate that the proposed method consistently outperforms the token-level method on both AT and NAT models as well on general as on domain adaptation translation tasks. On domain adaptation, the proposed method brings 1.03 and 2.76 improvements regarding the average BLEU score on AT and NAT models respectively.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 38 of its 71 references that are in the map. First posted on arXiv 30 Jan 2023.
Builds on
38 of 71 references.
References · 38
- 2017Attention Is All You Needcited by 59,932
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2016Sequence-Level Knowledge Distillationcited by 761
- 2017Non-Autoregressive Neural Machine Translationcited by 457
- 2019Simple, Scalable Adaptation for Neural Machine Translationcited by 239
- 2020Nearest Neighbor Machine Translationcited by 209
- 2019Facebook FAIR's WMT19 News Translation Task Submissioncited by 179
- 2020Unsupervised Domain Clusters in Pretrained Language Modelscited by 160
- 2022KNN-Diffusion: Image Generation via Large-Scale Retrievalcited by 135
26 more
- 2020Glancing Transformer for Non-Autoregressive Neural Machine Translationcited by 103
- 2020Fully Non-autoregressive Neural Machine Translation: Tricks of the Tradecited by 99
- 2021Efficient Nearest Neighbor Language Modelscited by 93
- 2022A Survey on Non-Autoregressive Generation for Neural Machine Translation and Beyondcited by 64
- 2018Guiding Neural Machine Translation with Retrieved Translation Piecescited by 63
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
- 2021Adaptive Nearest Neighbor Machine Translationcited by 58
- 2019Non-Autoregressive Machine Translation with Auxiliary Regularizationcited by 52
- 2019Minimizing the Bag-of-Ngrams Difference for Non-Autoregressive Neural Machine Translationcited by 40
- 2018Non-Autoregressive Neural Machine Translation with Enhanced Decoder Inputcited by 39
- 2017Unbounded cache model for online language modeling with open vocabularycited by 37
- 2021Fast Nearest Neighbor Machine Translationcited by 37
- 2019Non-Parametric Adaptation for Neural Machine Translationcited by 34
- 2021Learning Kernel-Smoothed Machine Translation with Retrieved Examplescited by 25
- 2022Efficient Cluster-Based k-Nearest-Neighbor Machine Translationcited by 24
- 2022Chunk-based Nearest Neighbor Machine Translationcited by 21
- 2022Non-Monotonic Latent Alignments for CTC-Based Non-Autoregressive Machine Translationcited by 16
- 2022Towards Robust k-Nearest-Neighbor Machine Translationcited by 15
- 2019Neural Machine Translation with Explicit Phrase Alignmentcited by 12
- 2022Non-Parametric Domain Adaptation for End-to-End Speech Translationcited by 12
- 2022Nearest Neighbor Knowledge Distillation for Neural Machine Translationcited by 10
- 2022GTrans: Grouping and Fusing Transformer Layers for Neural Machine Translationcited by 10
- 2018Greedy Search with Probabilistic N-gram Matching for Neural Machine Translationcited by 9
- 2018Learning to Index for Nearest Neighbor Searchcited by 6
- 2022Improving Mandarin End-to-End Speech Recognition with Word N-gram Language Modelcited by 6
- 2021MvSR-NAT: Multi-view Subset Regularization for Non-Autoregressive Machine Translationcited by 5
Built on by
Citing papers per year: 2023: 1.
1 paper.
- 2023Augmenting Language Models with Long-Term Memorycited by 186
- 2023Augmenting Language Models with Long-Term Memory12 Jun 2023