Skip to content
AI.info

Evaluation

NLP Metrics for Extraction, QA, Translation, and Summarization

Evaluate language systems with task-specific exactness, overlap, semantic, factual, and human judgments without collapsing meaning into one automatic score.

By the end you can

Language admits many valid outputs

The answers “Rome,” “the city of Rome,” and “Rome, Italy” may all be correct. A fluent paragraph can also contradict its source in a single word. Text evaluation has to decide which variations are acceptable and which meaning differences are harmful. Automatic metrics are proxies. Tokenization, references, normalization and task assumptions all shape what they report.

NIST ran an official machine translation evaluation in 2005. Its own results document said BLEU “has been found to generally rank systems in the same order as human assessments”. Callison-Burch and colleagues went back to the Arabic-to-English track and checked that claim against the human scores. “In particular, the entry that was ranked 1st in the human evaluation was ranked 6th by Bleu.” Across the seven entries the metric accounted for almost none of the human judgments: R² = 0.14 for adequacy, R² = 0.002 for fluency with the outlier included. Their 2006 paper also showed that BLEU “vastly underestimates” a rule-based system, Systran, which three judges rated on 300 French sentences. The metric and the judges were not ranking the same thing.

The metric is not even one number. Post showed that in 2018. “BLEU is in fact a parameterized metric whose values can vary wildly with changes to these parameters.” He measured “differences as high as 1.8 between commonly used configurations”, and blamed the tokenization and normalization applied to the reference. Two papers can report BLEU and not be reporting the same measurement.

The entry humans ranked 1st in the NIST 2005 Arabic-to-English evaluation was ranked 6th by the metric.

Visual

Different NLP outputs require different evidence

Task contracts determine what counts as correct. Changing the contract moves the achievable score more than changing the model does. SQuAD 2.0 changed one in 2018. Its authors took the original reading-comprehension set, added 53,775 crowd-written unanswerable questions, and collected an average of 4.8 human answers per question. Now a system had to decide whether the passage supported an answer at all. The results moved: “The best model, DocQA + ELMo, achieves only 66.3 F1 on the test set, 23.2 points lower than the human accuracy of 89.5 F1.” A system that always abstains scored 48.9 F1 on the same task. That is the floor any new number on that leaderboard has to be read against. The same model looks strong or weak depending on which contract scores it.

FigureHierarchy · 5 levels
  • Labels and intents

    Use confusion matrices, class metrics, calibration, and abstention.

    • Spans and entities

      Evaluate exact or partial boundary matches, entity type, and linking.

      • Question answering

        Measure exactness, answerability, evidence support, and alternatives.

        • Translation

          Assess adequacy, fluency, terminology, preservation, and human preference.

          • Summarization

            Assess coverage, compression, factual consistency, omissions, and usefulness.

Comparison

Overlap metrics reward different units

Each metric means one narrow thing. Each was certified on a much smaller body of evidence than its later use implies.

BLEU's warrant is one section of one paper. In 2002 Papineni and colleagues compared the metric against human ratings of 5 machine-translation systems on 250 Chinese-English sentence pairs. Two panels of 10 judges did the rating, and “None of the human judges was a professional translator”. Their conclusion: “The high correlation coefficient of 0.99 indicates that BLEU tracks human judgment well.” With the bilingual panel it was 0.96. Three years later NIST made BLEU the sole official measure of its 2005 MT evaluation. The same document warned that BLEU “does not have the power to distinguish subtle differences in high quality translations.”

