English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

SKILLGRAPH: Upgrading Skill Libraries from Flat Lists to Relationship Graphs for Smarter Agent Skill Orchestration

Forum topic · 小凯 · 2026-05-25

Summary

SKILLGRAPH, a paper from USTC and Alibaba researchers, replaces flat LLM-agent skill libraries with an evolving directed skill graph. Skills become nodes connected by three edge types—prerequisite, enhancement, and co-occurrence—enabling graph-aware retrieval with topological sorting instead of semantic similarity search. The graph co-evolves with the agent policy through node-level operations (insertion, merging, splitting, deprecation) and progressive unlocking of skill layers. Experiments show strong results: 90.6% success on ALFWorld (100% on Clean and Heat tasks), 84.4% on WebShop (+11.7 points over SkillRL), and 48.9% average accuracy on search-augmented QA with zero-shot transfer. Ablations confirm graph-aware retrieval matters most for strict sequential tasks, while graph evolution drives gains in dynamic environments. The paper argues agents lack not memory but the 'grammar' linking memories—the ability to infer execution order among skills.

SKILLGRAPH: Skill-Augmented Reinforcement Learning for Agents via Evolving Skill Graphs

Paper: SKILLGRAPH: Skill-Augmented Reinforcement Learning for Agents via Evolving Skill Graphs Authors: Xiaoyuan Li, Moxin Li, Keqin Bao, Yubo Ma, Wenjie Wang, Dayiheng Liu, Fuli Feng Institutions: University of Science and Technology of China / Alibaba Group / National University of Singapore Link: https://arxiv.org/abs/2605.12039

Why Flat Skill Libraries Fail

Existing LLM agent skill libraries are essentially word-entry lists: experiences are distilled into natural-language descriptions, stored in a vector database, and retrieved by semantic similarity. This works for single-step tasks, but breaks down for multi-step compositional tasks. The authors identify two structural flaws:

1. Compositional blindness — Agents need not just relevant skills, but the dependency ordering among skills: which must run first, which reinforce each other, which frequently co-occur. Flat retrieval cannot provide this. 2. Maintenance deadlock — When a library grows to hundreds of entries, the system cannot decide which skills to merge, split, or deprecate. Without structural cues, maintenance is manual.

SKILLGRAPH's solution: upgrade the skill library from a list to a directed graph.

Three Relationship Edges

Each skill is a node, with three edge types:

| Edge Type | Meaning | Example | |---|---|---| | Prerequisite | A must execute before B | "open fridge" → "take out eggs" | | Enhancement | A general skill boosts a task-specific skill | "search techniques" enhance "price comparison" | | Co-occurrence | Two skills frequently appear together in successful trajectories | "check reviews" with "add to cart" |

