Pseudo-Relevance Feedback

Relevance feedback without a searcher. Assuming the top-ranked documents are relevant and expanding the query from them, the main methods from Croft and Harper to relevance models, an expansion traced term by term on three queries, experiments on Cranfield showing average gains and per-query losses, tuning on held-out queries, the round-by-round estimate of the Binary Independence Model's probabilities worked on query 185, query drift in detail, and when to apply it. Worked problems on expansion scores, average precision and reweighting.

Pseudo-relevance feedback assumes that the top $k$ results of a first retrieval are relevant, expands or reweights the query from them, and retrieves again. On all 225 Cranfield queries, adding 10 terms from BM25's top 10 documents at weight 0.5 raises MAP from 0.307 to 0.324 ($p = 0.021$), improving 128 queries and harming 91. Conservative settings, with fewer documents, fewer terms and a lower weight, work best. A setting tuned on 112 development queries gains 0.019 on the 113 held-out queries ($p = 0.060$). Failures come from query drift: query 134 falls from an average precision of 0.524 to 0.088 when its top documents are mostly nonrelevant. Neither the number of relevant documents in the initial top 10 nor any of several predictors tells reliably which queries will lose.

In the relevance feedback article, a searcher read the top ten results for Cranfield query 180, how does scale height vary with altitude in an atmosphere, and marked three of them relevant. From them the system learned words the searcher never typed: perigee, orbit, satellite, density. Searchers rarely do that much work. Could the system instead assume its own top results are relevant, and learn the same words from them?

Pseudo-relevance feedback, also called blind feedback, does that. It runs the query, assumes that the top $k$ results are relevant, applies a feedback method to them as if a searcher had judged them, and runs the revised query. When the initial ranking is good, the top documents are mostly relevant, and the terms drawn from them bring in relevant documents that use different words from the query. When the initial ranking is poor, the method learns from the wrong documents and makes the results worse. That tension defines the technique: a consistent average gain, with a substantial minority of failures.

Here is the route. First we survey the main methods. Then we trace one expansion on query 180, on a noisier query, and on the unit's running query 185. Next we measure it on all 225 Cranfield queries: who gains, who loses, and how to choose its settings fairly. Finally we take apart one failure, query drift, and ask when feedback should be applied at all.

Methods

Probabilistic feedback. Croft and Harper (1979) used the top-ranked documents to estimate the Binary Independence Model's probability $p_t$, which is unknown without judgments. The top $k$ documents stand in for the relevant set. The Robertson–Spärck Jones weight is computed from them, with $S = k$ and $s$ the number of the top $k$ that contain the term. A query term found in all of the top documents gains weight, and one found in few of them loses it. No new terms are added.

Term-based expansion. More commonly, candidate terms from the top $k$ documents are scored by how frequent they are in those documents, often multiplied by their IDF. The highest-scoring terms are added to the query with a reduced weight. Rocchio's formula is one instance, with the top $k$ documents as the relevant set and no nonrelevant set.

Local context analysis (Xu and Croft, 1996) chose expansion terms by how often they co-occurred with query terms in the top-ranked passages. Working with passages reduced the influence of off-topic parts of long documents.

Relevance models (Lavrenko and Croft, 2001) put pseudo-relevance feedback on a probabilistic footing within language modeling. They estimate a distribution over words for the relevant class, weighting each top document by how well it matches the query. The variant called RM3 (Abdul-Jaleel et al., 2004) interpolates the estimated relevance model with the original query. It became a standard strong baseline. Lin (2018) argued that neural ranking papers often reported gains over weak baselines. He compared a carefully tuned BM25 with RM3 against the results reported in two such papers on the same test collection. It was on par with the first paper's proposed model in average precision, and none of the neural models of the second came close to it.

The expansion used here, traced

The experiments below use the simplest method, term-based expansion on top of BM25, in four steps:

  1. Rank with BM25 ($k_1 = 1.2$, $b = 0.75$) and take the top $k$ documents.
  2. Score every term in those documents by $\sum_{d \in \text{top } k} \frac{\mathit{tf}_{t,d}}{L_d} \times \mathrm{IDF}(t)$: its frequency in each top document divided by the document's length $L_d$, summed, times its BM25 IDF. Dividing by length keeps one long document from dominating. Multiplying by IDF demotes words that are frequent everywhere.
  3. Take the $n$ highest-scoring terms that are not already in the query.
  4. Score documents with BM25 over the original terms plus the expansion terms. Each expansion term's contribution is multiplied by an expansion weight $w < 1$.

