Imagine you're a chef tasting a stew with 30 ingredients, and you want to know how much each one matters. The brute-force approach: make 30 separate pots, each missing one ingredient, and taste them all. That's expensive. Now imagine you could instead take a handful of cleverly chosen random spoonfuls from perturbed versions of the stew — far fewer than 30 — and mathematically reconstruct each ingredient's contribution with controlled error. That's what this paper does for language model prompts. The committed claim: given a prompt of n tokens and a fixed measurement function, you can estimate every leave-one-out (LOO) attribution value to ε error using O(√log(1/ε)/ε) model evaluations — and this is provably optimal. The brute-force cost is n evaluations. This paper's cost depends only on the desired accuracy ε, not on prompt length n. For long prompts, this is a dramatic win. The matching Ω(√log(1/ε)/ε) lower bound means no algorithm in this oracle model can do better, period. The mechanism lives in the intersection of two ideas: sketching algorithms for arithmetic circuits and a stability condition on Taylor coefficients recently introduced by Gunn (2026). The authors' key insight is applying forward differentiation not to the original computation graph but to the backpropagation circuit. This is the load-bearing technical move — it reduces variance of the sketches and drops the evaluation complexity from Õ(log(n)/ε²) (what a direct adaptation of Gunn's approach would give) down to O(√log(1/ε)/ε). The backprop-sketch composition is genuinely clever: you get constant overhead over a forward sketch of the same Taylor degree while harvesting the variance reduction that backpropagation naturally provides. On the ladder: the naive baseline is n full model evaluations. Prior sketching work (Gunn's forward differentiation) would need Õ(log(n)/ε²) calls — still sublinear in n but quadratic in 1/ε and logarithmic in n. This paper removes both the n-dependence and the ε² penalty. The lower bound, building on Amsel, Chen, Duman Keleş, Halikias, Musco, and Musco's matrix-diagonal estimation techniques, locks the result tight. This is not an incremental improvement — it's a complexity-theoretic resolution of the question. Integrity is mixed in a characteristic theory-paper way. The upper bound is a mathematical proof — airtight within its model. The lower bound is an information-theoretic argument in an oracle model, which is the right framework but does leave room for real-world shortcuts if the stability assumption is unusually favorable in practice. Empirically, the authors verify coefficient decay consistent with their stability assumption and test on a small LM retrieval task — this is a sanity check, not a large-scale empirical validation. No community benchmark exists for this exact problem, so they're necessarily grading their own homework on the experimental side. The stability assumption is the elephant: the paper assumes Taylor coefficients of the model's output (viewed as a multilinear polynomial in token inclusion/exclusion variables) decay in a specific way. The authors provide empirical evidence this holds for a small model, but whether it holds for frontier-scale transformers under diverse prompts is an open and important question. If the assumption breaks, the guarantees evaporate. The practical unlock is interpretability at scale. Context attribution — understanding which parts of a prompt drive model behavior — is a bottleneck for retrieval-augmented generation, prompt debugging, and mechanistic interpretability. If you can get reliable LOO scores in sublinear time, you can run attribution as a routine diagnostic rather than an expensive offline analysis. The gap between here and deployment is empirical validation on large models with long contexts — the theory is done, but the engineering story is just beginning.
The analogy
Like a chef who needs to know how much each of 30 ingredients matters to a stew. Brute force: make 30 pots each missing one ingredient. This paper: take a few cleverly randomized spoonfuls and mathematically reconstruct every ingredient's contribution — with a proof you can't do it in fewer spoonfuls.
Stew tasting
Reconstruct each ingredient's contribution from a small number of randomized spoonfuls instead of making n separate pots
LOO sketching
Reconstruct each token's LOO attribution from O(√log(1/ε)/ε) randomized model evaluations instead of n separate runs
Honest assessment
This is a clean theoretical result — tight upper and lower bounds for a well-defined problem — with the backprop-sketch composition being a genuinely clever structural insight. The limitation is that the stability assumption is empirically verified only at small scale, and no large-model experiments exist. Theory group delivered the theory; the applied validation is someone else's problem now. If you work on LLM interpretability or sublinear algorithms, this is worth your time today. If you're waiting for practical tools, watch for the 70B+ follow-up.
What Is CLAIMS?
83
/ 100
BedrockNews applies a structured analytical framework called CLAIMS to academic papers and technical research releases.
How CLAIMS worksClaim
5/5
Ladder
5/5
Architecture
4/5
Integrity
3/5
Milestone
4/5
Successor
4/5
What is this paper actually committing to?
Tight upper and lower bounds for sublinear LOO attribution. Genuine complexity-theoretic resolution: O(√log(1/ε)/ε) evaluations, independent of prompt length n, proved optimal via matching lower bound.
The field fight
Can LLM interpretability methods scale sublinearly with prompt length while maintaining provable guarantees?
Side A
Practical heuristics (attention rollout, gradient saliency) scale but lack guarantees — good enough for deployment
Held by: Applied interpretability community, most RAG practitioners
Side B
Provably efficient methods with formal error bounds are necessary for trustworthy attribution at scale
Held by: Theoretical CS, this paper, Gunn [Gun26], ACDH+26
Milestone tracker
Unlocks: Routine LOO attribution as a production diagnostic for RAG, prompt debugging, and mechanistic interpretability at frontier scale
Current
O(√log(1/ε)/ε)
eval calls
this paper (theory)
Next
70B+, 8K+ ctx
model scale
practical validation
~1-2 years with engineering effort
Verified Facts (7)
Algorithm estimates all LOO values to error proportional to ε with constant probability using O(√log(1/ε)/ε) evaluation calls
Matching Ω(√log(1/ε)/ε) lower bound proved in an oracle model
Direct adaptation of Gunn's forward differentiation sketches would require Õ(log(n)/ε²) evaluation calls
Key observation: forward differentiation applied to the backpropagation circuit with only constant overhead over a forward sketch of the same Taylor degree
Lower bound builds on techniques of Amsel, Chen, Duman Keleş, Halikias, Musco, and Musco [ACDH+26, SIAM Journal on Matrix Analysis and Applications]
Empirically verify coefficient decay consistent with stability assumption on small LM retrieval task
Authors: Christopher Liaw, Aranyak Mehta, Grigoris Velegkas, Felix Zhou
Practical Implications (4)
LOO context attribution could become a routine diagnostic for RAG pipelines if the stability assumption holds at frontier scale
Prompt debugging for long-context models (32K+ tokens) becomes tractable without n full model passes
The backprop-sketch composition technique may generalize to other sensitivity-analysis problems beyond LOO attribution
Interpretability-as-a-service providers could offer per-token importance scores at sublinear cost if engineering validates the theory
More latest news
Read all