Abstract
Simultaneous machine translation (SIMULMT) presents a challenging trade-off between translation quality and latency. Recent studies have shown that LLMs can achieve good performance in SIMULMT tasks. However, this often comes at the expense of high inference costs and latency. In this paper, we propose a conversational SIMULMT framework to enhance the inference efficiency of LLM-based SIMULMT through multi-turn-dialogue-based decoding where source and target chunks interleave in translation history, enabling the reuse of Key-Value cache. To adapt LLMs to the proposed conversational decoding, we create supervised fine-tuning training data by segmenting parallel sentences using an alignment tool and a novel augmentation technique to enhance generalization. Our experiments with Llama2-7b-chat on three SIMULMT benchmarks demonstrate that the proposed method empowers the superiority of LLM in translation quality, meanwhile achieving comparable computational latency with specialized SIMULMT models.
Introduction
Simultaneous Machine Translation (SIMULMT) is the "live" translation of a speech or text stream, where the model must start translating before the speaker has finished. This creates a significant trade-off: waiting for more context increases accuracy but also increases latency. While Large Language Models (LLMs) have shown great promise in translation quality, their high inference costs make them difficult to deploy for real-time applications.
The primary bottleneck in using LLMs for streaming tasks is the standard "offline prompting" approach. In this setup, new source words are inserted into a prompt template, which breaks the Key-Value (KV) cache—the model’s internal memory of previous tokens. As a result, the model must re-calculate representations for the entire history every time a new chunk of text arrives, leading to prohibitive latency.
Methodology
Conversational Prompting
To address the KV-cache bottleneck, we propose Conversational Prompting. Instead of using a static prompt template, we format the translation process as a multi-turn dialogue. New source text is treated as a user input (<U>), and the generated translation is the assistant’s response (<A>).
As shown in Figure 1, this format ensures that new information is only appended to the end of the sequence. This allows the model to reuse its KV-cache perfectly across translation rounds, effectively eliminating redundant computations and providing a significant speedup.
Automated Data Curation & Augmentation
Since conversational translation data is not naturally available in standard parallel corpora, we developed a four-step pipeline to generate synthetic training data:
- Alignment Graph Generation: We use
fast_alignto map source and target words. - Monotonic Dependency Graph: We build a graph with new edges to break re-ordering, ensuring a monotonic flow suitable for simultaneous translation.
- Meta Trajectory Segmentation: We segment the parallel sentences into chunks based on minimal dependencies.
- Trajectory Augmentation: We apply "merge" and "shift" operations to simulate varying speeds of incoming text and different translation delays, enhancing the model's robustness.
Experimental Evaluation
We evaluated our framework using a Llama2-7b-chat backbone fine-tuned via QLoRA on three benchmarks: WMT15 De→En, IWSLT15 En→Vi, and MUST-C En→Zh. Standard parallel corpora were transformed into conversational versions using our automated pipeline.
Key Results
- Efficiency: Conversational prompting achieved a 2x speedup in "Word Wall Time" compared to offline prompting.
- Quality: At low latency (Average Lagging < 4), our method outperformed specialized encoder-decoder models (e.g., Wait-k, ITST) by up to 3 BLEU points and 10 COMET points.
- Contextual Awareness: Ablation studies showed that withholding previous dialogue turns significantly degraded translation quality, confirming that the model effectively leverages conversation history for coherence.
- Generalizability: The technique was successfully applied to newer models like Llama 3 and Qwen 2.5, with Qwen 2.5 showing exceptional performance in English-to-Chinese translation.
Conclusion and Future Work
Conversational SimulMT bridges the gap between the high translation quality of LLMs and the efficiency requirements of real-time applications. By aligning the prompting strategy with the model's architectural strengths (KV-caching), we achieve state-of-the-art results with manageable latency.
Future work will address the sensitivity of the data pipeline to initial word alignments and explore the framework's performance in high-stakes domains like medical or legal translation. Additionally, we aim to investigate potential data contamination issues inherent in using pre-trained LLMs for benchmark evaluation.
Summary updated