The Laws of Context Allocation: Causal Measurement and Closed-Loop Orchestration in Generative Search
Summary
This paper identifies flaws in RAG evaluation metrics by measuring context utilization causally, demonstrating that narrow sequential contexts improve recall over wide contexts, and introduces a submodular scheduler for optimized allocation.
View Cached Full Text
Cached at: 08/25/26, 04:37 PM
Paper page - The Laws of Context Allocation: Causal Measurement and Closed-Loop Orchestration in Generative Search
Source: https://huggingface.co/papers/2608.23252 We found that the metrics the RAG community uses to check “did the model actually use this document?” are mostly measuring the wrong thing.
On standard evaluation pools — where the negatives are passages retrieved for unrelatedqueries — BM25 and query–document cosine look essentially perfect at identifying the evidence a generator relied on (AUC 0.99). Swap the padding for same-query hard negatives that are topically dense but entail no answer, and they fall to chance (0.57). A causal leave-one-out probe barely moves (0.85 → 0.85). The apparent reliability was an artifact of the distractors being easy.
That matters because these proxies are what people use to decide what goes into the context. Once we measure utilization causally instead, a clear allocation law shows up: for a fixed budget of k×T evidence slots, spending it on several narrow sequential contexts beats one wide context by16.8–20.5 absolute pointsof portfolio recall, and the gap holds up to 32B. Widening the context mostly buys a slightly better single answer while leaving the rest of the answer space untouched.
We close the loop with a submodular scheduler that reads the probe’s feedback each round to demote saturated evidence and promote under-used evidence (+0.033 to +0.081 PR over every selection-style baseline, BH q < 0.001).
Code and the causal measurements are released — including an 11.5K-record benchmark where the necessary evidence set is known by construction, so you can check whether your own attribution method survives the swap from off-query to same-query negatives.
📄https://arxiv.org/abs/2608.23252 💻https://github.com/PeiYangLiu/ascp 🤗https://huggingface.co/datasets/PeiyangLiu/ascp-context-attribution
Similar Articles
Dynamic Context Scheduling: Learning Beyond the Static Universe
The paper proposes dynamic context scheduling to enhance generalization in contextual reinforcement learning, showing improved performance in out-of-distribution and in-distribution regimes across simulation environments.
What Survives Into Context: A Diagnostic for Budget-Constrained Multi-Hop RAG and When Submodular Evidence Packing Improves It
This paper introduces answer-in-context, a diagnostic metric for budget-constrained multi-hop RAG that measures whether the gold answer survives in the packed reader context, and proposes a submodular evidence packing method that improves over heuristics under specific conditions.
Does RAG Know When Retrieval Is Wrong? Diagnosing Context Compliance under Knowledge Conflict
This paper introduces Context-Driven Decomposition (CDD), a probe to diagnose when RAG systems comply with retrieved context despite conflicting parametric knowledge, and releases the Epi-Scale benchmark for systematic study across model families.
In-Context Optimization for Retrieval-Augmented Generation: A Gradient-Descent Perspective
This paper studies retrieval-augmented generation as an in-context optimization process, showing that linear self-attention can implement gradient descent on a unified RAG objective. It proposes a lightweight method for frozen RAG LLMs that predicts context-conditioned updates, improving performance across multiple QA benchmarks.
Shapley Context Pruning: A Cooperative Game Perspective for Context Reranking and Pruning
This paper introduces Shapley Context Pruning (SCP), a cooperative game-theoretic framework for context reranking and pruning in RAG systems. It employs a Deep Sets architecture and Monte-Carlo sampling to efficiently attribute importance to sentences, achieving competitive downstream QA performance with a lightweight 3M-parameter value network.