Y-NQ: English-Yorùbá Evaluation dataset for Open-Book Reading Comprehension and Text Generation

Marta R. Costa-jussà, Joy Chen, Ifeoluwanimi Adebara, Joe Chuang, Christophe Ropers, Eduardo SánchezarXiv 2024

TL;DR

Researchers have introduced Y-NQ, the first English-Yorùbá evaluation dataset specifically designed for open-book reading comprehension and text generation. Their findings reveal a stark "performance cliff": while state-of-the-art LLMs handle long English documents with ease, their ability to extract information from Yorùbá text degrades significantly as document length increases, even when the Yorùbá documents are much shorter than their English counterparts.

What Problem Does This Paper Address?

While Large Language Models (LLMs) show impressive capabilities in high-resource languages like English, their performance in low-resource languages remains a major bottleneck for global AI equity. Most existing benchmarks for low-resource languages focus on simple tasks like translation or multiple-choice questions.

This paper tackles the more complex challenge of open-book reading comprehension (RC). In this setting, a model is given a long document and must generate a free-text answer to a specific question based only on that text. The authors specifically chose Yorùbá, a language with tens of millions of speakers but limited digital resources, to investigate whether the "reasoning" and "comprehension" capabilities of models like GPT-4o actually generalize across the language barrier.

Methods

The authors built Y-NQ by building upon the existing Natural Questions (NQ) dataset. Their process involved:

  1. Pre-selection: Filtering thousands of English Wikipedia-based Q&A pairs where the answers were contained within clear paragraph structures.
  2. Cross-lingual Mapping: Identifying corresponding Yorùbá Wikipedia articles for those English topics.
  3. Human Annotation: Native Yorùbá speakers (with C2-level English proficiency) manually verified and annotated the data. They didn't just translate; they ensured the answers existed in the Yorùbá text and provided "equivalence annotations" to show how Yorùbá answers relate to English ones.
  4. Benchmarking: They tested three major models—GPT-4o, o1-mini, and Llama-3.1-8b—using a standardized prompt that instructed the models to answer questions based strictly on the provided passage.

Datasets

The primary contribution is the Y-NQ (Yorùbá Natural Questions) dataset.

  • Size: 358 questions and answers.
  • Documents: 338 English documents and 208 Yorùbá documents.
  • Asymmetry: Interestingly, the English documents are much longer (avg. ~10,000 words) than the Yorùbá ones (avg. ~430 words). This asymmetry actually makes the task "easier" for Yorùbá in theory, making the performance gap even more surprising.

Detailed statistics on the dataset can be seen in the table below:

Dataset Statistics

Key Insights and Ideas

  • The Length Paradox: Usually, shorter documents are easier for models to process. However, even though Yorùbá documents were significantly shorter than English ones, models performed worse on them.
  • The 1,500-Word "Cliff": Performance on Yorùbá tasks drops "dramatically" once a document reaches 1,500 words. In contrast, English performance remains relatively stable even as documents grow much longer.
  • Knowledge Inconsistency: During human annotation, the team found 26 instances where the English Wikipedia article was actually incorrect compared to the Yorùbá version for specific regional topics. This highlights how multilingual datasets can act as a "truth-check" for high-resource data.
  • Failure to Generalize: The results suggest that the "reading comprehension" ability of current LLMs is not a language-agnostic skill. A model that can find a needle in an English haystack often fails to find one in a much smaller Yorùbá pile.

Key Results

The researchers used ROUGE scores (a metric for text similarity) to evaluate the models.

  • GPT-4o was the strongest performer but still showed a clear gap: a Rouge-1 score of 0.39 for English vs. 0.34 for Yorùbá.
  • Llama-3.1-8b showed the most significant disparity, with Yorùbá performance being roughly 35% lower than English.
  • For a subset of documents with comparable lengths, Yorùbá performance was 2.5 times worse than English.

The impact of document length on performance is visualized in the charts below, showing the steady decline in Yorùbá scores as word counts increase:

Performance vs Document Length

Limitations and Future Work

The authors are transparent about several limitations:

  • Scale: With only 358 Q&A pairs, the dataset is relatively small.
  • Domain: The data is limited to Wikipedia, which may not represent everyday language or other specialized fields.
  • Contamination: Since these models were trained on the web, they likely already "saw" Wikipedia during training, which might inflate scores.
  • Metrics: The study relies on automatic metrics (ROUGE); the authors suggest that future work should include more extensive human evaluation to capture nuances in generative text that ROUGE might miss.

Y-NQ is now freely available on HuggingFace, providing a new tool for researchers to close the gap in multilingual NLP.

Summary updated

BibTeX
@misc{costajussa2024y,
  author = {Marta R. Costa-jussà and Joy Chen and Ifeoluwanimi Adebara and Joe Chuang and Christophe Ropers and Eduardo Sánchez},
  title = {{Y-NQ: English-Yorùbá Evaluation dataset for Open-Book Reading Comprehension and Text Generation}},
  year = {2024},
  eprint = {2412.08279},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.08279},
}
Figure