INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translation

06/10/2023
by   Wenhao Zhu, et al.
0

Neural machine translation has achieved promising results on many translation tasks. However, previous studies have shown that neural models induce a non-smooth representation space, which harms its generalization results. Recently, kNN-MT has provided an effective paradigm to smooth the prediction based on neighbor representations during inference. Despite promising results, kNN-MT usually requires large inference overhead. We propose an effective training framework INK to directly smooth the representation space via adjusting representations of kNN neighbors with a small number of new parameters. The new parameters are then used to refresh the whole representation datastore to get new kNN knowledge asynchronously. This loop keeps running until convergence. Experiments on four benchmark datasets show that achieves average gains of 1.99 COMET and 1.0 BLEU, outperforming the state-of-the-art kNN-MT system with 0.02x memory space and 1.9x inference speedup.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/19/2022

Learning Decoupled Retrieval Representation for Nearest Neighbour Neural Machine Translation

K-Nearest Neighbor Neural Machine Translation (kNN-MT) successfully inco...
research
02/27/2023

kNN-BOX: A Unified Framework for Nearest Neighbor Generation

Augmenting the base neural model with a token-level symbolic datastore i...
research
10/01/2020

Nearest Neighbor Machine Translation

We introduce k-nearest-neighbor machine translation (kNN-MT), which pred...
research
05/01/2022

Nearest Neighbor Knowledge Distillation for Neural Machine Translation

k-nearest-neighbor machine translation (NN-MT), proposed by Khandelwal e...
research
12/15/2021

Faster Nearest Neighbor Machine Translation

kNN based neural machine translation (kNN-MT) has achieved state-of-the-...
research
05/26/2023

Bridging the Domain Gaps in Context Representations for k-Nearest Neighbor Neural Machine Translation

k-Nearest neighbor machine translation (kNN-MT) has attracted increasing...
research
02/04/2022

The Ecological Footprint of Neural Machine Translation Systems

Over the past decade, deep learning (DL) has led to significant advancem...

Please sign up or login with your details

Forgot password? Click here to reset