PatternBloom: Empowering Agentic RAG with Externalized RL-Distilled Graph Patterns
Yi Ge, Heng Huang
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Retrieval-Augmented Generation · Type: new method · Keywords: retrieval-augmented generation, graph pattern memory, reinforcement learning, information density reward, procedural knowledge
Areas: LLM Reasoning › Language Model Reasoning › Retrieval-augmented reasoning; Memory › Agent Memory Systems › Memory-Augmented Agents; AI Agents › Agent Capabilities › Agentic RAG; Retrieval-Augmented Generation › Language Model Retrieval › Internal Retrieval Mechanisms; RL for LLMs & Agents › Language Model Agents › Language Model Optimization
Summary
PatternBloom introduces an agentic RAG framework that shifts retrieval from content to logic, distills procedural reasoning into a graph pattern memory, and achieves significant out-of-distribution gains as reasoning depth increases.
Explained to a 5-year-old
Some computers help answer questions by looking up information. They sometimes get stuck when they need to think through many steps because they forget how they thought before. This paper makes a new kind of computer that learns how to think in steps and remembers those steps. It uses a special reward to teach the computer which steps are useful. Because it can reuse its memory, it answers harder questions more accurately.
Explained to a 5-year-old, longer
A computer program called an agent helps answer questions by looking up information from the internet. It reads pieces of text or parts of a knowledge graph to find facts it needs. However, when the question needs many steps of thinking, the agent mixes up the facts with how it thinks. This mixing makes it hard for the agent to keep going deeper and deeper. The paper proposes a new way to help the agent separate thinking steps from the facts. First, the agent builds a small graph that shows how the pieces of information connect. It gets a score based on how much new information this graph adds, using a simple reward. The best graphs are saved as patterns that capture the reasoning steps. These patterns become a memory that the agent can reuse later. A second reward encourages the agent to follow these patterns when it answers new questions. By storing how to think instead of just what to read, the agent can handle longer chains of reasoning. This makes the agent better at answering tricky questions, especially when the data is different from what it saw before.
For a technical reader
The paper addresses the limitation of existing retrieval-augmented generation (RAG) systems where reasoning steps remain internal to the language model, causing performance to plateau with deeper queries. It proposes constructing an evidence graph during retrieval and evaluating it with an information-density reward that approximates mutual information. High-scoring trajectories are distilled into a graph pattern memory that abstracts procedural reasoning into reusable skeletons. A second reinforcement-learning stage uses a pattern-augmented reward to align the policy with this memory, effectively externalizing procedural knowledge. Empirical results show a +15.0 Avg-OOD EM gain over 27 baselines, with improvements scaling with reasoning depth.
Problem
Existing retrieval-augmented generation agents keep reasoning inside the language model, mixing declarative and procedural knowledge, which causes performance to plateau as reasoning depth grows.
Method
The approach builds an evidence graph during retrieval, scores it with an information-density reward approximating mutual information, distills high-reward trajectories into a graph pattern memory of abstract reasoning skeletons, and uses a pattern-augmented reward to align the policy with this memory, externalizing procedural knowledge.
Results
The approach achieves a +15.0 Avg-OOD EM improvement over 27 baselines, with gains increasing as reasoning depth grows.
Contributions
It introduces a shift from content-based to logic-based retrieval, an information-density reward, a graph pattern memory for distilled procedural reasoning, and a pattern-augmented reward to externalize reasoning as a structural prior.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction