TECHNOLOGY

MLQA: separate question and context languages

In this article
THE QUICK TAKE

An MLQA direction identifies both question and context languages; the extracted answer belongs to the context language.

Choose the language combination explicitly

MLQA is a multi-way aligned extractive question-answering evaluation resource. The paper covers English, Arabic, German, Spanish, Hindi, Vietnamese and Simplified Chinese. It is useful for separating understanding a question from locating an answer in another language’s passage. A same-language test and a cross-language test are different conditions. Calling both simply multilingual QA hides which side of the input the model must transfer across languages.

Read the file identity as a contract

The official repository names files by split, context language and question language. Its example with an Arabic context and Spanish question makes the answer language Arabic. Preserve this combination with question IDs, context, answer text and character starts in the SQuAD-style structure. Do not infer the answer language from the user’s question. A generative system that translates a correct answer into the question language changes the output contract and can fail an extractive comparison despite expressing related information.

Keep development and test roles distinct

The release contains development and test partitions rather than a native supervised training corpus for every combination. The documented zero-shot baseline trains on English SQuAD and selects checkpoints using English development data. State the selected training resource and every target-language label used for model selection. A proposed experiment can evaluate a matrix of question/context combinations, but each cell must retain its actual example inventory; aligned multilingual data should not be assumed to form a complete, equally sized matrix.

Use the answer language in the evaluator

The official evaluation implementation requires an answer-language argument and applies language-dependent normalization and segmentation before exact match and token-overlap scoring. It handles Chinese differently from whitespace-separated text and checks available reference answers. Preserve the script revision and prediction dictionary keyed by question ID. The provenance guide explains how to distinguish extracted text from later normalized or translated output. Missing prediction IDs remain evaluation failures rather than permission to reduce the denominator.

Diagnose the source of transfer errors

A proposed error review should distinguish question misunderstanding, passage comprehension, incorrect span boundaries and answer-format changes. Check that each reference slice matches its context before blaming the model. The split leakage guide explains why related aligned passages should be reserved together during any local split construction. Report question and context languages with every score. Success on this supplied-passage task does not establish multilingual retrieval, unanswerable-question handling or reliable long-document synthesis without additional task-specific evaluation.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles