Skip to main content
QUICK REVIEW

[Paper Review] Non-Parametric Online Learning from Human Feedback for Neural Machine Translation

Dongqi Wang, Haoran Wei|arXiv (Cornell University)|Sep 23, 2021
Neural Networks and ApplicationsComputer Science6 citations
TL;DR

This paper proposes KNN-over-KNN (KoK), a non-parametric online learning method for neural machine translation that uses two k-nearest-neighbor (KNN) modules: one to store human-corrected translations and another to dynamically balance between the NMT model and the feedback-based KNN module. The method achieves significant gains in translation quality—up to 12.9 BLEU and 9.7 TER improvements—while reducing the need for repeated human corrections, all without modifying the NMT architecture or requiring online model updates.

ABSTRACT

We study the problem of online learning with human feedback in the human-in-the-loop machine translation, in which the human translators revise the machine-generated translations and then the corrected translations are used to improve the neural machine translation (NMT) system. However, previous methods require online model updating or additional translation memory networks to achieve high-quality performance, making them inflexible and inefficient in practice. In this paper, we propose a novel non-parametric online learning method without changing the model structure. This approach introduces two k-nearest-neighbor (knn) modules: one module memorizes the human feedback, which is the correct sentences provided by human translators, while the other balances the usage of the history human feedback and original NMT models adaptively. Experiments conducted on EMEA and JRC-Acquis benchmarks demonstrate that our proposed method obtains substantial improvements on translation accuracy and achieves better adaptation performance with less repeating human correction operations.

Motivation & Objective

  • To address the challenge of adapting neural machine translation (NMT) systems to human feedback in real-time without costly online model updates.
  • To reduce human effort in post-editing by minimizing the need for repetitive corrections on the same sentence.
  • To maintain high translation quality while avoiding catastrophic forgetting and computational overhead in online adaptation.
  • To develop a plug-and-play method that works with pre-trained NMT models without architectural modifications.

Proposed method

  • Introduces a dual KNN mechanism: Token-KNN stores and retrieves human-corrected translations from a datastore using semantic similarity.
  • Employs Policy-KNN to learn a dynamic interpolation weight (λ) between the NMT model and Token-KNN using a k-NN classifier over retrieval features.
  • Uses a binary flag (1 for useful, 0 for noisy) as the label in Policy-KNN’s datastore, based on retrieval relevance and correction quality.
  • Builds the Policy-KNN datastore using features extracted from Token-KNN’s retrieval results, enabling context-aware balancing of model and feedback.
  • Applies interpolation: final translation probability = λ × p(Token-KNN) + (1−λ) × p(NMT), where λ is predicted by Policy-KNN.
  • Uses oracle references to simulate human feedback in experiments, ensuring controlled evaluation of adaptation performance.

Experimental results

Research questions

  • RQ1Can a non-parametric method effectively adapt NMT to human feedback without updating model parameters?
  • RQ2How can the balance between the pre-trained NMT model and human-corrected translations be dynamically optimized during inference?
  • RQ3To what extent can KoK reduce the number of repeated human corrections needed for effective adaptation?
  • RQ4Does the proposed method outperform existing online learning and memory-augmented NMT approaches in low-resource feedback settings?

Key findings

  • KoK achieves up to 12.9 BLEU improvement and 9.7 TER reduction over the pre-trained NMT model on EMEA and JRC-Acquis benchmarks.
  • The method consistently outperforms state-of-the-art online learning baselines across all document length buckets, including short and long documents.
  • Policy-KNN enables faster adaptation by reducing interference from irrelevant retrieval results, as shown by rapid improvement in R-indicators (R1–R5) across all lengths.
  • KoK reduces the need for repeated human corrections, as evidenced by faster convergence in adaptation performance and lower reliance on repeated edits.
  • The method achieves competitive performance with minimal computational cost, avoiding online gradient updates and catastrophic forgetting.
  • The average interpolation weight λ learned by Policy-KNN is higher when Token-KNN retrieval probability is high, indicating effective dynamic weighting based on retrieval quality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.