Skip to main content
QUICK REVIEW

[Paper Review] The Devil is in the Errors: Leveraging Large Language Models for Fine-grained Machine Translation Evaluation

Patrick Fernandes, Daniel Deutsch|arXiv (Cornell University)|Aug 14, 2023
Natural Language Processing TechniquesComputer Science5 citations
TL;DR

This paper proposes AutoMQM, a prompting technique that leverages large language models (LLMs) like PaLM-2 to perform fine-grained machine translation evaluation by identifying and classifying translation errors using the Multidimensional Quality Metrics (MQM) framework. It achieves high correlation with human judgments at the segment level—particularly with larger models—and provides interpretable error spans, outperforming score-only prompting and matching state-of-the-art learned metrics in error detection while requiring minimal human annotations.

ABSTRACT

Automatic evaluation of machine translation (MT) is a critical tool driving the rapid iterative development of MT systems. While considerable progress has been made on estimating a single scalar quality score, current metrics lack the informativeness of more detailed schemes that annotate individual errors, such as Multidimensional Quality Metrics (MQM). In this paper, we help fill this gap by proposing AutoMQM, a prompting technique which leverages the reasoning and in-context learning capabilities of large language models (LLMs) and asks them to identify and categorize errors in translations. We start by evaluating recent LLMs, such as PaLM and PaLM-2, through simple score prediction prompting, and we study the impact of labeled data through in-context learning and finetuning. We then evaluate AutoMQM with PaLM-2 models, and we find that it improves performance compared to just prompting for scores (with particularly large gains for larger models) while providing interpretability through error spans that align with human annotations.

Motivation & Objective

  • To address the lack of interpretability in automatic machine translation evaluation metrics that only output a single scalar score.
  • To investigate whether large language models (LLMs) can be leveraged for fine-grained error detection in machine translation using minimal human-annotated data.
  • To evaluate the performance of LLMs in low-resource language pairs, where prior work has been limited.
  • To compare prompting-based methods (like AutoMQM) with finetuning and score-prediction baselines in terms of correlation with human judgments.
  • To explore the feasibility of using LLMs to generate MQM-like annotations that align with human-annotated error spans.

Proposed method

  • AutoMQM is a prompting technique that instructs LLMs to identify error spans in translations and classify them using the MQM framework, which includes error categories and severity levels.
  • The method uses in-context learning with a few human-annotated examples to guide the LLM in error detection and classification without full finetuning.
  • LLMs such as PaLM and PaLM-2 are prompted both for direct score prediction and for error-based evaluation via AutoMQM to compare performance across settings.
  • Performance is evaluated using standard metrics: Pearson correlation (R), mean reciprocal rank (MR), and F1-based span precision and recall (SR, MR) at the segment and word levels.
  • The approach is evaluated on WMT22 test sets across multiple language pairs, including low-resource ones like ZH-EN, to assess robustness and scalability.
  • The method leverages the reasoning and in-context learning capabilities of LLMs to generate interpretable, human-aligned error annotations that inform quality scores.

Experimental results

Research questions

  • RQ1Can large language models be effectively prompted to perform fine-grained machine translation evaluation with interpretability, using the MQM framework?
  • RQ2How does AutoMQM compare to score-prediction prompting in terms of correlation with human judgments at the segment level?
  • RQ3Does finetuning LLMs on human-annotated MQM data improve performance, especially for smaller models?
  • RQ4How do LLM-based evaluation methods perform in low-resource language pairs, where data is scarce?
  • RQ5To what extent do the error spans predicted by LLMs via AutoMQM align with human-annotated error spans in terms of precision and recall?

Key findings

  • PaLM-2 models prompted with AutoMQM achieve higher segment-level correlation with human judgments than score-prediction prompting, with particularly strong gains for larger models like Unicorn.
  • The reference-less version of AutoMQM with PaLM-2 Unicorn achieves competitive performance at the segment level, matching the best learned metrics in correlation (MCC = 0.143 on EN-DE).
  • AutoMQM-generated error spans correctly identify over 50% of words in major errors, with Unicorn achieving a major recall (MR) of 0.476 on ZH-EN, comparable to state-of-the-art word-level evaluators.
  • The distribution of scores produced by AutoMQM is much closer to the gold MQM distribution than score-prediction prompting, with a broader range of scores and better alignment to human-annotated ranges.
  • Finetuning LLMs on human judgments significantly improves segment-level performance, especially for smaller models like Bison, closing the gap with state-of-the-art learned metrics.
  • AutoMQM outperforms zero-shot score prediction across all evaluation metrics, demonstrating that error-based prompting yields more informative and accurate evaluations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.