ExpGraph: Model-Agnostic Experience Learning with Graph-Structured Memory for LLM Agents

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Feng, Tao, Ye, Chongrui, Luo, Tianyang, Xu, Jingjun, Xu, Xueqiang, Zhang, Haozhen, Hua, Zhigang, Xie, Yan, Yang, Shuang, Liu, Ge, You, Jiaxuan
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916064032456704
author Feng, Tao
Ye, Chongrui
Luo, Tianyang
Xu, Jingjun
Xu, Xueqiang
Zhang, Haozhen
Hua, Zhigang
Xie, Yan
Yang, Shuang
Liu, Ge
You, Jiaxuan
author_facet Feng, Tao
Ye, Chongrui
Luo, Tianyang
Xu, Jingjun
Xu, Xueqiang
Zhang, Haozhen
Hua, Zhigang
Xie, Yan
Yang, Shuang
Liu, Ge
You, Jiaxuan
contents Large language model (LLM) agents have shown strong capabilities in reasoning, tool use, and multi-step interaction, but they often solve tasks from scratch and fail to reuse successful strategies or failure lessons from prior experience. Fine-tuning on collected experience can improve reuse, but it is inflexible when stronger or more suitable executors emerge. We propose ExpGraph, a model-agnostic experience learning framework that enables frozen and replaceable LLM executors to improve through external experience reuse without parameter updates. ExpGraph summarizes historical trajectories into reusable skills and failure lessons, organizes them as nodes in a self-evolving experience graph, and retrieves useful experiences through graph diffusion and utility-aware ranking. A lightweight retrieval copilot is trained with reinforcement learning using feedback that compares executor performance with and without retrieved experiences, while the graph is updated online from downstream task outcomes. We evaluate ExpGraph on ExpSuite, covering question answering, mathematical reasoning, code generation, and multi-step agentic environments including ALFWorld and AppWorld. ExpGraph improves over the strongest baseline by 12.2% and 4.7% on static tasks with smaller and larger executors, and by 21.4% and 12.7% in agentic environments, while reducing average interaction steps by 12.7% and 21.6%. Ablations show that graph-structured experience, utility-aware ranking, and adaptive retrieval jointly enable effective experience reuse across diverse tasks and executor models.
format Preprint
id arxiv_https___arxiv_org_abs_2605_30712
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle ExpGraph: Model-Agnostic Experience Learning with Graph-Structured Memory for LLM Agents
Feng, Tao
Ye, Chongrui
Luo, Tianyang
Xu, Jingjun
Xu, Xueqiang
Zhang, Haozhen
Hua, Zhigang
Xie, Yan
Yang, Shuang
Liu, Ge
You, Jiaxuan
Computation and Language
Large language model (LLM) agents have shown strong capabilities in reasoning, tool use, and multi-step interaction, but they often solve tasks from scratch and fail to reuse successful strategies or failure lessons from prior experience. Fine-tuning on collected experience can improve reuse, but it is inflexible when stronger or more suitable executors emerge. We propose ExpGraph, a model-agnostic experience learning framework that enables frozen and replaceable LLM executors to improve through external experience reuse without parameter updates. ExpGraph summarizes historical trajectories into reusable skills and failure lessons, organizes them as nodes in a self-evolving experience graph, and retrieves useful experiences through graph diffusion and utility-aware ranking. A lightweight retrieval copilot is trained with reinforcement learning using feedback that compares executor performance with and without retrieved experiences, while the graph is updated online from downstream task outcomes. We evaluate ExpGraph on ExpSuite, covering question answering, mathematical reasoning, code generation, and multi-step agentic environments including ALFWorld and AppWorld. ExpGraph improves over the strongest baseline by 12.2% and 4.7% on static tasks with smaller and larger executors, and by 21.4% and 12.7% in agentic environments, while reducing average interaction steps by 12.7% and 21.6%. Ablations show that graph-structured experience, utility-aware ranking, and adaptive retrieval jointly enable effective experience reuse across diverse tasks and executor models.
title ExpGraph: Model-Agnostic Experience Learning with Graph-Structured Memory for LLM Agents
topic Computation and Language
url https://arxiv.org/abs/2605.30712