Skip to main content
QUICK REVIEW

[Paper Review] One Sentence One Model for Neural Machine Translation

Xiaoqing Li, Jiajun Zhang|arXiv (Cornell University)|Sep 21, 2016
Natural Language Processing TechniquesComputer Science24 references22 citations
TL;DR

This paper proposes a dynamic neural machine translation (NMT) approach that fine-tunes a general NMT model on-the-fly for each test sentence using a small, similar subset of the training data. By retrieving semantically similar sentence pairs via similarity search and fine-tuning the model per sentence, the method achieves significant BLEU gains—up to 10 points—especially when highly similar training examples are available, without modifying the underlying NMT architecture.

ABSTRACT

Neural machine translation (NMT) becomes a new state-of-the-art and achieves promising translation results using a simple encoder-decoder neural network. This neural network is trained once on the parallel corpus and the fixed network is used to translate all the test sentences. We argue that the general fixed network cannot best fit the specific test sentences. In this paper, we propose the dynamic NMT which learns a general network as usual, and then fine-tunes the network for each test sentence. The fine-tune work is done on a small set of the bilingual training data that is obtained through similarity search according to the test sentence. Extensive experiments demonstrate that this method can significantly improve the translation performance, especially when highly similar sentences are available.

Motivation & Objective

  • To address the limitation of fixed-parameter NMT models that cannot adapt to individual test sentences.
  • To improve translation quality by enabling model personalization per test sentence through dynamic fine-tuning.
  • To explore whether leveraging similar training examples can enhance translation performance beyond static model inference.
  • To develop an efficient, model-agnostic method that improves NMT without architectural changes.

Proposed method

  • A general NMT model is pre-trained on the full parallel training corpus using standard end-to-end training.
  • For each test sentence, similar source sentences are retrieved from the training data using either string-based or hidden representation-based similarity measures.
  • A small subset of the most similar sentence pairs is selected to fine-tune the pre-trained model specifically for that test sentence.
  • Fine-tuning is performed on-the-fly using a limited number of similar examples, with the model parameters updated before decoding.
  • Similarity search is accelerated using an inverted index to ensure efficiency, especially for large-scale training data.
  • The method is model-agnostic and can be applied to any NMT system using the encoder-decoder framework with attention.

Experimental results

Research questions

  • RQ1Can on-the-fly fine-tuning using similar training examples improve translation performance beyond a fixed NMT model?
  • RQ2How does the similarity level between test sentences and training examples affect the performance gain?
  • RQ3What is the optimal number of similar sentences to use for fine-tuning to balance performance and efficiency?
  • RQ4Can the method be efficiently scaled to large training corpora without incurring prohibitive decoding time?
  • RQ5Does the method generalize across different data distributions and similarity measures?

Key findings

  • The method achieves an average improvement of 1.2 BLEU points on three test sets when highly similar sentences are available.
  • When very similar sentences (similarity 0.4–1.0) are found, the improvement can exceed 10 BLEU points.
  • Using phrase-coverage-based similarity search reduces the average number of fine-tuning sentences to 31, cutting decoding time nearly in half compared to using 128 sentences.
  • The time cost remains within two times the baseline when using 32 or fewer sentences for fine-tuning, and increases to four times the baseline with 128 sentences.
  • The method outperforms baseline NMT even in low-similarity regimes, demonstrating robustness across varying similarity levels.
  • Retrieval using edit distance is the slowest but still under one-third of the decoding time, and inverted indexing ensures fast similarity search.

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.