Standard metrics produce one score for a machine translation, with no information on the type of error. For English to Arabic, we built a dataset of translation errors with a new hierarchy of error types, and a classifier for those types. The code and data are public.
1Problem
Figure 1: Metrics such as BLEU and COMET produce one number for a translation, which does not identify the error type: a wrong term, a gender mismatch or a dropped Arabic case ending. We replaced that number with a label from MIZAN, a set of 23 error classes arranged in four levels.
2Method
Figure 2: QUANTA contains real errors from United Nations documents marked by experts, a larger synthetic set, and a separate test set of real errors. We used a model from a different vendor to audit the data and asked two linguists to relabel a sample. We then trained RAQEEB, an AraBERT classifier, on the dataset.
3Findings
Figure 3: The two linguists agreed closely with the labels. Real and synthetic data together gave the best score on classes with real training data, and real examples were far more sample-efficient than synthetic ones. Marking the exact words of each error made a large difference. The code and data are public.