Learning Optimal Policy for Simultaneous Machine Translation via Binary Search

Shoutao Guo, Shaolei Zhang, Yang Feng

Simultaneous Machine Translation (SiMT) requires a model to generate translations while the source sentence is still being uttered. This creates a fundamental tension between translation quality and latency: waiting for more context improves accuracy but increases delay. This paper introduces BS-SiMT, a novel framework that employs binary search during training to automatically discover an optimal "READ/WRITE" policy, effectively identifying the minimum source context required for high-quality translation.

The Challenge of Policy Discovery

In SiMT, the "policy" determines whether the system should read another source token or write a target token. Traditional approaches often rely on fixed heuristics, such as the "wait-$k$" strategy, or complex reinforcement learning (RL). However, fixed heuristics lack adaptability to varying linguistic structures, and RL often suffers from instability due to the absence of explicit supervision or a "golden policy."

BS-SiMT addresses this by treating policy discovery as a search for the maximum quality gain. By finding the precise moment when reading more source text yields diminishing returns, the authors create a supervised signal for training a dedicated policy agent.

The core innovation of BS-SiMT is the use of binary search to construct an optimal policy path for training sentences. Instead of evaluating every possible source-target alignment, the model treats the source sentence as a search interval for each target word.

Midpoint Concavity

For a given target word, the search evaluates the probability of generating the correct token at different source positions. The model checks for "concavity" in the probability curve: if the probability at the midpoint of an interval is higher than the average of the boundaries, it indicates that the model has already acquired sufficient context. In such cases, the search moves to the "left" (shorter) interval to minimize latency. Conversely, if the curve is convex, the model continues searching the "right" interval, indicating more context is needed.

The binary search process identifies the optimal source context by evaluating the concavity of the probability curve for each target token.

The Policy Agent

Once the "optimal" path is discovered for a training set, it serves as explicit supervision for a policy agent. This agent is an LSTM-based module that learns to predict READ/WRITE actions based on the current state, including the last source token, the last target token, and the previous action. During inference, this agent dynamically guides the translation model, allowing for flexible, context-aware latency management.

Experimental Evaluation

The researchers evaluated BS-SiMT across several standard benchmarks, including IWSLT15 English↔Vietnamese and IWSLT14 German↔English.

Key Results

  • Superior Quality-Latency Trade-off: BS-SiMT consistently outperformed strong adaptive baselines like Monotonic Multihead Attention (MMA) and fixed policies like wait-$k$.
  • Surpassing Full-Sentence Models: Remarkably, on tasks like En→De and En→Vi, BS-SiMT achieved higher BLEU scores than standard full-sentence transformers while maintaining significantly lower latency.
  • Stability: Unlike many adaptive models that struggle in high-latency scenarios, BS-SiMT demonstrated robust stability, maintaining high translation quality even as the allowed delay increased.
Performance comparison on the En→De task showing BS-SiMT (red) achieving superior BLEU scores at various latency levels compared to baselines.

Conclusion

BS-SiMT effectively transforms the unsupervised challenge of SiMT policy discovery into a stable supervised learning problem. By using binary search to identify the "sweet spot" of context sufficiency, the model achieves state-of-the-art performance. Future work may involve refining the initial search heuristics and exploring more complex architectures for the policy agent to further close the gap between the discovered oracle policy and real-time execution.

Summary updated

BibTeX
@inproceedings{guo2023learning,
  author = {Shoutao Guo and Shaolei Zhang and Yang Feng},
  title = {{Learning Optimal Policy for Simultaneous Machine Translation via Binary Search}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.130},
}
Figure