TL;DR
Standard Retrieval-Augmented Generation (RAG) systems rely on deterministic retrievers that consistently ignore equally relevant documents just outside the top-$k$ cut-off, causing unfair exposure for content creators. By introducing a stochastic, fairness-aware ranking policy based on LLM utility rather than traditional human relevance, this paper demonstrates that fair ranking can be achieved without sacrificing generation performance—and can even improve it.
What Problem Does This Paper Address?
In standard RAG pipelines, an input query prompts a deterministic retriever to return a fixed top-$k$ list of documents to fit the generator's limited context window. Consequently, if four documents are equally informative, documents ranked in positions 3 and 4 may never be exposed to the language model across repeated user queries.
In fair ranking literature, this is an issue of item-side fairness: content providers (such as researchers whose papers are cited or journalists who write source articles) are deprived of fair exposure and attribution. While fair ranking is well-studied for human users, RAG introduces machines as the searchers. LLMs do not consume information like humans do, and traditional relevance labels do not capture whether a document actually helps an LLM complete its downstream generation task.
Methods
The authors introduce an end-to-end framework to integrate and evaluate item-side fairness in RAG:
- Utility-Gain Labeling: Rather than relying on human relevance annotations, item worthiness is defined by marginal utility gain ($\delta_j = u_j - u_i$). An item is considered useful ($\text{wor} = 1$) if augmenting the prompt with that single document improves downstream performance compared to the unaugmented baseline model.
- Fairness-Aware Stochastic Retriever: The deterministic retriever's scores are normalized and sampled via Plackett-Luce sampling using the Gumbel-Softmax trick for fast, sort-speed sampling. A temperature parameter $\alpha$ controls the disparity: $\alpha=0$ produces uniform random rankings (maximum fairness), while large $\alpha$ approaches a deterministic ranker.
- Machine-User (MU) Expected Exposure: The authors adapt the Expected Exposure framework for machine consumers. Unlike humans who follow continuous position-decay browsing models, an LLM browsing model is formalized as a step function: equal attention ($1$) for ranks $\le k$ and zero attention thereafter.
- Normalized Metrics: Disparity ($\text{EE-D}$), Ranking Quality ($\text{EE-R}$), and Expected Utility ($\text{EU}$) are normalized across theoretical bounds (and an empirical oracle upper bound for $\text{EU}$).
Datasets
The authors evaluate across all seven tasks of the LaMP benchmark, which tests language model personalization across classification, regression, and text generation (e.g., paper citation prediction, news headline generation).
- Test Collection: Built using the first 1,000 entries of the user-based development set of LaMP, filtering out queries with only one useful item.
- Retrievers: BM25 (lexical), SPLADE (sparse neural), and Contriever (dense bi-encoder).
- Generators: Flan-T5-Small, Flan-T5-Base, and Flan-T5-XXL (forming 9 RAG configurations).
Key Insights and Ideas
- Utility Over Relevance: A document can be topical without actually aiding the model's generation. Evaluating fairness based on downstream utility provides a more realistic assessment of machine-in-the-loop retrieval.
- The "Free Lunch" of Ranking Perturbation: In human search, there is an inescapable tradeoff between fairness and retrieval quality. In RAG, however, moderate stochastic perturbation often boosts generation utility.
- Why Fairer Can Mean Better: Deterministic top-$k$ sets can contain distracting noise or suffer from LM positional bias (e.g., the "lost-in-the-middle" effect). Stochastic ranking introduces variety, shakes loose distractors, and surfaces overlooked useful documents.
Key Results
- Surpassing Deterministic Baselines: RAG models operating at high fairness levels (normalized $\text{EE-D} \in [0.8, 1.0)$ and $[0.6, 0.8)$) consistently matched or exceeded deterministic baselines across benchmark tasks.
- In LaMP-2, every single evaluated model configuration achieved higher utility in the $[0.8, 1.0)$ interval compared to its deterministic baseline.
- In LaMP-4, 5, and 6, 7 out of 9 model configurations improved their downstream utility when fairness was introduced.
- Retriever Differences: Contriever models showed a sharper fairness-quality tradeoff, whereas SPLADE maintained high retrieval quality ($\text{EE-R}$) while sustaining lower disparity.
Limitations and Future Work
- Single-Item Utility Simplification: Document utility is evaluated one document at a time. This overlooks synergies or redundancies that arise when multiple documents appear together in context.
- Simplified Machine Attention Model: The step-function assumption treats all $k$ items equally, ignoring empirical phenomena where LLMs disproportionately attend to the beginning and end of their prompt context.
- Evaluation Cost: Measuring expected exposure requires sampling $N=100$ rankings during offline evaluation (though production serving only needs a single sampled ranking).
- Single Gold Target: Evaluates text generation against a single ground-truth target, even though different valid retrieved documents might justify diverse, equally correct generations.
Summary updated