BRAG: Bayesian Retrieval Augmented Generation was submitted to arXiv on 2026-11-23 by Javier Movellan, Manjot Bilkhu, Young-mok Jung, Sirajul Salekin, Henry Tran, Zhao Huang. Read it on arXiv or as a PDF.
Key findings
- On two public long-term memory benchmarks where new chunks make old ones obsolete, BRAG retrieves the new chunk at a Recall@5 of 0.80 to 0.86, while methods without temporal dynamics remain at plain-search levels of 0.67 to 0.71.
- Across nine months of a personal AI agent’s memory containing 20,640 chunks, BRAG raises held-out query Recall@5 from 0.75 to 0.98 and Recall@1 from 0.44 to 0.97, while leaving chunks that were never queried largely unchanged.
- On two public long-term memory benchmarks where queries repeat without underlying changes over time, BRAG matches existing feedback heuristics such as query averaging, Rocchio feedback, frequency reranking, NUDGE, and LADER.
- Across three of NUDGE’s seven text benchmarks evaluated in the study, BRAG matches or exceeds NUDGE’s retrieval scores on all three.
- In the personal-memory evaluation, chunks queried roughly four times over 44 days show substantial retrieval gains, whereas chunks used only once in the lifetime of a database provide no usage pattern for the model to learn from.
The main takeaway. Modeling each memory chunk’s utility as a time-varying latent variable alongside adaptive query keys enables BRAG to achieve 0.80 to 0.86 Recall@5 when newer chunks replace obsolete ones, where static feedback baselines remain at 0.67 to 0.71.
The abstract, as written
Retrieval-augmented generation (RAG) ranks memory chunks by semantic similarity to the query. Many methods improve on this by learning from feedback on what was retrieved, but each is a separate heuristic, with no account of when it is the right choice. We introduce BRAG, a generative model of retrieval with use. Each chunk generates the queries it answers from a mixture of von Mises-Fisher components anchored at its original embedding, and each chunk has a latent utility that drifts over time. The model gives the optimal inference, a closed-form filter that stores a few keys and two scalars per chunk and updates them online from the labels of a curator, and it frames retrieval as a control problem. It also shows when existing methods are optimal. Query averaging, Rocchio-style feedback and frequency reranking are special cases with fixed parameters, NUDGE is the case of one key per chunk with no dynamics, and LADER the limit of one key per past query. On two public long-term memory benchmarks, BRAG matches these methods on queries asked before, as expected, because when nothing changes over time the assumptions behind these special cases hold. On harder problems, where a new chunk makes an old one obsolete, BRAG outscores them. They all stay at plain-search level (Recall@5 0.67-0.71), while BRAG retrieves the new chunk 0.80-0.86 of the time. We also ran BRAG on three of NUDGE’s seven text benchmarks, and it matches or beats NUDGE on all three. On nine months of a personal agent’s memory (20,640 chunks), BRAG raises Recall@5 on held-out queries from 0.75 to 0.98 and Recall@1 from 0.44 to 0.97, with little change on chunks never queried.
Key terms
- Latent utility: The hidden, time-varying probability that a specific memory chunk generates and answers the query arriving at a given time step.
- Ornstein-Uhlenbeck process: A mathematical random process used in logit space so that a chunk’s expected utility gradually decays back toward a low baseline half-way every fixed number of days without new observations.
- von Mises-Fisher mixture: A probability distribution over unit-length embedding vectors that groups the different types of queries a single memory chunk answers around learned key vectors.
- Laplace bridge: An analytical approximation that maps between Beta distributions and logit-Gaussian distributions so utility beliefs can update in closed form without tracking the underlying continuous process.
- Curator label: A binary feedback signal from user behavior or a checking LLM indicating which of the retrieved chunks actually contains the information requested by a query.
From the paper
The authors explain why semantic similarity alone is insufficient for long-term retrieval and how usage changes chunk value over time.
But similarity is not what matters to the consumer of the retrieved content. What matters is whether a chunk holds the information the query asks for, and that changes with use. Some chunks are asked about again and again, and others go stale when newer chunks replace them.
This passage summarizes how existing feedback-based retrieval algorithms fit into BRAG’s mathematical framework as restricted special cases.
Query averaging, Rocchio-style feedback and frequency reranking are special cases with fixed parameters, NUDGE is the case of one key per chunk with no dynamics, and LADER the limit of one key per past query.
The authors report the performance gap between BRAG and static methods when a newly added memory chunk supersedes an older one.
On harder problems, where a new chunk makes an old one obsolete, BRAG outscores them. They all stay at plain-search level (Recall@5 0.67-0.71), while BRAG retrieves the new chunk 0.80-0.86 of the time.
This passage states the boundary condition under which feedback-driven retrieval methods like BRAG and NUDGE can improve over static indexing.
BRAG is useful only if there are usage patterns to learn. A chunk used only once in the lifetime of the database gives the model nothing to learn from.
What the authors say it means
- Existing feedback retrieval methods such as query averaging, Rocchio feedback, frequency reranking, NUDGE, and LADER are special cases of BRAG with fixed parameters and no temporal utility dynamics, which explains why they perform well when nothing changes over time and fail when new facts replace old ones.
- Because BRAG requires only a few keys and two scalar belief parameters per chunk, its computational and memory costs scale linearly with corpus size and can be stored directly inside standard vector databases such as SQLite without calling an LLM at query time.
- Feedback-adaptive retrieval provides gains only when usage patterns repeat over time, leaving single-use or never-queried chunks essentially unaffected.
What to do with it
- Track both a time-decaying utility belief pair and adaptive query keys per chunk when evaluating retrieval systems on corpora where new records supersede older ones. Supported by: On two public long-term memory benchmarks where new chunks make old ones obsolete, BRAG achieves Recall@5 of 0.80 to 0.86 compared with 0.67 to 0.71 for methods without dynamics.
- Collect binary feedback labels from user behavior or an offline curator LLM on retrieved chunks to update chunk utility beliefs and key vectors without running an LLM during query ranking. Supported by: Using curator labels over nine months of a personal agent’s 20,640-chunk memory, BRAG raises held-out Recall@1 from 0.44 to 0.97 and Recall@5 from 0.75 to 0.98.
- Anchor learned chunk keys to copies of the initial semantic embedding when updating key vectors from sparse query feedback. Supported by: Including base embedding copies as a prior in the M-step keeps chunks that were never queried largely unchanged while raising held-out Recall@5 to 0.98 on the 20,640-chunk personal agent memory.
- Verify whether target queries reuse previously answered chunks before deploying feedback-based retrieval updates in production databases. Supported by: In the personal-memory evaluation, chunks asked about four times over 44 days benefited substantially, whereas chunks used only once give the model nothing to learn from.
Caveat. BRAG produces gains only when queries repeat on the same chunks over time, offering no benefit on single-use chunks or datasets without query reuse, and the paper evaluates only three of NUDGE’s seven text benchmarks alongside two public long-term memory benchmarks, TripClick logs, and one nine-month personal agent corpus. In addition, the paper’s proposed extensions for sharing evidence across similar neighboring chunks and reinforcement-learning control policies have not yet been implemented or tested.
In short
The authors formulate retrieval-augmented generation as a Bayesian state-estimation and control problem in which each chunk’s latent utility decays over time and its query distribution adapts via von Mises-Fisher mixtures. Evaluated on two public long-term memory benchmarks, three NUDGE text benchmarks, TripClick logs, and a 20,640-chunk personal agent memory, BRAG matches static feedback heuristics on stationary queries and raises Recall@5 from 0.67-0.71 to 0.80-0.86 when new chunks make old ones obsolete. Its improvements depend on repeated query patterns over time and require curator labels indicating which retrieved chunks contain the requested information.
Written from the paper's own text. Quoted passages are verbatim and the numbers are the authors' own. For the method and full results, read the paper.