GO TO A SECTION

↑ ↓ to navigate · Enter to openExplore all sections →
FDEInterviews logo
arXiv preprint

Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects

Hindsight keeps an agent's facts, experiences, opinions and entity summaries in separate networks. A 20B open model went from 39.0% to 83.6% on LongMemEval, though baselines came from other reports.

Breakdown by FDE Interviews · 12 min read · Updated

About the original · 2025
AUTHORS
Latimer, Boschi, Neeser, Bartholomew, Srivastava, Wang, Ramakrishnan
FROM
Vectorize.io, The Washington Post, Virginia Tech
PUBLISHED
Dec 2025 · arXiv preprint
CITED BY
38Semantic Scholar · Oct 2026
IN THIS BREAKDOWN · 10 SECTIONS

You can read 20% of this breakdown.

01

The paper in one minute

Most memory layers for agents extract snippets from conversations, store them in a vector or graph store, and paste the top few into the prompt. Hindsight argues that this blurs three things an assistant should keep apart: what it observed, what it did, and what it concluded.

Its memory bank has four networks. The world network holds objective facts ("Alice works at Google"). The experience network holds the agent's own actions, in the first person ("I recommended Yosemite to Alice"). The opinion network holds judgments with a confidence score between 0 and 1. The observation network holds neutral summaries of entities, rebuilt in the background when their facts change.

Three operations work on the bank. Retain turns conversations into two to five narrative facts each, self-contained paragraphs rather than single sentences, with time ranges and entities, and links facts that share an entity, are close in time, are semantically similar, or are causally related. Recall runs four retrieval channels in parallel (vector similarity, BM25 keyword search, spreading activation through the link graph, and a temporal filter), fuses them with Reciprocal Rank Fusion, reranks with a cross-encoder, and returns as many facts as fit a token budget. Reflect answers with a configured disposition (skepticism, literalism, empathy, each 1 to 5) and can form new opinions or adjust the confidence of existing ones when evidence arrives.

On LongMemEval, the same 20B open model scored 39.0% with the whole history in context and 83.6% with Hindsight.

THE IDEA, VISUALLY
FOUR NETWORKS: EVIDENCE APART FROM BELIEF World Alice works at Google Experience I recommended Yosemite Opinion Python is best for DS (c = 0.85) Observation Alice: ML engineer at Google RECALL: FOUR CHANNELS, ONE BUDGET semantic BM25 graph temporal RRF → cross-encoder → budget Graph: spreading activation from top semantic hits; causal and entity links weighted up, decay per hop. RETAIN AND REFLECT Retain: 2-5 narrative facts per conversation, time ranges, entities, links (entity, temporal, semantic, causal). Reflect: answer with disposition (skepticism, literalism, empathy 1-5; bias 0-1); opinions move ±α, −2α if contradicted. Retrieval budget in the paper: "<add> tokens". LONGMEMEVAL S, OVERALL (TABLE 3) full context, OSS-20B 39.0 full context, GPT-4o 60.2 Zep, GPT-4o 71.2 Supermemory, GPT-4o 81.6 Hindsight, OSS-20B 83.6 Hindsight, OSS-120B 89.0 Hindsight, Gemini-3 91.4 GPT-4o, Zep, Supermemory rows: copied, GPT-4o judge LOCOMO, OVERALL (TABLE 4) Mem0 66.88 Zep 75.14 Memobase 75.78 Hindsight, OSS-20B 83.18 Hindsight, OSS-120B 85.67 Hindsight, Gemini-3 89.61 Backboard (claimed) 90.0 Not everywhere: Memobase beats every Hindsight run on temporal questions (85.05); Zep beats the 120B run on multi-hop (66.04 vs 62.50). No ablations; no ingestion cost or latency.
Hindsight files every memory as a world fact, the agent's own experience, an opinion with a confidence score, or a neutral entity summary, then retrieves through four channels at once. Keeping beliefs out of the evidence is the design idea worth copying; the benchmark comparisons are looser than the headline suggests.
Research notes: the problem, approach and results
39.0% → 83.6%

LongMemEval with GPT-OSS-20B: full history in context versus Hindsight memory, same model

21.1% → 79.7%

multi-session questions for the same comparison, the largest single gain

4

parallel retrieval channels: semantic, BM25 keyword, graph spreading activation and temporal

THE PROBLEM

Memory layers for agents store snippets and retrieve the top k, mixing what a user said, what the agent did, and what the agent concluded. An assistant that cannot tell evidence from inference cannot explain its answers, and retrieval by similarity alone misses facts linked by person, time or cause.

THE IDEA

Organize memory into four networks (world facts, the agent's experiences, opinions with confidence, entity observations) with three operations. Retain extracts a few narrative facts per conversation with time ranges, entities and links. Recall runs semantic, keyword, graph and temporal retrieval in parallel, fuses and reranks them, and fills a token budget. Reflect answers in a configured style and forms or updates opinions.

THE RESULT

On LongMemEval, the open GPT-OSS-20B model scored 39.0% with its full history in context and 83.6% with Hindsight; with larger answer models, 89.0% and 91.4%. On LoCoMo, Hindsight reached 83.18% to 89.61%, against 75.78% for the best other open system. Baseline scores were taken from other reports with a different judge, and the retrieval budget is left as a placeholder.

02

Why it matters to an FDE

When an enterprise assistant says "this customer prefers email" or "this supplier is unreliable", someone eventually asks why. If memory mixes the customer's own words with the assistant's summary and a judgment it made last month, the answer cannot be traced. Hindsight's main contribution is a structure that keeps those apart.

Store facts, actions and judgments separately. A fact has a source; an action has a time and an actor; a judgment has a confidence and can change. Retrieval for a factual question should not return judgments as if they were facts.

Retrieve through several routes. Similarity search misses the fact about the same person from three months ago, or the event that caused the current problem. Keyword search catches exact names and IDs; graph links catch shared entities and causes; a time filter catches "what happened in June". Rank fusion combines them without tuning score scales.

Prefer narrative facts. Storing one paragraph per exchange ("Alice and Bob considered three names and chose Beach Beats because...") keeps the reasoning that five separate one-line facts lose.

Be careful with the numbers. The comparison systems' scores were copied from other reports that used a GPT-4o judge, while Hindsight was judged by a different model. The token budget for retrieval, the setting that most affects cost, appears in the paper as a literal placeholder, "<add> tokens". There are no ablations showing which of the four networks or channels matters, and no ingestion cost.

THE FULL BREAKDOWN

Understand the mechanism. Try it on a real problem.

Unlock this breakdown and 149 more papers.

Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.

6 months · One payment · No auto-renewal

Get Premium · ₹2,000 / $25
  • ◇1 architecture diagram
  • </>1 runnable code experiment
  • ▦2 results tables
  • ?5 interview questions with answers
  1. 03Key takeaways

    The memory unit, links, retrieval channels, opinions, results and three misreadings

    Free account
  2. 04How it works

    Retain, the four links, the recall channels and fusion, and the reflect and opinion loop

    Premium
  3. 05The numbers that matter

    Both benchmarks by question type, the configurations and how the baselines were scored

    Premium
  4. 06Try it yourself

    Read the tables critically, run four-channel recall with fusion, and probe two formulas

    Premium
  5. 07Where it breaks

    Cross-report baselines, missing settings and ablations, uneven wins, formula edge cases and slips

    Premium
  6. 08Using it on a deployment

    Building an assistant memory that keeps evidence, actions and judgments apart

    Premium
  7. 09Interview angles

    Five questions this paper prepares you for, with answer hints

    Premium
Back to the paper library →