Abstract
Large language models (LLMs) have excelled in various NLP tasks, including machine translation (MT), yet most studies focus on sentence-level translation. This work investigates the inherent capability of instruction-tuned LLMs for document-level translation (docMT). Unlike prior approaches that require specialized techniques, we evaluate LLMs by directly prompting them to translate entire documents in a single pass. Our results show that this method improves translation quality compared to translating sentences separately, even without document-level fine-tuning. However, this advantage is not reflected in BLEU scores, which often favor sentence-based translations. We propose using the LLM-as-a-judge paradigm for evaluation, where GPT-4 is used to assess document coherence, accuracy, and fluency in a more nuanced way than n-gram-based metrics. Overall, our work demonstrates that instruction-tuned LLMs can effectively leverage document context for translation.
The Context Gap in Machine Translation
Standard machine translation research often treats documents as collections of independent sentences. This approach leads to a "context gap," where translations suffer from inconsistent terminology, incorrect pronoun resolution, and a lack of logical flow. While it was previously thought that LLMs required specialized fine-tuning to bridge this gap, this paper argues that the issue lies primarily with evaluation metrics rather than model capability. Traditional metrics like BLEU rely on n-gram overlap and are largely blind to "discourse-level" features like document coherence.
Methodology: ST vs. DOC
The researchers compared two primary translation strategies across several instruction-tuned models (Vicuna and Mistral):
- Sentence-based (ST[k]): Translating the document in small chunks of k sentences.
- Document-based (DOC): Prompting the LLM to translate the entire document in a single pass.
To address the limitations of BLEU, the authors implemented an LLM-as-a-judge framework using GPT-4. This judge evaluated translations across four dimensions:
- Fluency: Naturalness and grammatical correctness.
- Content Errors (CE): Mistranslations, omissions, or additions.
- Lexical Cohesion Errors (LE): Inconsistent vocabulary or terminology.
- Grammatical Cohesion Errors (GE): Errors in pronouns or sentence-linking structures.
Key Insights: The BLEU Paradox
A central finding of this work is the "BLEU Paradox." In nearly every experiment, the sentence-based approach (ST) achieved higher BLEU scores, yet human evaluators and the GPT-4 judge overwhelmingly preferred the document-based (DOC) translations.
As shown in the correlation analysis above, BLEU scores exhibit very low correlation with discourse-level metrics like Fluency, LE, and GE. This suggests that BLEU is an unreliable narrator for document-level quality, as it rewards local n-gram matches while ignoring global coherence.
Key Results
The quantitative results highlight a clear trade-off: while ST3 (3-sentence chunks) often leads in AvgBLEU, the DOC approach consistently wins on qualitative dimensions.
For instance, in the Vicuna-13B-16k model, the DOC strategy significantly improved Fluency and reduced Grammatical Cohesion Errors (GE) compared to ST3, despite a lower BLEU score. Qualitative case studies further support this; in a news article about "Hunan Tea," the ST approach incorrectly translated "Hunan" as "Lake South" in several sentences, whereas the DOC approach correctly identified the entity and maintained consistency throughout the text.
Furthermore, the GPT-4 judge demonstrated a 95% agreement rate with human evaluators, validating the LLM-as-a-judge paradigm as a robust and scalable alternative to manual evaluation for complex translation tasks.
Conclusion
This research demonstrates that instruction-tuned LLMs have an inherent, untapped potential for document-level translation. By simply prompting them to translate whole documents, we can achieve higher quality outputs without additional fine-tuning. However, the community must move away from a reliance on BLEU for docMT evaluation, as it fails to account for the very discourse-level features that make document-level translation valuable.
Summary updated