Familiarity-Matched Fusion: Label-Free Tuning of Hybrid Feedback Retrieval Under Contamination

Modern search pipelines often mix two kinds of scores. One is a lexical score such as BM25, which counts word overlap between query and document. The other is a dense score, the similarity of neural embeddings. Many pipelines also add pseudo-relevance feedback: the system assumes its top results are relevant and uses them to rewrite the query for a second pass. The weight that mixes the two scores, and how strongly the feedback documents pull on the query, are usually set by grid search on public labeled benchmarks such as MS MARCO and TREC Deep Learning. We argue those benchmarks give a biased answer. Evidence that dense retrievers draw on pretraining memory rather than on the corpus suggests that part of the dense score on public data reflects memorized associations. If so, the weight tuned on familiar data over-trusts the dense side wherever that memory is absent: private corpora, new documents, or unfamiliar entities.

We propose to measure this bias directly and to correct it without relevance labels. The correction adapts an old information-retrieval idea. Two decades ago, document-length normalization was tuned without labels by sweeping the parameter until a corpus statistic hit a target value. That statistic was the correlation between normalized term frequency and document length, a nuisance variable that inflates raw counts. Our nuisance variable is a document's familiarity to the pretrained encoder. We sweep the mixing weight until the correlation between the fused score and familiarity matches a constant learned once on decontaminated labeled data. In two sentences: public benchmarks may teach hybrid feedback systems to over-weight memorized knowledge. We test this with counterfactual corpora and propose a label-free tuning rule that sets the weight on any new corpus by matching a familiarity-correlation target.

Core Claim

We make two claims, and the first stands even if the second fails. First, the oracle sparse–dense interpolation weight in a feedback pipeline should shift toward the lexical side when parametric memory is removed while relevance structure is held fixed. A shift of that kind would show that grid-searched weights on public benchmarks are partly fitted to memorization. Second, the correlation between fused score and document familiarity at the oracle weight should be roughly constant across collections, even though the oracle weight itself moves. That would make it a usable label-free tuning target, in the same way the length correlation was for BM25.

The method is borrowed from On setting the hyper-parameters of term frequency normalization for information retrieval and Term Frequency Normalisation Tuning for BM25 and DFR Models. Those papers learn a target correlation between normalized term frequency and length on one labeled collection, then sweep the length parameter on unlabeled collections until the target is met. The reported average gap to exhaustive search is 0.14% MAP for BM25 on short queries. Two findings from that line constrain our design. The ideal correlation was not zero but slightly negative, so we learn a target constant rather than assume independence. The invariant also survived Bo1 query expansion, which suggests correlation targets can coexist with feedback. Those papers only ever tuned length parameters. They never tuned feedback or fusion weights, and they never considered neural components.

The motivation comes from three results. To Interpolate or not to Interpolate: PRF, Dense and Sparse Retrievers shows that interpolating sparse and dense scores both when selecting feedback documents and in final scoring ("Both-PRF") works best. That paper sets its weights by grid search and names automatic setting as open. Retrieval-Augmented Generation: Is Dense Passage Retrieval Retrieving? finds that deleting a fact from the base model leaves 81–100% of the corresponding passages unretrievable by the dense retriever. Snoopy shows that downstream accuracy tracks pretraining term frequency. Together these make "familiarity" a plausible nuisance variable for dense scores.

Research Program

The method has three parts: a familiarity score, a sweep, and a target. The familiarity score $f(d)$ for each document is the dense encoder backbone's length-normalized masked-language-model pseudo-log-likelihood. As a second variant, we use the Snoopy-style mean log pretraining frequency of the document's entities, counted on The Pile.

For a candidate weight $\alpha$, the fused score is $s_\alpha(q,d) = \alpha\,\hat s_{dense}(q,d) + (1-\alpha)\,\hat s_{sparse}(q,d)$. The hats denote per-query normalized scores. The weight $\alpha$ is applied both when choosing feedback documents and in final scoring, following the Both-PRF setup. We then define

$$\bar\rho(\alpha) = \frac{1}{|Q|}\sum_{q\in Q}\mathrm{Spearman}_{d\in D_N(q)}\big(s_\alpha(q,d),\,f(d)\big), \qquad \hat\alpha = \arg\min_\alpha |\bar\rho(\alpha) - \rho^*|,$$

where $Q$ is a set of unlabeled queries on the target collection, $D_N(q)$ is the top-$N$ fused candidate set, and $\rho^*$ is the value of $\bar\rho$ at the oracle weight on a labeled calibration collection. The same rule is applied separately to the dense Rocchio feedback weight, which controls how far the query embedding moves toward the feedback centroid. Feedback depth $k$ is treated as a later extension.

The program needs a decontaminated testbed in which relevance is known but memory is broken. We build counterfactual corpora by consistent entity substitution. Every named entity in the queries, passages, and judged documents is replaced by a fictional name, using one consistent mapping per collection. Relevance labels and lexical overlap are preserved, but any association the encoder learned in pretraining is cut. This does to the data what the model-editing interventions in Retrieval-Augmented Generation: Is Dense Passage Retrieval Retrieving? did to the weights. The same goal of breaking static memorization motivates DyVal, which generates fresh reasoning tasks, and Recall Residualisation, where apparent correlations of 0.93 fell to 0.17 or lower once recall was regressed out. That study's linear residualization is not transferable to ranking. Paired corpora give a cleaner contrast.

