Automatic error classification with multiple error labels

Maja Popovic, David VilarMTSummit 2019

Abstract

Traditional automatic evaluation tools for Machine Translation (MT) typically assign a single error label to each word, even when the cause of the error is linguistically ambiguous. This paper introduces the "frac" method, which assigns multiple fractional error labels by analyzing all possible optimal alignment paths between a hypothesis and its reference. This approach better reflects the inherent uncertainty in translation and significantly improves the correlation between automatic reports and manual human error analysis.

Introduction

When machine translation systems fail, developers require diagnostic feedback to improve performance. While metrics like BLEU provide a global quality score, they lack the granularity needed to identify whether a system is struggling with word choice, morphology, or syntax. Existing diagnostic tools like Addicter attempt to fill this gap by labeling words with specific error types such as "Missing," "Lexical," or "Reordering."

However, these tools rely on "hard decisions," forcing a single label onto words even when multiple interpretations are valid. This is problematic because translation errors are often genuinely ambiguous—even human annotators frequently disagree on the single "correct" label. By forcing a single label, current tools produce error distributions that often diverge from human intuition.

The "Frac" Method

The authors build upon a standard framework that categorizes errors into five classes: Inflectional (infl), Reordering (ord), Missing (miss), Extra (ext), and Lexical (lex). The core innovation lies in the calculation of Word Error Rate (WER) using dynamic programming.

Standard WER algorithms typically select a single optimal path through the dynamic programming trellis to calculate edit distance. In contrast, the frac method explores all optimal paths. If a word is involved in a substitution in one path but a deletion in another, the system collects statistics from every relevant cell in the trellis and assigns fractional counts.

The dynamic programming trellis showing multiple optimal paths (1, 2, 3) and their associated error labels (sub, del, ins, x).

As shown in the trellis above, different paths through the alignment grid can lead to different error classifications for the same word. By aggregating these, a word might be labeled as 0.5 "Lexical" and 0.5 "Missing," providing a built-in confidence measure for the classification.

Evaluation and Results

The researchers evaluated the method using two corpora: PE2RR (human post-edited references) and TERRA (independent reference translations). The latter represents a more realistic and challenging scenario for automatic error analysis.

Ambiguity as Information

The most frequent multi-labels identified were "lex+miss" and "lex+ext." This confirms that it is often impossible to distinguish between a "wrong word choice" and a "missing/extra word" without additional context. The fractional counts naturally signal this uncertainty.

Comparison of single-label vs. multi-label fractional counts for error classification in a sample sentence.

Improved Correlation

Using Pearson correlation to compare automatic labels with human judgments, the authors found that the multi-label approach significantly outperformed single-label methods. On the difficult TERRA dataset, the correlation between the automatic error distribution and human labels (interClass correlation) improved from .891 to .936. Specificity also improved; for "Missing" words, the correlation with human judgments increased across both datasets.

Conclusion

The multi-label approach produces error distributions that more closely mirror the "shades of gray" found in manual human annotations. While the current lack of multi-label gold standards makes direct accuracy measurement difficult, the improved global correlation suggests that fractional counts are a more robust way to handle linguistic ambiguity. Future work will focus on creating human-annotated datasets that explicitly allow for multiple labels and exploring weighting schemes for different paths in the WER trellis.

Summary updated

BibTeX
@inproceedings{popovic2019automatic,
  author = {Maja Popovic and David Vilar},
  title = {{Automatic error classification with multiple error labels}},
  booktitle = {MTSummit},
  year = {2019},
}
Figure