cs.AIOct 19, 2026

SPEM: Structure-Aware Procedural Memory for Efficient Skill Use in LLM Agents

Authors: Ran Zhou, Zehui Kong, Fanyu Lin, Jiaheng Liu, Zhen Zhang, Yuxiang Ren

Organizations: School of Intelligence Science and Technology, Nanjing University

Abstract

LLM-based agents increasingly rely on reusable skills. However, scaling skill libraries makes efficient and accurate skill use difficult. Full skill loading incurs high token and runtime overhead. In contrast, flat semantic retrieval treats skills as independent text entries, ignoring dependencies, execution order, state transitions, and data flow constraints. We propose SPEM, a lightweight structure-aware procedural memory framework for efficient skill use in LLM-based agents. SPEM maintains Atomic Skill Memory for individual skills and Skill-DAG Memory for reusable compositions derived from successful executions. For a new task, SPEM reuses high-confidence Skill-DAG templates when available. Otherwise, it retrieves atomic skills and invokes Skill-GNN for state- and structure-aware skill selection. Successful executions are written back as new Skill-DAGs, allowing procedural memory to accumulate over time. Experiments on ALFWorld and SkillsBench show that SPEM achieves the best overall effectiveness--efficiency trade-off, reaching 87.1% ALFWorld success and 38.38% SkillsBench reward while reducing token and runtime costs against strong baselines.

Figures & tables

Explore similar work

CardsList
  1. HyperSkill: Self-Evolving LLM Agents via Hypergraph-Structured Skill Memory

    Aug 17, 2026Ruiyao Xu, Tiankai Yang, Wei-Chieh HuangAgent MemoryLLM Agent Memory

  2. LatentSkill: From In-Context Textual Skills to In-Weight Latent Skills for LLM Agents

    Jun 4, 2026Aofan Yu, Chenyu Zhou, Tianyi Xu +8LLM Agent Skill LearningIn-Context Learning

  3. When Not to Imitate: Boundary-Aware Skill Memory for Reliable Tool-Use LLM Agents

    Aug 23, 2026Zihan Lin, Zhenyu Chen, Jiawen Wei +6LLM Agent MemoryLLM Agent Skill Learning