BRAG: Bayesian Retrieval Augmented Generation
Javier MovellanManjot BilkhuYoung-mok JungSirajul SalekinHenry TranZhao Huang
Javier Movellan
Manjot Bilkhu
Young-mok Jung
Sirajul Salekin
Henry Tran
Zhao Huang
+6
BRAG is a generative model of retrieval with use that treats each memory chunk as generating the queries it answers from a mixture of von Mises-Fisher components anchored at its original embedding, with a latent utility that drifts over time. This yields an optimal closed-form filter storing a few keys and two scalars per chunk, updated online from curator labels, and recasts retrieval as a control problem; existing methods such as query averaging, Rocchio-style feedback, frequency reranking, NUDGE and LADER emerge as special cases with fixed parameters or limiting assumptions. On long-term memory benchmarks BRAG matches these methods when nothing changes, but when a new chunk makes an old one obsolete it retrieves the new chunk 0.80-0.86 of the time versus 0.67-0.71 Recall@5 for the others, and on nine months of a personal agent's memory (20,640 chunks) it raises held-out Recall@5 from 0.75 to 0.98 and Recall@1 from 0.44 to 0.97.

arXiv ·
· November 23, 2026