- Introduced by
- Gerard Salton & Chris Buckley (building on J. J. Rocchio)
- Year
- 1990
- Type
- Evaluation pipeline for relevance-feedback query reformulation
- Family
- Information retrieval evaluation
What does it do?
Relevance feedback evaluation measures how much a retrieval system improves when it reformulates a query using user judgments on the first results.
The vector-space model behind the technique is commonly associated with J. J. Rocchio, in which documents marked relevant pull the query vector toward themselves and documents marked non-relevant push it away. Salton and Buckley's 1990 paper reviewed the principal feedback methods and presented evaluation data on their effectiveness, and the central methodological problem is fairness: because the user has already seen some documents, re-scoring the whole collection rewards the system for re-finding them. Residual-collection and frozen-rank designs, which are standard in the feedback evaluation literature, address this by measuring improvement only on documents the user has not yet seen.
The intuition behind the method
Suppose you search, glance at the first ten results, and tell the system 'these three are what I want, those two are not.' A smart system should use that to refine the query — lean toward the words and concepts in the good documents and away from the bad ones — and then show you better results. Rocchio's idea makes this concrete by nudging the query in vector space toward the relevant examples and away from the non-relevant ones. The trick when grading such a system is that it would look fantastic if we simply re-ran the search and let it put the three documents you already liked back at the top: that is no help to you, since you have already seen them. Honest evaluation therefore hides the documents the user has already judged and asks only whether the new query surfaces additional good documents from the rest of the collection. That is the heart of relevance feedback evaluation.
History
Relevance feedback had been introduced more than twenty years before Salton and Buckley's 1990 paper, 'Improving retrieval performance by relevance feedback', which reviewed the principal feedback methods, presented evaluation data on their effectiveness, and gave prescriptions for conducting iterative retrieval with feedback. The vector-space reformulation used on this page is commonly associated with J. J. Rocchio's earlier work. Later shared-task evaluations such as TREC supplied large common test collections on which feedback methods could be compared, a setting documented in Voorhees and Harman's volume on TREC.
When to use it
Use relevance feedback evaluation whenever you are assessing a system that revises a query from user judgments — classic Rocchio feedback, pseudo-relevance feedback, or interactive learning-to-rank — and you need the measured improvement to be credible rather than inflated. It is appropriate when you have a test collection with relevance judgments and can define a clear feedback protocol (how many documents are shown, how relevance is marked). The residual-collection and frozen-rank designs are essential whenever the user has seen documents before the second retrieval. The approach is less relevant for purely one-shot retrieval with no reformulation, and for pseudo-relevance feedback (where no human marks documents) the fairness concern is weaker, though consistent residual or held-out evaluation is still good practice.
Limitations and considerations
- Automatic experiments simulate user judgments from qrels; this is a reproducible proxy, and it may not reflect how real users actually mark relevance.
- Residual-collection scores are not directly comparable to ordinary full-collection scores, which complicates cross-study comparison.
- Measured gains depend heavily on the feedback protocol, including the number of documents shown and the weighting parameters, so results are specific to the protocol used.
- The gamma term subtracts the centroid of non-relevant documents. Its benefit depends on the chosen weight and is not guaranteed; in some settings it adds noise rather than useful information.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Isolates the genuine benefit of feedback by removing already-seen documents, preventing the inflated scores that naive re-ranking produces.
- Builds directly on the well-understood Rocchio vector-space model, giving an interpretable, tunable account of how feedback reshapes a query.
- Integrates cleanly with the Cranfield paradigm and test collections, so feedback gains are reproducible and comparable across systems.
- Generalizes naturally to pseudo-relevance feedback and to interactive and learning-based reformulation, providing a common evaluation template.
Applications
- Evaluating Rocchio and other vector-space relevance-feedback algorithms on standard test collections.
- Assessing pseudo-relevance (blind) feedback that treats top initial results as relevant.
- Studying the effect of feedback parameters, such as document counts, weighting, and expansion terms, on retrieval gain.
- Benchmarking interactive retrieval and online learning-to-rank systems that update from user signals.
- Comparing feedback strategies in TREC-style shared-task evaluations.
How it works
How it works
The pipeline begins with an ordinary first-pass retrieval: the original query is run against the collection and a ranked list is returned. This initial ranking provides the baseline against which any feedback gain is judged and the set of documents the user will inspect and judge. Everything downstream is defined relative to this first list, so it must be produced by the same underlying retrieval model that feedback will later modify.
Formula
L_0(q)=\mathrm{rank}\bigl(\mathrm{sim}(\vec{q}_0,\vec{d})\bigr),\qquad \vec{q}_0=\text{initial query vector}From the top of the initial ranking, the user (or a simulated user in an experiment) marks some documents relevant and some non-relevant, producing the feedback sets D_r and D_nr. In automatic experiments these marks are taken from the test collection's relevance judgments (qrels) rather than a live person. This simulation is a reproducible proxy for user judgment: it keeps experiments repeatable, but the gains it yields may differ from those obtained with real users. The protocol that defines how many documents are shown and judged is an experimental choice, and it shapes the gain that is measured.
Formula
D_r=\{d:\text{user marks relevant}\},\quad D_{nr}=\{d:\text{user marks non-relevant}\}The system then reformulates the query. In the Rocchio model the modified query vector is a weighted combination of the original query, the centroid of the relevant documents (added), and the centroid of the non-relevant documents (subtracted), with the weights alpha, beta, and gamma controlling how strongly each term acts. The weights are free parameters that must be set or tuned for each experiment. The reformulated query thus encodes the user's expressed preferences as a new point in the term space.
Formula
\vec{q}_m=\alpha\,\vec{q}_0+\beta\frac{1}{|D_r|}\!\sum_{d\in D_r}\!\vec{d}-\gamma\frac{1}{|D_{nr}|}\!\sum_{d\in D_{nr}}\!\vec{d}The reformulated query is re-run, and effectiveness is measured on the residual collection: the documents the user has already seen and judged are removed before scoring. Equivalently, a frozen-rank protocol holds the already-seen documents in place and evaluates only the movement of unseen documents. Either way, the system gets no credit for re-ranking documents the user already inspected, so the measured number reflects new value rather than the return of known relevant documents to the top.
Formula
\text{eval on } D\setminus D_{seen},\qquad L_m=\mathrm{rank}\bigl(\mathrm{sim}(\vec{q}_m,\vec{d})\bigr),\ d\in D\setminus D_{seen}The feedback gain is the difference in mean average precision (MAP) between the reformulated run and the original run. For this difference to be interpreted as a fair measure, both runs must be scored over the same residual set: the original ranking is re-scored after the same already-seen documents are removed, so that neither run benefits from documents the user has already judged. Averaging this difference across many topics gives a more stable estimate of how much feedback helps. Comparing gains across feedback variants (different weights, numbers of feedback documents, or expansion strategies) is how the method's parameters are studied.
Formula
\Delta\text{MAP}=\text{MAP}(L_m)-\text{MAP}(L_0)\ \text{(on the residual collection)}Common pitfalls
- Scoring the reformulated query on the full collection, so the system is rewarded for re-finding documents the user already judged.
- Comparing residual-collection numbers against full-collection baselines as if they were on the same scale.
- Tuning Rocchio weights on the same topics used to report gains, overfitting the feedback parameters.
- Confusing genuine relevance feedback (human judgments) with pseudo-relevance feedback (assumed-relevant top documents) when interpreting results.
Frequently asked questions
Why must already-seen documents be removed before evaluating feedback?
Relevance feedback is built from documents the user has already inspected and judged. If those documents stay in the collection during the second evaluation, the reformulated query will naturally rank the known relevant ones near the top, producing a large apparent improvement that gives the user nothing new, since they have already seen those documents. Residual-collection evaluation removes the seen documents, and frozen-rank evaluation holds them in place, so that the measured gain reflects only newly surfaced relevant documents.
How does Rocchio's formula actually change the query?
It moves the query vector. The modified query is a weighted sum of the original query, the centroid (average vector) of the documents marked relevant, and the negated centroid of those marked non-relevant, with weights alpha, beta, and gamma. Adding the relevant centroid pulls the query toward terms common in relevant documents; subtracting the non-relevant centroid pushes it away from terms common in non-relevant ones. The best relative size of the three weights is an empirical question, so the values should be tuned on held-out topics rather than assumed.
Is pseudo-relevance feedback evaluated the same way?
Largely, with one difference. Pseudo-relevance (blind) feedback assumes the top initial documents are relevant without any human judgment, then reformulates as if they were marked relevant. Since no user inspected those documents, the fairness motivation for removing seen documents is weaker, but evaluation against the real relevance judgments is still used so that the measured gain is genuine and comparable. The Rocchio-style reformulation and the MAP comparison are the same; only the source of the relevant set changes.
Related methods
Sources
Salton, G., & Buckley, C. (1990). Improving retrieval performance by relevance feedback. Journal of the American Society for Information Science, 41(4), 288-297.
Open DOI referenceManning, C. D., Raghavan, P., & Schütze, H. (2008). Introduction to Information Retrieval. Cambridge University Press.
ISBN: 9780521865715Voorhees, E. M., & Harman, D. K. (Eds.). (2005). TREC: Experiment and Evaluation in Information Retrieval. MIT Press.
ISBN: 9780262220736