Doc-Guided Sent2Sent++: A Sent2Sent++ Agent with Doc-Guided Memory for Document-Level Machine Translation

Jiaxin Guo, Yuanchang Luo, Daimeng Wei, Ling Zhang, Zongyao Li, Hengchao Shang, Zhiqiang Rao, Shaojun Li, Jinlong Yang, Zhanglin Wu, Hao Yang

Abstract

Document-level Machine Translation (DocMT) using Large Language Models (LLMs) often faces a critical trade-off: whole-document translation (Doc2Doc) provides high fluency but suffers from sentence omissions, while sentence-by-sentence translation (Doc2Sent) ensures completeness but results in disjointed, low-fluency text. This paper introduces Sent2Sent++, a novel decoding strategy that bridges this gap. By utilizing incremental "forced decoding" with overlapping sentence pairs and a lightweight "Doc-Guided Memory" consisting of a bilingual summary, the Sent2Sent++ agent achieves the fluency of document-level methods with the rigorous completeness of sentence-level approaches. Evaluations on IWSLT2017 and Guofeng Web Novel datasets demonstrate superior performance in consistency and fluency with zero sentence omissions.

Introduction

Translating documents requires maintaining stylistic consistency and contextual flow across sentences. Current LLM-based translation agents typically follow one of two paradigms. Doc2Doc models translate entire blocks of text, which captures global context but frequently leads to "omission errors" where the model skips sentences—a significant failure for high-stakes domains like legal or literary translation. Conversely, Doc2Sent models translate one sentence at a time, ensuring total coverage but producing "choppy" results because the model lacks context from previous translations.

Comparison of DocMT Agent Architectures: (a) Doc2Doc, (b) Doc2Sent, and (c) the proposed Sent2Sent++ strategy.

Methodology

The Sent2Sent++ Agent introduces two primary innovations to resolve the omission-fluency trade-off:

Incremental Forced Decoding

Instead of isolated translation, Sent2Sent++ processes sentences in overlapping pairs. When translating sentence $i$, the agent is provided with the source of the previous sentence ($S_{i-1}$) and its already generated translation ($T_{i-1}$) as a mandatory prefix. This "forces" the LLM to begin the new sentence in a way that is grammatically and stylistically continuous with the preceding text, effectively tricking the model into maintaining a single, long-form thought process.

Doc-Guided Memory

To ensure global consistency without exceeding context windows, the system employs a Doc-Guided Memory. The process begins by generating an abstract of the entire source document ($S_{doc}$), which is then translated into the target language. This bilingual summary ($S_{summary}$ and $T_{summary}$) serves as a high-level "map" for the agent, providing essential terminology and thematic guidance for every individual sentence translation.

The full Doc-Guided Sent2Sent++ architecture, illustrating the generation of bilingual summary memory and the subsequent sentence-level translation process.

Experimental Results

The researchers evaluated the Sent2Sent++ Agent against two major benchmarks: IWSLT2017 (TED talk transcripts) and the Guofeng Web Novel corpus. Performance was measured using s-COMET (quality), LTCR-1f (consistency), and d-ppl (document-level perplexity/fluency).

  • Fluency: On the IWSLT2017 English-to-Chinese task, Sent2Sent++ achieved a perplexity (d-ppl) of 16.18, significantly outperforming Doc2Sent (17.53) and nearly matching the gold-standard fluency of Doc2Doc (16.69).
  • Consistency: In the challenging Guofeng novel dataset, the agent reached an LTCR-1f score of 94.81, a massive improvement over the baseline sentence-level score of 55.63.
  • Completeness: Most importantly, Sent2Sent++ recorded zero sentence omissions across all test sets, solving the primary weakness of Doc2Doc methods.

Conclusion

Sent2Sent++ represents a significant step forward in document-level translation by combining the strengths of sentence-level and document-level paradigms. While the approach incurs a higher inference cost due to its incremental nature, the gains in fluency and the elimination of omissions make it a robust choice for complex translation tasks. Future work will explore multi-sentence forced decoding to optimize speed without sacrificing reliability.

Summary updated

BibTeX
@inproceedings{guo2025doc,
  author = {Jiaxin Guo and Yuanchang Luo and Daimeng Wei and Ling Zhang and Zongyao Li and Hengchao Shang and Zhiqiang Rao and Shaojun Li and Jinlong Yang and Zhanglin Wu and Hao Yang},
  title = {{Doc-Guided Sent2Sent++: A Sent2Sent++ Agent with Doc-Guided Memory for Document-Level Machine Translation}},
  booktitle = {NLPCC},
  year = {2025},
  doi = {10.1007/978-981-95-3349-7\_18},
}
Figure