Trajectory-Informed Memory Generation for Self-Improving Agent Systems

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Fang, Gaodan, Isahagian, Vatche, Jayaram, K. R., Kumar, Ritesh, Muthusamy, Vinod, Oum, Punleuk, Thomas, Gegi
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914386243747840
author Fang, Gaodan
Isahagian, Vatche
Jayaram, K. R.
Kumar, Ritesh
Muthusamy, Vinod
Oum, Punleuk
Thomas, Gegi
author_facet Fang, Gaodan
Isahagian, Vatche
Jayaram, K. R.
Kumar, Ritesh
Muthusamy, Vinod
Oum, Punleuk
Thomas, Gegi
contents LLM-powered agents face a persistent challenge: learning from their execution experiences to improve future performance. While agents can successfully complete many tasks, they often repeat inefficient patterns, fail to recover from similar errors, and miss opportunities to apply successful strategies from past executions. We present a novel framework for automatically extracting actionable learnings from agent execution trajectories and utilizing them to improve future performance through contextual memory retrieval. Our approach comprises four components: (1) a Trajectory Intelligence Extractor that performs semantic analysis of agent reasoning patterns, (2) a Decision Attribution Analyzer that identifies which decisions and reasoning steps led to failures, recoveries, or inefficiencies, (3) a Contextual Learning Generator that produces three types of guidance -- strategy tips from successful patterns, recovery tips from failure handling, and optimization tips from inefficient but successful executions, and (4) an Adaptive Memory Retrieval System that injects relevant learnings into agent prompts based on multi-dimensional similarity. Unlike existing memory systems that store generic conversational facts, our framework understands execution patterns, extracts structured learnings with provenance, and retrieves guidance tailored to specific task contexts. Evaluation on the AppWorld benchmark demonstrates consistent improvements, with up to 14.3 percentage point gains in scenario goal completion on held-out tasks and particularly strong benefits on complex tasks (28.5~pp scenario goal improvement, a 149\% relative increase).
format Preprint
id arxiv_https___arxiv_org_abs_2603_10600
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Trajectory-Informed Memory Generation for Self-Improving Agent Systems
Fang, Gaodan
Isahagian, Vatche
Jayaram, K. R.
Kumar, Ritesh
Muthusamy, Vinod
Oum, Punleuk
Thomas, Gegi
Artificial Intelligence
Databases
Information Retrieval
LLM-powered agents face a persistent challenge: learning from their execution experiences to improve future performance. While agents can successfully complete many tasks, they often repeat inefficient patterns, fail to recover from similar errors, and miss opportunities to apply successful strategies from past executions. We present a novel framework for automatically extracting actionable learnings from agent execution trajectories and utilizing them to improve future performance through contextual memory retrieval. Our approach comprises four components: (1) a Trajectory Intelligence Extractor that performs semantic analysis of agent reasoning patterns, (2) a Decision Attribution Analyzer that identifies which decisions and reasoning steps led to failures, recoveries, or inefficiencies, (3) a Contextual Learning Generator that produces three types of guidance -- strategy tips from successful patterns, recovery tips from failure handling, and optimization tips from inefficient but successful executions, and (4) an Adaptive Memory Retrieval System that injects relevant learnings into agent prompts based on multi-dimensional similarity. Unlike existing memory systems that store generic conversational facts, our framework understands execution patterns, extracts structured learnings with provenance, and retrieves guidance tailored to specific task contexts. Evaluation on the AppWorld benchmark demonstrates consistent improvements, with up to 14.3 percentage point gains in scenario goal completion on held-out tasks and particularly strong benefits on complex tasks (28.5~pp scenario goal improvement, a 149\% relative increase).
title Trajectory-Informed Memory Generation for Self-Improving Agent Systems
topic Artificial Intelligence
Databases
Information Retrieval
url https://arxiv.org/abs/2603.10600