Data-Driven Adaptive Simultaneous Machine Translation

Guangxu Xun, Mingbo Ma, Yuchen Bian, Xingyu Cai, Jiaji Huang, Renjie Zheng, Jun-Kun Chen, Jiahong Yuan, Kenneth Church, Liang HuangarXiv 2022 · DOI

Abstract

Simultaneous Machine Translation (SimulMT) requires a delicate balance between translation quality and latency. Traditional approaches often rely on fixed policies (like wait-$k$) or complex reinforcement learning-based adaptive policies, both of which suffer from high training complexity and rigidity. This paper introduces AdaData, a novel framework that shifts the complexity of simultaneous translation from the model's policy to the training data itself. By augmenting datasets with "self-translatable" prefix pairs generated via a monotonic attention mechanism, AdaData achieves state-of-the-art performance while significantly reducing training time from cubic to quadratic complexity.

1. Introduction

Simultaneous Machine Translation (SimulMT) is the task of generating a target language translation in real-time as the source language input is being received. The primary challenge lies in the latency-quality trade-off: translating too early leads to errors due to missing context, while waiting too long defeats the purpose of real-time interpretation.

The current industry standard, the wait-$k$ policy, waits for $k$ source tokens before starting translation. While simple, it is inherently rigid, applying the same delay regardless of linguistic context. Furthermore, training these models is computationally expensive. Because the model must learn to anticipate future information across various prefix combinations, training complexity increases from quadratic (in standard NMT) to cubic. Existing adaptive solutions often require training multiple models for different latency targets, further straining resources.

2. Methodology: The AdaData Framework

AdaData proposes that the "simultaneous" logic can be embedded directly into the training data. The framework consists of three primary stages: monotonic attention mapping, prefix pair generation, and adaptive training.

2.1 Monotonic Attention Mapping

To determine when a source prefix contains enough information to translate a target word, the researchers utilize a MonoLSTM (Monotonic LSTM). This architecture employs a unidirectional encoder and restricted decoder connections, ensuring that the attention mechanism only considers available source tokens. This creates a clear map of information contribution for each word.

Figure 1: Attention matrix illustrating how target words align with source prefixes to identify self-translatable pairs.

2.2 Prefix Pair Generation and Thresholding

Using the MonoLSTM's attention map, the system identifies "self-translatable" prefix pairs. A source prefix is deemed sufficient to generate a target prefix if the cumulative attention weight for the target word reaches a predefined hyperparameter threshold ($e$). This threshold acts as a tunable "knob" for the latency-quality trade-off, adjusted during the data generation phase rather than at inference.

2.3 Adaptive Training and Fine-tuning

Instead of complex policy-based training, a standard Transformer model is trained on a 1:1 mixture of these generated prefix pairs and full sentences. This approach allows for Adaptive Fine-tuning: a high-quality, pre-trained offline translation model can be converted into a simultaneous model with just a single epoch of fine-tuning on the prefix data.

3. Experimental Results

3.1 Performance Benchmarks

The models were evaluated on the WMT15 German-to-English (De$ ightarrow$En) and NIST Chinese-to-English (Zh$ ightarrow$En) benchmarks using BLEU scores for quality and Average Lagging (AL) for latency. AdaData consistently outperformed strong baselines, including wait-$k$, MILk, and MMA, establishing a superior Pareto frontier across all tested latency levels.

3.2 Efficiency Gains

One of the most significant advantages of AdaData is its computational efficiency. By treating prefix pairs as independent training samples, the framework maintains the quadratic complexity of standard NMT.

Figure 2: Comparison of training time across different SimulMT approaches, highlighting the massive efficiency gains of AdaData fine-tuning.

As shown in the experimental data, training AdaData from scratch is significantly faster than wait-$k$. More notably, the fine-tuning method reduced the total training time on the De$ ightarrow$En dataset from approximately 9,000 minutes to just 2,000 minutes while maintaining comparable translation quality.

4. Discussion and Conclusion

AdaData demonstrates that simultaneous translation does not strictly require complex, reinforcement-learning-style policies. By providing the model with training examples that represent partial information leading to partial translation, the model learns the necessary policy implicitly. This data-driven approach offers several key benefits:

  • Flexibility: The system adaptively adjusts latency based on the source sequence context.
  • Scalability: Reduced training complexity makes it feasible to train larger models on more data.
  • Ease of Use: The ability to fine-tune existing offline models simplifies the deployment of simultaneous systems.

Future work will focus on reducing the dependency on the initial "teacher" MonoLSTM and exploring the framework's effectiveness on language pairs with significantly different word orders, such as Japanese-to-English.

Summary updated

BibTeX
@misc{xun2022data,
  author = {Guangxu Xun and Mingbo Ma and Yuchen Bian and Xingyu Cai and Jiaji Huang and Renjie Zheng and Jun-Kun Chen and Jiahong Yuan and Kenneth Church and Liang Huang},
  title = {{Data-Driven Adaptive Simultaneous Machine Translation}},
  year = {2022},
  eprint = {2204.12672},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.12672},
}
Figure