Throughout this section, $k = 10$, $n = 10$ and $w = 0.5$.

Query 180, without a searcher

BM25's top 10 for query 180 holds the same three relevant abstracts the searcher marked (616, 617 and 622) and seven nonrelevant ones. Pseudo-relevance feedback treats all ten as relevant. Its ten expansion terms, with their scores rounded to three decimals:

Expansion term Score In how many of the top 10 In how many of the 3 relevant
orbit 0.806 6 3
satellit 0.732 6 3
perige 0.659 6 3
h 0.649 4 2
densiti 0.428 7 3
air 0.419 6 3
eccentr 0.359 4 1
km 0.324 3 3
oblat 0.312 3 1
contract 0.281 3 0

Six of the ten, orbit, satellit, perige, densiti, air and km, are among the ten offer-weight terms that the searcher's judgments produced. Three of the seven nonrelevant abstracts (548, 613 and 614) help: they are a series on the contraction of satellite orbits under air drag, close in subject to the relevant ones. They also add eccentr, oblat and contract, which the relevant abstracts use less or not at all.

The four relevant abstracts outside the top 10 all move up: 621 from rank 30 to 8, 620 from 16 to 9, 1150 from 19 to 10, and 619 from 63 to 14. Average precision rises from 0.392 to 0.546. No searcher has seen anything, so the whole ranking counts and no residual collection is needed.

Query 2: a noisier expansion

Query 180 is a good case, since six of its top ten abstracts share one subject. For Cranfield query 2, "what are the structural and aeroelastic problems associated with flight of high speed aircraft", the top 10 documents contain 5 relevant ones. The highest-scoring terms in them are, rounded to three or four decimals:

Term In query $\sum \mathit{tf}/L$ IDF Score Top-10 documents containing it
aircraft yes 0.2236 2.975 0.665 8
aeroelast yes 0.1351 4.327 0.585 5
structur yes 0.1721 2.567 0.442 4
flight yes 0.1788 2.336 0.418 8
high yes 0.1585 1.779 0.282 6
aerodynam 0.1272 2.055 0.261 6
speed yes 0.1666 1.566 0.261 6
thermo 0.0426 5.992 0.255 1
dure 0.0721 3.323 0.240 3
model 0.1043 2.066 0.215 5
problem yes 0.1419 1.466 0.208 7
research 0.0647 3.176 0.206 4
plant 0.0329 5.741 0.189 1
angular 0.0323 5.741 0.185 1
airplan 0.0459 3.827 0.176 2
wing 0.0938 1.822 0.171 3
control 0.0537 3.126 0.168 5

The query's own terms dominate the top of the list, as they should, since BM25 retrieved the documents for containing them. Skipping those, the ten expansion terms are aerodynam, thermo, dure, model, research, plant, angular, airplan, wing, and control. Several are sensible. Others show the scoring's weak points:

  • thermo, plant, and angular each occur in only one of the ten documents. They qualify through a high IDF.
  • dure (from during) and research are generic words that happened to be frequent there.

With the expansion, the query's average precision rises from 0.223 to 0.249.

Example (a rule that looks sensible and does not help here). Requiring a term to occur in at least two of the top documents removes thermo, plant and angular, and lowers this query's average precision to 0.210, below the 0.223 it had with no expansion at all. The three places go to the next candidates that pass the rule: engin (in 2 of the ten documents, score 0.163), tunnel (in 3, score 0.158) and load (in 4, score 0.145). The single-document terms that looked like noise were doing less harm than the more widely shared words that replace them. This is one query, and the result is an observation about it, not a verdict on the rule.

Query 185: little room to improve

For the unit's running query, experimental studies on panel flutter, BM25 already puts six of the nine relevant abstracts in the top 10, for an average precision of 0.784 (see Okapi BM25).

