Evaluating the Diversity, Equity, and Inclusion of NLP Technology: A Case Study for Indian Languages

Simran Khanuja, Sebastian Ruder, Partha Talukdar

TL;DR

This paper introduces a novel framework to evaluate NLP technologies across diversity, equity, and inclusion (DEI) for languages, proposing the Gini coefficient to measure equity. Applying this to Indian languages reveals significant disparities, highlighting the need for region-specific approaches and a more holistic evaluation beyond raw performance.

What Problem Does This Paper Address?

Natural Language Processing (NLP) has seen remarkable progress, but its benefits are not evenly distributed across the world's languages and users. Existing evaluation metrics, often focused on raw performance (like accuracy or F1 score), fail to capture crucial aspects of how well NLP technologies serve diverse populations. This paper addresses this gap by proposing a comprehensive evaluation framework that considers:

  • Diversity: Ensuring NLP technology is available and useful to speakers of any language, considering speaker population size.
  • Equity: Preventing NLP technology from discriminating against speakers of any particular language, addressing performance disparities.
  • Inclusion: Making NLP technology accessible and usable by all users, especially in low-resource settings with computational constraints.

The authors argue that current benchmarks incentivize optimizing for highly visible metrics, potentially exacerbating existing inequalities by making "the rich richer" – improving performance for already well-resourced languages.

Methods

The authors propose a three-dimensional evaluation framework:

  • Diversity: They adopt a global metric that quantifies linguistic diversity by weighing normalized task performance for each language by its speaker population. This metric is parameterized by a variable $\tau$ that allows for a spectrum between purely demographic demand ($\tau=1$) and purely linguistic demand ($\tau=0$).
  • Equity: To address performance inequity across languages, they introduce the Gini coefficient, a well-established metric used for measuring income inequality. This metric quantifies the disparity in performance among languages.
  • Inclusion: This dimension is measured by an efficiency score, which considers both model throughput (instances processed per second) and memory saved. This is crucial for low-resource settings where computational resources are limited.

For evaluating their framework, they conduct experiments on Indian languages, a linguistically diverse set with a varied speaker population. They evaluate state-of-the-art multilingual models (IndicBERT, MuRIL, XLM-R) on standard downstream tasks like Named Entity Recognition (NER), Part-of-Speech Tagging (POS), Natural Language Inference (NLI), and Question Answering (QA). They also propose a novel, fully computational approach for egalitarian annotation budget allocation during fine-tuning, aiming to maximize diversity and equity by strategically distributing annotation efforts across source languages.

Datasets

The study utilizes several datasets for fine-tuning and evaluation:

  • Downstream Tasks: XTREME benchmark datasets for NER, POS, NLI, and QA. Specific datasets mentioned include WikiAnn, Universal Dependencies v2.6, XNLI, XQuAD, and TyDiQA-GoldP.
  • Training Data: The paper discusses fine-tuning on English (EN) and Hindi (HI) datasets. Table 3 provides statistics on the number of training instances for English and Hindi for NER, POS, NLI, and QA.

No new benchmarks were introduced, but the paper focuses on evaluating existing models on Indian languages using these standard datasets.

Key Insights and Ideas

  • The Gini Coefficient for NLP Equity: Applying the Gini coefficient, traditionally used for economic inequality, to NLP performance across languages provides a novel and insightful way to quantify and understand performance disparities.
  • "Rich Get Richer" Phenomenon: The study highlights that improvements in average performance for multilingual models often come at the cost of increased disparity across languages, meaning well-resourced languages benefit disproportionately.
  • Region-Specific Models Matter: Fine-tuning with region-specific pre-trained models (like IndicBERT and MuRIL) and using a closely related language (like Hindi for many Indian languages) for fine-tuning generally yields better results for diversity and equity.
  • Egalitarian Annotation is Key: The proposed greedy approach for allocating annotation budgets, which aims for an egalitarian distribution, significantly outperforms simply fine-tuning on a single source language (like English or Hindi) or a uniform distribution, especially for maximizing diversity and equity.
  • Inclusion is More Than Just Performance: Efficiency (throughput and memory) is a critical factor for inclusion, and smaller models can be more efficient for simpler tasks, while larger models might be necessary for complex ones.

Key Results

  • Diversity: The global metric ($M_1$) for diversity was found to be highest for MuRIL when fine-tuned on Hindi. Region-specific choices in pre-training and fine-tuning generally increased diversity.
  • Equity: Despite improvements in average performance, the Gini coefficient remained relatively high (around 0.76 for the best models), indicating persistent disparities in performance across languages. Region-specific fine-tuning (MuRILbase on HI) led to the lowest Gini coefficient among the tested models.
  • Inclusion: MuRILbase was found to be more efficient than MuRILlarge, demonstrating that larger models are not always more inclusive.
  • Annotation Budget Allocation: The greedy approach for budget allocation outperformed other strategies, yielding higher global metrics and lower Gini coefficients, even with limited budgets. For instance, the greedy approach outperformed fine-tuning on 10,000 EN examples by 1-3% with a budget of only 1,000 examples.

Limitations and Future Work

  • Intra-language Inequality: The study acknowledges that it does not consider inequalities within language subgroups (dialects, caste, gender, etc.), which is crucial for a truly equitable system. Future work should extend the analysis beyond the language level.
  • Pre-trained Models Only: The experiments focused solely on pre-trained multilingual models. Future work could explore language-specific or task-specific models.
  • Language Similarity for Allocation: The greedy annotation allocation method could be improved by incorporating notions of language similarity, which would require more complex methods.
  • Scalability of Data Collection: While region-specific choices are beneficial, creating representative evaluation sets for all languages is a massive undertaking. The authors emphasize the importance of grassroots efforts and community involvement in data collection.
  • Fragmentation vs. Global Models: While region-specific models show promise, the authors caution against excessive fragmentation due to maintenance costs. The future goal is to build a single global multilingual model that doesn't compromise on DEI metrics.

Summary updated

BibTeX
@inproceedings{khanuja2023evaluating,
  author = {Simran Khanuja and Sebastian Ruder and Partha Talukdar},
  title = {{Evaluating the Diversity, Equity, and Inclusion of NLP Technology: A Case Study for Indian Languages}},
  booktitle = {EACL (Findings)},
  year = {2023},
  url = {https://openreview.net/forum?id=z-uIluVRASJ},
}
Figure