Reproduce “BRAG: Bayesian Retrieval Augmented Generation” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Javier Movellan, Manjot Bilkhu, Young-mok Jung, Sirajul Salekin, Henry Tran, Zhao Huang
BRAG adapts agent-memory retrieval by learning which queries point to each chunk and tracking its changing usefulness. Utility beliefs can decay without new evidence, helping newer information outrank obsolete material. On LongMemEval-M’s update task, BRAG retrieves the current-answer chunk in the top five at 0.860, versus 0.711 for Keys only; on never-asked chunks, it scores 0.320, below plain search’s 0.444.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.