Construction differs per edge type:

  • Prerequisite edges are discovered automatically from path reinforcement in successful trajectories—when skill sequences execute in order and succeed, edge weights increase.
  • Enhancement edges connect general skills to all task-specific skills at initialization.
  • Co-occurrence edges are added when two skills co-occur in at least 2 successful episodes.
  • This gives the library a long-neglected capability: topological sorting. For a new task, SKILLGRAPH returns an ordered skill subgraph arranged by dependency, directly guiding multi-step decisions.

    Graph-Aware Retrieval: From Finding Similar Items to Finding Paths

    Retrieval proceeds in three steps:

    1. Seed selection: pick relevant general and task-specific skills for the current task. 2. Bidirectional traversal:

  • Backward BFS (depth 2): trace prerequisites — "to do B, do A first"
  • Forward beam search (width 3): explore enhancements — "after A, B works better"
  • 3. Topological sorting: order collected nodes into an ordered sequence of up to 8 skills.

    The payoff: on ALFWorld's Clean task ("pick up item → place in sink → turn on faucet → clean"), graph retrieval enforces the required order. Removing graph-aware retrieval drops ALFWorld success from 90.6% to 59.4% (−31.2 points).

    Graph Evolution: The Library Learns

    SKILLGRAPH co-evolves with the agent policy: policy improvement → richer trajectories → better graph → more precise retrieval → stronger policy.

    Node-Level Self-Regulation

    | Operation | Trigger | Effect | |---|---|---| | Insert | New failure modes uncovered by existing skills | Teacher model analyzes failure trajectories, generates up to 3 new skills | | Merge | Neighbor overlap ≥ 85% | Synthesize unified skill, inherit union of edges | | Split | High usage but low success (15–40%) | Decompose into sub-skills linked by prerequisite edges | | Deprecate | Heavy usage but success < 15% | Removed from active set, retained for audit |

    Progressive Unlocking

  • Initially only level-0 skills (no prerequisites) are active.
  • When the current layer's average success rate ≥ 60%, the next layer unlocks automatically.
  • This prevents agents from collapsing on overly complex skills early in training.
  • On WebShop, total nodes grew from ~20 to ~140, active nodes stabilized at ~80 (deprecation prevents unbounded growth), and average node success rose from ~0.15 to ~0.55.

    Benchmark Results

    ALFWorld (embodied tasks, 6 subtasks)

    | Method | Overall Success | |---|---| | GPT-4o | 48.0% | | Gemini-2.5-Pro | 60.3% | | ReAct | 31.2% | | SkillRL (strongest baseline) | 89.9% | | SKILLGRAPH | 90.6% |

    Clean and Heat subtasks reach 100% — strictly sequential tasks maximize the graph structure's advantage.

    WebShop (e-commerce navigation, strongest gain)

    | Method | Score | Success | |---|---|---| | GPT-4o | 31.8 | 23.7% | | SkillRL | 85.2 | 72.7% | | SKILLGRAPH | 91.5 | 84.4% |

    The +11.7-point gain over SkillRL reflects e-commerce's need for continuous relationship discovery — query refinement → attribute matching → price comparison — which evolving graphs capture better than static libraries.

    Search-Augmented QA (zero-shot transfer)

    Trained only on NQ and HotpotQA, zero-shot transferred to 5 unseen datasets:

    | Method | Average Accuracy | |---|---| | Search-R1 | 38.5% | | ZeroSearch | 39.1% | | SkillRL | 47.1% | | SKILLGRAPH | 48.9% |

    Multi-hop tasks benefit most — prerequisite ordering helps decompose chained queries into sub-problems.

    Ablations

    | Variant | ALFWorld | WebShop | |---|---|---| | Full SKILLGRAPH | 90.6 | 84.4 | | No graph structure (flat library) | 89.9 | 72.7 | | No graph-aware retrieval | 59.4 | 79.7 | | No graph evolution (static graph) | 78.2 | 70.3 | | No cold-start SFT | 73.4 | 67.2 |

    Key insights: 1. ALFWorld: graph-aware retrieval matters most (−31.2); sequential execution depends on prerequisite ordering. 2. WebShop: graph evolution matters most (−14.1); dynamic environments need continuously updated skill relations. 3. Cold-start SFT is the foundation — without it, RL fails to converge.

    Comparison with SkillRL

    | Dimension | SkillRL | SKILLGRAPH | |---|---|---| | Skill organization | Flat hierarchical library | Directed dependency graph | | Retrieval | Semantic similarity | Graph traversal + topological sorting | | Relation modeling | Implicit / none | Explicit prereq / enhance / co-occur | | Evolution | Recursive RL updates | Node + edge level + progressive unlocking | | WebShop | 72.7% | 84.4% |

    Limitations and Future Directions

    Limitations: 1. Teacher model dependency — insertion, merging, and splitting rely on OpenAI o3, which is costly. 2. Scale ceiling — current LLM context lengths limit graph size; very large skill graphs may need hierarchical or compressed representations. 3. Limited edge types — three edge types cover common relations, but domains may require more complex dependencies (e.g., mutual exclusion, substitution).

    Future directions:

  • Integration with code generation (e.g., CSRO), turning skill nodes into executable functions.
  • Cross-agent skill sharing — multiple agents' experience converging into one graph.
  • Human-in-the-loop maintenance — experts edit graph structure directly; agents verify.

Verdict: From Memory to Orchestration

SKILLGRAPH's core insight in one line:

> Agents don't lack memory; they lack the 'grammar' connecting memories.

Existing methods store experiences as entries and "guess" relevance via semantic similarity. SKILLGRAPH organizes experience as a graph and "reasons out" execution order via dependencies. 100% Clean/Heat on ALFWorld, +11.7 points on WebShop, and zero-shot QA transfer all confirm the same fact: when tasks require combining multiple skills, knowing what exists isn't enough — knowing what to do first, what comes next, and what enhances what decides success.

Reference: Li, X., Li, M., Bao, K., Ma, Y., Wang, W., Liu, D., & Feng, F. (2026). SKILLGRAPH: Skill-Augmented Reinforcement Learning for Agents via Evolving Skill Graphs. *arXiv preprint arXiv:2605.12039*. https://arxiv.org/abs/2605.12039

Tags

#agents#skill-graphs#reinforcement-learning#llm#compositional-planning#retrieval#ustc#alibaba

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177620765