Introduction
Standard Neural Machine Translation (NMT) models excel at sentence-level translation but frequently falter when processing entire documents. These models often struggle with "contextual phenomena," such as maintaining tense consistency, ensuring uniform terminology, and correctly resolving pronouns across sentence boundaries. While Large Language Models (LLMs) possess inherent document-level coherence due to their extensive training on long-form text, they are not always superior to specialized NMT models in raw translation tasks. Furthermore, the scarcity of bilingual document-level data poses a significant hurdle for training LLMs in this domain.
This paper explores a novel approach: using LLMs as Automatic Post-Editors (APE) to refine NMT outputs. By leveraging massive, readily available monolingual corpora to generate synthetic training data, the researchers demonstrate that LLMs can effectively bridge the document-level performance gap without requiring extensive bilingual document datasets.
Methodology
The proposed workflow utilizes the LLM as a refiner rather than a primary translator. First, a standard NMT model translates a document sentence-by-sentence. Subsequently, the LLM post-edits the entire output to enhance global consistency and flow.
To train this APE model without bilingual data, the authors employed a pseudo-data generation technique. This involves a back-translation triplet: taking a natural document in the target language, translating it to the source language via NMT, and then translating it back to the target language. This creates a training set consisting of the original source, the "messy" NMT output, and the "perfect" original target document.
A critical challenge identified was the "distributional gap": machine-generated source text differs significantly from natural language. To address this, two primary solutions were proposed:
- Cascade Method: An LLM is used to first "clean up" machine-generated source text before it is used for APE training.
- End2End Method: This involves Continual Pre-training (CPT), where the LLM is exposed to both natural and machine-generated text to learn a unified representation before final fine-tuning.
Experimental Setup
The researchers utilized the MuST-C V3 dataset for English-to-German translation and the MC4 (Multilingual C4) corpus to extract 100,000 documents for scaling tests. Evaluation was conducted using standard metrics like BLEU and COMET, alongside the ContraPro test set, which specifically measures German pronoun resolution accuracy.
Results and Discussion
The experimental results validate the effectiveness of the monolingual APE approach. As shown in the performance summary, the "APE for Large Mono" configuration achieved the highest scores across nearly all metrics.
Key findings include:
- Translation Quality: The COMET score improved from a baseline of 84.68 to 86.50 using the Large Mono approach.
- Contextual Accuracy: Pronoun resolution saw a dramatic boost. On the ContraPro test set, accuracy rose from a baseline of 66.7% to 80.2%.
- Consistency: Significant gains were observed in lexical cohesion and formality consistency, outperforming sentence-level baselines.
- Scaling: Increasing the monolingual data volume proved highly effective; with 20,000 documents, the model outperformed versions trained on limited "real" bilingual document data.
Conclusion
This research demonstrates that LLMs can be successfully deployed as document-level post-editors by training on synthetic data derived from monolingual documents. By addressing the style gap between natural and machine-generated text, the proposed Cascade and End2End methods allow LLMs to focus on global coherence. While the cascaded architecture introduces higher inference latency, the significant gains in translation consistency and pronoun resolution offer a promising path for document-level NMT, especially in domains where bilingual data is scarce.
Summary updated