arXiv:2610.09724cs.IROct 2026

Manuscript Offprint

arXiv:2610.09724

Towards Explaining Query Expansion Performance in Information Retrieval

Sourav Saha, Aditya Dutta, Soumajit Pramanik, Mandar Mitra

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

SOURAV SAHA, Indian Statistical Institute, India

ADITYA DUTTA, IIT Bombay, India

SOUMAJIT PRAMANIK, IIT Bhilai, India

MANDAR MITRA, Indian Statistical Institute, India

Query Expansion (QE) techniques have long been widely used in Information Retrieval (IR) to address the vocabulary mismatch problem. They remain relevant in modern retrieval systems, including those based on large language models (LLMs). However, no single QE method consistently outperforms others across all queries. This work seeks to explain the variation in QE performance through two complementary perspectives. The first is the concept of an Ideal Expanded Query (IEQ)—a hypothetical query that maximizes retrieval effectiveness with a downstream BM25 retrieval model. The second is a separability perspective, which quantifies how distinctly relevant and non-relevant documents are scored for a given expanded query using Cohen's (d). We develop a separability measure and practical formulations to approximate the IEQ and investigate how these factors relate to retrieval effectiveness. Extensive experiments on the TREC Robust collection, TREC DL 2019–2022 passage collections, and TREC DL 2019–2020 document collections reveal several interesting patterns. In particular, we find that expanded queries that are closer to the ideal expanded query tend to achieve higher retrieval effectiveness. We further show that the separability of relevant and non-relevant documents provides a complementary perspective for understanding QE performance.

CCS Concepts: • Information systems → Information retrieval; Query reformulation.

Additional Key Words and Phrases: Explainable information retrieval, post-hoc interpretability, model debugging, query expansion

ACM Reference Format:

Sourav Saha, Aditya Dutta, Soumajit Pramanik, and Mandar Mitra. 2026. Towards Explaining Query Expansion Performance in Information Retrieval. 1, 1 (October 2026), 27 pages. https://doi.org/10.1145/nnnnnnn.nnnnnnn

1 Introduction

The primary motivation behind Query Expansion (QE) techniques is to address one of the fundamental problems in Information Retrieval (IR), namely the vocabulary mismatch problem, where searchers and authors of relevant content use different terms to refer to the same concept. The primary objective of QE is to enrich query representations by adding related terms in order to reduce the chances of vocabulary mismatch, and thereby improve retrieval effectiveness. Numerous successful automatic QE techniques have been proposed over the years [7]. Research on automatic QE remains popular even after the emergence of neural ranking methods, semantic search, and the use of large language models (LLMs) in IR [25].

Authors' Contact Information: Sourav Saha, Indian Statistical Institute, Kolkata, India, sourav.saha_r@isical.ac.in; Aditya Dutta, IIT Bombay, Bombay, India, aditya.dutta@iitb.ac.in; Soumajit Pramanik, IIT Bhilai, Chhattisgarh, India, soumajit.pramanik@gmail.com; Mandar Mitra, Indian Statistical Institute, Kolkata, India, mandar@isical.ac.in.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

Sourav Saha, Aditya Dutta, Soumajit Pramanik, and Mandar Mitra

Because QE methods generally yield significant improvements on average (across a set of queries), they are widely applied in IR. It is well-known, however, that in unsupervised settings, e.g., pseudo relevance feedback (PRF), these approaches exhibit highly variable performance across queries: for a non-trivial number of queries, automatic expansion results in degraded performance compared to the original query. Further, two QE methods that are about equally effective on average, may have very different performance characteristics across individual queries. This variability raises an important question: what makes one expanded query more effective than another? Prior work has largely focused on improving QE effectiveness, while relatively little attention has been paid to understanding the variations across QE methods and queries.