Example (more relevant documents to learn from, and a small loss). Query 185 loses a little, falling to 0.764, although six of the ten documents that feedback learns from are relevant, more than for query 180 or query 2. Some expansion terms, such as buckl, width and length, occur in most of the relevant abstracts in the top 10. But the highest-scoring one, statu, comes largely from the nonrelevant abstract 864, "status of flutter of flat and curved panels", which uses it three times in 35 tokens. Dividing by length makes a short document's words count heavily. Piston comes from a single nonrelevant abstract on piston theory. The relevant abstracts trade places (858 rises from rank 5 to 1, 856 falls from 1 to 7), and two of the three below the top 10 drift down. A ranking that is already good has little to gain and something to lose.

An experiment on Cranfield

On the Cranfield collection, with the setup of comparing ranking models, the expansion was run with four settings. Results across all 225 queries:

Top $k$ Expansion terms Expansion weight MAP (baseline 0.307) Queries improved Queries harmed $p$
10 10 0.5 0.324 128 91 0.021
5 10 0.5 0.328 130 90 0.002
10 20 0.5 0.317 122 99 0.234
10 10 1.0 0.316 108 111 0.322

The $p$ values are from a paired randomization test against BM25 without feedback (see significance testing). Several patterns appear:

  • The average gain is real but modest. The first setting, chosen in advance, raised MAP from 0.307 to 0.324, significant at the 0.05 level. The best of the four, 0.328, was selected on the same queries it is reported on. So it slightly overstates what a tuned setting would achieve on new queries.
  • Many queries are harmed. In every setting, feedback hurt at least 90 of the 225 queries. The average conceals a large redistribution: many queries gain, many lose.
  • Conservative settings work better. Fewer feedback documents, fewer expansion terms, and a lower weight for the added terms gave the best results. With expansion terms weighted equally with the original query, feedback harmed more queries than it helped. The average gain was then no longer significant.
Left: the change in average precision for each of the 225 queries with the first setting (10 documents, 10 terms, weight 0.5), sorted. Notice that the 91 harmed queries (orange) nearly balance the 128 improved ones (blue), and the losses reach almost as far as the gains. Right: the same changes grouped by how many of the initial top 10 were relevant, with each group's mean as a bar. Queries with 3 or 4 relevant documents in their top 10 gain the most on average; with fewer, the mean gain is close to zero and the spread in both directions is wide.
Left: the change in average precision for each of the 225 queries with the first setting (10 documents, 10 terms, weight 0.5), sorted. Notice that the 91 harmed queries (orange) nearly balance the 128 improved ones (blue), and the losses reach almost as far as the gains. Right: the same changes grouped by how many of the initial top 10 were relevant, with each group's mean as a bar. Queries with 3 or 4 relevant documents in their top 10 gain the most on average; with fewer, the mean gain is close to zero and the spread in both directions is wide.

When the assumption holds

The figure's right panel tests the premise of the method directly.

Example (wrong examples that still help). On Cranfield, 18 of the 32 queries with no relevant document in their top 10 improve, although feedback gives them nothing but wrong examples. The full grouping:

Relevant in top 10 Queries Mean change in AP Improved Harmed
0 32 +0.004 18 14
1 50 +0.013 28 20
2 51 +0.003 22 25
3 44 +0.030 29 15
4 21 +0.051 16 5
5 or more 27 +0.025 15 12

The trend is there, but it is noisy. Queries with three or four relevant documents among the ten gain the most; query 180, with three, is one of them. Queries with none gain almost nothing on average (+0.004), yet more improve than not: a document that is not judged relevant can still be about the right subject and supply useful terms. Queries with five or more gain less than those with four, perhaps because their initial rankings leave less room to improve, as query 185's did. The connection between the initial ranking and the gain is real but too weak to predict an individual query's fate. Selective feedback, discussed below, runs into that difficulty.

The four settings above were all reported on the queries they were chosen on. The next section chooses a setting on one half of the queries and tests it on the other.

Tuning on held-out queries

To choose a setting fairly, the queries were split as in comparing ranking models into 112 development and 113 test queries. A grid of $k \in \{3, 5, 10, 20\}$, $n \in \{5, 10, 20, 30\}$, and $w \in \{0.25, 0.5, 1.0\}$ was evaluated on the development queries. The best setting, $k = 3$, $n = 10$, $w = 0.5$, raised their MAP from 0.316 to 0.354.

