ReQA: An Evaluation for End-to-End Answer Retrieval Models
Paper · 2019 · Amin Ahmad, Noah Constant, Yinfei Yang et al.
Summary
Finding an answer inside a supplied paragraph is different from finding the paragraph—or the answer—when its location is unknown. ReQA addresses this gap in question answering. A system receives a question and must rank candidate answer sentences drawn from many documents. It cannot assume that someone has already selected a relevant passage. The paper’s main contribution is an evaluation framework for this setting, together with procedures for converting existing reading-comprehension datasets into retrieval benchmarks.
The distinction matters because a useful answer can occur in a document whose main subject does not closely match the question. The paper illustrates this with a question about the most densely populated county in the United States. An answering sentence appears in an article about New York City, where a discussion of Manhattan connects the borough to New York County. A system that first chooses documents by their overall topical relevance can exclude such evidence before its answer-reading component gets an opportunity to inspect it. ReQA instead evaluates direct retrieval of answering sentences across document boundaries.
The benchmark also imposes an architectural condition. Questions and candidate answers must be encoded independently, and their compatibility must be scored through a vector dot product. Candidate representations can therefore be prepared before any particular question arrives. An answer representation may incorporate its surrounding paragraph, but it cannot depend on the question being evaluated. This separates ReQA from reading-comprehension approaches that perform detailed interactions between a question and each candidate passage. Those approaches can be effective when the passage is known, but applying them individually to an enormous candidate collection is expensive.
The authors construct ReQA tasks from SQuAD 1.1 and Natural Questions. ReQA SQuAD contains 87,599 questions and 91,707 candidate sentences; ReQA NQ contains 74,097 questions and 239,013 candidates. They evaluate independently trained neural encoders using mean reciprocal rank and recall at several retrieval depths. USE-QA leads the reported neural comparisons, with sentence-retrieval MRR of 0.539 on ReQA SQuAD and 0.234 on ReQA NQ. In a separate paragraph-retrieval comparison, USE-QA also exceeds the reported BM25 baseline. The paper releases evaluation and dataset-conversion code, making the task construction available for reuse.
These findings support a practical research direction without resolving every question about large-scale answering. ReQA demonstrates that sentence retrieval can be evaluated separately from passage reading, and that an independently trained question–answer encoder can perform well under this evaluation. It does not establish performance over all of Wikipedia, measure a deployed approximate-search index, or compare complete systems that retrieve and then rerank candidates. Its broader methodological argument is equally important: evaluation should expose whether a system generalizes beyond its training sources, and benchmark construction should be examined for the kinds of retrieval behavior it favors.
Interesting ideas
Evaluate the missing operational step. A strong result on a component task can conceal a major difficulty in the complete application. ReQA makes answer discovery part of the test rather than providing the relevant passage in advance. The same approach applies wherever an evaluation supplies something that a deployed system must discover: supporting documents, a relevant database record, an appropriate rule, or the correct tool. Removing that assistance can reveal a capability gap that component accuracy alone cannot show.
Make scalability an interface requirement. Independent question and answer encoding is more than an implementation preference. It determines which computations can be moved before the arrival of a query and which scoring operations must remain cheap. This is useful in search, matching, recommendation, and other applications where a changing request must be compared against a relatively stable collection. Declaring the interface early prevents an accurate but operationally unsuitable method from being mistaken for a scalable solution.
Preserve context around a small retrieval unit. A sentence is a convenient result to show a user, but its meaning may depend on the paragraph containing it. ReQA therefore distinguishes the unit returned from the information available when representing that unit. This distinction applies to document search, evidence retrieval, and dictionary examples: a short result can remain easy to inspect while retaining links to the larger context needed to interpret it correctly.
Treat dataset origin as an experimental variable. Questions written after reading an answer passage differ from questions collected through search. Each collection process changes lexical overlap, ambiguity, and the kinds of answers likely to appear. Comparing both exposes different weaknesses. This principle extends beyond question answering: evaluation data should be characterized by how it was produced, because collection procedures can make certain solutions appear more general than they are.
Separate immediate usefulness from candidate availability. Mean reciprocal rank emphasizes how early a correct result appears, while recall at a chosen depth measures how much of the annotated answer set is available within that depth. These views serve different downstream needs. A direct-answer interface needs a good leading result; a later reasoning or review stage may benefit from a broader candidate set. Reporting both avoids compressing distinct operational properties into a single score.
Measure generalization and resource costs together. The paper favors evaluation sources kept apart from training and reports both retrieval quality and encoding costs. These are complementary requirements: a system should transfer beyond familiar data and remain practical to run. The idea applies to compact language systems, embedded applications, and reusable retrieval components, where an attractive benchmark score may otherwise obscure dependence on familiar sources or substantial computational resources.
Deep dive: ReQA: An Evaluation for End-to-End Answer Retrieval Models
ReQA tests whether systems can retrieve answer sentences across documents, with benchmark construction, ranking metrics, and neural and BM25 results. · about 34 minutes to read
How Mova uses it
Mova is a small language system implemented in Rust. Its documented native path constructs dependency trees, interprets frames, and maintains worlds with explicit reasons for conclusions. It also has corpus indexes, retained-reading experiments, and assessment boundaries. These mechanisms create several concrete points of contact with ReQA, although none establishes that Mova has implemented or measured this benchmark. The status marks below are proposed correspondences against documented scope; a proposal marked new is not a claim that an equivalent mechanism cannot exist elsewhere.
Idea: Evaluate answer discovery separately from reading a supplied document. Where: Introduction and Objectives. Area: evaluation. Mova: частково є (the documented world readers and retained-reading paths evaluate answers from texts or prepared graphs). A ReQA-style extension could require Mova to locate the relevant sentence across a fixed collection before its native reader answers. This would distinguish a failure to find evidence from a failure to interpret evidence already supplied. Its effectiveness for Mova remains unknown.
Idea: Test whether document routing discards useful evidence. Where: Figure 1 and Objectives. Area: retrieval. Mova: частково є (layers provides explicit routing, while tools/dictindex retrieves corpus occurrences). A controlled collection could place relevant sentences inside documents with weak topical matches and inspect whether an initial routing decision excludes them. This transfers the paper’s concern about answers in unexpected documents to Mova’s transparent routing boundaries without assuming that its present routing behaves like document search.
Idea: Define a query-independent candidate interface. Where: Objectives and Algorithm 1. Area: architecture. Mova: нове. Mova could experimentally compare candidates represented by native frame or graph features prepared before a question arrives, with a separately specified compatibility function. This would borrow ReQA’s computational separation without requiring a neural encoder or claiming equivalent accuracy. Why Mova: it could make repeated evidence lookup cheaper while preserving inspectable representations and explicit failure behavior.
Idea: Keep the retrieval result small while retaining its context. Where: Objectives, Figure 2, and Algorithm 1. Area: semantics. Mova: частково є (tools/dictindex preserves exact sentence evidence and document identity; native worlds supply contextual interpretation). An answer candidate could be a sentence linked to the paragraph or document state needed to interpret its entities. Evaluation would need to check whether this additional context actually improves selection rather than merely increasing stored material.
Idea: Resolve contextual references before accepting a sentence as an answer. Where: Figure 2. Area: coreference and semantics. Mova: частково є (coref supplies reasoned links, and world tracks entities). The Nigeria example suggests a targeted test: determine whether a sentence about an official language is linked to the correct country through surrounding context. A successful link would still need separate evidence that Mova selected the sentence for the right question.
Idea: Convert existing reading tasks into retrieval tasks through a declared procedure. Where: ReQA Evaluation and Algorithms 1–2. Area: data processing. Mova: частково є (tools/sources, corpus preparation, and enrichment retain source-bound artifacts and explicit boundaries). Mova could build a separate evaluation artifact from existing permitted reading material, preserving the transformation from document to sentence candidates and question targets. This should remain evaluation construction, without admitting its answer labels into training.
Idea: Treat sentence segmentation as part of benchmark identity. Where: ReQA SQuAD and Algorithm 1. Area: data. Mova: частково є (en has tokenization and sentence-processing mechanisms, including language-specific work). A retrieval assessment should retain which segmentation produced its candidate boundaries, because changing those boundaries changes both the answer pool and target mapping. The paper provides the motivation for this dependency; it does not measure the effect of alternative segmenters.
Idea: Preserve all annotated acceptable answers. Where: ReQA Evaluation and the discussion accompanying Algorithm 2. Area: evaluation. Mova: нове. A retrieval test could retain a set of acceptable evidence sentences rather than forcing every question to one candidate identifier. Exact question strings recurring in different contexts would need explicit treatment. Why Mova: set-valued targets could avoid marking a documented alternative answer wrong merely because it differs from one preferred witness.
Idea: Report early-answer ranking quality. Where: Equation (1). Area: statistics and evaluation. Mova: нове. For a proposed cross-document retrieval assessment, Mova could report mean reciprocal rank alongside answer correctness. This would expose whether the first acceptable evidence appears early enough to support a direct response. Why Mova: it would distinguish a usable leading result from correct evidence buried among candidates, without conflating retrieval rank with proof quality.
Idea: Report annotated-answer coverage at a fixed retrieval depth. Where: Equation (2). Area: statistics and evaluation. Mova: нове. A companion measure could track how much of each question’s annotated answer set occurs among the retained candidates. This differs from checking whether any acceptable answer was found. Why Mova: it could measure the evidence available to a bounded native reasoning or review stage before that stage begins.
Idea: State the candidate universe with every result. Where: Dataset Statistics and Table 1. Area: evaluation reporting. Mova: частково є (tools/dictindex measurements identify indexed prefixes and distinguish bounded probes from broader coverage). A native answer-retrieval report should likewise identify the exact documents, sentences, and exclusions defining the search space. This would prevent a strong result over a prepared subset from being read as evidence of unrestricted corpus search.
Idea: Separate query ambiguity from retrieval failure. Where: Discussion. Area: pragmatics and evaluation. Mova: частково є (the experimental deputy retains missing_context for unsupported reference resolution). The paper’s underspecified SQuAD question suggests a separate ambiguity label in reading assessments. Mova could preserve that distinction instead of inventing a referent or silently supplying a document title unavailable to the questioner. Whether this improves practical answer selection would require measurement.
Idea: Compare questions with different collection histories. Where: Discussion. Area: evaluation design. Mova: нове. A proposed retrieval assessment could distinguish questions written from source passages from independently occurring questions, with provenance attached to each group. Performance could then be interpreted against the collection process. Why Mova: it would test whether native matching depends on wording copied or closely adapted from the evidence rather than on the intended relation.
Idea: Measure lexical overlap before interpreting retrieval scores. Where: Table 2 and Discussion. Area: lexical analysis. Mova: частково є (tools/dictindex records lexical and frame evidence, while enrichment explicitly limits what lexical retrieval establishes). Mova could report question–answer token overlap as a descriptive property of an assessment collection. It should remain a diagnostic variable, without treating overlap as proof that a sentence answers the question or that a missing topic has been identified.
Idea: Audit search-mediated source selection. Where: Discussion. Area: data provenance. Mova: частково є (tools/sources and tools/dictindex retain source declarations and exclusions). When question–answer evidence was originally obtained through search, a report could record that dependency. This would make visible a possible preference for material already easy to retrieve through the originating search process. ReQA supplies a warning about selection bias, not a correction that Mova can assume has already removed it.
Idea: Keep assessment sources distinct from learning sources. Where: Objectives and Related Work. Area: evaluation integrity. Mova: вже є (teacher-separated school assessment, frozen assessment exclusions, and tools/dictindex restrictions on test and exam material). ReQA reinforces this boundary and suggests documenting source overlap as well as item overlap. Mova’s existing separation is relevant evidence, but it does not by itself demonstrate the cross-source generalization that the authors seek.
Idea: Distinguish a dataset’s conventional split name from its experimental role. Where: Objectives and ReQA SQuAD. Area: data governance. Mova: частково є (documented assessment and training paths assign explicit roles to artifacts). ReQA uses conventional training collections as held-out retrieval evaluations. Mova could similarly require an artifact’s current role to be declared independently of its filename or original label, so that an evaluation collection is not accidentally admitted for learning because it is called a training set.
Idea: Report question-type coverage. Where: Table 3 and Discussion. Area: evaluation analysis. Mova: нове. A native retrieval assessment could describe which question openings dominate its collection and identify poorly represented forms. Such a report would be descriptive instead of a complete semantic taxonomy. Why Mova: it could reveal that an apparently broad score rests mainly on a narrow range of questions and leaves explanation-seeking behavior largely untested.
Idea: Build targeted tests for explanation-seeking retrieval. Where: Discussion following Table 3. Area: reasoning and evaluation. Mova: частково є (prag frames include causal links, and native answers can retain reasons). The paper observes limited representation of why questions and proposes more focused evaluation. Mova could test whether it retrieves an explanatory statement rather than a merely associated fact. Existing causal representations do not establish success on this proposed retrieval task.
Idea: Separate answer granularity from internal analysis granularity. Where: Objectives and BM25 Baseline. Area: architecture and evaluation. Mova: частково є (native trees, frames, and worlds provide different structural units, while dictionary retrieval returns sentence evidence). An assessment could state whether success means finding a sentence or its enclosing paragraph. This would stop improvements at a broader retrieval unit from being mistaken for precise sentence selection.
Idea: Compare alternative methods at a common retrieval unit. Where: BM25 Baseline and Table 6. Area: experimental design. Mova: нове. A future comparison between native structural lookup and lexical retrieval should first align the unit counted as correct. The paper’s paragraph comparison provides a practical example while also leaving sampling differences to be disclosed. Why Mova: it would make baseline results more interpretable and reduce gains caused merely by changing what counts as a successful answer.
Idea: Measure resource costs beside task quality. Where: Table 5 and its latency note. Area: systems evaluation. Mova: частково є (tools/twin measures runs and calibrates cost estimates; dictionary-index reporting distinguishes timings and cache scope). A retrieval experiment could report preparation costs, query costs, and stored candidate representations separately. ReQA motivates joint reporting of quality and resources, while its own measurements do not provide native Mova costs.
Idea: Keep single-request latency separate from batched throughput. Where: the note accompanying Table 5. Area: performance measurement. Mova: частково є (existing timing reports identify measurement scope). A candidate preparation stage may benefit from batching even when an interactive question cannot wait for a batch. Separate reports would prevent an amortized preparation speed from being presented as the delay experienced by an individual user. The best batching policy for Mova is unknown.
Idea: Distinguish exact ranking evaluation from deployed approximate search. Where: Objectives and Algorithm 2. Area: systems and evaluation. Mova: нове. If native candidate representations later support a search index, Mova could compare the ranking procedure used for evaluation with the retrieval behavior of that actual index. Why Mova: it would reveal whether a deployment change loses useful candidates even when the underlying compatibility function remains unchanged.
Idea: Keep retrieval receipts separate from justified answers. Where: Objectives and the scope restriction on reranking. Area: evidence handling. Mova: вже є (the hybrid-system contract distinguishes operational receipts, proofs, annotations, and learned knowledge). ReQA’s task boundary provides a useful assessment counterpart: retrieving a relevant sentence establishes candidate availability, while interpreting it and producing a warranted answer remain further operations. A high retrieval score should not automatically confer native proof status.
Idea: Use bounded evaluations without repeatedly consulting frozen final tests. Where: Related Work and the discussion of evaluation during training. Area: development process. Mova: частково є (held-out development experiments, journals, and regression gates are documented). ReQA shows the value of an evaluation small enough for iteration, but Mova should assign any repeatedly consulted retrieval collection a development role. That would preserve its existing distinction between iterative selection and final assessment.
These are transfers of evaluation and interface ideas, rather than a proposal to replace Mova’s native rules with the paper’s neural baselines. The main connection is methodological: define the evidence-search problem, preserve its context and provenance, and measure each boundary before interpreting a final answer as success.
The problem and its context
Reading an answer and locating an answer
The paper starts from a contrast between reading-comprehension progress and the demands of an answering service. In a reading-comprehension task, the relevant passage is already available. The system must determine which span within that passage answers a question. This setup is valuable because it isolates interpretation of a question in relation to a known text. It does not require the system to discover where the answer might be located.
The authors describe SQuAD as an influential example of this setting. They report that approaches using BERT pretraining had exceeded the human reference performance on SQuAD 1.1 and 2.0. Their point is not that passage reading has become unimportant. It is that success under those conditions leaves an essential operational question unanswered: how does the system obtain the passage when the user supplies only a question?
A conventional response is to divide the application into retrieval and reading. A search component selects promising documents or text blocks. A reading component then examines the selected material and identifies an answer. This is a sensible division of labor, but the first stage controls what evidence the second stage can ever see. If retrieval excludes an answering document, even an excellent reader cannot recover from that omission.
The New York example makes this failure concrete. A question about county population density does not necessarily lead a topic-based document selector towards a city article. Yet that article can contain exactly the needed statement. The issue is a mismatch between document-level relevance and sentence-level answer relevance. A document may be useful because of one local statement even when its overall subject is not the expected one.
ReQA therefore belongs to information retrieval as well as question answering. It asks whether the answer-bearing unit itself can be found across a collection. The retrieval target is not simply a document about the question’s subject. It is a sentence judged to answer the question, interpreted with access to its local context.
Why the architecture matters
Reading-comprehension systems frequently combine the question with the candidate passage early in processing. That allows detailed interactions: the interpretation of one part of the passage can depend on the specific question under consideration. The paper identifies cross-attention as an example of this general approach.
The cost becomes problematic when the same procedure must be repeated for an enormous number of candidate answers. A question-dependent representation of every candidate cannot simply be computed once and stored for future use. New questions require new joint processing. ReQA addresses this by restricting the scoring interface instead of prescribing every internal detail of the encoder.
Each side receives its own representation. The candidate side is prepared without knowing the eventual question, and the question side uses only the question text. A dot product then provides the relevance score. This arrangement permits the use of approximate nearest-neighbor retrieval, where a query vector is used to search stored answer vectors.
The paper describes a goal of reaching billions of potential answers. Its experimental collections are smaller, but the interface is chosen with that ambition in mind. The distinction between architectural compatibility and demonstrated deployment scale is important: requiring independently prepared vectors makes a certain style of efficient search possible; it does not itself measure an implementation at the intended ultimate scale.
Earlier tasks and the gap ReQA occupies
The authors position ReQA between small passage-reading tests and more expensive open-domain answering evaluations. Reading Wikipedia to Answer Open-Domain Questions, associated with DrQA, treats Wikipedia as a source for answering factoid questions. As the paper describes it, that approach still retrieves documents before extracting an answer span. ReQA isolates a different target: direct ranking of answer sentences.
Earlier answer-selection work also motivates the proposal. A Yahoo! Answers collection contains 142,627 question–answer pairs, but the authors note its restriction to procedural how-to questions and limitations on data accessibility. WikiQA offers sentence-level selection, yet its candidates come from a limited set of search-returned documents. It contains 3,047 questions and 29,258 candidate answers. ReQA aims to provide broader cross-document competition using widely studied reading-comprehension resources.
The paper also discusses earlier use of SQuAD for paragraph retrieval and related phrase-indexed answering. These connections clarify the contribution. ReQA does not claim to originate every element of independent encoding or retrieval-based answering. It contributes a reproducible benchmark construction, a sentence-focused target, a set of comparative baselines, and an argument for evaluating transfer across distinct training and assessment sources.
The method, step by step
Start with an existing question–answer resource
ReQA is principally an evaluation procedure. It takes a resource in which questions already have answers located within text and turns it into a competition among answer candidates drawn from many passages. The original annotations provide the connection between a question and its acceptable target sentences.
For SQuAD, the source organization is hierarchical. Articles contain paragraphs, and paragraphs contain associated questions and answer spans. The conversion keeps the paragraph text as context while dividing it into sentences. Each resulting sentence becomes a separately retrievable candidate.
This choice changes what the system must do. In the original reading task, the question is evaluated against its supplied paragraph. In ReQA, that question competes against candidates from the entire constructed index. The passage containing its annotated answer has no privileged position during ranking.
From reading-comprehension data to answer retrieval
The steps in order.
The flow contains both data preparation and scoring. These should remain conceptually separate. Candidate construction determines what answers exist in the task. Encoding and ranking determine whether a tested system can find them.
Construct context-aware candidates
The authors use a custom sentence-boundary procedure, distributed with their released code. For the SQuAD 1.1 training collection, the procedure transforms 18,896 paragraphs into 91,707 sentences. Algorithm 1 describes iterating through the dataset, visiting its paragraphs, splitting each paragraph, and storing a sentence together with its encoded representation.
The candidate encoder receives the sentence and its enclosing paragraph. This does not mean that the paragraph is the returned answer. The sentence remains the retrieval unit. The paragraph supplies information that can help determine what the sentence refers to.
The Nigeria example explains why this matters. A sentence saying that English is the official language does not name the country within that sentence. Its relevance to a question about Nigeria depends on the surrounding passage. An isolated sentence representation may therefore omit information essential to answer selection.
The permitted input and the mandatory independence condition must be read together. The encoder may use local source context, but it may not consult a particular evaluation question. It must produce a candidate representation that can be reused across questions. Otherwise the task would lose the computational property on which its retrieval design depends.
The paper does not require every baseline to exploit paragraph context in the same way. Rather, it defines what information is available. The reported comparisons should not be mistaken for a controlled experiment that isolates the benefit of paragraph-aware encoding.
Map answer spans to sentences
The original resources identify answer spans, whereas ReQA retrieves sentences. The conversion must therefore determine which sentence contains each annotated span. That sentence becomes an acceptable answer candidate for the question.
A question can have several annotations. Sometimes these identify different spans within the same sentence, so they do not necessarily create distinct sentence targets. The paper’s Super Bowl example illustrates this: annotations can identify the city, the stadium, or a larger phrase encompassing both, while remaining inside the same sentence.
There can also be repeated question text in different contexts. The authors discuss a question about the height of Mount Olympus that appears in connection with different geographical locations. Their evaluation treats the associated answers as acceptable instead of assuming that the repeated wording has only one valid target.
This handling emphasizes that the target is a set of annotated answers. It does not establish that the annotations enumerate every sentence anywhere in the corpus that could answer the question. The benchmark measures agreement with its constructed answer set, which is an important distinction when interpreting errors.
Encode questions independently
The question encoder receives the question text alone. It does not receive the source article title or the paragraph used during dataset creation. This restriction makes the retrieval input closer to a user question whose answer location is unknown.
For SQuAD, the exact resulting question count is 87,599. The paper also describes it approximately as around 88,000. The exact count matters when identifying the released evaluation collection, while the approximate description gives an intuitive sense of its scale.
Removing source context can expose underspecified questions. A question containing an unresolved pronoun may have been perfectly understandable beside its original passage, yet become ambiguous in the retrieval setting. The authors consider adding an article title but argue that doing so would supply information a real questioner may not possess.
This is a deliberate tradeoff. Question-only input tests the intended retrieval interface, but it also means that some failures can reflect missing information in the question rather than a weak scoring function. The benchmark’s interpretation must preserve that possibility.
Score questions against stored candidates
Let Q be the matrix whose rows contain question vectors, and let A contain candidate-answer vectors as rows. Both use the same vector dimensionality. The paper computes all question–answer dot products through matrix multiplication:
S = Q Aᵀ
S is the score matrix. Q contains the encoded questions, A contains the encoded answers, and Aᵀ is the transpose of A, which exchanges its rows and columns. Each entry of S is the dot product between one question vector and one answer vector. A larger score places that candidate earlier in the ranking for that question.
Algorithm 2 converts these scores into ranks. Each row corresponds to a question, and the candidate scores in that row determine the answer ordering. This is the basis for the reported evaluation, rather than a measurement of an approximate nearest-neighbor implementation.
The same interface can accommodate cosine-based relevance if the output vectors are L2-normalized. Normalization fixes each vector’s length, allowing the dot product to express the corresponding angular comparison. The paper presents this as compatibility with the scoring requirement, without making cosine distance the defining feature of ReQA.
The vector size itself is not fixed by the benchmark. The objectives give 512d as an example, while the evaluated encoders produce different output sizes. What matters is independent encoding and a compatible scoring operation, not a particular number of coordinates.
Measure the first correct answer’s rank
Mean reciprocal rank summarizes how early the first acceptable candidate appears:
MRR = (1 / |Q|) ∑ᵢ₌₁^|Q| (1 / rankᵢ)
Here Q denotes the set of evaluation questions, instead of the question matrix used in the scoring formula. |Q| is the number of questions. rankᵢ is the position of the first correct answer for question i, and the summation averages its reciprocal over the collection.
This measure rewards placing an acceptable answer near the beginning. Once the first correct answer’s position is known, later correct answers do not affect that question’s reciprocal-rank contribution. MRR is therefore useful for understanding early success, but it does not describe the completeness of the retrieved answer set.
ReQA also evaluates recall at a specified depth:
R@N = (1 / |Q|) ∑ᵢ₌₁^|Q| (|max_N(Aᵢ) ∩ Aᵢ*| / |Aᵢ*|)
N is the retrieval cutoff. Aᵢ is the scored candidate list for question i, and max_N(Aᵢ) denotes its highest-ranked N entries. Aᵢ* is the set of annotated correct answers for that question. The intersection contains correct answers retrieved within the cutoff, and the denominator is the size of the annotated answer set.
The fraction is computed for each question before averaging across questions. This definition matters when a question has several acceptable answers: recall describes the fraction recovered, rather than only whether at least one answer appears. The paper reports R@1, R@5, and R@10.
Together the metrics offer complementary views. MRR emphasizes the earliest acceptable result. Recall measures annotated-answer coverage within a bounded output list. Neither metric evaluates whether a subsequently generated explanation is valid, because answer generation and explanation are outside this task.
Apply eligibility rules to Natural Questions
Natural Questions begins from a different collection process. Its questions originate as user search queries, with Wikipedia articles that appeared among the top five search results. Human annotations identify whether an article answers the query and, where applicable, locate the answer.
The source resource has over 320,000 examples. The paper reports short answers for approximately 36% of them. ReQA does not retain every example. It selects questions whose answer is a single short span contained in a paragraph block, excluding answers occurring in lists or tables.
After filtering, ReQA NQ contains 74,097 questions. The associated paragraphs are split into candidate sentences, giving 239,013 sentence candidates from 58,699 paragraphs. As in the SQuAD conversion, the sentence containing the annotated short answer becomes the target.
The candidates do not include every sentence in every source article. They come from paragraphs containing qualifying short answers. The authors considered a larger index but found that the restricted collection already created a demanding task. This decision keeps the benchmark manageable while limiting what can be inferred about unrestricted document collections.
Keep training outside the evaluation sources
The source collections’ conventional split labels do not determine their role in ReQA. The authors use the SQuAD and Natural Questions training collections as retrieval evaluations, with the understanding that those data must not also train the evaluated systems.
They further recommend excluding Wikipedia from training because both benchmarks draw their document text from it. If that is impractical, they ask for explicit disclosure of which Wikipedia material was used and how. This recommendation aims to make retrieval performance more informative about transfer beyond familiar sources.
The paper supplies descriptions of the baseline encoders, but it is not a complete training recipe for a newly introduced retrieval architecture. Its central reproducible procedure concerns construction and evaluation of the retrieval tasks. The neural systems are reference points showing how existing independently trained encoders behave under that procedure.
Experiments and results
The evaluation collections
The two tasks have similar question counts but substantially different candidate pools. Their exact sizes are:
| Constructed task | Questions | Candidate sentences | Candidate paragraphs |
|---|---|---|---|
| ReQA SQuAD | 87,599 | 91,707 | 18,896 |
| ReQA NQ | 74,097 | 239,013 | 58,699 |
The authors connect the smaller SQuAD candidate pool to its construction process: many questions were written about the same source paragraphs. Natural Questions supplies a different balance of questions and answer-bearing text. These differences mean that the tasks should not be interpreted as interchangeable samples of an otherwise identical retrieval problem.
The lexical statistics also differ. ReQA SQuAD questions average 10.1 tokens, and their answer sentences average 24.0 tokens. For ReQA NQ, the corresponding averages are 9.1 and 22.9. The paper defines query coverage as the percentage of question tokens occurring in the answer sentence.
Mean query coverage is 31.7% for ReQA SQuAD, with standard deviation 18.9. ReQA NQ has mean coverage of 24.3%, with standard deviation 16.9. The authors associate the stronger overlap in SQuAD with questions being composed after their writers had seen the relevant text.
Question openings provide another descriptive difference. What questions account for 47.7% of ReQA SQuAD, followed by who at 9.6% and how at 9.3%. In ReQA NQ, who accounts for 32.6%, when for 20.3%, and what for 15.3%. These are surface-based categories, assigned from the question’s beginning with specified allowance for some preceding prepositions.
Neural reference systems
USE-QA is the primary neural baseline. Its training combines question–answer retrieval with translation ranking and natural-language inference. The authors describe training material containing over a billion question–answer pairs from online forums and question-answering websites, including Reddit and Stack-Overflow.
The encoder uses subword tokenization with a 128k sentencepiece vocabulary. A transformer encoder has 6 layers, and average pooling produces a 512-dimensional representation. Question and answer processing remain independent, as required by the benchmark.
QA Lite targets mobile use. It retains a transformer-based approach but reduces layer width and depth, vocabulary size, and output dimensionality. Its output has 100 dimensions. Like USE-QA, it is trained using online forum material.
InferSent provides a different reference point: a general-purpose sentence representation system instead of one specifically designed for answer retrieval. Its vectors have 4096 dimensions. The paper includes it to show how a broadly useful text encoder performs on the more particular question-to-answer matching task.
Sentence retrieval
USE-QA ranks above the other reported neural systems on both constructed tasks. ReQA SQuAD produces the following MRR comparison:
Neural sentence retrieval on ReQA SQuAD, MRR
USE-QA leads the reported neural baselines.
The numbers
| System or setting | MRR |
|---|---|
| InferSent | 0.317 |
| QA Lite | 0.412 |
| USE-QA (this paper) | 0.539 |
For ReQA SQuAD, USE-QA records R@1 of 0.439, R@5 of 0.656, and R@10 of 0.727. QA Lite obtains 0.325, 0.507, and 0.576 at those cutoffs. InferSent obtains 0.240, 0.402, and 0.468.
These results show both the value of the stronger encoder and the remaining difficulty. Even the leading baseline does not consistently place the annotated sentence at the beginning. Increasing the retrieved set exposes more correct candidates, which matters if retrieval supplies a later stage rather than directly determining the final response.
The ordering remains the same on ReQA NQ:
Neural sentence retrieval on ReQA NQ, MRR
USE-QA remains strongest on the harder reported task.
The numbers
| System or setting | MRR |
|---|---|
| InferSent | 0.080 |
| QA Lite | 0.172 |
| USE-QA (this paper) | 0.234 |
On this task, USE-QA has R@1 of 0.147, R@5 of 0.317, and R@10 of 0.391. QA Lite records 0.103, 0.233, and 0.297. InferSent records 0.043, 0.109, and 0.145.
The authors suggest that the larger candidate collection and weaker lexical overlap contribute to the lower Natural Questions results. That interpretation is plausible within the reported evidence, but these factors were not independently manipulated. The cross-dataset comparison establishes a performance difference under different combined conditions.
Paragraph retrieval and BM25
The authors do not test BM25 directly on sentence retrieval. They cite earlier findings about the weakness of traditional term-based retrieval at that granularity and instead construct a paragraph-level comparison.
BM25 retrieves paragraphs directly. For the neural systems, the retrieved sentence identifies its enclosing paragraph. This aligns the unit counted as correct, though the mechanisms used to reach that unit remain different.
On ReQA SQuAD paragraph retrieval, USE-QA obtains MRR of 0.634, compared with BM25 at 0.602. Their R@1 values are 0.533 and 0.517; R@5 values are 0.756 and 0.702; R@10 values are 0.823 and 0.755. QA Lite has paragraph MRR of 0.503, and InferSent has 0.369.
The ReQA NQ paragraph comparison is:
Paragraph retrieval on ReQA NQ, MRR
USE-QA leads the neural and lexical baselines reported here.
The numbers
| System or setting | MRR |
|---|---|
| BM25 | 0.103 |
| InferSent | 0.145 |
| QA Lite | 0.274 |
| USE-QA (this paper) | 0.366 |
On ReQA NQ paragraph retrieval, USE-QA records R@1 of 0.247, R@5 of 0.486, and R@10 of 0.578. BM25 records 0.066, 0.140, and 0.175. The comparison supports the authors’ claim that a direct answer-oriented representation can compete favorably with a conventional lexical baseline at a shared retrieval granularity.
A qualification accompanies these numbers. BM25 uses default hyper-parameters from the chosen implementation, and its reported statistics cover the first 10,000 questions in each task because scoring was slow. The neural results are not described as restricted to that same question subset. The table is therefore informative but not a fully matched, equally tuned comparison.
Resource measurements
The paper reports practical costs for USE-QA and QA Lite. USE-QA has a reported size of 392.9 MB, encoding latency of 17.3 ms, and memory usage of 71.8 MB. QA Lite has size of 2.6 MB, latency of 10.2 ms, and memory usage of 3.6 MB.
Latency is measured for encoding one text item on an Intel Xeon CPU E5-1650 v3 @ 3.50GHz. These figures concern encoding, rather than a complete query-serving path including candidate search and response preparation.
The authors also note that batching changes throughput: batch sizes of 200 can yield an amortized speedup of up to 5x. This does not replace the individual-item latency measurement. It describes a different operating condition, useful particularly when preparing many candidate representations.
Finally, the authors report that the evaluation can run in memory and complete within two hours on a developer workstation. This supports its intended role as a manageable research evaluation between passage-local reading and more expensive open-domain assessment.
What the ablations show
The paper does not report component ablations; it offers cross-system comparisons, cross-dataset analyses, a change of retrieval granularity, and resource measurements.
Stronger and smaller encoders
The USE-QA and QA Lite comparison shows a practical quality–resource tradeoff. The larger system performs better on the retrieval metrics, while the smaller system has lower reported storage and memory costs. This is useful evidence for deployment choices.
It does not isolate a single cause of the quality difference. QA Lite changes several properties together, including layer dimensions, depth, vocabulary, and output size. The experiment cannot determine how much of the result comes from any one reduction.
InferSent adds another comparison: a general-purpose representation is less successful than the reported question–answer-oriented systems. That is consistent with the importance of task alignment, but it does not establish a controlled causal effect of answer-retrieval training. The systems differ in more than their training objective.
The vector dimensions also caution against equating representational size with retrieval suitability. InferSent uses 4096-dimensional vectors but trails encoders with smaller outputs. This observation describes these baselines; it does not prove that increasing or decreasing dimensionality would have a particular effect within an otherwise fixed system.
Dataset construction and difficulty
The SQuAD–Natural Questions comparison is one of the paper’s most informative analyses. It shows that a system’s apparent retrieval competence depends heavily on the evaluation collection. Natural Questions combines a larger candidate pool with questions that overlap less with their answer sentences.
The authors identify both as likely contributors to difficulty. However, the experiment does not hold one fixed while changing the other. It cannot separate the effect of additional distractors from the effect of question wording, source selection, or question-type distribution.
The lexical and question-opening statistics make this comparison more interpretable. They provide evidence about what differs between the datasets rather than leaving the score gap unexplained. They remain descriptive analyses, not a decomposition of the causes of that gap.
Retrieval granularity changes the target
Paragraph retrieval is easier to satisfy than exact sentence retrieval in an important task-specific sense: retrieving another sentence from the correct paragraph can still identify the desired paragraph. The paper’s paragraph results therefore answer a broader localization question.
This explains why the paragraph comparison cannot replace the sentence benchmark. It is valuable for comparing BM25 with the neural systems, but it changes what a correct result means. A system can locate useful surrounding material without selecting the precise sentence intended as the detailed answer.
The comparison also shows a way to accommodate a baseline whose natural retrieval unit differs from the proposed task. Instead of claiming that paragraph retrieval and sentence retrieval are identical, the authors explicitly introduce a second evaluation level.
Important mechanisms remain untested separately
The objectives emphasize context-aware answering, yet there is no reported comparison that removes paragraph context while keeping the rest of the system fixed. Figure 2 supplies a clear reason context can matter, but the experimental results do not quantify its independent contribution.
Similarly, the scalability argument rests on compatibility with efficient vector search. The reported ranking procedure computes dot products and ranks candidates; it does not compare exact ranking against an approximate index. Search-index recall, index construction costs, and deployed retrieval latency are not isolated.
These omissions do not undermine the benchmark’s central contribution. They define what the results can explain. The paper establishes a reproducible task and baseline outcomes more directly than it establishes why each architectural feature produces those outcomes.
Limitations
Limits acknowledged by the authors
The authors explicitly restrict the evaluation to independently encoded questions and answers scored through a dot product. This excludes systems that rely on early question–candidate interactions, even if those systems are strong passage readers. ReQA is therefore not an unrestricted competition among all possible answering architectures.
They also leave multistage systems outside scope. A question-dependent reader or reranker could process a small retrieved set, but that additional stage is not evaluated here. Accordingly, the paper cannot determine the best complete architecture for an answering service.
Sentence-level output is another deliberate focus. The authors regard sentences as a useful detailed response unit, while recognizing that some applications may prefer phrases or passages. ReQA’s conversion approach can be extended to other granularities, but the reported sentence results do not establish performance at those alternatives.
The SQuAD adaptation inherits ambiguity from questions written with a passage already visible. A pronoun-dependent question can become underspecified when separated from that passage. Adding the article title would reduce some ambiguity but would also change the intended question-only setting.
Natural search questions avoid some of that particular problem, yet introduce another. Their answering documents were located through a search process using the question as a query. The authors warn that this favors answers already accessible to traditional search, potentially reducing the evaluation’s ability to test discovery in unexpected documents.
The paper also notes sparse coverage of why questions. These account for 1.4% of ReQA SQuAD and 0.6% of ReQA NQ. The authors suggest focused evaluation because such questions may involve additional reasoning. Strong aggregate retrieval results therefore leave explanation-seeking behavior weakly characterized.
Limits visible in the candidate construction
The benchmark does not search all possible source text. ReQA NQ includes sentences from qualifying answer-bearing paragraphs, rather than every sentence in the corresponding articles. SQuAD likewise contributes its selected paragraphs instead of an unrestricted encyclopedia collection.
This makes the evaluation manageable and reproducible, but candidate difficulty depends on that construction. Unrelated passages, near-duplicate statements, and alternative answers outside the included material could change retrieval behavior in a broader deployment. The reported results cannot quantify those effects.
The target sets also inherit the original annotations. A sentence counted as incorrect by the constructed task might conceivably answer a question in a way not captured by those annotations. Conversely, an annotated sentence may require contextual interpretation before it is appropriate to present as a self-contained answer.
The paper’s context-aware interface partly addresses the second concern by allowing paragraph information during encoding. It does not evaluate whether the displayed sentence, on its own, communicates enough information for a user. Retrieval appropriateness and presentation completeness remain related but distinct properties.
Limits of the comparisons
The BM25 result supports a baseline comparison under the reported implementation and defaults. It does not establish that every lexical retrieval configuration, or every retrieval-and-reading pipeline, would perform worse.
The first 10,000-question restriction for BM25 is particularly relevant. A comparison on different question coverage can be affected by the composition of those questions. The paper does not provide uncertainty intervals or a matched-subset analysis that would resolve that concern.
The neural comparisons are also comparisons of complete systems. Differences in training, architecture, dimensionality, and intended use prevent a clean attribution of gains to any isolated design decision. Their value is as reference performance, not as controlled proof that one component is responsible.
No confidence intervals or significance tests accompany the reported retrieval tables. The point estimates establish the observed ordering, but the paper does not quantify the uncertainty associated with those estimates or formally test every reported gap.
Generalization requires more than withholding individual items
The authors’ recommendation to separate training and evaluation sources is a methodological strength. It is nevertheless a recommendation and protocol boundary, instead of a complete audit of every possible overlap in every future submission.
Training on different questions does not automatically imply training on different underlying text, topics, or collection conventions. This is why the paper asks for explicit disclosure when Wikipedia is used. Interpretation of future ReQA results depends on the quality of that disclosure.
Even strict separation from these evaluation sources would not demonstrate universal transfer. Both constructed tasks use Wikipedia answer text. They differ meaningfully in question collection, but they do not cover every domain, answer style, or document structure that a general answering system might encounter.
The multilingual character of USE-QA also should not expand the benchmark’s claim. The reported ReQA results do not constitute a multilingual evaluation. Architectural capabilities and training descriptions must be distinguished from the conditions actually tested.
Efficient scoring is not a complete deployment measurement
Independent vectors and dot products make a scalable retrieval strategy possible. The benchmark does not demonstrate the full engineering path to billions of indexed answers, including index storage, updates, approximate-search errors, and end-to-end serving latency.
Similarly, the encoding measurements describe particular systems on specified hardware. They do not provide a complete cost model for preparing and maintaining a large answer collection. Candidate encoding, query encoding, vector search, and any later answer processing would need their own measurements in a deployed application.
The authors suggest that the evaluation is convenient enough to support training decisions such as early stopping. Repeated consultation makes an evaluation informative for development, but it also means that a separate final assessment may be needed to judge the selected system. A collection used continually to choose among alternatives should not be interpreted as untouched evidence of generalization.
The most defensible conclusion is therefore specific: ReQA supplies an accessible test of independently encoded answer retrieval across a constructed cross-document candidate set. It reveals behavior that passage-local reading benchmarks cannot measure, while leaving broader answering quality and production-scale search as further questions.
What came after
The later citing works place ReQA within continuing research on sentence representations, dual encoders, retrieval transfer, and evaluation. Their citation relationship establishes relevance, but does not by itself show that each adopted ReQA’s exact conversion procedure, training restrictions, or metrics. Their titles support a narrower account of how the surrounding research agenda developed.
Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Models concerns scalable sentence encoding from pretrained text-to-text systems. That subject connects directly to ReQA’s requirement that reusable sentence representations support efficient comparison. The available information does not establish which ReQA tasks it ran or what result it obtained.
Large Dual Encoders Are Generalizable Retrievers connects with both major parts of ReQA’s agenda: separate encoders for queries and candidates, and the question of transfer beyond familiar evaluation conditions. Its title identifies generalizable retrieval as a central concern. No specific experimental use of ReQA, or numerical conclusion about that use, is established here.
BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models extends the surrounding emphasis on evaluation across differing retrieval settings. Its stated focus on heterogeneous, zero-shot assessment is closely related to ReQA’s argument that familiar-source performance is insufficient evidence of general usefulness. The available description does not specify how ReQA enters its benchmark design.
Zero-shot Neural Passage Retrieval via Domain-targeted Synthetic Question Generation addresses passage retrieval through domain-targeted question generation. This connects with ReQA’s attention to question–answer relationships and transfer, while also making question construction itself part of the research problem. The available information does not show whether it reused ReQA’s sentence candidates or followed its source-exclusion recommendations.
Taken at this supported level, the later works show the continuing relevance of the questions ReQA made explicit: what representations permit reusable retrieval, how retrieval transfers, and how an evaluation can distinguish broad usefulness from success under favorable data conditions. ReQA’s lasting methodological contribution is to make finding the answer-bearing text an object of measurement in its own right.
Cite
Cite as Amin Ahmad, Noah Constant, Yinfei Yang and Daniel Cer. 2019. ReQA: An Evaluation for End-to-End Answer Retrieval Models. Proceedings of the 2nd Workshop on Machine Reading for Question Answering.
@inproceedings{ahmad2019reqa,
title = {{ReQA: An Evaluation for End-to-End Answer Retrieval Models}},
author = {Amin Ahmad, Noah Constant, Yinfei Yang and Daniel Cer},
booktitle = {Proceedings of the 2nd Workshop on Machine Reading for Question Answering},
year = {2019},
doi = {10.18653/v1/d19-5819},
url = {https://doi.org/10.18653/v1/d19-5819}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/ahmad-2019-reqa-evaluation-end-end-answer/