LLMs Are Zero-Shot Context-Aware Simultaneous Translators

Roman Koshkin, Katsuhito Sudoh, Satoshi Nakamura

Introduction

Simultaneous Machine Translation (SiMT) represents one of the most challenging tasks in natural language processing, requiring a system to generate target language output while the source speech is still ongoing. Traditionally, this task has been dominated by specialized, fine-tuned models. However, these systems often suffer from two primary limitations: they typically operate on isolated sentences, ignoring broader context, and they cannot easily incorporate external knowledge—such as technical glossaries—without expensive retraining.

This research explores whether the inherent reasoning and in-context learning capabilities of Large Language Models (LLMs), specifically Llama-3, can overcome these hurdles through a zero-shot approach. By leveraging "response priming" and "context injection," the authors demonstrate that off-the-shelf LLMs can outperform state-of-the-art specialized systems.

Methodology

The researchers implemented a cascaded pipeline designed for real-time performance. The architecture consists of two primary components:

  1. Online Automatic Speech Recognition (ASR): The system uses Whisper-small.en to process audio in 200ms windows, converting speech to text incrementally.
  2. LLM Translation Engine: The incremental text is fed into Llama-3-70B-Instruct.

To optimize the LLM for the unique constraints of SiMT, the authors introduced two critical prompting strategies:

  • Response Priming: To ensure the model remains concise and avoids conversational filler (e.g., "Here is your translation"), the model's response is forced to begin with a specific prefix, such as German translation: [partial translation]. This constrains the model to generate only the subsequent logical tokens in the translation sequence.
  • Context Injection: Mimicking the preparation of a human interpreter, the system prompt includes a JSON-formatted block containing the "topic" and "named entities" (definitions and translations of technical terms). This allows the model to maintain consistency across a long-form discourse.

The system operates under a "READ/WRITE" policy, where it continues to ingest audio until it reaches a confidence threshold sufficient to output a full word, at which point it updates the prompt for the next cycle.

Experimental Setup and Datasets

The system was evaluated against several benchmarks to test general and technical translation capabilities:

  • FLEURS: A standard multilingual speech dataset used for baseline comparisons.
  • TED-TST (2023 & 2024): Transcripts from recent TED talks. The 2024 set was specifically utilized to mitigate concerns regarding data leakage, ensuring the content was not present in the LLM's original training data.
  • AMBIEVAL: A novel dataset introduced by the authors to test the system's ability to handle ambiguity. It focuses on polysemous words (e.g., "CPA" or "kicks") that require specific technical context for accurate translation.

Key Insights

LLMs as ASR Correctors

A significant finding of the study is the LLM's ability to perform "self-correction" on the ASR output. When the Whisper model misinterprets a word due to audio quality or accents, the Llama-3 model often uses the surrounding semantic context to translate the intended meaning rather than the literal (and incorrect) transcription.

The Power of Context

Injecting minimal background information—such as the general topic and a few key glossary terms—resulted in substantial quality improvements. On the AMBIEVAL dataset, context-aware translation was nearly twice as accurate as context-unaware baselines, proving that LLMs can effectively use "study materials" provided at runtime.

Model Scaling and Stability

The researchers noted a significant performance gap between model sizes. While Llama-3-8B showed promise, it frequently struggled to follow complex instructions and failed to consistently utilize the background context. In contrast, the 70B parameter model proved robust enough to handle the constraints of response priming and context integration simultaneously.

Results

The zero-shot LLM approach achieved a BLEU score of 42.60 on the technical AMBIEVAL dataset, significantly outperforming specialized baselines like FBK (24.96) and SeamlessStreaming (29.76). In terms of latency, the system maintained a Length-Adaptive Average Lagging (LAAL) of approximately 2000ms, which is competitive for near real-time applications.

Ablation studies confirmed that "response priming" is essential; removing this constraint led to a consistent decrease in translation quality and stability across all tested language pairs.

Limitations and Future Directions

Despite its success, the cascaded approach faces challenges with "cascaded errors," where ASR hallucinations caused by background noise are faithfully (but incorrectly) translated by the LLM. Furthermore, the reliance on "response priming" makes this method difficult to implement on closed-source models (like GPT-4) that do not currently allow users to specify the beginning of an assistant's response via API.

The authors suggest that the next evolution of this work lies in end-to-end SiMT, where speech embeddings are projected directly into the LLM’s input space. This would bypass the text-based ASR step entirely, potentially reducing both latency and the propagation of transcription errors.

Summary updated

BibTeX
@inproceedings{koshkin2024llms,
  author = {Roman Koshkin and Katsuhito Sudoh and Satoshi Nakamura},
  title = {{LLMs Are Zero-Shot Context-Aware Simultaneous Translators}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.69},
}
Figure