Example (half the gain survives). The tuned setting gained 0.038 on the development queries and about half of that, 0.019, on the test queries. There it raised MAP from 0.2974 to 0.3166, with 59 queries improved and 49 harmed ($p = 0.060$). The gain is 0.0191 before rounding. To three decimals the two MAP values are 0.297 and 0.317, which differ by 0.020; the 0.019 is the difference of the unrounded values. The first setting, chosen in advance, gave 0.306 on the same test queries, a gain of 0.008. So tuning more than doubles the gain on unseen queries here, but on 113 queries that gain is not quite significant.

MAP on all 225 queries for each number of feedback documents (rows) and expansion terms (columns), with expansion weight 0.5. Every cell beats BM25 alone (0.307) except three in the top row. Notice that row: with 20 feedback documents, adding more terms lowers MAP steadily, to 0.293 with 30 terms. The best cells use 3 to 5 documents.
MAP on all 225 queries for each number of feedback documents (rows) and expansion terms (columns), with expansion weight 0.5. Every cell beats BM25 alone (0.307) except three in the top row. Notice that row: with 20 feedback documents, adding more terms lowers MAP steadily, to 0.293 with 30 terms. The best cells use 3 to 5 documents.

The grid shows the same conservatism as the table. Using 20 feedback documents lets in documents ranked 11 to 20, which on Cranfield are more often nonrelevant than relevant. Every extra expansion term drawn from them makes the query worse.

Probabilistic feedback without expansion

