G-Skill: Graph-Grounded Skill Evolution
for Agentic Reinforcement Learning
Replacing isolated, LLM-distilled trajectory summaries with persistent task-specific state-transition graphs that construct and continually evolve dual-granularity skills in place.
From Isolated LLM Distillation to Graph-Grounded Skill Evolution
Existing skill-learning methods treat each rollout as an isolated text summary generated by an LLM and evolve the skill bank only by adding or evicting whole entries. G-Skill changes all three axes (representation, construction, and evolution) by grounding skills directly in persistent task graphs.
Instead of compressing each rollout into a separate text note, G-Skill merges repeated visits across rollouts into one persistent state-transition graph per task, exposing shared subgoals and cross-trajectory shortcuts.
Replaces expensive teacher API calls and extra on-policy decoding with linear-time reverse BFS O(|S|+|E|) and lightweight templates, running in 0.030–0.071 ms per graph on CPU.
Rather than adding or evicting whole skill documents at the bank level, expanding the underlying graph shortens Task Skill paths and re-ranks Step Skill helpfulness scores in place without losing task coverage.
Figure 1 (Animated): Unlike prior skill-learning methods that keep isolated trajectories, invoke costly LLMs, and add or remove whole skills, G-Skill aggregates trajectories into one persistent task graph, applies linear-time reverse BFS, and revises skill procedures and action rankings in place.
Interactive Five-Stage G-Skill Architecture
Watch how rollout trajectories flow continuously through all five stages of G-Skill. Click any stage below to isolate its internal mechanics, or step through the live closed-loop co-evolution between persistent task graphs and the RL policy.
Watch One Persistent Graph Evolve In Place
In a real ALFWorld task ("Clean a butter knife and put it on the dining table"), a single shorter rollout in Round 2 triggers reverse BFS, lowers d(s1) from 8 to 6, flips the helpfulness of the older cabinet branch from +1 to −1, and updates both Task and Step Skills without a single LLM call.
go to cabinet (8 total actions). Reverse BFS assigns d(cabinet) = 7 and d(s1) = 8, giving go to cabinet helpfulness H = 8 − 7 = +1.
countertop (d = 5). Merging that single trajectory updates d(s1) from 8 to 6 via reverse BFS, automatically demoting the old cabinet action from +1 to 6 − 7 = −1.
go to countertop (+1) above go to cabinet (−1) without deleting or rewriting any bank entry.
Main Results & Component Ablations
Across ALFWorld (140 valid_seen games) and WebShop (64 benchmark slots) on both Qwen2.5-3B-Instruct and Qwen3-4B-Instruct-2507, G-Skill consistently achieves the highest mean performance in both GRPO and GraphGPO groups (five evaluation sampling seeds, mean ± SD).
Table 1 (Interactive): Bars display 5-seed means with exact ± SD whiskers. G-Skill outperforms LLM-generated skill baselines (SkillRL, D2Skill, Skill1) and complements both GRPO and GraphGPO.
Broader Unique Coverage & Closer Stored References
Because G-Skill avoids teacher eviction churn and on-policy distillation collapse, its skill bank retains far more distinct source task descriptions, giving unseen test tasks significantly closer semantic references across every quantile.
Figure 4 (Interactive, Real PCA Embeddings): All three panels share identical PCA axes and unseen test diamonds (◇). Hover to preview or click any diamond to pin its closest stored reference task by 2D PCA distance across D2Skill, Skill1, and G-Skill simultaneously (smaller distance = closer). The 140 ALFWorld evaluation games span 130 unique task descriptions.
| Source | Color | Size | Price |
|---|---|---|---|
| Test task | Pink | XXL | < $40 |
| D2Skill | Heather Grey | XS | < $50 |
| Skill1 | Fish | XXL Big Tall | < $50 |
| G-Skill | Baby Blue | XXL ✓ | < $40 ✓ |
G-Skill retrieves a reference matching both size (XXL) and price cap (< $40), whereas both LLM-generated banks miss all three attributes.
Millisecond Construction & Horizon-Adaptive Evolution
Graph-based construction eliminates LLM calls completely, running reverse BFS across all 1,674 ALFWorld graphs in just 118.6 ms and 2,083 WebShop graphs in 63.4 ms. Meanwhile, it adapts naturally to long-horizon path recombination on ALFWorld and fine-grained local edits on WebShop.
| Method | Construction Mechanism | LLM Dependency | Main Operation | ALFWorld Bank | WebShop Bank |
|---|---|---|---|---|---|
| SkillRL | Teacher LLM distillation | Teacher (24 / 9 rounds) | API latency | 127 principles | 93 principles |
| D2Skill | Teacher reflection + pruning | Teacher (502 / 950 evicted) | API latency | 309 T + 309 S | 310 T + 311 S |
| Skill1 | On-policy LLM distillation | Extra policy turns | Policy decoding | 5,000 T | 49 T |
| G-Skill | Reverse BFS + templates | None (0 calls) | O(|S|+|E|) (0.071 / 0.030 ms) | 1,351 T + 44,982 S | 1,528 T + 25,652 S |
Table 5 (Interactive): On long-horizon ALFWorld, persistent graphs recombine trajectories into shorter Task Skills (30.3% shorter than any rollout, saving up to 8 actions). On shorter 3–4 step WebShop episodes, evolution acts primarily via newly linked states (1,308 / 25,652 = 5.1% of Step Skills) and local Step Skill revisions (48.8% with unchanged Task Skill text).
BibTeX
If you find G-Skill helpful in your research, please consider citing our paper:
@misc{hou2026gskillgraphgroundedskillevolution,
title={G-Skill: Graph-Grounded Skill Evolution for Agentic Reinforcement Learning},
author={Jue Hou and Chengyi Yang and Renxu Bao and Zhishang Xiang and Junnan Zhu and Delai Qiu and Yining Wang and Shengping Liu and Jinsong Su},
year={2026},
eprint={2611.36935},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2611.36935},
}