Agent-SiMT: Agent-assisted Simultaneous Machine Translation with Large Language Models

Shoutao Guo, Shaolei Zhang, Zhengrui Ma, Min Zhang, Yang FengarXiv 2024 · DOI

Introduction

Simultaneous Machine Translation (SiMT) is a challenging task that requires a model to translate a source sentence while the speaker is still speaking. This necessitates a delicate balance between translation quality and latency. Traditionally, SiMT systems rely on a single Transformer model to handle both the translation policy (deciding when to read or generate) and the actual linguistic generation. However, this often leads to a "jack of all trades, master of none" scenario where the model's capacity is stretched thin between strategic timing and high-quality output.

The Agent-SiMT Framework

To address these limitations, the authors propose Agent-SiMT, a collaborative multi-agent framework that decouples the policy-making process from the generation process. This architecture leverages the strategic precision of traditional SiMT models and the linguistic power of Large Language Models (LLMs).

The Agent-SiMT framework architecture featuring the Policy-Decision Agent, Translation Agent, and shared Memory.

Core Components

  1. Policy-Decision Agent: Utilizing a traditional Hidden Markov Transformer (HMT), this agent monitors incoming source words and the current translation state within a shared Memory module. Its sole responsibility is to decide whether to "Read" more source input or "Generate" a target word.
  2. Translation Agent: Once the policy agent triggers a "Generate" action, a Large Language Model (specifically Llama 2-7B) takes over. It uses the partial source sentence and previous translations as a prompt to predict the next word.
  3. Word-level Policy & Boundary Restrictions: To bridge the gap between different tokenizers used by the two agents, the framework employs a word-level policy. Furthermore, boundary restrictions ($B$ and $T$ hyperparameters) are implemented to ensure the model does not wait too long or start too early, maintaining a steady real-time flow.

Supervised Fine-Tuning (SFT)

The LLM is fine-tuned using Low-Rank Adaptation (LoRA) on parallel data. Interestingly, the researchers found that fine-tuning on full-sentence data was more effective than training on partial "prefix" data. Full-sentence training helps the LLM maintain semantic equivalence and global context, which significantly reduces the rate of hallucinations—a common failure mode in SiMT where models "make up" content due to insufficient context.

Experimental Results

The framework was evaluated across three major translation tasks: WMT15 German→English (De→En), MuST-C English→German (En→De), and WMT22 Chinese→English (Zh→En).

Performance comparison (BLEU vs. Average Lagging) on WMT15 German-English, showing Agent-SiMT outperforming traditional baselines.

Key Findings

  • State-of-the-Art Performance: Agent-SiMT consistently outperformed existing Transformer-based methods like MMA, ITST, and HMT across various latency settings. For example, on the De→En task, it achieved a 30.60 BLEU score at a latency (Average Lagging) of 4.2, surpassing previous benchmarks.
  • Reduced Hallucination: By separating policy from generation, the system ensures the LLM only generates when the policy agent deems sufficient context is available, leading to more faithful translations.
  • Generalization: The framework proved robust when swapping the underlying LLM for other models like ParroT or BayLing, indicating that the benefits are architectural rather than tied to a specific model.

Conclusion and Future Work

Agent-SiMT demonstrates that specialization—assigning policy and generation to distinct agents—is a superior approach for simultaneous translation. While the use of 7B-parameter LLMs introduces higher computational costs and slower inference speeds (9.94 words/second vs. 32.47 for traditional Transformers), the gains in translation quality and reliability are substantial. Future research will focus on optimizing inference efficiency and testing the framework on language pairs with high degrees of word-order reordering.

Summary updated

BibTeX
@misc{guo2024agent,
  author = {Shoutao Guo and Shaolei Zhang and Zhengrui Ma and Min Zhang and Yang Feng},
  title = {{Agent-SiMT: Agent-assisted Simultaneous Machine Translation with Large Language Models}},
  year = {2024},
  eprint = {2406.06910},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.06910},
}
Figure