Discriminative adaptation of continuous space translation models

Quoc-Khanh Do, Alexandre Allauzen, François Yvon

Abstract

Domain adaptation remains a significant challenge in Statistical Machine Translation (SMT), where models trained on large out-of-domain corpora often fail to generalize to specific target domains. This paper proposes a discriminative adaptation framework for Continuous Space Translation Models (CSTMs) that shifts from standard likelihood-based training to a ranking-based approach. By optimizing a novel loss function that combines pairwise ranking with max-margin criteria on $N$-best translation lists, we demonstrate a significant improvement in translation quality. Our method achieves a 1.1 BLEU point gain over out-of-domain baselines when adapting a News-trained system to TED Talk transcripts.

Introduction

In SMT, the phenomenon of covariate shift—where training and test distributions differ—frequently degrades performance. While CSTMs leverage neural networks and word embeddings to improve generalization, standard adaptation techniques typically rely on Maximum Likelihood Estimation (MLE). However, MLE often exhibits a loose correlation with final translation quality metrics like BLEU. We address this by training the model to explicitly distinguish between "good" and "bad" translations within a candidate list.

Methodology

Our framework operates on $N$-best lists generated by the decoder, transforming adaptation into a discriminative ranking task.

The Model Architecture

We utilize the SOUL (Structured Output Layer) architecture, a feed-forward neural network designed for large-scale vocabulary tasks. It structures the output layer into word classes to maintain computational efficiency.

Discriminative Loss Functions

We explore several loss functions beyond standard Conditional Log-Likelihood (CLL):

  • Max-Margin ($L_{mm}$): Encourages the model to separate the best hypothesis from others by a fixed margin.
  • Pairwise Ranking ($L_{pro}$): Treats adaptation as a classification task to determine which of two candidates is superior based on BLEU scores.
  • Hybrid Loss ($L_{pro-mm}$): Our primary contribution, which integrates pairwise ranking with a BLEU-based margin. This ensures the model maintains a safety margin proportional to the actual difference in translation quality between candidates.

Experimental Setup

  • Out-of-Domain Data: Large-scale data from the WMT News translation task.
  • In-Domain Data: Approximately 107,058 sentence pairs from TED Talk transcripts (IWSLT 2011 English-to-French task).
  • Optimization: An iterative algorithm alternates between updating neural network weights ($\theta$) and global SMT feature weights ($\lambda$).

Key Results and Analysis

Our results indicate that discriminative ranking significantly outperforms standard likelihood adaptation. The $L_{pro-mm}$ method achieved the highest performance, reaching 29.6 BLEU on the test set.

Table 1: Comparison of BLEU scores for baseline and adapted systems on dev and test sets.

A critical insight from our experiments is the impact of the margin parameter ($\alpha$). By requiring the model to more aggressively separate candidates with disparate BLEU scores, we achieved greater robustness. As shown in the training curves, an optimal $\alpha$ value (e.g., $\alpha=100$) leads to higher and more stable BLEU scores compared to a zero-margin approach.

Figure 1: Evolution of BLEU scores across sub-iterations for different values of the margin parameter alpha.

Conclusion

Moving from likelihood to ranking provides a more direct path to optimizing translation quality. While the method is currently constrained by the diversity of $N$-best lists and added computational latency during reranking, the gains in BLEU score demonstrate the power of discriminative adaptation. Future work will explore "Expected BLEU" objectives and the integration of additional feature functions to further enhance model performance.

Summary updated

BibTeX
@inproceedings{do2014discriminative,
  author = {Quoc-Khanh Do and Alexandre Allauzen and François Yvon},
  title = {{Discriminative adaptation of continuous space translation models}},
  booktitle = {IWSLT},
  year = {2014},
}
Figure