PatternBloom: Empowering Agentic RAG with Externalized RL-Distilled Graph Patterns
Abstract
Reinforcement-learning-trained agents for retrieval-augmented generation retrieve content (passages, knowledge-graph fragments, or hyperedges) and supervise training with outcome rewards on the final answer. Across these paradigms the reasoning route through retrieved content never leaves the language model's hidden state, conflating declarative knowledge with the procedural knowledge that recurs across queries of the same logical type; content-only methods consequently plateau as reasoning depth grows. We introduce PatternBloom, an agentic RAG framework that shifts the unit of retrieval from content (what to read) to logic (how to reason). A first RL stage scores the agent's constructed evidence graph by a frozen oracle's information gain through the Information-Density Reward (IDR), a size-normalized mutual-information surrogate. High-reward trajectories are distilled into a Graph Pattern Memory (GPM) of type-abstracted reasoning skeletons, and a second RL stage uses the Pattern-Augmented Reward (PAR) to couple policy to memory, turning procedural reasoning into a learnable, externalized structural prior. A 7B PatternBloom outperforms baselines by Avg-OOD EM, with the gain compounding with reasoning depth precisely because procedural knowledge, once distilled, is reused rather than re-derived at every query. We release our code at https://github.com/EllenYiGe/PatternBloom.
Create a lesson
Related papers
Distilling Visual Agents from Limited Interaction Experience
Shared title terminology · Siyu Zhou, Jing Jiang, Chengqi Zhang et al.
ECOS: Environment-Calibrated On-Policy Self-Distillation for Language Agents
Shared title terminology · Chenhao Zhang, Zhongan Wang, Mingxuan Li et al.
Fin-RSI: A Unified Library of Financial Skills, Checks, and Self-Improvement for LLM Agents
Shared title terminology · Wanghao Ye, Shwai He, Sihan Chen et al.
Wactorz: Self-Writing LLM Agents That Discover, Repair, and Migrate at the Edge
Shared title terminology · Panagiotis Kasnesis, Lazaros Toumanidis, Amalia Contiero Syropoulou et al.
Similarity-Constrained Reweighting for Complex Query Answering on Knowledge Graphs
Shared title terminology · Daniel Daza, Alberto Bernardi, Luca Costabello et al.
Layer-Level Control of Language Model Execution in Agent Frameworks
Shared title terminology · Ran Guan, Yiqi Lin, Xiangxi Tian et al.