QUEST: A Retrieval Dataset of Entity-Seeking Queries with Implicit Set Operations

Chaitanya Malaviya, Peter Shaw, Ming-Wei Chang, Kenton Lee, Kristina Toutanova

Abstract

Formulating selective information needs results in queries that implicitly specify set operations, such as intersection, union, and difference. For instance, one might search for "shorebirds that are not sandpipers" or "science-fiction films shot in England." To study the ability of retrieval systems to meet such information needs, we construct QUEST, a dataset of 3,357 natural language queries with implicit set operations that map to a set of entities corresponding to Wikipedia documents. The dataset challenges models to match multiple constraints mentioned in queries with corresponding evidence in documents and correctly perform various set operations. The dataset is constructed semi-automatically using Wikipedia category names, which are automatically composed, paraphrased by crowdworkers, and validated for naturalness. We analyze several modern retrieval systems, finding that they often struggle on such queries. Queries involving negation and conjunction are particularly challenging, and systems are further challenged with combinations of these operations.

Introduction

When users search for information, they rarely limit themselves to single-concept queries. Instead, they often express complex information needs that involve multiple constraints: "historical fiction novels set in France" (an intersection of categories) or "shorebirds that are not sandpipers" (a set difference). While humans navigate these logical "set operations" intuitively, modern information retrieval (IR) systems are primarily evaluated on their ability to find single relevant documents for simple queries.

Existing benchmarks like MSMarco or Natural Questions have advanced the field of dense retrieval, but they do not focus on retrieving an exhaustive list of entities that meet multiple logical criteria. Conversely, Knowledge Base Question Answering (KBQA) systems can handle complex logic but are restricted to structured databases, which are often incomplete or expensive to maintain. QUEST bridges this gap by introducing a "reasoning-through-retrieval" task, requiring models to perform logical operations directly on unstructured text documents from Wikipedia.

The QUEST Dataset

QUEST consists of 3,357 queries paired with sets of up to 20 corresponding entities across four primary domains: Films, Books, Plants, and Animals. The associated corpus includes 325,505 Wikipedia documents.

Dataset Construction

The researchers developed a semi-automatic pipeline to ensure both logical rigor and natural language fluency:

  1. Query Generation: Wikipedia category names (e.g., "Birds of the Venezuelan Andes") served as "atomic" building blocks. These were combined using logical templates: Intersection ($A \cap B$), Union ($A \cup B$), and Difference ($A \setminus B$).
  2. Human-in-the-loop Refinement: To move beyond rigid templates, crowdworkers paraphrased the raw logical strings into natural, conversational English.
  3. Validation: A separate group of workers verified that these paraphrases remained faithful to the original logical intent while maintaining high fluency.
  4. Relevance & Attribution: For a subset of the data, workers highlighted specific spans of text within Wikipedia documents that served as evidence for an entity meeting the query's constraints.

Experimental Evaluation

The authors established baselines using three common retrieval architectures:

  • BM25: A traditional lexical, keyword-based retriever.
  • Dual Encoders (T5-based): A dense retrieval model that maps queries and documents into a shared vector space.
  • Cross-Attention Classifiers: A computationally intensive model that performs deep interaction between query and document text to predict relevance.

Key Results

The performance of state-of-the-art models on QUEST is surprisingly low, revealing a significant gap in current IR capabilities. The best-performing system—a T5-Large Dual Encoder paired with a T5-Large Cross-Attention classifier—achieved an average F1 score of only 0.192.

Furthermore, a significant "retrieval bottleneck" exists. Even the best retriever only managed to include the full set of correct entities in its top 1000 candidates roughly 40% of the time (Measured by MRecall@1000).

Operation Difficulty (F1 Score)
Union ($A \cup B$) 0.282 (Easiest)
Difference ($A \setminus B$) 0.193
Intersection ($A \cap B$) 0.092 (Hardest)

Analysis of Logical Failures

The study identified several recurring failure modes in modern retrieval models:

The "Intersection as Union" Fallacy

Models frequently treat "A and B" as "A or B." For a query like "Italian crime films from the 1970s," a model might retrieve any Italian crime film, effectively ignoring the specific temporal constraint. This suggests that dense retrievers often prioritize general topical similarity over strict logical conjunction.

Negation Blind Spots

Negation remains a major hurdle. In queries involving set difference ($A \setminus B$), systems often retrieved entities belonging to the excluded category $B$. The models appear to focus on the keywords within the excluded category rather than the linguistic markers of negation (e.g., "but not," "excluding").

Text vs. Structure

Unlike KBQA, where logic is executed against a clean database, QUEST requires finding evidence within messy, unstructured text. The relationship between a category name and the document text is often subtle, requiring deep natural language inference rather than simple pattern matching.

The Challenge of Exhaustive Retrieval

Most IR tasks are evaluated on whether the "top 1" or "top 10" results are relevant. QUEST, however, requires finding all relevant entities (up to 20). This higher bar for success exposes the limitations of current models in identifying the full scope of a defined set.

Conclusion and Future Work

QUEST demonstrates that even the most advanced retrieval systems struggle with implicit set operations in natural language. The dataset highlights that current models lack the necessary inductive biases to handle negation and conjunction effectively in an unstructured retrieval context.

Future research should focus on developing models that can aggregate evidence across multiple documents more effectively and building architectures that naturally respect logical constraints. Addressing the retrieval bottleneck—ensuring all relevant entities are captured in the initial candidate set—remains a critical priority for making complex entity-seeking search a reality.

Summary updated

Abstract

Formulating selective information needs results in queries that implicitly specify set operations, such as intersection, union, and difference. For instance, one might search for "shorebirds that are not sandpipers" or "science-fiction films shot in England". To study the ability of retrieval systems to meet such information needs, we construct QUEST, a dataset of 3357 natural language queries with implicit set operations, that map to a set of entities corresponding to Wikipedia documents. The dataset challenges models to match multiple constraints mentioned in queries with corresponding evidence in documents and correctly perform various set operations. The dataset is constructed semi-automatically using Wikipedia category names. Queries are automatically composed from individual categories, then paraphrased and further validated for naturalness and fluency by crowdworkers. Crowdworkers also assess the relevance of entities based on their documents and highlight attribution of query constraints to spans of document text. We analyze several modern retrieval systems, finding that they often struggle on such queries. Queries involving negation and conjunction are particularly challenging and systems are further challenged with combinations of these operations.
BibTeX
@inproceedings{malaviya2023quest,
  author = {Chaitanya Malaviya and Peter Shaw and Ming-Wei Chang and Kenton Lee and Kristina Toutanova},
  title = {{QUEST: A Retrieval Dataset of Entity-Seeking Queries with Implicit Set Operations}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  url = {https://openreview.net/forum?id=UezVaK0BRe},
}
Figure