Learning to Accumulate Knowledge with Mutual Information
Yuyang Zhao, Lizi Liao, Leyang Shen, Xiaoyan Zhao, Yang Zhang, Fuli Feng, Xiangnan He
Abstract
Large language model (LLM) agents can improve their performance by reusing knowledge distilled from past interactions. However, curating new experiences into a knowledge bank that becomes more useful as it grows remains challenging. Effective knowledge accumulation should limit redundant overlap among entries and ensure that new knowledge contributes beyond what the bank already provides. Yet training a curator with Group Relative Policy Optimization (GRPO) on standalone task success can reinforce general guidance even when it duplicates existing knowledge. Therefore, we propose Knowledge Weaver, a reinforcement learning framework that trains a language model to curate reusable knowledge from agent trajectories. We couple feedback inspired by token-wise mutual information (MI) with marginal success rewards to guide knowledge accumulation. Together, these signals encourage the curator to preserve distinct information from experience and produce entries that improve task success when added to existing knowledge. Standalone success rewards also favor entries that are useful on their own. On ALFWorld and WebShop, Knowledge Weaver achieves mean success rates of 54.0\% and 42.0\% with k=10 retrieved entries, exceeding GRPO by 16.9 and 18.7 percentage points, respectively. Its knowledge banks also outperform the evaluated prompt-based and established banks, including human-written banks, in overall ALFWorld success rate and WebShop score with the executor frozen. Our codebase is available at https://github.com/LaoKuiZe/Knowledge-Weaver.
Create a lesson
Related papers
What People Choose Not to Say: A Multimodal Benchmark for Fine-Grained Information Manipulation in Conversations
Shared title terminologycs.AIYuhan Bian, Zhaokai Liang, Jia Wang et al.
PseuDRAGON: Knowledge-Guided Local LLMs for Financial-Data Pseudonymization in Closed Networks
Shared title terminologycs.AIGwangui Hong, Seonho An, Seonkyu Lim et al.
Faithful and Complete LLM-Assisted Automated Construction of Hierarchical Hardware Knowledge Graphs
Shared title terminologycs.AIHaotian Qiao, Robert P. Dick
Accurate but Not Humble: Evaluating Epistemic Humility in LLM Agents under Knowledge Conflict
Shared title terminologycs.AIKaiser Sun, Bernal Jimenez Gutierrez, Hongjun Liu et al.
A Structural Theory of Cognitive Representation and Problem Solving,Contexts, Invariance, and the Knowledge Space
Shared title terminologycs.AIAntal Jakovác, András Telcs
PulseBound: Future-Beat State Forecasting Under an Explicit Information Boundary
Shared title terminologycs.AIChenyang Xu, Donglin Xie, Xi Xiang et al.