﻿# XOR QA: retrieve evidence across question languages

Match XOR QA output language and evidence task, preserving v1.1 evaluation files and interpreting token-budget answer recall without confusing it with document relevance.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/data-guide-xorqa-cross-language-evidence/
Language: en

## Start from the cross-language information gap

The [XOR QA paper](https://aclanthology.org/2021.naacl-main.46/) builds on information-seeking questions for which TyDi QA did not find same-language answers. This selection targets information asymmetry, rather than a random sample of every multilingual question. A proposed comparison with ordinary same-language QA should keep that selection difference visible. Strong performance on questions with abundant local-language references does not establish that a system can cross the evidence-language boundary represented here.

## Select the output contract before building a reader

The [owner task guide](https://raw.githubusercontent.com/AkariAsai/XORQA/main/README.md) distinguishes XOR-Retrieve, which returns English evidence for a target-language question, from XOR-EnglishSpan, which returns an English short answer, and XOR-Full, which answers in the question's language. A correct English entity name may therefore satisfy one task and violate another task's output condition. Keep the task name, query language and answer language in stored predictions rather than inferring them from a model checkpoint name.

## Pin evaluation revisions and the evidence snapshot

The guide documents the v1.1 evaluation update, including removed questionable binary annotations and added answer translations. It also requests the February 2019 Wikipedia snapshot and distinguishes short-answer files from GoldParagraph resources. Supplying a gold paragraph changes open retrieval into a reader evaluation. The [official release site](https://nlp.cs.washington.edu/xorqa/) identifies question-only test files and separate auxiliary resources; their availability does not make gold evidence a permitted inference input for every task.

## Interpret recall as a token-budget answer hit

The [retrieval scorer](https://raw.githubusercontent.com/AkariAsai/XORQA/main/evals/eval_xor_retrieve.py) concatenates predicted contexts in order, tokenizes them and truncates to 2,000 or 5,000 tokens before checking answer occurrence. These are not counts of documents or the generation model's subword tokens. A string hit is also not an entailment assessment of the surrounding passage. A proposed analysis can additionally inspect supporting context, but must label that as a separate judgment rather than changing the historical score's meaning.

## Validate prediction coverage outside the historical loop

The scorer skips binary-only examples and iterates over supplied predictions to form language counts. Missing predictions can therefore affect the denominator if coverage is not checked separately. An editorial wrapper should reject duplicate identifiers, compare expected eligible questions with received outputs and preserve rank order. [Citation completeness](/journal/rag-citation-precision-completeness/) adds a distinct support check, while [provenance tracking](/journal/document-markdown-json-provenance/) records which snapshot passages supplied the text that the answer-hit metric examined.
