Inferensys

Glossary

TyDi QA

A question answering benchmark covering 11 typologically diverse languages, designed to evaluate a model's ability to answer questions without relying on direct lexical overlap with the passage.
ML engineer working on model compression and quantization, laptop showing performance benchmarks, technical workspace.
BENCHMARK

What is TyDi QA?

TyDi QA is a question answering benchmark designed to evaluate a model's ability to find answers in passages across 11 typologically diverse languages, explicitly minimizing the superficial cues that allow models to cheat without genuine comprehension.

TyDi QA (Typologically Diverse Question Answering) is a dataset and evaluation framework that tests a model's capacity for cross-lingual zero-shot transfer by forcing it to answer questions in languages where direct lexical overlap between the question and the answer-containing passage is deliberately eliminated. Unlike English-centric benchmarks, it covers languages from distinct families—including Arabic, Bengali, Finnish, Indonesian, Japanese, Kiswahili, Korean, Russian, Telugu, and Thai—to prevent models from relying on shared vocabulary or script-based shortcuts.

The benchmark's primary innovation is its confounding structure: for every question, the passage containing the answer is lexically disconnected from the question's phrasing, requiring genuine semantic comprehension rather than pattern matching. It includes both passage selection and minimal answer span tasks, making it a rigorous test for multilingual dense retrieval systems and language-agnostic representation models like mBERT and XLM-RoBERTa.

BENCHMARK DESIGN

Key Features of TyDi QA

TyDi QA is a question answering benchmark covering 11 typologically diverse languages, designed to evaluate a model's ability to find answers without relying on direct lexical overlap. Its primary design goal is to prevent models from exploiting superficial pattern matching.

01

Typologically Diverse Language Selection

TyDi QA includes 11 languages selected to maximize morphological and syntactic diversity, not just geographic coverage. Languages range from agglutinative (Finnish, Turkish) to isolating (Indonesian) to polysynthetic (Swahili). This forces models to learn genuine cross-lingual understanding rather than relying on shared Indo-European structures. The selection includes Arabic, Bengali, English, Finnish, Indonesian, Japanese, Kiswahili, Korean, Russian, Telugu, and Thai.

02

Lexical Overlap Minimization

The benchmark's core innovation is the confounding of lexical cues. In standard QA datasets, a question word like 'When' often correlates with a date in the answer. TyDi QA explicitly designs questions where the answer type cannot be predicted from the question's lexical form alone. For example, a 'What' question might require a person's name as an answer, preventing models from using simple part-of-speech heuristics to guess answer spans.

03

Gold-Passage Answerability Guarantee

Every question in TyDi QA is verified to be answerable from a single, provided Wikipedia passage. Human annotators first wrote questions based on a passage, then verified that the answer was explicitly stated. This eliminates the confounding variable of unanswerable questions found in other datasets, allowing researchers to isolate and measure a model's pure reading comprehension and cross-lingual transfer ability without ambiguity about whether the information exists.

04

Incremental Annotation Pipeline

TyDi QA uses a two-stage annotation process. First, annotators create candidate questions in their native language prompted by a passage. Second, a separate set of annotators provides minimal-span answers. This decoupling ensures that questions are natural and not biased by the annotator's knowledge of the answer span. The pipeline also collects passage-level language metadata, ensuring all context is in the target language without code-switching.

05

Zero-Shot Cross-Lingual Evaluation

The primary evaluation protocol is zero-shot transfer: models are trained exclusively on English data (SQuAD or Natural Questions) and tested directly on the 10 non-English TyDi QA languages. This measures a model's language-agnostic representation quality. A high score indicates that the model's internal understanding of question-answer semantics is decoupled from the surface form of English, a critical capability for deploying QA systems in low-resource languages.

06

Direct-Answer vs. Passage-Only Subtasks

TyDi QA provides two evaluation tracks. The Gold Passage (GoldP) task provides the model with the single correct Wikipedia passage containing the answer. The Full-Wiki (Wiki) task requires the model to first retrieve the correct passage from the entire Wikipedia corpus for that language before extracting the answer. This dual setup allows researchers to independently benchmark a model's reading comprehension and its cross-lingual retrieval capabilities.

TYDI QA BENCHMARK

Frequently Asked Questions

Explore the core concepts behind the Typologically Diverse Question Answering benchmark, a critical tool for evaluating cross-lingual generalization in modern NLP systems.

TyDi QA is a question answering benchmark specifically designed to evaluate a model's ability to answer questions in 11 typologically diverse languages without relying on direct lexical overlap. Unlike earlier benchmarks like SQuAD, which focused exclusively on English, TyDi QA forces models to find answers in passages where the wording is structurally different from the question. The dataset is unique because it was collected natively in each language—questions were not translated from English—ensuring they reflect the natural information-seeking behavior of native speakers. This design eliminates the 'translationese' bias found in other multilingual datasets and provides a true test of cross-lingual semantic understanding, making it a gold standard for evaluating multilingual dense passage retrieval and cross-lingual transfer capabilities.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.