Fine-Grained and Multi-Dimensional Metrics for Document-Level Machine Translation

Yirong Sun, Dawei Zhu, Yanjun Chen, Erjia Xiao, Xinghao Chen +1 more
10/28/2024
13 citations
cs.CLcs.AI

Official code: EIT-NLP/BLEUless_DocMT (15 stars, Python, MIT, last commit 2024-11-19).

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).

Show full abstract

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. However, we caution against using BLEU scores for evaluating docMT, as they often provide misleading outcomes, failing to capture the quality of document-level translation. Code and the outputs from GPT4-as-a-judge are available at https://github.com/EIT-NLP/BLEUless_DocMT

View on arXivView PDF

Code Implementations(1)

MIT
151PythonOct 27, 20242 years agoMIT

Similar Papers

Cite this paper

@article{sun2024finegrained,
  title  = {Fine-Grained and Multi-Dimensional Metrics for Document-Level Machine Translation},
  author = {Yirong Sun and Dawei Zhu and Yanjun Chen and Erjia Xiao and Xinghao Chen and Xiaoyu Shen},
  year   = {2024},
  eprint = {2410.20941},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.20941v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.20941.svg)](https://codeofpaper.com/paper/2410.20941)

Discussion