In this study, our goal is to propose a post hoc approach for analysing QE methods in order to better understand why QE methods behave differently for different queries. More precisely, we aim to uncover interpretable properties that can systematically account for variations in the effectiveness of a single method across queries, and of different QE methods on the same query. Our explanations are intended for IR researchers and practitioners, rather than for end users of IR systems. The proposed approach is specifically targeted at a researcher / developer who is trying to understand in intuitive terms why a QE method fails (or does well) on a particular query.

Traditional QE methods typically involve two components: (i) term selection – determining which terms should be added to the query, and (ii) term weighting – assigning numeric importance scores to the selected terms that are then used by a retrieval model to compute query-document similarity scores. Thus, an IR researcher may use the following hypothesis as a basis for analysing QE methods.

A QE method that performs well does so because it (i) selects good terms, and (ii) assigns appropriate weights to the terms. Conversely, a proposed QE algorithm that turns out to be ineffective is likely to have failed because (i) it fails to identify useful expansion terms for inclusion, and/or (ii) it assigns inappropriate weights to expansion terms.

We conceptualise ideal expanded queries as a means to jointly formalise the notion of “good” expansion terms, and “good” expansion weights. Given an information need, an ideal expanded query (IEQ) is a query vector that would yield (for a given retrieval model) perfect, or near perfect, Average Precision (AP). We then study how closely different expanded queries resemble this ideal, and how such similarity correlates with their observed retrieval performance.

Our notion of an ideal query is rooted in traditional scoring functions that are in turn based on keyword matching. At first glance, this may appear to be a weakness, since these models have mostly been superseded by neural retrieval models that use more sophisticated scoring functions that are better at capturing context-aware semantic matches. We emphasise, however, that this choice is valid: it is standard (indeed, recommended) practice to use traditional methods and models (that are generally better understood) to explain more complex ones. Thus, our approach is entirely consistent with an approach widely used in the explainability literature.

In addition to the IEQ perspective, we also consider another related perspective: we view retrieval as a discrimination problem between relevant and non-relevant documents. We hypothesise that an expanded query (EQ) performs well when it produces a strong statistical separation between their BM25 scores. While this relationship is intuitively obvious, we empirically investigate the extent to which separability is associated with retrieval effectiveness.

To summarise, this study examines the following research questions.

RQ1 - For a given query Q, consider different expanded versions Qexp(1),Qexp(2),…Q_{\text{exp}}^{(1)}, Q_{\text{exp}}^{(2)}, \ldots (such as those generated by different QE methods), and the ideal expanded query. For these EQs, how strongly does similarity to the IEQ correlate with retrieval effectiveness? On a related note, if an EQ is moved toward or away from the ideal query, how does its retrieval effectiveness vary?

RQ2 - How strongly does an EQ's ability to separate the scores of relevant and non-relevant documents correlate with its effectiveness?

RQ3 - Can similarity to the ideal query account for the variability of a QE technique across queries? Specifically, can it provide additional information when automatic QE techniques fail to improve retrieval effectiveness?

To the best of our knowledge, this work is the first to consider the performance of expanded queries from this perspective. We conducted extensive experiments on the Robust, TREC DL 2019, and TREC DL 2020 document collections, as well as the TREC DL 2019, 2020, 2021 and 2022 passage collections. The results suggest that all the questions above have positive answers.

We emphasise that our framework provides actionable explanations in the following sense. When a QE method M fails for a particular query Q, our framework helps a researcher to identify whether Q is generally hard for automatic QE approaches. Next, it helps to identify specific expansion terms that M fails to select, or assigns inappropriate weights to. This provides a concrete starting point for exploring how M's shortcomings may be addressed.

The remainder of this paper is organized as follows. Section 2 reviews related work. Section 3 presents our proposed framework for analyzing and explaining QE methods. Section 4 describes the experimental setup, Section 5 presents our experimental results, and Section 6 provides an analysis of our experimental findings. Finally, Section 7 discusses limitations and directions for future work. To aid reproducibility, we release our code and results to the community at https://github.com/souravsaha/py-qe-terrier.

References (18)