Universal Simultaneous Machine Translation with Mixture-of-Experts Wait-k Policy

Shaolei Zhang, Yang Feng

Introduction

Simultaneous Machine Translation (SiMT) is a critical technology for real-time applications such as live subtitling and diplomatic interpretation. Unlike offline translation, SiMT must balance the inherent trade-off between translation quality and latency. A common approach is the "wait-k" policy, where the model waits for $k$ source words before starting to generate the target sequence. However, traditional SiMT models are typically optimized for a specific $k$ value. This necessitates training and deploying multiple models to cover different latency requirements, which is computationally expensive and inflexible for real-world scenarios where network conditions or user preferences may fluctuate.

This paper introduces a "universal" SiMT model capable of achieving high-quality translation across a wide range of latency levels using a single set of parameters. The proposed method leverages a Mixture-of-Experts (MoE) framework to dynamically adapt its waiting strategy at inference time.

Methods: Mixture-of-Experts Wait-k Policy

The core innovation lies in repurposing the multi-head attention mechanism of the Transformer architecture as a Mixture-of-Experts (MoE).

Heads as Experts

In a standard Transformer, multiple attention heads allow the model to attend to different parts of the input. In the MoE Wait-k policy, each head is assigned a specific "expert lagging" value ($k_E$). For instance, in an 8-head configuration, individual heads might be trained to act as "wait-1", "wait-3", ..., or "wait-15" experts. This forces different heads to specialize in processing information at different latency levels.

Architecture of the MoE Wait-k policy.

Dynamic Gating and Training

To manage these experts, a lightweight Multi-Layer Perceptron (MLP) serves as a gating network. This network takes the current source input and the desired test latency ($k_{test}$) to predict confidence scores for each expert head. The final representation is a weighted sum of the experts' outputs.

The training process follows two stages:

  1. Multipath Pre-training: Experts are trained with equal weights by sampling various latency levels.
  2. Joint Fine-tuning: The gating network and experts are fine-tuned together, allowing the model to learn the optimal combination of experts for any given $k_{test}$.

Experimental Setup

The model was evaluated on three standard machine translation benchmarks of varying scales:

  • IWSLT15 English-Vietnamese (En-Vi): A small-scale dataset with 133K sentence pairs.
  • WMT16 English-Romanian (En-Ro): A medium-scale dataset with 0.6M sentence pairs.
  • WMT15 German-English (De-En): A large-scale dataset with 4.5M sentence pairs.

Key Results

The MoE Wait-k model demonstrates superior performance across all tested latency levels and datasets. Notably, it outperforms strong baselines such as Monotonic Multihead Attention (MMA) and standard fixed-policy wait-k models.

BLEU vs. Average Lagging results across three datasets.

As shown in the results, the "MoE Wait-k + FT" variant consistently achieves the highest BLEU scores. On the En-Ro dataset, it provides an average improvement of 2.11 BLEU points over standard models. On the large-scale De-En benchmark, the gains are even more pronounced, reaching 2.56 BLEU points. Furthermore, the universal model is highly efficient; it achieves state-of-the-art results with a single 210M parameter model, whereas traditional approaches would require multiple models totaling over 1.5 billion parameters to cover the same latency range.

Discussion and Insights

The effectiveness of the MoE Wait-k approach stems from several key factors:

  • Subspace Specialization: By constraining heads to specific latencies, the model develops specialized parameter subspaces, making the MoE more effective than a standard multi-head setup.
  • Implicit Future Prediction: Experts trained on higher latencies (waiting longer) provide context that helps lower-latency experts "predict" future tokens, improving overall output quality.
  • Robustness: The model exhibits increased robustness to input noise, as certain experts can ignore the most recent (and potentially incomplete) source words.
  • Handling Linguistic Divergence: The model excels at translating language pairs with significantly different word orders, such as German and English, by effectively managing the delay required for late-appearing verbs.

Conclusion

The Mixture-of-Experts Wait-k policy provides a robust and efficient solution for universal simultaneous machine translation. By enabling a single model to adapt to any latency requirement, this research significantly reduces the overhead of deploying SiMT systems. Future work may involve integrating this MoE kernel with fully adaptive policies that decide when to read or write based on semantic content rather than fixed counts.

Summary updated

BibTeX
@inproceedings{zhang2021universal,
  author = {Shaolei Zhang and Yang Feng},
  title = {{Universal Simultaneous Machine Translation with Mixture-of-Experts Wait-k Policy}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.581},
}
Figure