When you try to recall something, one concept pulls up a whole web of related ones, even things the question never mentioned. Cognitive science calls this spreading activation. Most RAG systems have none of it, and they stay locked to a single source, either text passages or a knowledge graph, never both.🤔
KG-Infused RAG from @TsinghuaNLP (OpenBMB member) and Northeastern University brings knowledge graphs into RAG and uses spreading activation to drive both retrieval and generation, so answers rest on text passages and structured facts at once.
Paper: KG-Infused RAG: Augmenting Corpus-Based RAG With External knowledge Graphs arxiv: https://arxiv.org/abs/2506.09542 Code: https://github.com/thunlp/KG-Infused-RAG
1️⃣It starts from the query's seed entities and hops outward over a curated KG (Wikidata5M, ~21M triples). Each round has the LLM pick relevant triples from the current entities' one-hop neighbors, accumulate them into a growing subgraph, and track already-activated entities to avoid loops, covering one-hop to k-hop neighborhoods before summarizing the subgraph into natural language.
2️⃣Those activated facts are used twice. First they expand the query (simplifying a complex question by swapping intermediate entities, or adding clues that text alone matches poorly), then dual retrieval merges passages from both the original and expanded queries. At generation, retrieved passages are summarized into a query-focused note that the KG subgraph summary then augments into a fact-enhanced note.
3️⃣ It works, and the structured knowledge is the reason. On four multi-hop datasets across Qwen2.5-7B and LLaMA3.1-8B, KG-Infused RAG beats every standard baseline; with two activation rounds and DPO, the DPO-trained LLaMA3.1-8B improves Avg over Vanilla RAG by 3.8% to 13.8%. Plain query expansion without KG facts barely moves, confirming external structure is what matters.