NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Not All Errors are Equal: Learning Text Generation Metrics using Stratified Error Synthesis

Wenda Xu, Yi-Lin Tuan, Yujie Lu, Michael Saxon, Lei Li, William Yang Wang

Introduction

Evaluating the quality of natural language generation (NLG) systems remains a significant hurdle in AI research. Traditional n-gram overlap metrics, such as BLEU and ROUGE, are often criticized for being "brittle"—they fail to reward valid paraphrases and cannot distinguish between minor stylistic variations and catastrophic factual errors. While modern "learned metrics" like BLEURT or COMET offer better alignment with human judgment, they typically require massive amounts of expensive, human-rated data.

SESCORE (Stratified Error Synthesis Score) addresses this gap by providing a model-based metric that achieves state-of-the-art performance without requiring any human-annotated training labels. By iteratively synthesizing common model errors and scoring their severity using a simulated "human" judgment via natural language entailment, SESCORE learns to evaluate text quality as effectively as metrics trained on human data.

Methodology: Stratified Error Synthesis

The fundamental innovation of SESCORE is its Stratified Error Synthesis pipeline. Rather than applying random noise to text, the authors simulate the Multidimensional Quality Metrics (MQM) framework used by human annotators.

1. Iterative Perturbation

The process begins with a clean "reference" sentence. The system then applies a sequence of $M$ errors, including insertions, deletions, replacements, and swaps. Crucially, this process is "stratified," meaning errors are applied in a way that prevents them from overlapping or overwriting previous changes. This allows the model to observe the incremental degradation of quality step-by-step.

The Stratified Error Synthesis process iteratively applies perturbations and scores them using an entailment-based severity measure.

2. Severity Scoring via Entailment

To assign a ground-truth score to these synthetic errors without human input, SESCORE utilizes a Natural Language Inference (NLI) model. If a perturbation preserves bidirectional entailment (i.e., the core meaning remains unchanged), it is assigned a "minor" error penalty (-1). If the meaning is altered or the sentence becomes nonsensical, it receives a "severe" error penalty (-5).

3. Quality Prediction Model

The final SESCORE model is a regressor built on top of a pre-trained transformer (such as RoBERTa or XLM-R). It is trained to take a reference and a candidate sentence as input and predict the cumulative "severity score." This training teaches the model the "marginal cost" of errors—for example, that a typo in a perfect sentence is more significant than a typo in a sentence that is already a complete mistranslation.

SESCORE architecture during the pre-training stage (using synthetic data) and the inference stage (evaluating real candidates).

Evaluation and Results

The authors evaluated SESCORE across several distinct NLG tasks to demonstrate its generalizability: Machine Translation (WMT 20/21), Data-to-Text (WebNLG 2017), and Image Captioning (COCO 2015).

  • Outperforming Baselines: On WMT tasks, SESCORE improved the average Kendall correlation (measuring alignment with human rankings) from 0.154 to 0.195 compared to previous unsupervised state-of-the-art metrics.
  • Competitive with Supervised Models: In English-to-German translation, SESCORE outperformed the popular supervised metric BLEURT and achieved results comparable to COMET, despite the latter having access to human-annotated training data.
  • Cross-Domain Versatility: SESCORE achieved the highest scores on the WebNLG and COCO Image Captioning challenges, proving that it is not limited to translation tasks.

Key Insights

  • Simulating the Grader: Most unsupervised metrics focus on semantic similarity. SESCORE instead simulates the process of a human editor marking up a document, bridging the gap between raw text manipulation and semantic understanding.
  • The Importance of Domain Adaptation: The research highlights that while a general model works well, "in-domain" pre-training (e.g., training on synthetic image captions to evaluate real image captions) provides a significant performance boost.

Limitations and Future Work

Despite its success, SESCORE has limitations. It currently struggles with "punctuation blindness," as standard NLI models often fail to recognize how a missing comma can drastically change meaning. Additionally, the sentence-embedding space can become crowded for long-form generation (100+ words), making it harder to isolate individual errors. Future work may explore using Large Language Models (LLMs) as more sophisticated error generators to create even more realistic synthetic training data.

Summary updated

BibTeX
@inproceedings{xu2022not,
  author = {Wenda Xu and Yi-Lin Tuan and Yujie Lu and Michael Saxon and Lei Li and William Yang Wang},
  title = {{Not All Errors are Equal: Learning Text Generation Metrics using Stratified Error Synthesis}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.489},
}
Figure