Retrieval Sensitivity to Identity Signals in Queries
Organizations: Columbia University, Department of Computer Science
Abstract
Dense retrievers decide which documents reach users and the language models that use them, yet they are typically evaluated with neutral queries. We ask whether the identity signals that real users express in their queries---political ideology and dialect---bias what a retriever returns. We design evaluations in two domains, political news and consumer-health questions, each pairing a controlled synthetic set that varies only the identity signal with naturalistic queries. Across five dense retrievers and a sparse baseline, every retriever (i) retrieves articles that align with the query's own political lean and (ii) performs worse for questions written in African American Language (AAL) than in White Mainstream English (WME). Two analyses tie these gaps to queries' identity signals beyond surface vocabulary: partialling out an aggregate lexical-asymmetry score leaves the synthetic gaps largely intact, and linear probes recover lean and dialect from the retrievers' query embeddings beyond token-level features. Left unaddressed, such retrieval biases risk contributing to polarization and reinforcing the health disparities already faced by AAL speakers. Code is available at https://github.com/Andrewtcr/bias-ret.
Figures & tables
| Frames | Left | Right | |
| AllSides synth | Fairness & equality | Is raising the federal minimum wage to $10.10 a fair way to reduce inequality and lift nearly a million from poverty per CBO? | Does the CBO report show raising the minimum wage to $10.10 unfairly distribute job losses , eliminating about 500,000 opportunities for workers? |
| Economic | How would the CBO’s $10.10 minimum wage proposal economically benefit low income workers and reduce poverty despite some job losses? | What are the economic costs to employment and small businesses of the CBO’s $10.10 minimum wage proposal, including projected job losses? | |
| Reddit nat | — | Is anyone else tired of ground-level conservatives claiming they "agree" with news incidents while always supporting the system that created these injustices? | Illegal aliens have always been subject to deportation. Why does the government now need the Alien Enemies Act to deport them? |
| AAL | WME | |
| HCMagic synth | Hi docta , how might can that renal functions be monitored in one patient undergoing hemodialysis 3 times per week? | Hi doctor, how can the renal function be monitored in a patient undergoing hemodialysis 3 times per week? |
| HCMagic nat | …about 2 weeks ago she notice she had a lump just below her left rib in the front…While standing if she twist her body you can feel it but once ahe straight again u can see it and feel it. What can this be. | Every now and then I will feel my chest tighten and my heart starts pounding extremely hard. I cant breath and I begin feeling very lightheaded. It usually only lasts a few seconds and does not happen too often. Any ideas as to what could be causing this? |
| AllSides synth ( ) | Reddit nat (lean) | HCMagic synth ( ) | HCMagic nat (MRR) | |||||||||
| Retriever | raw | resid. | raw | resid. | raw | resid. | raw | resid. | ||||
| BGE-large | ∗∗∗ | ∗∗∗ | ||||||||||
| Qwen3-Emb-8B | ∗∗∗ | ∗∗∗ | ∗∗ | |||||||||
| Llama-Nemotron-8B | ∗ | ∗ | ∗∗∗ | ∗∗ | ||||||||
| Octen-Emb-8B | ∗∗ | ∗∗∗ | ∗∗∗ | ∗∗ | ||||||||
| OpenAI te-3-large | ∗∗∗ | ∗∗∗ | ∗∗∗ | ∗ | ||||||||
| Query length (characters) | ||||||
| Dataset | Group | Median | Mean | Min | Max | |
| AllSides synth | left | 3,723 | 138 | 139 | 98 | 187 |
| right | 3,723 | 139 | 139 | 87 | 192 | |
| Reddit nat | liberal | 1,327 | 152 | 166 | 98 | 302 |
| conservative | 1,225 | 154 | 168 | 97 | 302 | |
| HCMagic synth | WME | 4,999 | 362 | 437 | 63 | 5,141 |
Appendix figures & tables29 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Size | Emb. dim | Checkpoint |
| BGE-large | 0.3B | 1024 | BAAI/bge-large-en-v1.5 |
| Qwen3-Embedding-8B | 8B | 4096 | Qwen/Qwen3-Embedding-8B |
| Llama-Nemotron-8B | 8B | 4096 | nvidia/llama-embed-nemotron-8b |
| Octen-Embedding-8B | 8B | 4096 | Octen/Octen-Embedding-8B |
| OpenAI te-3-large | — | 3072 | text-embedding-3-large (API) |
| BM25-Okapi | — | — | bm25s (sparse) |
| raw | gpt-only | Qwen-only | gold | |
| Retriever | R L | R L | R L | R L ( ) |
| BGE-large | ( ) | |||
| Qwen3-Emb-8B | ( ) | |||
| Llama-Nemotron | ( ) | |||
| Octen-Emb-8B | ( ) | |||
| OpenAI te-3-large | ( ) |
| Retriever | pairs | (R L) | 95% CI | Wilcoxon | Perm |
| BGE-large | 2,422 | ||||
| Qwen3-Emb-8B | 2,508 | ||||
| Llama-Nemotron-8B | 1,416 | ||||
| Octen-Emb-8B | 2,605 | ||||
| OpenAI te-3-large | 2,663 | ||||
| BM25 (Okapi) | 1,798 |
| Retriever | (lib/con) | gap (con lib) | 95% CI | MWU |
| BGE-large | ||||
| Qwen3-Emb-8B | ||||
| Llama-Nemotron-8B | ||||
| Octen-Emb-8B | ||||
| OpenAI te-3-large | ||||
| BM25 (Okapi) |
| HCMagic synth — real WME query, synthetic AAL rewrite, shared real gold document | |
| AAL query (synthetic) | Hi docta , how might can that renal functions be monitored in one patient undergoing hemodialysis 3 times per week? |
| WME query (real) | Hi doctor, how can the renal function be monitored in a patient undergoing hemodialysis 3 times per week? |
| Gold document (real) | Renal function is monitored by maintaining a chart of blood urea and serum creatinine levels…during each visit of dialysis you must…note down the…levels of renal parameters…regularly…show it to the nephrologist…Take care. |
| HCMagic nat — real AAL post and a separate real WME post, each with its own gold (unpaired) | |
| AAL query (real) | …about 2 weeks ago she notice she had a lump just below her left rib in the front…once ahe straight again u can see it and feel it. What can this be. |
| Gold document (real) | Hi, Dear, thanks for the query to Chat Doctor…In my opinion your daughter has a third nipple or a Supernumerary nipple below the normal nipple on left side, or may be a puberty change…Have a good time. |
| idx | char len | query (first 30 chars) |
| 70 | 7 | zzxczxc |
| 144 | 9 | lipoprint |
| 267 | 7 | nothing |
| 386 | 4 | thtr |
| 398 | 12 | bhjkhjkhklhk |
| 456 | 8 | aesthema |
| Retriever | pairs | (WME AAL) | 95% CI | Wilcoxon | Perm |
| BGE-large | 4,999 | ||||
| Qwen3-Emb-8B | 4,999 | ||||
| Llama-Nemotron-8B | 4,999 | ||||
| Octen-Emb-8B | 4,999 | ||||
| OpenAI te-3-large | 4,999 | ||||
| BM25 (Okapi) | 4,999 |
| Retriever | (WME/AAL) | MRR gap (WME AAL) | 95% CI | MWU |
| BGE-large | 659/647 | 0.10 | ||
| Qwen3-Emb-8B | 659/647 | |||
| Llama-Nemotron-8B | 659/647 | |||
| Octen-Emb-8B | 659/647 | 0.01 | ||
| OpenAI te-3-large | 659/647 | 0.01 | ||
| BM25 (Okapi) | 659/647 | 0.03 |
| Retriever | pairs | (trans-WME AAL) | 95% CI | Wilcoxon | Perm |
| BGE-large | 647 | ||||
| Qwen3-Emb-8B | 647 | 0.22 | 0.50 | ||
| Llama-Nemotron-8B | 647 | ||||
| Octen-Emb-8B | 647 | 0.43 | 0.64 | ||
| OpenAI te-3-large | 647 | 0.89 | 0.99 | ||
| BM25 (Okapi) | 647 |
| Retriever | residual | slope ( ) | ||
| BM25 (Okapi) | 1,798 | |||
| BGE-large | 2,422 | |||
| Qwen3-Emb-8B | 2,508 | |||
| Llama-Nemotron-8B | 1,416 | |||
| Octen-Emb-8B | 2,605 | |||
| OpenAI te-3-large | 2,663 |
| Retriever | raw R L gap | ( ) | ( ) | |
| BGE-large | positive sig. | |||
| Qwen3-Emb-8B | positive sig. | |||
| Llama-Nemotron-8B | positive sig. | |||
| Octen-Emb-8B | positive sig. | |||
| OpenAI te-3-large | positive sig. | |||
| BM25 (Okapi) | (NS) | — | NS |
| Retriever | (lib/con) | raw R L gap | ( ) | |
| BGE-large | ||||
| Qwen3-Emb-8B | ||||
| Llama-Nemotron-8B | ||||
| Octen-Emb-8B | ||||
| OpenAI te-3-large | ||||
| BM25 (Okapi) |
| Retriever | residual | slope ( ) | |||
| Llama-Nemotron-8B | 4,999 | ||||
| BGE-large | 4,999 | ||||
| OpenAI te-3-large | 4,999 | ||||
| Octen-Emb-8B | 4,999 | ||||
| BM25 (Okapi) | 4,999 | ||||
| Qwen3-Emb-8B | 4,999 |
| Retriever | raw WME AAL gap | ( ) | ( ) | |
| Llama-Nemotron-8B | NS | |||
| Qwen3-Emb-8B | NS | |||
| OpenAI te-3-large | NS | |||
| Octen-Emb-8B | NS | |||
| BM25 (Okapi) | NS | |||
| BGE-large | NS |
Information Retrieval
Information Retrieval studies how to find, rank, and organize relevant information in large collections of data.
See all 471 papers