DelTA: An Online Document-Level Translation Agent Based on Multi-Level Memory

Yutong Wang, Jiali Zeng, Xuebo Liu, Derek F. Wong, Fandong Meng, Jie Zhou, Min Zhang · DOI

Abstract

DelTA (Document-levEL Translation Agent) is a novel framework designed to enhance document-level machine translation (DocMT) using Large Language Models (LLMs). While LLMs excel at sentence-level tasks, they often struggle with document-wide consistency or suffer from sentence omissions when processing large text blocks. DelTA addresses these issues through a hierarchical, multi-level memory structure that tracks proper nouns, maintains bilingual summaries, and utilizes both long-term and short-term context. This "online" agent approach allows for sentence-by-sentence precision while retaining global document context. Evaluations on benchmarks like IWSLT2017 and Guofeng webnovels demonstrate that DelTA significantly outperforms standard baselines in consistency and translation quality.

1. Introduction

Document-level machine translation (DocMT) faces a persistent "Goldilocks" problem. Sentence-by-sentence translation often lacks consistency, leading to technical terms or character names being translated differently throughout a text. Conversely, feeding large blocks of text into an LLM to provide context often results in the "Accuracy/Omission Trap," where the model skips sentences or hallucinates details as the input window grows. Preliminary studies indicate that while increasing the translation window improves consistency (measured by LTCR-1), it leads to a sharp rise in missing sentences. DelTA is proposed to bridge this gap by providing the context of a large window with the precision of sentence-by-sentence processing.

2. Methodology: Multi-Level Memory Architecture

DelTA operates as an online agent that processes documents one sentence at a time while maintaining a Multi-Level Memory (MLM) system. The MLM consists of four key components:

  • Proper Noun Records: A dictionary that stores the first translation of names, places, and organizations to ensure they remain identical throughout the document.
  • Bilingual Summary: The agent maintains a running summary of both the source and target text. This preserves the "gist," style, and tone without clogging the model's context window with every previous word.
  • Long-Term Memory (LTM): Stores a wide range of previous sentence pairs. A "Retriever" component pulls the most relevant past examples to serve as few-shot demonstrations for the current sentence.
  • Short-Term Memory (STM): Provides the immediate context of the last few sentences to ensure local flow and coherence.
The DelTA framework architecture featuring multi-level memory components.

The framework uses auxiliary LLM calls to act as "Writers" and "Extractors" that manage these memories in real-time, ensuring that the translation model always has access to the most relevant context.

3. Experimental Setup

The researchers evaluated DelTA across several diverse benchmarks, including IWSLT2017 (TED talk transcripts), Guofeng Webnovel (high-discourse fiction with complex proper nouns), QMSum (summarization), and Europarl v9 (low-resource Lithuanian-English). The framework was tested using various backbone models, including GPT-4o-mini, GPT-3.5-Turbo, and Qwen2-7B/72B-Instruct.

4. Results and Analysis

DelTA demonstrated significant improvements across all backbone models. On the IWSLT2017 dataset, DelTA improved consistency scores (LTCR-1) by an average of 4.36 to 4.58 percentage points over strong baselines. Translation quality, measured by COMET, saw average gains of over 3 points.

Performance comparison of DelTA against baselines on the IWSLT2017 dataset across multiple LLM backbones.

On the challenging Guofeng webnovel dataset, DelTA achieved massive consistency gains—up to 48.5 percentage points in some configurations. Furthermore, unlike block-translation methods that eventually crash due to "Out of Memory" (OOM) errors as documents grow, DelTA’s memory usage remains stable, making it more practical for long documents.

5. Conclusion and Limitations

DelTA proves that a "Document-to-Sentence" approach, supported by structured memory, is superior to block-translation for maintaining document integrity and eliminating omissions. While the system currently faces higher inference latency due to multiple LLM calls per sentence and relies on external alignment tools, it represents a significant step forward in practical DocMT. Future work will focus on optimizing the agent workflow and using more efficient retrievers to reduce costs and processing time.

Summary updated

BibTeX
@inproceedings{wang2025delta,
  author = {Yutong Wang and Jiali Zeng and Xuebo Liu and Derek F. Wong and Fandong Meng and Jie Zhou and Min Zhang},
  title = {{DelTA: An Online Document-Level Translation Agent Based on Multi-Level Memory}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=hoYFLRNbhc},
}
Figure