---
title: 'Retrieval Bias: Concepts & Implications'
url: https://www.emergentmind.com/topics/retrieval-bias
type: topic
---

# Retrieval Bias: Concepts & Implications

Retrieval bias denotes systematic departures between relevance and what a retrieval system actually makes accessible, visible, or selected. In the literature, the term covers several related phenomena: corpus-wide inequality in accessibility measured by retrievability; disproportionate representation of social groups in ranked results; preferential treatment of particular sources, languages, or modalities; and position- or history-dependent preferences in retrieval-augmented generation and large language models. A common thread is that retrieval outcomes change in structured ways under variations that should not, by themselves, determine relevance: document type, demographic markers, source provenance, temporal position, or the order of knowledge updates [2205.00937] [2503.15454] [2310.20501] [2510.22752].

## 1. Conceptual scope

The retrievability tradition defines retrieval bias as inequality in “how easily the information within the collection can be accessed with a given retrieval model.” In this view, bias is a property of the system–collection interaction: ranking function, indexing, and rank cut-off determine which items repeatedly enter retrievable positions, and unequal distributions of retrievability across documents indicate that the system itself induces unequal access [2205.00937].

A second line of work frames retrieval bias around protected or sensitive attributes. In gender representation studies, retrieval bias is the systematic, disproportionate representation of certain social groups in returned content for neutral information needs, distinct from exposure bias, selection bias, and ranking bias. In medical RAG, retrieval bias arises when clinically equivalent questions that differ only in race or gender yield systematically different retrieved evidence sets. In multilingual retrieval, bias appears when certain languages receive better ranking outcomes than others despite semantically equivalent topics. In cross-modal retrieval, it appears as prevalence bias toward high-resource languages and association bias toward culturally proximate images [2201.07754] [2503.15454] [2311.01870] [2510.26861].

Recent work also extends the concept beyond classical IR into LLM behavior. In dense and neural retrieval, source bias is the tendency to favor LLM-generated text over semantically equivalent human-written text. In long-context LLMs, retrieval bias can mean preferential recovery of earlier rather than current information under repeated updates, or preferential recovery of items near the beginning or end of context rather than the middle. This suggests that retrieval bias is no longer only a property of external search engines; it is also a property of internal retrieval dynamics in sequence models [2310.20501] [2603.12271] [2510.22752].

## 2. Formalization and measurement

A canonical measure is document retrievability. With collection \(C\), query set \(\mathsf{Q}\), rank \(k(d,q)\), cut-off \(c\), and query weight \(w_q\), retrievability is

$$
r(d) = \sum_{q \in \mathsf{Q}} w_q \cdot f(k(d,q), c)
$$

with

$$
f(k(d,q), c) =
\begin{cases}
1, & \text{if } k(d,q) \leq c \\
0, & \text{otherwise.}
\end{cases}
$$

Under uniform \(w_q\), \(r(d)\) is the count of queries for which \(d\) appears within the top-\(c\) results. Inequality in the resulting \(r(d)\) distribution is summarized with Lorenz curves and the discrete Gini coefficient

$$
G = \frac{\sum_{i=1}^{N} \big(2i - N - 1\big)\, v(i)}{N \sum_{j=1}^{N} v(j)},
$$

where \(v(i)\) is the sorted retrievability value. Higher \(G\) means stronger concentration of access among fewer items [2205.00937].

Group-conditional retrieval bias is often measured by comparing retrieved sets across controlled variants. In demographic RAG, if \(R_{q,a}\) denotes the retrieved document IDs for demographic variant \(q_a\), pairwise consistency is the intersection-over-union

$$
C(a_1,a_2 \mid q) = \frac{|R_{q,a_1} \cap R_{q,a_2}|}{|R_{q,a_1} \cup R_{q,a_2}|},
$$

and group disparity is summarized by \(\Delta_C\). The same studies report answer-level fairness with \(Acc_g\), demographic parity \(DP\), and equal opportunity \(EO\) [2503.15454].

Source bias is quantified in mixed human/LLM corpora by computing standard ranking metrics separately for each source on the same ranked list and then taking a relative difference:

$$
\text{Relative }\Delta = \frac{\text{Metric}_{\text{Human}} - \text{Metric}_{\text{LLM}}}{\tfrac{1}{2}\left(\text{Metric}_{\text{Human}} + \text{Metric}_{\text{LLM}}\right)} \times 100\%.
$$

Negative values indicate preference for LLM-generated documents [2310.20501].

For repeated knowledge updates in long contexts, retrieval bias is operationalized as the earliest–latest accuracy gap. If \(A_{earliest}\) is accuracy on queries asking for the initial value and \(A_{latest}\) is accuracy on queries asking for the most recent value, then

$$
ELAG = A_{earliest} - A_{latest}.
$$

As update length \(T\) increases, larger \(ELAG(T)\) indicates stronger competition between historical and current values [2603.12271].

In multimodal RAG, position sensitivity is summarized by the Position Sensitivity Index

$$
PSI_p = \frac{1}{p}\sum_{i \in \mathcal{T}_p} A_i - \frac{1}{p}\sum_{j \in \mathcal{B}_p} A_j,
$$

with \(A_i\) the accuracy when the gold evidence is placed at position \(i\). For \(p=1\), \(PSI = A_{\text{best}} - A_{\text{worst}}\). This isolates the amplitude of positional effects independent of content [2506.11063].

These measures are not interchangeable. Retrievability and Gini quantify corpus-wide access inequality; overlap and fairness metrics quantify disparities across controlled groups; relative \(\Delta\) isolates source preference; ELAG measures interference across updates; and PSI measures sensitivity to evidence position. A plausible implication is that “retrieval bias” functions as a family resemblance term rather than a single metricized construct.

## 3. Retrieval bias in integrated search and dense retrieval

Integrated digital library studies make the access-inequality view concrete. In GESIS Search, datasets and publications are returned on type-specific SERPs under a fixed BM25 model. At \(c=10\), retrievability Gini is \(G_{pub} = 0.6230\) and \(G_{data} = 0.7975\); at \(c=100\), \(G_{pub} = 0.5008\) and \(G_{data} = 0.7159\). Top-\(10\) coverage is 95.02% for publications and 76.19% for datasets, while usefulness Gini is \(0.2594\) for publications and \(0.7466\) for datasets. The same system therefore makes datasets substantially harder to surface, more heterogeneously retrievable, and more concentrated in implicit relevance signals than publications [2205.00937].

The extended GESIS study adds variables and explicitly factors out query popularity by deduplicating queries. At \(c=10\), Gini is \(0.8281\) for publications, \(0.8800\) for datasets, and \(0.8892\) for variables; at \(c=100\), it is \(0.6632\), \(0.7000\), and \(0.4806\), respectively. Including repeated queries materially changes which items are most retrievable: for the top 1,000 items, Jaccard overlap between rankings built from repeated versus unique queries is \(0.1025\) for publications and \(0.1287\) for datasets. The study explicitly concludes there is “significant popularity bias with certain items being retrieved more often than others” [2303.15036].

A methodological complication is that retrievability estimates depend heavily on the query set. When real query logs are unavailable, many studies generate artificial queries from corpora. Comparing artificial queries with AOL log queries, one study found “a minimal or negligible correlation between retrievability scores from artificial queries and those from query logs.” The proposed RSQ alternative achieved the highest correlations, with Pearson’s \(r\) of 0.2076 on TREC Robust, 0.3135 on WT10g, and 0.3065 on Wikipedia, but these remained modest [2404.09473].

Controlled experiments on dense retrievers show that access inequality is not only about document types. Dense models favor superficial heuristics over answer presence. Under combined brevity, early-position, repetition, and literal-match biases, the answer-containing document is selected in less than 3% of cases: Contriever 0.4%, RetroMAE 0.4%, Contriever-MSMARCO 0.8%, Dragon-RoBERTa 0.8%, Dragon+ 1.2%, and COCO-DR 2.4%. In downstream RAG, poisoned retrieval can be worse than no retrieval: for GPT-4o, accuracy is 30.8% with poisoned documents, 62.8% with foil documents, 64.8% with no document, and 93.6% with the true evidence document [2503.05037].

Code retrieval exhibits an analogous textual bias. Function-name normalization drops HumanEval Recall@1 for GIST-large from 54.3% to 18.9%, and full normalization on MBPP drops Recall@1 from about 98.6% to 9.0%. Under asymmetric normalization, average ground-truth rank for GIST-large jumps from 87.18 to 288.27, showing bias toward well-documented distractors even when they are functionally irrelevant [2506.20081].

## 4. Social, demographic, and multilingual manifestations

Gender representation bias has been operationalized through tightly controlled datasets. Grep-BiasIR contains 118 bias-sensitive, gender-neutral queries across seven categories, each paired with one relevant and one non-relevant document, each document instantiated in female, male, and neutral variants, for 708 documents total. Because the topical content, title, and body are held constant except for gender-indicating words, differences in ranking can be attributed to representation effects rather than content variation [2201.07754].

Using a related setup, one study on BERT-based IR models found that adapter-based fine-tuning achieved a zero-shot “Average*” of 0.6935 versus 0.5144 for full fine-tuning, and that the baseline adapter-tuned model preferred male over female variants in six of seven categories, with an average absolute male–female fraction gap of 11.14 ± 5.39%. Adding a score-parity regularizer reduced the average gap to 5.7% while keeping accuracy loss within a 2–5% window [2208.01755].

Human relevance assessment can itself encode retrieval bias. In graded judgments of bias-sensitive results, the strongest tendency appeared for Domestic Work: relevant female-content documents received a mean score of 2.10 ± 0.86 versus 1.76 ± 0.82 for male-content documents, \(\Delta = +0.34\), \(p = 0.053\). For non-relevant Appearance documents, the significant effect ran in the opposite direction: female 0.70 ± 0.81 versus male 1.00 ± 0.83, \(\Delta = -0.30\), \(p = 0.048\). The paper interprets this as evidence that judged relevance can shift with gendered content even when topical relation is controlled [2203.01731].

Demographic retrieval bias is explicit in medical RAG. For DeepSeek-R1-8B on MedMCQA, the Plain system has \(Acc = 18.7\%\), \(DP = 0.13\), and \(EO = 0.11\); Counterfactual raises accuracy to 21.3% and lowers \(DP/EO\) to 0.09/0.08; Majority Vote reaches 22.9% with \(DP = 0.07\) and \(EO = 0.06\). On EquityMedQA, ROUGE-L rises from 43.0% to 48.0% from Plain to Majority Vote, while \(DP\) drops from 0.15 to 0.08 and \(EO\) from 0.12 to 0.07 [2503.15454].

Language bias appears sharply in multilingual ranking. In Multi-EuP one-vs-many retrieval, English reaches MRR@100 = 62.79, while German is 28.27, French 24.22, Spanish 22.57, Polish 4.80, and Maltese 0.40. Replacing language-specific analyzers with whitespace tokenization reduces aggregate MRR from 15.02 to 14.18 but increases the explanatory power of collection size and is presented as reducing language bias [2311.01870].

Previously Fact-Checked Claim Detection exhibits a frequency-based retrieval bias. On MultiClaim, Multilingual E5 obtains Success@1 of 38.80%, Success@20 of 88.50%, and slightly higher MAP/MRR than T5. Yet exposure is highly concentrated: in the top-20 most frequently retrieved claims, the same JavaScript snippet appears in 159 different cases, and topic modeling shows concentration around COVID-19, Ukraine/Russia, viral videos, and region-specific themes such as Nigeria and Kenya [2509.25138].

## 5. Source, temporal, positional, and perspectival bias in neural retrieval and RAG

Neural retrievers can prefer particular sources independent of relevance. In mixed corpora of human-written and LLM-generated rewrites, lexical retrievers favor human text, but neural retrievers consistently favor LLM-generated content. On SciFact+AIGC with Llama2 rewrites, Relative \(\Delta\) on NDCG@1 is \(-47.0\%\) for ANCE, \(-37.0\%\) for BERM, \(-45.3\%\) for TAS-B, and \(-25.5\%\) for Contriever. Re-rankers amplify the effect: MiniLM reaches \(-42.2\%\) and monoT5 \(-67.3\%\) [2310.20501].

Long-context LLMs show a different retrieval bias under multiple in-context updates. In the Dynamic Knowledge Instance framework, earliest-state accuracy remains high while latest-state accuracy drops as updates increase. On real-world DKIs, LLaMA-3.1-8B has \(A_{earliest} = 96.34\%\), \(A_{latest} = 75.61\%\), and \(ELAG = 20.73\%\); Qwen-2.5-7B has 99.39%, 88.41%, and 10.98%. Attention, hidden-state similarity, and logits become flatter and weakly discriminative on wrong latest-state cases, providing little stable basis for selecting the newest update [2603.12271].

Position-dependent retrieval bias also appears in autoregressive models even when semantics are randomized away. Across transformer and state-space models, next-token probability peaks at the tokens immediately following repeated triggers, but episodes near the beginning or end of the prompt are retrieved more reliably than those in the middle. Induction-head ablations support a causal role for this mechanism: across 16 transformer-model-by-ablation settings, the drop in average +1 probability after ablating high-induction heads exceeded the drop after ablating random heads in 13/16 settings [2510.22752].

In multimodal RAG, position bias becomes a property of evidence presentation. On ChartQA with GPT-4o, accuracy is 0.7333 ± 0.007 when gold evidence is at Top, 0.7059 ± 0.012 at Mid, and 0.8125 ± 0.008 at End, an 11% absolute improvement from Mid to End. Across models, \(PSI_p\) increases approximately as \(PSI_p = \alpha \ln(k) + \beta\), with \(\alpha\) in \([0.030, 0.040]\), indicating logarithmic amplification as retrieval range grows [2506.11063].

