GO TO A SECTION

↑ ↓ to navigate · Enter to openExplore all sections →
FDEInterviews logo
ICML 2025

From RAG to Memory: Non-Parametric Continual Learning for Large Language Models

Graph retrieval that doesn't lose to plain embeddings on simple questions: LLM-extracted triples plus passage nodes, searched with Personalized PageRank. Real multi-hop gains, at 8x the indexing time.

Breakdown by FDE Interviews · 13 min read · Updated

About the original · 2025
AUTHORS
Gutiérrez, Shu, Qi, Zhou, Su
FROM
The Ohio State University, University of Illinois Urbana-Champaign
PUBLISHED
Feb 2025 · ICML 2025
CITED BY
272Semantic Scholar · Oct 2026
IN THIS BREAKDOWN · 10 SECTIONS

You can read 17% of this breakdown.

01

The paper in one minute

Embedding retrieval finds passages that look like the question. Multi-hop questions need a passage that does not: "What county is Erik Hort's birthplace a part of?" needs the passage about Erik Hort and then the passage about Montebello, which never mentions him. HippoRAG (2024) handled this by extracting a knowledge graph with an LLM and running Personalized PageRank from the entities in the question. It helped on multi-hop benchmarks but fell below plain embedding retrieval on simple factual questions, as did GraphRAG, LightRAG and RAPTOR.

HippoRAG 2 makes three changes. Passage nodes: every passage joins the graph, connected by "contains" edges to the phrases extracted from it, so PageRank scores passages directly. Query-to-triple linking: instead of extracting entities from the question, the whole query is embedded and matched against triples such as (Erik Hort, born in, Montebello), which carry the relation the question asks about. Recognition memory: an LLM looks at the top 5 matched triples and keeps up to 4 that matter.

The kept triples' phrases, plus every passage weighted by its similarity times 0.05, seed PageRank with damping 0.5. The top 5 passages by score go to the reader.

On seven benchmarks with a Llama-3.3-70B reader, average F1 is 59.8 against 57.0 for NV-Embed-v2, the strongest embedding baseline, and 53.1 for the original HippoRAG. Recall@5 on the three multi-hop sets with passage labels rises by 6.9 points on average. Indexing needs an LLM pass over every passage: 99.5 minutes on 4 H100s for 11,656 passages, against 12.1 for embeddings.

THE IDEA, VISUALLY
THE OPEN KG, ON THE PAPER'S OWN EXAMPLE Q: What county is Erik Hort's birthplace a part of? P · Erik Hort P · Montebello, NY P · Hertfordshire erik hort montebello rockland county hertfordshire born in in dashed: contains · solid: relation · synonym edge if similarity ≥ 0.8 ONLINE, PER QUERY 1 embed the query, retrieve the top 5 triples 2 an LLM filter keeps up to 4 ("recognition memory") 3 seed PPR: kept phrases by score, every passage 4 PageRank, damping 0.5; top 5 passages to the reader by similarity × 0.05 WHAT EACH SYSTEM RETRIEVED (TABLE 6) NV-Embed-v2: Erik Hort · Horton Park · Hertfordshire HippoRAG 2: Erik Hort · Horton Park · Montebello The bridge passage lands third, not second: similarity still ranks the "Hort" lookalike above it. F1 GAIN OVER NV-EMBED-V2 (TABLE 2) NQ +1.4 PopQA +0.5 MuSiQue +2.9 2Wiki +9.5 HotpotQA +0.2 LV-Eval +3.1 124 queries NarrativeQA +0.2 293 queries average 57.0 → 59.8; Llama-3.3-70B reader COST ON MUSIQUE, 11,656 PASSAGES (TABLE 12) NV-Embed HippoRAG 2 indexing (min) 12.1 99.5 per query (s) 0.3 1.2 QA GPU memory (GB) 1.7 9.9 LLM tokens to index 0 9.2M + 3.0M ABLATION, AVERAGE RECALL@5 (TABLE 4) full system 87.1 no LLM filter 86.4 no passage nodes 81.0 link by NER, not triples 74.6 link query to nodes 59.6 axis starts at 50; the filter is worth 0.7 points
Passages become nodes in the same graph as the phrases extracted from them, so a query that matches one fact can spread to the passage holding the next hop. The bridge passage still lands third in the paper's own example.
Research notes: the problem, approach and results
+9.5 F1

gain over NV-Embed-v2 on 2Wiki, the largest of the seven benchmarks; HotpotQA and NarrativeQA gained 0.2

8.2x

indexing time versus embeddings alone on MuSiQue's 11,656 passages (99.5 vs 12.1 minutes on 4 H100s)

0.7 points

average recall@5 lost by removing the LLM triple filter; linking the query to triples instead of entities was worth 12.5

THE PROBLEM

Graph-based RAG systems (GraphRAG, LightRAG, RAPTOR, the original HippoRAG) help on multi-hop questions but fall below a strong embedding retriever on simple factual ones, so a team adopting them trades one kind of question for another.

THE IDEA

Keep HippoRAG's LLM-extracted knowledge graph and Personalized PageRank search, add every passage as a node linked to its phrases, match the whole query to triples rather than to entities, and let an LLM filter those triples before they seed the search.

THE RESULT

With a Llama-3.3-70B reader, average F1 rose from 57.0 (NV-Embed-v2) to 59.8, with the largest gains on 2Wiki (+9.5) and MuSiQue (+2.9) and no loss on simple QA. Indexing MuSiQue took 99.5 minutes versus 12.1 for embeddings alone, and queries took 1.2 seconds versus 0.3.

02

Why it matters to an FDE

Customers ask questions whose answer is spread across documents: which suppliers serve the plant that failed the audit, which contracts reference the clause that legal just changed, which pump uses the seal named in a recall. Dense retrieval returns the first hop and stops. This paper is the cleanest evidence so far that a graph layer can recover the second hop without losing simple lookups, which is what blocked most graph-RAG proposals in production.

It also tells you what to put in the budget. Indexing is an LLM call per passage, about 790 input and 260 output tokens each on MuSiQue, and the index lives on a GPU box for queries: 9.9 GB of memory during QA beyond model weights, against 1.7 GB for embeddings alone. That is far cheaper than GraphRAG (115.5M input tokens for the same corpus, against 9.2M), and far more than a vector index.

The gains are uneven. They are large where questions chain entities (2Wiki +9.5 F1) and close to zero where the answer sits in one passage (HotpotQA +0.2) or needs reading a whole novel (NarrativeQA +0.2). Run your own multi-hop sample before promising anything, and keep the embedding retriever as the fallback: the method already uses it when the filter keeps no triples.

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

    What each change bought, where the gains are, the cost table and three misreadings

    Free account
  2. 04How it works

    Offline graph building, online seeding and PageRank, and the parameters the paper fixed

    Premium
  3. 05The numbers that matter

    QA and recall tables, ablations, cost, embedder swaps and the error analysis

    Premium
  4. 06Try it yourself

    Recompute the 7% claim and the cost ratios, then run PageRank retrieval on the paper's own example

    Premium
  5. 07Where it breaks

    Indexing cost, a filter that drops evidence, no deletion story, small test sets, slips

    Premium
  6. 08Using it on a deployment

    Whether a customer's questions need it, sizing the build, running it beside dense retrieval

    Premium
  7. 09Interview angles

    Five questions this paper prepares you for, with answer hints

    Premium
Back to the paper library →