Simultaneous Machine Translation with Large Language Models

Minghan Wang, Jinming Zhao, Thuy-Trang Vu, Fatemeh Shiri, Ehsan Shareghi, Gholamreza Haffari · DOI

Introduction

Simultaneous Machine Translation (SimulMT) involves translating speech or text in real-time as the source is being generated. This task presents a fundamental trade-off: waiting for more context improves translation quality but increases latency, while translating early risks errors due to incomplete information. Traditionally, SimulMT has relied on small, specialized models. Researchers from Monash University have recently explored whether Large Language Models (LLMs), with their vast prior knowledge and reasoning capabilities, can overcome the limitations of these traditional systems, such as poor robustness to noisy input and difficulty maintaining long-term context.

Methodology

The researchers adapted Llama2-7b-chat for streaming environments using several key strategies.

Streaming Workflow and Incremental Decoding

The system operates on a "Read-n" policy, where it reads a set number of tokens before invoking the LLM to generate a translation based on the partial source and the existing target prefix.

The streaming translation workflow using READ/WRITE cycles and LLM-based incremental decoding.

Relaxed Agreement Longest Common Prefix (RALCP)

A core challenge in incremental decoding is deciding when to "commit" to a translated word. Standard Longest Common Prefix (LCP) only writes a word if all beams in a beam search agree, which often leads to excessive waiting. The authors introduced RALCP, a voting mechanism that commits to a prefix if a specific threshold ((\gamma)) of the top candidates agree.

Comparison between standard LCP and the proposed RALCP algorithm, showing how a voting threshold allows for earlier commitment to translated text.

Training Strategies

To bridge the gap between English-centric pre-training and multilingual translation, the model underwent Supervised Fine-Tuning (SFT) using Low-Rank Adaptation (LoRA). Additionally, "prefix training" data was generated using ChatGPT to teach the model how to handle incomplete sentences without hallucinating endings.

Key Insights and Results

The study yielded several significant findings regarding the use of LLMs in SimulMT:

  • Monotonicity: The decoder-only architecture of LLMs naturally supports monotonic dependencies, making them more stable for incremental decoding compared to bi-directional Transformers.
  • Data Efficiency: LLMs demonstrated remarkable learning speed. With only 10,000 fine-tuning samples, the model achieved 90% of the performance of a fully-trained version, highlighting its potential for low-resource language pairs.
  • Noise Robustness: LLMs proved significantly more resilient to errors in Automatic Speech Recognition (ASR). Their semantic understanding allows them to produce coherent translations even when the source text contains typos or misheard words.
  • Performance: The LLM-based system (LLM-PFX-SFT) outperformed baseline Transformer models in both quality (BLEU) and latency-adjusted metrics across most tested languages. RALCP specifically reduced latency by approximately 45% compared to standard LCP.

Limitations

Despite the quality gains, inference efficiency remains a major hurdle. The computational demand of LLMs results in significantly higher latency per token (approx. 164ms) compared to standard Transformers (approx. 65ms). This overhead currently limits the feasibility of real-time deployment on standard consumer hardware.

Conclusion

This research demonstrates that LLMs can be successfully adapted for high-quality, robust simultaneous translation. While computational costs are currently high, the advantages in data efficiency and noise immunity suggest that LLMs represent a powerful new direction for real-time interpretation technologies.

Summary updated

BibTeX
@inproceedings{wang2024simultaneous,
  author = {Minghan Wang and Jinming Zhao and Thuy-Trang Vu and Fatemeh Shiri and Ehsan Shareghi and Gholamreza Haffari},
  title = {{Simultaneous Machine Translation with Large Language Models}},
  booktitle = {ALTA},
  year = {2024},
  url = {https://openreview.net/forum?id=cx9AGug9Fk},
}
Figure