Discourse Graph Guided Document Translation with Large Language Models

Viet-Thanh Pham, Minghan Wang, Hao-Han Liao, Thuy-Trang Vu · DOI

Introduction

Document-level machine translation (DocMT) remains a significant challenge for Large Language Models (LLMs), requiring the maintenance of long-range dependencies and stylistic consistency across large volumes of text. Current methods typically rely on sequential context windows, which often miss distant but relevant information, or complex multi-agent systems that are computationally expensive and "token-hungry."

This paper introduces TRANSGRAPH, a novel two-stage framework designed to optimize DocMT by providing LLMs with structured, selective context through discourse graphs. By identifying and utilizing specific semantic relationships between text segments, TRANSGRAPH achieves superior translation quality and terminology consistency with significantly lower overhead than existing agentic approaches.

The TRANSGRAPH Framework

The TRANSGRAPH system decomposes the translation process into two primary phases: document preparation and guided translation.

Overview of the TRANSGRAPH framework, illustrating the transition from Stage 1 (Document Preparation) to Stage 2 (Iterative Chunk Translation).

Stage 1: Document Preparation

The process begins with Coherent Chunking, where the input document is divided into semantically meaningful units rather than arbitrary fixed-length segments. Following chunking, the system performs Relation Labeling to build a discourse graph. Drawing on Rhetorical Structure Theory (RST), the framework identifies edges between chunks, labeling them with specific discourse relations.

Definitions of the discourse relations used within TRANSGRAPH to establish semantic links between document chunks.

These relations, such as Entity Coreference or Terminology Definition, provide the model with explicit instructions on how a previous piece of text informs the current segment. This structured approach prevents the model from "getting lost" in massive context windows by highlighting exactly why a specific previous chunk is relevant.

Stage 2: Iterative Chunk Translation

During translation, the document is processed chunk-by-chunk. For each "target" chunk, TRANSGRAPH traverses the discourse graph to retrieve its "in-neighbors"—previously translated chunks that share a direct semantic link. These neighbors are bundled into a compact "context package" that accompanies the target text in the prompt. This selective conditioning ensures the LLM receives the most relevant context without being overwhelmed by irrelevant data.

Experimental Evaluation

The framework was tested across three diverse benchmarks: ACL 60/60 (technical NLP), BWB (literary fiction), and Guofeng (web novels).

Key Results

  • Translation Quality: TRANSGRAPH consistently outperformed sentence-level baselines and state-of-the-art agentic systems like TransAgent and DeLTA in d-BLEU and d-COMET scores.
  • Terminology Accuracy: On the BWB benchmark using Qwen3-32B, TRANSGRAPH achieved a terminology accuracy of 61.72%, surpassing TransAgent (53.21%) and DeLTA (52.03%).
  • Efficiency: TRANSGRAPH demonstrated significant cost savings, averaging approximately 59k tokens per document, compared to 104k for TransAgent and 171k for DeLTA—a reduction of 40-65%.
  • Robustness: The discourse structures identified in the source text proved highly accurate for guiding translations across multiple language pairs, including English to Chinese and German.

Conclusion

TRANSGRAPH demonstrates that structured context is more effective than exhaustive context for document-level translation. By leveraging discourse graphs to identify high-impact relationships, the framework mitigates the "lost in the middle" phenomenon and provides a cost-effective, high-quality alternative to complex multi-agent translation systems. Future work will explore scaling this approach to extremely long documents and integrating retrieval-augmented compression for denser graph structures.

Summary updated

BibTeX
@inproceedings{pham2026discourse,
  author = {Viet-Thanh Pham and Minghan Wang and Hao-Han Liao and Thuy-Trang Vu},
  title = {{Discourse Graph Guided Document Translation with Large Language Models}},
  booktitle = {EACL (Volume 1: Long Papers)},
  year = {2026},
  doi = {10.18653/v1/2026.eacl-long.75},
}
Figure