Non-Monotonic Attention-based Read/Write Policy Learning for Simultaneous Translation

Zeeshan Ahmed, Frank Seide, Zhe Liu, Rastislav Rabatin, Jachym Kolar, Niko Moritz, Ruiming Xie, Simone Merello, Christian Fuegen

TL;DR

Researchers at Meta AI have developed AliBaStr-MT, a new approach to simultaneous translation that turns high-quality "offline" models into streaming ones. By using the attention weights of a pre-trained non-streaming model as "pseudo-labels," they train a lightweight policy network to decide exactly when to read more input or write a translated token, achieving a superior balance between translation quality and latency.

What Problem Does This Paper Address?

Simultaneous Machine Translation (SiMT) is the "holy grail" for live captions and real-time international dialogue. The core challenge is the Read/Write dilemma: How many words must the system hear before it can safely start translating?

If the system waits too long, the latency is too high for natural conversation. If it guesses too early, the translation quality plummets because it lacks context. Existing solutions like "Wait-$k$" (waiting for a fixed $k$ number of words) are too rigid, while "Monotonic Attention" models are notoriously difficult and expensive to train from scratch. The authors sought a way to leverage the power of existing, high-quality offline models and adapt them for streaming without the massive computational overhead.

Methods

The authors introduce AliBaStr-MT (ALIgnment BAsed STReaming Machine Translation). The process follows four main steps:

  1. Start with the Best: They take a high-quality, pre-trained non-streaming Transformer model.
  2. Extract "Pseudo-labels": They look at the attention weights of this offline model. These weights show which source words the model "looked at" to produce specific target words.
  3. The Confidence Threshold ($\gamma$): They convert these soft attention weights into a hard "Read/Write" schedule. By setting a cumulative threshold ($\gamma$), they determine the point where the model has "seen enough" of the input to justify writing an output token.
  4. Train a Policy Network: They freeze the original model and train a tiny binary classifier (the Policy Network) on top of it. This network learns to predict the Read/Write decision based on the current state of the encoder and decoder.

Crucially, they also implemented a Streaming Beam Search Decoder, which allows the model to track multiple translation hypotheses simultaneously, improving quality by about 1 BLEU point over standard greedy decoding.

Datasets

The models were evaluated on English-Spanish and Spanish-English tasks using:

  • FLEURS: A publicly available dataset for multilingual speech and text.
  • Real-life Conversations: An internal Meta dataset consisting of English-Spanish dialogues.
  • Training Data: A massive mix of public datasets including NLLB, Opensubtitle, CCMatrix, and Wikipedia.

Key Insights and Ideas

  • Harvesting Offline Knowledge: The "aha moment" is realizing that offline models already "know" the alignments between languages. Instead of forcing a streaming model to learn translation and timing simultaneously, AliBaStr-MT treats timing as a supervised learning task derived from the offline model's "wisdom."
  • Decoupled Policy: Because the policy network is a separate, lightweight module, the system can easily fall back to a full non-streaming mode if high quality is needed and latency isn't an issue.
  • Tunable Latency at Inference: By adjusting the calibration threshold ($\delta$) during inference, users can tune the model to be "faster" or "more accurate" without retraining the entire system.

Key Results

  • Superior Trade-offs: AliBaStr-MT consistently outperformed strong baselines like Wait-$k$ and EMMA (Efficient Monotonic Multihead Attention).
  • Lower Latency, Higher Quality: On the FLEURS English-to-Spanish task, AliBaStr-MT achieved a BLEU score of 19.12 with an Average Lag (AL) of 12.19, significantly narrowing the gap with the non-streaming baseline (20.21 BLEU).
  • Efficiency: The approach is much faster to train than Monotonic Attention models because it doesn't require expensive unsupervised alignment operations during the main training phase.

Limitations and Future Work

  • Alignment Dependency: The system’s performance is capped by the quality of the alignments generated by the offline model. If the offline model has "messy" attention, the pseudo-labels will be poor.
  • The Hallucination Trap: The authors noted that trying to fine-tune the entire model (encoder/decoder + policy) simultaneously led to "hallucinations" because the pseudo-labels would shift as the model updated, confusing the policy learner.
  • Heuristic Sensitivity: While the $\gamma=0.5$ threshold worked well across most tests, the system still relies on this hyperparameter to define what "enough information" looks like during the label generation phase. Future work might involve making this threshold more dynamic.

Summary updated

BibTeX
@misc{ahmed2025non,
  author = {Zeeshan Ahmed and Frank Seide and Zhe Liu and Rastislav Rabatin and Jachym Kolar and Niko Moritz and Ruiming Xie and Simone Merello and Christian Fuegen},
  title = {{Non-Monotonic Attention-based Read/Write Policy Learning for Simultaneous Translation}},
  year = {2025},
  eprint = {2503.22051},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.22051},
}
Figure