A Discriminative Training Procedure for Continuous Translation Models

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

Abstract

Traditional neural translation models are often trained in isolation using objectives like Maximum Likelihood Estimation, which may not align with the final goal of maximizing translation quality in a full Statistical Machine Translation (SMT) pipeline. This paper introduces a discriminative training procedure that jointly optimizes neural models with other system components. By employing a ranking loss and an alternating optimization strategy, the proposed method nearly doubles the performance gains typically observed in $N$-best rescoring tasks across multiple domains.

Introduction

In the landscape of SMT circa 2015, Continuous Translation Models (CTMs)—neural networks representing words in continuous vector spaces—emerged as a powerful tool for improving translation quality. However, their integration into standard SMT pipelines faced two primary hurdles:

  1. Isolation: Neural components were typically trained independently of other system features like language and reordering models.
  2. Objective Mismatch: Standard training objectives like Maximum Likelihood Estimation (MLE) or Noise Contrastive Estimation (NCE) optimize for word prediction probability rather than final translation metrics like BLEU.

This isolation prevents the neural network from accounting for errors made by other components, leading to sub-optimal parameterization for the actual task of ranking translation hypotheses.

Methodology

The authors propose a Discriminative Training Framework specifically tailored for the $N$-best rescoring stage.

Model and Joint Optimization

The system utilizes an $n$-gram-based CTM. To avoid the computational cost of a full softmax layer, the model uses a non-normalized version trained with NCE. The core of the approach is an alternating optimization procedure that ensures the neural network and the global SMT model work in tandem.

Algorithm 1: The joint optimization procedure for updating neural network parameters ($\theta$) and global SMT weights ($\lambda$).

As shown in Algorithm 1, the process alternates between updating the neural network parameters ($\theta$) via Stochastic Gradient Descent while fixing global weights, and tuning the global weights ($\lambda$) on a development set while fixing the neural network.

Ranking Loss Function

Instead of standard probability-based objectives, the framework employs a ranking loss. The training identifies "critical hypotheses"—pairs of translations where the current model scoring does not accurately reflect the difference in sentence-level BLEU quality. The network is then updated to ensure that the higher-quality translation receives a higher score by a defined margin, directly optimizing the model for the rescoring task.

Experimental Evaluation

The approach was validated on two English-to-French translation tasks:

  • TED Talks (IWSLT 2014): A small in-domain dataset (180K pairs) for adaptation, using the large WMT’14 corpus (12M pairs) as out-of-domain data.
  • Medical Translation (WMT’14): Using the Patent Abstract corpus (200K pairs) for domain adaptation and partial training scenarios.

Key Results

The discriminative approach consistently outperformed standard NCE-trained models across various scenarios.

BLEU score results for training and adaptation scenarios on TED and WMT datasets.

As seen in the results table, the discriminative training significantly boosts performance. In the TED Talks adaptation task, the standard NCE model improved the baseline by 1.0 BLEU point, while the discriminative procedure pushed this gain to 1.9 BLEU points—nearly doubling the impact. Similar trends were observed in the medical domain, with a +1.7 BLEU improvement over the baseline.

Discussion and Insights

Several key findings emerged from the study:

  • The "Team Player" Effect: Discriminative training allows the neural model to learn to compensate for specific weaknesses in other log-linear features.
  • Importance of Initialization: The most effective strategy involves using discriminative training as a fine-tuning step on top of a model pre-trained with NCE.
  • Ranking vs. Likelihood: Direct optimization of the relative order of candidates is more effective for rescoring than absolute probability estimation.
  • Training Data Sensitivity: Using the same data for building the baseline and discriminative training can lead to overfitting due to "overoptimistic" BLEU scores in training $N$-best lists.

Conclusion and Future Work

While highly effective for $N$-best rescoring, the current method is limited by the narrow window of the $N$-best list. Future work aims to integrate this discriminative approach into "first-pass" decoding or lattice reranking. Additionally, the authors plan to explore "Expected BLEU" loss functions to further align the training objective with human judgment and final evaluation metrics.

Summary updated

BibTeX
@inproceedings{do2015discriminative,
  author = {Quoc-Khanh Do and Alexandre Allauzen and François Yvon},
  title = {{A Discriminative Training Procedure for Continuous Translation Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2015},
  doi = {10.18653/v1/d15-1121},
}
Figure