TL;DR
Instruction-tuned Large Language Models (LLMs) possess a powerful, inherent ability to handle document-level machine translation (docMT) simply by translating entire texts in a single pass. However, traditional evaluation metrics like BLEU fail to capture this quality, mistakenly favoring disjointed sentence-by-sentence translations. To fix this, the authors introduce a fine-grained, multi-dimensional "LLM-as-a-judge" framework that aligns closely with human judgment.
What Problem Does This Paper Address?
Most machine translation (MT) research evaluates models at the sentence level. Document-level translation (docMT) is significantly more challenging because it requires maintaining context, stylistic consistency, and logical flow across sentence boundaries.
While direct document translation using LLMs seems intuitive, a prevailing belief suggests it performs poorly without specialized document-level fine-tuning. The authors reveal that this misconception is largely an artifact of flawed evaluation metrics. Traditional n-gram overlap metrics like BLEU penalize the natural variations, minor overgenerations, or structural reorderings that occur when an LLM optimizes for a document's overall coherence. As a result, BLEU scores frequently mislead researchers into believing that translating sentences individually and stitching them together is superior to translating the whole document at once.
Methods
The authors investigate the inherent docMT capabilities of standard instruction-tuned LLMs by comparing two primary translation paradigms:
- Sentence-Chunking Baseline (
ST[k]): Source sentences are concatenated into small chunks of size $k$ (e.g., $k=1, 2, 3$), translated independently, and then merged. - Direct Document Translation (
DOC): The LLM is prompted to translate the entire document in a single pass.
To address evaluation shortcomings, they propose two solutions:
- AvgBLEU: A modified BLEU metric that averages scores across independent documents to mitigate standard document-level BLEU's extreme sensitivity to minor length variations.
- LLM-as-a-Judge Framework: Using GPT-4 to evaluate translations across four distinct, decoupled sub-metrics:
- Fluency: Rated on a 1–5 scale based purely on target text readability.
- Content Errors (CE): A count of mistranslations, omissions, or additions.
- Lexical Cohesion Errors (LE): Tracking vocabulary consistency and synonym usage.
- Grammatical Cohesion Errors (GE): Assessing pronouns, conjunctions, and sentence-linking structures.
Datasets
The experiments utilize the WMT22 test set, which includes sentence-level reference translations alongside annotated document boundaries. The authors evaluate four translation directions: German-to-English (de-en), English-to-German (en-de), Chinese-to-English (zh-en), and English-to-Chinese (en-zh).
Five instruction-tuned models with limited document-level training data were tested: Vicuna-7B, Vicuna-13B (along with their 16K context variants), and Mistral-7B-Instruct.
Key Insights and Ideas
- BLEU is blind to discourse: Pearson Correlation Coefficients (PCC) reveal that BLEU scores have virtually zero correlation with discourse-level phenomena like fluency and cohesion.
- The Sentence-Stitching Illusion: Sentence-by-sentence translation (
ST[k]) scores higher on BLEU because it strictly adheres to the reference text's sentence boundaries. However, human inspection shows these translations are often redundant, overly literal, and disjointed. - Inherent Context Awareness: Without any document-specific fine-tuning, LLMs in
DOCmode naturally leverage context to resolve inter-sentence dependencies, such as maintaining consistent terminology (e.g., translating proper nouns accurately throughout a text). - High Human Alignment: The proposed GPT-4 evaluation pipeline achieves an impressive ~95% agreement rate with human annotators, proving that LLMs can serve as reliable, nuanced judges for complex translation tasks.
Key Results
When evaluated using traditional string-matching metrics, sentence-based methods appear to win. As shown in Table 2, ST[k] approaches consistently achieve higher AvgBLEU scores across almost all models and language pairs.
However, the fine-grained GPT-4 evaluation paints the opposite—and more accurate—picture. In the English-to-Chinese (en-zh) task, direct document translation (DOC) consistently outperforms the best sentence-chunking baseline (ST3) in Fluency and significantly reduces Content Errors (CE).
This superior performance is validated by human evaluators, who show high consensus with the GPT-4 judge across all metrics and language pairs.
Limitations and Future Work
The authors note several limitations in their current study:
- Language Scope: The evaluation is restricted to high-resource language pairs (English, Chinese, German). Performance on low-resource languages remains an open question.
- Model Scale: The study focuses exclusively on smaller-scale open models (7B and 13B parameters).
- Context Length Constraints: Documents exceeding 2048 tokens (~2% of the WMT22 dataset) were excluded to remain within the native context windows of the base models.
Future work will focus on evaluating larger models, exploring long-context instruction-tuned variants, and verifying if these translation advantages hold true for extremely long documents.
Summary updated