Introduction
Current Natural Language Generation (NLG) metrics often penalize perfectly valid text simply because it is written in a non-standard dialect, such as Indian English or Brazilian Portuguese. Evaluation typically relies on comparing AI output to a human-written "reference," which is predominantly sourced from narrow, "standard" varieties (e.g., US English or Mainland Mandarin).
When an AI produces a semantically accurate sentence using dialectal variations—such as "focus only" in Indian English—standard metrics like BLEURT or COMET may assign it a lower score than a grammatically standard sentence containing factual errors. This dialect bias discourages linguistic diversity in AI development and creates a performance gap for millions of speakers of regional varieties.
Methodology
The Robustness Stress Test
To quantify dialect bias, we propose a robustness stress test comparing two types of textual modifications:
- Dialect Edits: Substituting a word with its regional equivalent while maintaining the original meaning.
- Semantic Perturbations: Altering a word to change the sentence's meaning (e.g., changing "April" to "May").
A robust metric should ideally score a dialect edit higher than a semantic error. If it fails to do so, the metric is prioritizing surface-level "standard" forms over underlying semantic accuracy.
The NANO Schema
To address these biases, we introduce NANO, a model-agnostic pretraining schema. NANO utilizes a two-stage process:
- Acceptability Pretraining: An mT5-based model is trained on a massive corpus to predict the language and regional provenance of a sentence (e.g.,
en-IN). - Distillation: This process enables the model to internalize unique dialectal features without explicit linguistic rules.
- Dialect Awareness: By utilizing dialect tags during training, NANO can be configured to prefer specific dialects during evaluation, a capability termed "dialect awareness."
Experimental Setup
- Pretraining Data: We utilized mC4, a multilingual web crawl, using URL metadata (e.g.,
.infor India) as a proxy for regional dialects. - Robustness Benchmarks: Testing was conducted using micro-level English dialect features and the FRMT benchmark for Brazilian/Iberian Portuguese and Mainland/Taiwanese Mandarin.
- Standard Evaluation: WMT 2015–2020 datasets were used to ensure NANO maintains high correlation with human judgments on standard tasks.
Results and Analysis
Failure of Baseline Metrics
Existing state-of-the-art metrics consistently struggle with dialect robustness. Metrics such as PRISM and YiSi frequently rank semantically incorrect sentences higher than correct ones that use regional dialects, as indicated by low or negative coefficients in robustness tests.
NANO Performance
NANO significantly improves robustness success rates. For Portuguese dialect tests, NANO (XL) achieved a success rate of 0.65, compared to 0.57 for standard fine-tuned versions. Crucially, these gains do not come at the cost of general accuracy; NANO maintains or improves correlation with human judgments on standard WMT benchmarks. Furthermore, NANO demonstrates zero-shot transfer capabilities, improving robustness in languages not explicitly included in its dialect-specific training.
Discussion and Future Work
While NANO represents a significant step forward, limitations remain. Using country codes as proxies for dialects is inherently noisy, as national borders do not always align with linguistic boundaries. Additionally, data scarcity for many of the world's thousands of dialects limits the scope of current evaluation. Future research should focus on more granular subnational dialect modeling and the collection of diverse dialect-specific human ratings to further refine evaluation metrics.
Summary updated