Evidence-grounded memory: compiled context plus traceable paths to sources
LangChain tests a compiled wiki and a lightweight evidence graph as a reusable memory layer for questions that span changing documents. The graph links synthesized claims back to exact passages and typed relationships.
What the source says
On a synthetic insurance corpus, compiled memory improved connected-question accuracy from 0.10 to 0.52 versus keyword search. Simple lookups saw no accuracy gain and became slower.
Adding typed evidence paths improved accuracy by 27% over the wiki alone, doubled citation consistency, and reduced cost per correct answer by 58%. The benchmark excludes compilation and update costs from answer-time costs.
Claims retain source-line hashes so changed passages can be flagged deterministically before a model confirms, revises, or retracts the affected memory. Results depend on a synthetic corpus and model-generated citations.
Original source
This is AgentBee’s editorial digest and analysis of the source, not a reproduction of the full article.
Eugene Liu · LangChain ↗