The target $\rho^*$ is calibrated on a counterfactual MS MARCO dev subset, so the constant is never learned on memorized data. Swapping names can change term statistics, so BM25 effectiveness on each original/counterfactual pair is reported as a control. A sparse model that degrades noticeably would mean the substitution changed more than memory.

Baselines

The naive reference point is a fixed weight of 0.5 on normalized scores, applied in both stages, with default BM25 parameters as in BEIR. Any tuning method must clear it on unfamiliar corpora to justify itself.

The strongest existing method is grid-searched Both-PRF from To Interpolate or not to Interpolate, run as practitioners run it. The weights are grid-searched on MS MARCO/DL labels and transferred unchanged to every target collection. The reported number to reproduce is MAP 0.4858 on DL19 for uniCOIL+DistilBERT Both-PRF, against 0.4590 for dense only. We reproduce this before any comparison, with the same first-stage runs, the same candidate depth, and the same weight grid for every method. Our method gets no labels on the target collection, and its single calibration collection also carries no extra queries. We count it as beating the transferred grid search if it significantly exceeds it, by paired t-test over queries, on the counterfactual collections and on BEIR datasets. On those same collections it should also land within roughly 1% relative of the per-collection oracle.

The parameter-free rival is reciprocal rank fusion. It needs no weight at all, and no reported result was found on Lacuna for it in this setting. We use the same runs and the same constant from common practice.

The feedback-model reference is ANCE-PRF from Improving Query Representations for Dense Retrieval with Pseudo Relevance Feedback, which reports +7.6% NDCG@10 on DL20 and +9.3% on DL-HARD. It shows how far a trained feedback encoder degrades on counterfactual data compared with a tuned fusion.

Two ablations isolate the key ingredient. The first swaps the familiarity statistic for a statistic with no link to memory: either the classic length correlation applied to fused scores, or the sparse–dense rank agreement within the top-$N$. The second fixes $\rho^*=0$ instead of learning it, which repeats the zero-correlation test from the length-normalization literature.

Why not just…?

Why not just use reciprocal rank fusion and skip the weight? This is the most serious threat. If reciprocal rank fusion matches the oracle on counterfactual corpora, the tuning rule adds nothing, and the contribution shrinks to the diagnostic in Claim 1. Rank fusion does fix the effective balance of the two retrievers at equal. If Claim 1 holds and the oracle moves toward the lexical side without memory, a fixed balance should lose there. The paired experiment settles this directly, and we will report it whichever way it falls.

Why not just grid-search on a few labeled queries per collection? Where labels exist, this is the ceiling we compare against, not a competitor we must beat. The setting we target is the one where label-free tuning matters: private or new corpora with no judgments. In the length-normalization work, correlation matching came within 0.14% of exhaustive search without target labels. We will also report how many labeled target queries grid search needs before it overtakes the invariant rule.

Why not just evaluate zero-shot on BEIR? BEIR exposes domain shift but does not remove memorization. Its corpora are public web text, and per the dense-retrieval probing results the encoder may already know them. Only the paired counterfactual corpora separate "out of domain" from "unfamiliar to the encoder." We run both, and expect the oracle shift to be larger on counterfactual pairs than on BEIR.

Why not just reuse the length-correlation invariant for fusion? It appears as an ablation. If it tracks the oracle weight as well as familiarity does, the memory story is unnecessary, and we would say so.

Proposed Experiments

Retrievers and pipelines. We use BM25 and uniCOIL as sparse retrievers and ANCE, TCTv2 and DistilBERT as dense retrievers, combined in Both-PRF and Post-PRF configurations with dense Rocchio feedback.

Collections. Original collections are MS MARCO dev, TREC DL19, DL20 and DL-HARD, plus the BEIR collections TREC-COVID, SciFact, NFCorpus, FEVER and NQ. We build entity-substituted twins of NQ, DL19/20 and SciFact.

Metrics. We report NDCG@10, MAP and Recall@1000, and the distance from each method to the per-collection oracle.

First decisive check: does the oracle weight move? We compare the oracle weight on each original/counterfactual pair. The prediction is a consistent move toward the lexical side, with BM25 effectiveness nearly unchanged by the substitution.

Second decisive check: is the invariant stable? Across all collections, the spread of $\bar\rho$ at the oracle weight should be small relative to the spread of the oracle weight itself. This is the same stability test that justified length-correlation tuning. The test fails if the oracle correlations scatter as widely as the oracle weights do.

Third decisive check: does the rule beat the alternatives where it matters? On counterfactual and BEIR collections, the familiarity-matched weight should beat both the transferred grid search and reciprocal rank fusion. On original public benchmarks we expect it may score below grid search, because there the grid search is fitted partly to memory. Read alongside the first two checks, that gap measures how much of the published hybrid-feedback gain depends on what the encoder already knows.