Dialect-robust Evaluation of Generated Text

Jiao Sun, Thibault Sellam, Elizabeth Clark, Tu Vu, Timothy Dozat, Dan Garrette, Aditya Siddhant, Jacob Eisenstein, Sebastian Gehrmann

Abstract

Evaluation metrics that are not robust to dialect variation make it impossible to tell how well systems perform for many groups of users, and can even penalize systems for producing text in lower-resource dialects. However, currently, there exists no way to quantify how metrics respond to change in the dialect of a generated utterance. We thus formalize dialect robustness and dialect awareness as goals for NLG evaluation metrics. We introduce a suite of methods and corresponding statistical tests one can use to assess metrics in light of the two goals. Applying the suite to current state-of-the-art metrics, we demonstrate that they are not dialect-robust and that semantic perturbations frequently lead to smaller decreases in a metric than the introduction of dialect features. As a first step to overcome this limitation, we propose a training schema, NANO, which introduces regional and language information to the pretraining process of a metric. We demonstrate that NANO provides a size-efficient way for models to improve the dialect robustness while simultaneously improving their performance on the standard metric benchmark.

The Challenge of Dialect Bias in NLG

Most Natural Language Generation (NLG) evaluation metrics, such as BLEU or BLEURT, rely on comparing a system's output to a human-written reference. However, these references typically represent a narrow range of dominant dialects (e.g., US English or Iberian Portuguese). This creates a critical bias: if an AI produces a perfectly correct sentence in a regional dialect like Indian English, but the reference is in US English, the metric may assign a low score.

This "linguistic penalty" is more than just a scoring error; it represents a failure to serve millions of speakers of non-standard dialects. The researchers found that current state-of-the-art metrics often prefer a sentence that is semantically incorrect but in the "correct" dialect over a sentence that is semantically accurate but uses regional dialect features.

Illustrating the "Semantic vs. Dialect" trade-off: metrics often score semantic perturbations higher than valid dialectal variations.

Quantifying Robustness

To address this, the authors propose a framework to quantify "dialect robustness." A metric is considered robust if it assigns the same score to two sentences that share the same meaning but use different dialects. The testing framework compares:

  1. Dialect Edits: Adapting a sentence from one dialect to another (e.g., adding "only" for focus in Indian English).
  2. Semantic Perturbations: Changing a single word to flip the sentence's meaning (e.g., changing "most" to "least").

A truly robust metric should consistently rank the dialect edit higher than the semantic error. Currently, many metrics fail this fundamental test.

NANO: Acceptability Pretraining

As a solution, the authors introduce NANO (Acceptability Pretraining). This is a model-agnostic pretraining step where a model is trained on a massive multilingual dataset (mC4). Using URL country codes (e.g., .in for India) as noisy proxies for dialect labels, the model is tasked with predicting whether a sentence is "acceptable" given a specific dialect or language tag. This process forces the model to internalize the nuances of regional variations before it is ever trained on human ratings.

Experimental Results

The results highlight a significant gap in current evaluation technology. Traditional lexical metrics like BLEU and CHRF consistently fail to prioritize semantic correctness over dialectal variation. Even learned metrics like BLEURT-20 only achieved a ~59% success rate in correctly ranking Portuguese and Mandarin variations.

Comparison of dialect robustness across various metrics. Higher coefficients for NANO indicate better differentiation between semantic errors and dialectal variations compared to baselines.

In contrast, adding NANO pretraining to an mT5-XL model significantly improved its dialect robustness, often outperforming the much larger mT5-XXL baseline. Crucially, this improvement in fairness did not come at the cost of accuracy; NANO-trained models maintained or slightly improved their performance on standard WMT benchmarks.

Conclusion and Future Work

The study demonstrates that dialect robustness is a measurable and improvable quality in NLG metrics. While NANO provides a size-efficient boost to robustness, challenges remain, particularly regarding the use of noisy country-code proxies and the scarcity of dialect-parallel corpora. The authors urge the NLP community to treat dialect diversity as a primary consideration in model training and evaluation to ensure AI systems are fair and effective for all users.

Summary updated

BibTeX
@inproceedings{sun2023dialect,
  author = {Jiao Sun and Thibault Sellam and Elizabeth Clark and Tu Vu and Timothy Dozat and Dan Garrette and Aditya Siddhant and Jacob Eisenstein and Sebastian Gehrmann},
  title = {{Dialect-robust Evaluation of Generated Text}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.331},
}
Figure