Croft and Harper's method reweights the query's own terms, using the top $k$ as the relevant set, and adds nothing. It gives smaller gains:

  • With BM25 (the RSJ weight replacing BM25's IDF), MAP rose from 0.307 to 0.318 with $k = 5$ ($p = 0.024$) and to 0.315 with $k = 10$ ($p = 0.12$).
  • With the BIM, the setting it was designed for, MAP rose from 0.220 to 0.243 with $k = 10$ ($p < 0.001$), improving 137 queries and harming 75.

As with explicit feedback, reweighting alone helps, but adding terms helps more.

Estimating $p_t$ round by round

The runs above replace the weight in one step. The course text describes a gentler version that can be repeated (Manning, Raghavan, and Schütze, 2008, §11.3.4, eq. 11.25). Here is the idea in one sentence: treat the previous estimate of $p_t$ as a prior worth $\kappa$ imaginary documents, add the evidence of the current top $\lvert V \rvert$ documents, and rank again.

The formal version. Let $V$ be the set of top-ranked documents and $V_t$ those of them that contain term $t$. The update is

$$p_t^{(k+1)} = \frac{\lvert V_t \rvert + \kappa\, p_t^{(k)}}{\lvert V \rvert + \kappa},$$

where $p_t^{(k)}$ is the estimate after $k$ rounds and $\kappa$ is the weight of the prior. The estimate is a weighted average of the observed fraction $\lvert V_t \rvert / \lvert V \rvert$ and the previous estimate, with weights $\lvert V \rvert$ and $\kappa$. The course text suggests a value of around $\kappa = 5$. The run below starts from $p_t^{(0)} = 0.5$. As a simplification it keeps $u_t = \mathrm{df}_t / N$ fixed (the course text also re-estimates $u_t$ from the top documents, eq. 11.27), and ranks with the BIM weight $c_t = \ln \frac{p_t}{1 - p_t} + \ln \frac{1 - u_t}{u_t}$, taking $\lvert V \rvert = 10$.

For query 185 the first ranking, with every $p_t = 0.5$, puts panel and flutter in all ten top abstracts, experiment in six and studi in four. The same counts hold after each of the three further rounds the script runs, so the update can be followed term by term:

Term $\mathrm{df}_t$ $\lvert V_t \rvert$ $p_t^{(0)}$, $c_t$ $p_t^{(1)}$, $c_t$ $p_t^{(2)}$, $c_t$
panel 45 10 0.5, 3.405 0.8333, 5.014 0.9444, 6.238
flutter 56 10 0.5, 3.178 0.8333, 4.787 0.9444, 6.011
experiment 339 6 0.5, 1.141 0.5667, 1.409 0.5889, 1.500
studi 240 4 0.5, 1.576 0.4333, 1.307 0.4111, 1.216

For flutter, the first update is $\frac{10 + 5 \times 0.5}{10 + 5} = \frac{12.5}{15} = 0.8333$ and the second $\frac{10 + 5 \times 0.8333}{15} = 0.9444$. Its weight after one round is $\ln \frac{0.8333}{0.1667} + \ln \frac{1{,}344}{56} = 1.609 + 3.178 = 4.787$.

The ranking changes once. The nine relevant abstracts stand at ranks 1, 2, 6, 7, 8, 10, 11, 16 and 18 at the start, an average precision of 0.659, and at ranks 1, 2, 4, 5, 6, 10, 11, 16 and 18 after the first round, 0.736. The next two rounds leave the ranking as it is. That 0.736, at the same nine ranks, is what the BIM article reaches with full knowledge of the relevant set. On this query, estimating from the top ten did as well as estimating from the judgments.

The estimates keep moving although the ranking does not. With the top ten fixed, the update has the closed form $p_t^{(k)} = v + \left(p_t^{(0)} - v\right)\left(\frac{\kappa}{\lvert V \rvert + \kappa}\right)^{k}$ with $v = \lvert V_t \rvert / \lvert V \rvert$, which follows from subtracting $v$ from both sides of the update: $p_t^{(k+1)} - v = \frac{\kappa}{\lvert V \rvert + \kappa}\left(p_t^{(k)} - v\right)$. Each round closes two thirds of the remaining distance to the observed fraction. For panel and flutter that fraction is 1, where the weight is infinite, so their weights grow without bound as the rounds continue. The prior only slows this. Stopping after a round or two, as the course text's procedure does once the ranking has converged, is what keeps the weights finite.

Query drift

The failures have a common cause. If the top documents are not mostly relevant, the expansion terms come from whatever they are about, and the revised query moves toward that subject. This is query drift.

The worst case in the experiment was query 134, which asks "is it possible to correlate the results on the creep buckling of widely different structures within the framework of a single theory". It has two relevant documents. The initial BM25 ranking put one of them, document 1028 ("note on creep buckling of columns"), first, and the other at rank 42. That gives an average precision of $(1/1 + 2/42)/2 = 0.524$. The other nine documents of the top 10 were nonrelevant. Among them were:

  • four papers titled "principles of creep buckling weight-strength analysis" (one adding "of aircraft structures");
  • two other notes on the creep buckling of columns;
  • a unified theory of creep buckling under normal loads.

Pseudo-relevance feedback treated all ten as relevant. The expansion terms, and how many of the top 10 contain each:

Expansion term In how many of the top 10 In the relevant document 1028
column 8 yes
imperfect 3 no
principl 4 no
weight 4 no
hoop 1 no
strength 4 no
initi 4 no
load 5 no
analysi 5 no
transient 3 yes

Eight of the ten terms come only from nonrelevant documents. Several of them, principl, weight, strength, and analysi, are the vocabulary of the weight-strength analysis papers. The revised query retrieved more of those papers:

  • after feedback, the top 7 are all nonrelevant;
  • document 1028 falls to rank 8;
  • the second relevant document moves only from 42 to 39.

Average precision falls to $(1/8 + 2/39)/2 = 0.088$. The query has drifted from correlating creep buckling across structures toward the design of structures for weight and strength. That is a neighboring subject, and its top documents happened to share it. Its loss of 0.436 is the largest of the 225.

Even successful expansions carry noise, as the trace of query 2 above showed: about half of its expansion terms were generic or came from a single document. Feedback succeeds when the useful terms outweigh the noise. That is likelier when the top documents agree with one another and with the query.

The relevance feedback article's interactive plane shows the geometry. Mark the nonrelevant documents as relevant there, which is in effect what pseudo-relevance feedback does when its assumption fails. The query then turns toward them instead of away.

When to apply it

Pseudo-relevance feedback improves average effectiveness, but, as Cronen-Townsend, Zhou, and Croft (2004, Abstract) put it of query expansion, it "can greatly degrade the performance of some individual queries". So the ideal system would apply it selectively. A common premise is that it helps queries whose initial results are good and hurts those whose initial results are poor. Query performance prediction estimates, without judgments, how good a query's initial results are. One example is the clarity score of Cronen-Townsend, Zhou, and Croft (2002). It measures how different the language of the top documents is from the collection as a whole. Such predictions can decide whether to apply feedback or how strongly to weight it. On Cranfield, however, the change in average precision from the expansion used here showed no detectable association with the initial ranking's average precision, nor with any of several predictors, and gates built on them did not beat expanding every query; Query Performance Prediction reports the measurement.

In practice, predictions are noisy enough that many systems apply feedback uniformly with conservative settings, accepting some losses for the average gain. The Cranfield grouping above illustrates why. Even knowing the true number of relevant documents in the top 10, which no predictor does, separates the winners from the losers only weakly.

Pseudo-relevance feedback has a cost as well: a second retrieval with a query several times longer, which can take longer than the first retrieval did. In systems that rerank with neural models, its role has partly shifted. It may be used to expand queries before first-stage retrieval, where improving recall matters most. Or it may be replaced by learned query or document expansion. Learned sparse retrieval is one such replacement: a trained model adds weighted related terms to the query and to each document as it encodes them, with no first retrieval to go wrong, and the index stays an ordinary inverted index.

Worked problems

These problems are posed on the article's own traces of Cranfield queries 180 and 185; the course text's chapter 9 has no exercise on pseudo-relevance feedback. The script tools/experiments/cranfield/prf_detail.py checks every number.

Problem 1 (an expansion score by hand). In query 180's top ten, orbit occurs in six abstracts: 6 times in one of 220 tokens, once in one of 102, twice in one of 70, and 5 times each in abstracts of 166, 94 and 143 tokens. It occurs in 17 of the 1,400 abstracts. Compute its expansion score.

Solution. The summed length-normalized frequency is

$$\frac{6}{220} + \frac{1}{102} + \frac{2}{70} + \frac{5}{166} + \frac{5}{94} + \frac{5}{143} = 0.0273 + 0.0098 + 0.0286 + 0.0301 + 0.0532 + 0.0350 = 0.1839.$$

The IDF is $\ln\left(1 + \frac{1{,}400 - 17 + 0.5}{17 + 0.5}\right) = \ln(1 + 79.06) = 4.383$. The score is $0.1839 \times 4.383 = 0.806$, the first row of the table for query 180. The 94-token abstract contributes the most, 0.0532, although the 220-token one uses the word more often: dividing by length is what makes a short abstract's words count heavily.

Problem 2 (average precision before and after). Query 180 has seven relevant abstracts. BM25 ranks them at 2, 3, 4, 16, 19, 30 and 63. After pseudo-relevance feedback they stand at 2, 3, 6, 8, 9, 10 and 14. Compute the average precision of each ranking.

Solution. Average precision averages the precision at each relevant document's rank. Before:

$$\frac{1}{7}\left(\frac{1}{2} + \frac{2}{3} + \frac{3}{4} + \frac{4}{16} + \frac{5}{19} + \frac{6}{30} + \frac{7}{63}\right) = \frac{2.7409}{7} = 0.392.$$

After:

$$\frac{1}{7}\left(\frac{1}{2} + \frac{2}{3} + \frac{3}{6} + \frac{4}{8} + \frac{5}{9} + \frac{6}{10} + \frac{7}{14}\right) = \frac{3.8222}{7} = 0.546.$$

The three relevant abstracts that were already in the top ten did not gain as a group: abstract 617 fell from rank 3 to 6 and abstract 622 rose from 4 to 3, so the third term drops from $3/4$ to $3/6$. The whole gain comes from the four that were below rank 15 and are now at 8, 9, 10 and 14.

Problem 3 (Croft and Harper's reweighting of query 185). BM25's top ten for query 185 contains panel and flutter in all ten abstracts, experiment in six and studi in three. The document frequencies are 45, 56, 339 and 240, and $N = 1{,}400$. Treating the ten as the relevant set, compute the Robertson–Spärck Jones weight of each term and compare it with the term's BM25 IDF.

Solution. With $S = 10$, the weight is $\ln \frac{(s + 0.5)/(10 - s + 0.5)}{(\mathrm{df}_t - s + 0.5)/(1{,}400 - \mathrm{df}_t - 10 + s + 0.5)}$.

Term $s$ Relevant odds Nonrelevant odds Weight BM25 IDF
panel 10 $10.5/0.5 = 21$ $35.5/1{,}355.5 = 0.02619$ $\ln 801.8 = 6.687$ 3.427
flutter 10 $10.5/0.5 = 21$ $46.5/1{,}344.5 = 0.03459$ $\ln 607.2 = 6.409$ 3.211
experiment 6 $6.5/4.5 = 1.444$ $333.5/1{,}057.5 = 0.3154$ $\ln 4.580 = 1.522$ 1.417
studi 3 $3.5/7.5 = 0.4667$ $237.5/1{,}153.5 = 0.2059$ $\ln 2.267 = 0.818$ 1.762

The two terms found in every top abstract roughly double in weight, experiment barely moves, and studi loses more than half of its weight. Ranking with BM25 and these weights in place of the IDF raises the query's average precision from 0.784 to 0.825. On this query reweighting alone helped, where the term-based expansion traced earlier lowered average precision to 0.764.

Problem 4 (the update in closed form). In the round-by-round estimate with $\lvert V \rvert = 10$ and $\kappa = 5$, a term occurs in 6 of the top ten in every round and starts at $p_t^{(0)} = 0.5$. Find $p_t^{(1)}$, $p_t^{(2)}$ and the limit.

Solution. $p_t^{(1)} = \frac{6 + 5 \times 0.5}{15} = \frac{8.5}{15} = 0.5667$ and $p_t^{(2)} = \frac{6 + 5 \times 0.5667}{15} = \frac{8.8333}{15} = 0.5889$, the experiment row of the table. From the closed form, $p_t^{(k)} = 0.6 - 0.1 \times (1/3)^k$, which gives $0.6 - 0.0333 = 0.5667$ and $0.6 - 0.0111 = 0.5889$ again, and tends to 0.6, the observed fraction $6/10$. The prior is forgotten geometrically: after three rounds the estimate is within 0.004 of the fraction.

What we have learned

Assuming the top results are relevant lets feedback run without a searcher. On query 180 it recovered six of the searcher's ten expansion terms and raised average precision from 0.392 to 0.546. Over all of Cranfield, conservative settings raised BM25's MAP from 0.307 to 0.324, while harming 91 queries. Query 185, already near its best, lost a little under expansion and gained under reweighting alone; query 134 drifted toward its nonrelevant neighbors.

Feedback of either kind learns new words only after a first retrieval, from documents the query happened to find. Query expansion covers the methods that know in advance which words go together and add them before the query runs. It also returns to pseudo-relevance feedback in the language modeling framework.

References

  • Abdul-Jaleel, N., Allan, J., Croft, W. B., Diaz, F., Larkey, L., Li, X., Smucker, M. D., and Wade, C. (2004). UMass at TREC 2004: Novelty and HARD. In Proceedings of TREC 2004. record · 2 pages
  • Croft, W. B., and Harper, D. J. (1979). Using probabilistic models of document retrieval without relevance information. Journal of Documentation, 35(4), 285–295. record · 2 pages
  • Cronen-Townsend, S., Zhou, Y., and Croft, W. B. (2002). Predicting query performance. In Proceedings of SIGIR 2002, 299–306. record · 3 pages
  • Cronen-Townsend, S., Zhou, Y., and Croft, W. B. (2004). A framework for selective query expansion. In Proceedings of CIKM 2004, 236–237. record · 2 pages
  • Lavrenko, V., and Croft, W. B. (2001). Relevance-based language models. In Proceedings of SIGIR 2001, 120–127. record · 3 pages
  • Lin, J. (2018). The neural hype and comparisons against weak baselines. SIGIR Forum, 52(2), 40–51. record
  • Manning, C. D., Raghavan, P., and Schütze, H. (2008). Introduction to Information Retrieval, chapter 11. Cambridge University Press. record · 102 pages
  • Xu, J., and Croft, W. B. (1996). Query expansion using local and global document analysis. In Proceedings of SIGIR 1996, 4–11. record · 2 pages

Reviewed: verified, 16 Nov 2026 · checked against sources, 23 Nov 2026 · citations checked, 16 Nov 2026 · editorial review, 23 Nov 2026 · 13 revisions