Cross-modal retrieval exhibits both prevalence and association bias. On Crossmodal-3600, CLIP-L/14 has DLBKL@10 = 5.684, whereas XLM-R-B/16plus reduces it to 0.125 while maintaining Acc@5 = 0.968 and NDCG@10 = 0.791. On 3XCM/XCM, CLIP-L/14 has \(M_{sem} = 51.24\%\), \(M_{cul} = 40.78\%\), and \(SP = 0.80\), whereas XLM-R-B/16plus has \(M_{sem} = 87.54\%\), \(M_{cul} = 6.23\%\), and \(SP = 0.07\). The paper concludes that explicit alignment is more effective for mitigating prevalence bias, whereas association bias remains more challenging [2510.26861].

## 6. Mitigation strategies, design implications, and open problems

Mitigation depends on the mechanism producing bias. In integrated digital libraries, proposed responses include increasing effective depth for underexposed item types, metadata enrichment, diversification and de-duplication, cluster-based pseudo-relevance feedback, type-aware field weighting, and ongoing monitoring of retrievability distributions, Lorenz curves, and Gini coefficients as system-health indicators [2205.00937].

In demographic RAG, mitigation is organized around controlled variants and aggregation. Counterfactual Filtering generates answers across demographic variants and selects the most consistent response; Adversarial Prompt Refinement neutralizes sensitive tokens when they are not clinically necessary; Chain-of-Thought Filtering anchors reasoning in evidence; and Majority Vote aggregation delivered the strongest gains in the reported experiments. The same paper also proposes a fairness-aware retrieval objective that penalizes divergence across demographic variants through \(1 - C(a_1,a_2 \mid q)\) [2503.15454].

For source bias in neural retrieval, a plug-and-play debiasing constraint penalizes a higher score for \(d^G\) than for its paired human-written \(d^H\):

$$
\mathcal{L}_{\text{debias}} = \sum_{(q,d^H,d^G)} \max\{0,\; \hat{r}(q,d^G;\Theta) - \hat{r}(q,d^H;\Theta)\},
$$

combined with the ranking loss as \(\mathcal{L} = \mathcal{L}_{rank} + \alpha \mathcal{L}_{debias}\). On SciFact+AIGC, increasing \(\alpha\) moves Relative \(\Delta\) from strongly negative toward near-zero or positive while maintaining or slightly improving human-only effectiveness [2310.20501].

Several studies push mitigation into the scoring architecture. The Backpack-based reranker suppresses the two most gender-sensitive senses at inference time through a control weight \(\lambda\). At cutoff 10, reducing the control weight from 1 to 0.5 lowers TF RaB/ARaB from 0.064/0.064 to 0.053/0.056, with NDCG@10 changing from 0.402 to 0.395. In text-based image retrieval, PBM performs post-hoc group-aware reranking; on Occupation 1, AbsBias@100 drops from .6231 for original CLIP to .0560 for PBM with zero-shot prompt, while maintaining Recall@100 of 46.1 [2511.00875] [2305.19329].

In code retrieval, SACL fuses code similarity with LLM-generated semantic descriptions using

$$
\mathrm{Score}_{\text{final}} = (1 - \alpha)\,\mathrm{Score}_{\text{code}} + \alpha\,\mathrm{Score}_{\text{desc}},
$$

with \(\alpha \approx 0.7\) reported as best across most normalization settings. This raises Recall@1 by 12.8% on HumanEval, 9.4% on MBPP, and 7.0% on SWE-Bench-Lite file localization, suggesting that one way to combat textual bias is to add semantic text that reflects functionality rather than surface form [2506.20081].

In RAG more broadly, fairness-aware retrieval optimization treats position-aware bias propagation as an optimization problem. With

$$
R_b = \sum_{p=1}^{k} w_p \, E_b^p + b,
$$

the objective can maximize relevance subject to \(|R_b| \le \tau\), or use a soft penalty \(-\lambda R_b^2\). The FARO method decomposes the resulting quadratic problem into per-question assignment problems through a dual approximation, enabling scalable exploration of the fairness–relevance frontier [2605.15790].

The literature remains methodologically fragmented. Some studies use real query logs and system-level inequality; others rely on synthetic counterfactuals; others diagnose internal retrieval dynamics in LLMs through attention, logits, or forced-choice triplets. Many papers note limited significance testing, reliance on synthetic demographic or temporal manipulations, binary or coarse group definitions, and dependence on specific models, corpora, or cut-offs. This suggests that future work will need both better causal isolation and broader evaluation regimes: graded exposure models rather than binary top-\(c\), more realistic multilingual and multimodal datasets, and retrieval objectives that treat fairness, diversity, and robustness as first-class constraints rather than post-hoc diagnostics.

Source: https://www.emergentmind.com/topics/retrieval-bias