ROUGE travelled the same road on a shorter timetable. Chin-Yew Lin validated the package on DUC 2001–2003 and published it in 2004. Pearson correlations with human judgments reached 0.99 for ROUGE-2 on DUC 2002 100-word single-document summaries. For ROUGE-1 on DUC 2001 they fell to 0.76. He concluded that a “correlation of high 90%” was hard to achieve for multi-document summarization. NIST had already announced that DUC 2004 tasks 1–4 would be graded “solely by means of ROUGE (ISI's Recall-Oriented Understudy for Gisting Evaluation, alias RED) automatic (n-gram) matching”. The caveat and the adoption are separated by weeks.

FigureComparison · 4 columns

Exact match

Requires normalized output to equal one accepted reference.

  • Clear for constrained answers
  • Brittle to valid paraphrase
  • Needs normalization rules
  • Useful for structured extraction

Token F1

Balances shared-token precision and recall.

  • Allows partial overlap
  • Insensitive to some order
  • Can reward unsupported tokens
  • Depends on tokenization

BLEU

Uses modified n-gram precision with brevity penalty, typically corpus-level.

  • Designed for translation
  • Reference-sensitive
  • Poor for single examples
  • Does not directly test factuality

ROUGE

Measures n-gram or sequence overlap, often recall-oriented for summaries.

  • Useful for content overlap
  • Multiple variants exist
  • Can reward copied errors
  • Misses unsupported claims

Example

Reference design is part of the metric

A reference set is a claim about what is correct. The claim can be false. CoNLL-2003 is the standard English named-entity benchmark. The CrossWeigh audit went through it in 2019: “We are able to identify label mistakes in about 5.38% test sentences, which is a significant ratio considering that the state-of-the-art test F1 score is already around 93%.” Four years later Rücker and Akbik corrected 7.0% of all English CoNLL-03 labels. On the corrected set models reached 97.1% F1. The share of correct predictions that the old annotation had been counting as errors fell from 47% to 6%. Nearly half of what a leading system was being penalised for was the reference, not the model. A span F1 near the ceiling is partly a measurement of the annotation.

  • Audit the reference before the model: 5.38% of CoNLL-2003 test sentences carried label mistakes while published F1 sat around 93%, and correcting 7.0% of labels cut the falsely counted errors from 47% to 6%.
  • Normalization: Case, punctuation, articles, and diacritics can change exact-match results, so the rules belong in the task contract rather than buried in a scoring script.
  • Alternative answers: A single accepted string marks an equally valid paraphrase, bilingual form, or historical name wrong; jurisdictional ambiguity may require adjudication.
  • Unanswerable cases: A system should abstain when the provided document does not support an answer.
  • Evidence requirement: A correct string copied from memory can still fail a grounded-QA contract.

Human evaluation needs a rubric and unit

Ask raters to judge one property at a time: adequacy, fluency, factual support, helpfulness, style, or safety. Pairwise preference can be easier than assigning absolute scores. It still depends on ordering, interface, and reviewer expertise.

Two protocols run over the same translations need not produce the same winner. In 2021 Freitag and colleagues at Google Research re-rated the top WMT 2020 submissions in English–German and Chinese–English. Professional translators did the rating, using MQM, over more than 100k segments. The ranking that came back differed substantially from the one WMT's crowd workers had produced. In English–German the human translation Human-A came 2nd under MQM and 4th under the WMT crowd score. The WMT21 Metrics Shared Task report drew the consequence: “In both language pairs, DA ranks the human translations below many MT systems, demonstrating again that expert-based evaluation is needed to generate a reliable ground truth for metric development for high quality language pairs.” That shared task adopted MQM as its golden standard.

Measure agreement, adjudicate ambiguous cases, and sample difficult slices. A majority vote does not automatically create objective truth. The protocol is part of the result, not a wrapper around it.

SQuAD shipped with a human number attached in 2016. Its authors reported a logistic regression model at 51.0% F1 against human performance of 86.8% on the same questions. They read that gap as “a good challenge problem for future research”. A rubric without a human baseline cannot say whether a score sits near the ceiling.

Figure

A model score, the human score that makes it readable, and the amount the metric itself moves when only its settings change.

Two rating protocols over the same WMT 2020 translations named different winners, and the shared task changed its ground truth.

Key idea

Fluency is not factual consistency

A summary may preserve vocabulary while reversing causality, changing a number, or assigning a statement to the wrong source. Overlap metrics can stay high through all of it. The size of that blind spot has been measured. In 2020 Maynez and colleagues at Google Research put 2,500 document–summary pairs in front of three annotators each: 500 randomly sampled XSum articles across 5 systems. More than 70% of the single-sentence summaries carried hallucinations. They reported that “our study found that over 90% of extrinsic hallucinations were erroneous”. Against those human faithfulness judgments ROUGE-1 correlated at Spearman 0.197, ROUGE-2 at 0.162 and BERTScore at 0.190. A textual-entailment measure reached 0.431. Cao and colleagues later restated the finding — “Maynez et al. (2020) discovered that 64.1% of the summaries generated by a BERT-based abstractive summarization model on XSUM contain hallucinations” — and independently found around 30% of BART-generated entities on the XSum test set hallucinated.

Use claim extraction, source alignment, contradiction checks, targeted questions, and human review for high-stakes factuality. Automated judges need calibration against human-labeled failure cases.

ROUGE-1 tracked human faithfulness judgments at 0.197; a measure that tests entailment reached 0.431.

Steps

Assemble a language-evaluation stack

Combine inexpensive coverage with targeted semantic review. Find out what a metric delta is worth before shipping on it. In 2021 Kocmi and colleagues at Microsoft compared metrics against 2.3 million sentence-level human judgements covering 4,380 systems. BLEU agreed with the human verdict on 74.6% of 3,344 system pairs. COMET agreed on 83.4%. Their first best-practice recommendation is a single sentence: “Do not use BLEU, it is inferior to other metrics, and it has been overused.” Mathur and colleagues had already shown in 2020 that even for BLEU differences of 3 to 5 points, about a quarter of system pairs are judged by humans to be of similar quality. A one-point improvement over a published number is not a result. It is a hypothesis awaiting a human protocol and a significance test.

FigureProcess · 5 steps
  1. 1. Define acceptable variation

    Document normalization, references, paraphrases, and abstention.

  2. 2. Use task metrics

    Apply exact, span, overlap, ranking, or classification metrics where appropriate.

  3. 3. Add semantic tests

    Check meaning, evidence, numerical fidelity, and contradiction.

  4. 4. Review slices

    Inspect language, dialect, length, domain, rare entities, and adversarial inputs.

  5. 5. Validate human rubrics

    Pilot instructions, measure agreement, and adjudicate important disagreements.

Analogy

Judging a translation by shared tiles in two mosaics

Two mosaics can share almost every colored tile and still show different scenes. A count of shared tiles notices the overlap. It misses whether the figures stand in the same relationship or the reverse one.

Reversing two figures leaves the tile count untouched. Reversing cause and effect in a summary leaves the overlap score untouched too. That is why ROUGE-1 tracked human faithfulness judgments at Spearman 0.197 while a measure that asks whether the source entails the summary reached 0.431. Lexical similarity cannot certify that meaning survived. It was never counting meaning.

Shared pieces do not guarantee the same message.

Key takeaways