Abstract
Real-world simultaneous machine translation (SimulMT) systems face more challenges than just the quality-latency trade-off. They also need to address issues related to robustness with noisy input, processing long contexts, and flexibility for knowledge injection. These challenges demand models with strong language understanding and generation capabilities which may not often be equipped by dedicated MT models. In this paper, we investigate the possibility of applying Large Language Models (LLM) to SimulMT tasks by using existing incremental-decoding methods with a newly proposed RALCP algorithm for latency reduction. We conducted experiments using the Llama2-7b-chat model on nine different languages from the MUST-C dataset. The results show that LLM outperforms dedicated MT models in terms of BLEU and LAAL metrics. Further analysis indicates that LLM has advantages in terms of tuning efficiency and robustness. However, it is important to note that the computational cost of LLM remains a significant obstacle to its application in SimulMT.
Introduction
Simultaneous Machine Translation (SimulMT) is the "live captioning" of the translation world—the system must generate target text while the source speech is still ongoing. This creates a grueling trade-off between quality (waiting for more context) and latency (translating quickly to keep up). Traditional SimulMT systems use dedicated, smaller models. However, these models often struggle with real-world issues such as Automatic Speech Recognition (ASR) errors, maintaining consistency over long contexts, and difficulty in injecting specific domain knowledge.
This research investigates whether the massive pre-existing knowledge and reasoning capabilities of Large Language Models (LLMs) can solve these issues, despite LLMs not being originally designed for streaming, real-time tasks.
Methodology
The proposed framework transforms a standard LLM (specifically Llama2-7b-chat) into a simultaneous translator using three key components:
- Read-n & Incremental Decoding Policy: A simple policy where the system reads a fixed number of tokens ($n$), then invokes the LLM to generate potential translations using beam search.
- RALCP (Relaxed Agreement Longest Common Prefix): This is the core algorithmic contribution. Standard incremental decoding only "writes" a word if all candidates in the beam search agree on it. This is often too strict and causes high latency. RALCP uses a voting mechanism: if a certain percentage (threshold $\gamma$, e.g., 60%) of beam candidates agree on a token, the system commits to it and writes it to the output.
- Prefix-Aware Fine-Tuning: Since LLMs are usually trained on full sentences, they can "hallucinate" endings when given partial sentences. The authors used LoRA (Low-Rank Adaptation) to fine-tune the model on both full sentences and artificial "prefix-to-prefix" pairs to teach the model how to handle incomplete inputs.
Experimental Setup
The study utilized the MuST-C dataset, a standard benchmark for speech translation consisting of TED talk utterances. Evaluation was conducted on English to nine different languages: Czech, German, Spanish, French, Italian, Dutch, Portuguese, Romanian, and Russian. The primary metrics used were BLEU for translation quality and LAAL (Length-Adaptive Average Lagging) for latency.
Key Results and Insights
Performance and Latency
The fine-tuned LLM (LLM-PFX-SFT) outperformed dedicated Transformer baselines in both BLEU and LAAL. Notably, the RALCP algorithm reduced latency by approximately 45% compared to standard agreement methods without sacrificing translation quality. This improvement is partly due to the monotonic nature of decoder-only LLMs, which are more stable for incremental decoding than traditional encoder-decoder models.
Robustness to Noise
One of the most significant advantages of the LLM approach is its robustness. When tested with noisy ASR transcripts (averaging a 17.31% Word Error Rate), the LLM maintained much higher quality scores (measured by COMET and BLEU) than the dedicated models, which were far more sensitive to input errors. The LLM's pre-training acts as a safety net, allowing it to "fill in the blanks" or ignore noise better than a model trained from scratch on translation pairs.
Tuning Efficiency
LLMs proved to be incredibly sample efficient. Fine-tuning on just 10,000 samples allowed the model to retain 90% of the performance it would have achieved with the full dataset of millions of samples. This suggests that LLMs can be quickly adapted to new language pairs or domains with minimal data.
Limitations and Future Work
The primary obstacle to real-world deployment is computational cost. The LLM takes significantly longer (roughly 164ms per token) to generate a prediction compared to a dedicated Transformer (roughly 65ms). This makes real-time deployment on consumer hardware challenging.
Future work will involve developing adaptive policies where the LLM itself decides when it has enough information to translate, rather than waiting for a fixed number of tokens. Additionally, researchers suggest exploring the LLM's multi-tasking abilities to handle tasks like entity correction or style transfer simultaneously with translation.
Summary updated