Procedural Graphs: Self-Evolving Execution Structures for LLM Agents
Reading guide · Based on sections of the original paper
Why read this
Practitioners building tool-using or long-horizon agents can use it to judge whether structured, self-refining procedural memory beats text-memory baselines and what it costs in tokens.
What the authors found
- With a shared ReAct solver across six benchmarks and four LLMs, the authors report that PG ranked first or joint first in 21 of 24 settings. Against the strongest baseline in each setting, it had 19 wins, 2 ties and 3 losses (sign-test p=4.3e-4). Gains were uneven: HotpotQA margins ranged from −0.90 to +1.30 points. 5.1 Main Results across Benchmarks and Models
- In a ten-round self-evolution run on EnterpriseArena with Gemini 3.5 Flash, the returned graph reached 85% test survival versus 0% for the unguided baseline. The authors caution that each split has only 20 episodes. In the separate main comparison with Flash, PG did not improve on the 0% full-horizon survival. 5.4 Procedural Graph Self-Evolution
- On a 56-sample MultiChallenge split, a hand-crafted expert graph cut success from 87.50% to 58.93%. Iterative evolution from that prior recovered it to 92.86%, and evolution from scratch reached 91.07%. 5.3 Procedural Graph Construction Strategies
Main limitation
Guidance adds an extra LLM call per step. With Gemini 3.5 Flash, localized guidance used 33.4% more total tokens than the no-graph baseline on GDPval and 55.4% more on ALFWorld, even though it reduced solver steps. 5.5 Efficiency Analysis
Where to start
5.5 Efficiency Analysis · The ablation compares localized and full-graph guidance and raw versus generative use. It shows the full-graph variant hurting ALFWorld and gives token and step costs per benchmark.
Abstract
Large language models are increasingly deployed as agents that plan over long horizons and act through external tools. Most agents select actions through unconstrained generation over an accumulating history, leaving implicit the procedural knowledge of what to do, in what order, and under which conditions. As trajectories lengthen, agents can lose track of their objectives, invoke tools out of order, and repeat unproductive actions. We introduce the Procedural Graph: just as a knowledge graph organizes factual knowledge into (entity, relation, entity) triplets for what-is questions, a Procedural Graph organizes procedural knowledge into (procedure, relation, procedure) triplets for what-to-do questions. At each decision step, the framework localizes the agent's active node, and a guidance model translates the surrounding subgraph into step-level situational guidance that biases the solver's next action without dictating it. The graph is self-evolving: an LLM refiner contrasts failed trajectories with successful ones and edits the graph's topology and attributes, committing edits that preserve or improve held-out validation performance while retaining rejected ones to discourage repetition. Starting from a minimal skeleton, the loop builds graphs that match or surpass hand-designed ones. It can also repair a flawed expert prior. Across multiple datasets, task types, and LLMs, the Procedural Graph delivers consistent gains over memory-based baselines, and self-evolution further improves performance without manual engineering.