TL;DR
Skill0.5 is a novel reinforcement learning framework for LLM agents that splits skills into two categories: general strategies are "internalized" into the model's weights via distillation, while task-specific rules are kept external for dynamic "utilization." By routing tasks into difficulty-based tiers during training, it avoids context bloat and significantly improves the agent's ability to generalize to unseen, out-of-distribution tasks.
What Problem Does This Paper Address?
To solve complex, multi-step tasks, large language model (LLM) agents often rely on "skills"—modular, textual directives that codify standard operating procedures or heuristics. Currently, skill-based reinforcement learning (RL) approaches handle these skills using two extreme paradigms:
- Full Externalization: Shoving every single skill into the prompt context. This causes massive context overhead, slows down inference, and degrades the LLM's reasoning performance over long horizons.
- Full Internalization: Fine-tuning the model to bake all skills directly into its parameters. This makes the agent rigid, prone to overfitting, and susceptible to "knowledge conflicts" when it encounters unfamiliar, Out-of-Distribution (OOD) tasks at deployment.
The authors of Skill0.5 break this dilemma by recognizing that skills are not monolithic. General skills (like meta-reasoning and error recovery) are domain-agnostic and contextually lengthy, making them perfect candidates for internalization. Conversely, task-specific skills (like granular execution rules) are volatile and dynamic, meaning they should remain external and plug-and-play.
Methods
The authors propose Skill0.5, a unified agentic RL framework that explicitly decouples general and specific skills based on real-time task mastery. The workflow operates in a two-phase sampling and optimization paradigm:
Phase 1: Difficulty-Aware Routing
The agent first attempts tasks using only retrieved task-specific skills. Based on the empirical pass rate and a running sliding-window average threshold ($\eta_t$), a router dynamically streams tasks into three mastery tiers:
- Hard Tasks: Complete failure (0% success rate).
- Medium Tasks: Moderate success, falling below the dynamic threshold.
- Easy Tasks: High success, exceeding the threshold.
Phase 2: Tier-Tailored Optimization
Each tier receives a customized optimization strategy to balance internalization and utilization:
- Hard Tasks (Internalization via Privileged Distillation): To teach the agent foundational logic, it is given a "privileged prompt" containing general skills to act as a teacher. Successful trajectories are generated, and this oracle behavior is distilled into the student policy (which only has access to specific skills) using token-level Jensen-Shannon Divergence (JSD) loss.
- Medium Tasks (Capability Reinforcement): The agent applies standard Group Relative Policy Optimization (GRPO) to maximize success rates and reinforce the active utilization of specific skills through trial and error.
- Easy Tasks (Anti-Shortcut Utilization): When tasks become too easy, agents often exploit "shortcuts"—memorizing direct mappings from instructions to actions while ignoring external skills. To penalize this, Skill0.5 introduces a counterfactual diagnostic probe where specific skills are deliberately ablated. The difference in success rate defines a "utilization gain." If the agent performs just as well without the skill, its RL advantage is globally suppressed, forcing it to genuinely rely on external guidance.
Datasets
The framework was evaluated on two multi-turn interactive benchmarks, partitioned into In-Distribution (ID) and Out-of-Distribution (OOD) domains:
- ALFWorld: A text-based embodied environment where agents complete household tasks. ID domains included Pick, Cool, Clean, while Look, Heat, Pick2 were held out as OOD domains.
- WebShop: A web-based shopping environment for product search and purchase. ID domains included Apparel, Electronics, Footwear, Other, while Accessories, Beauty & Health, Home Decor served as OOD categories.
Key Insights and Ideas
- Cognitive Progression: Mirroring human expertise acquisition, an agent must grasp foundational cognitive schemas (general skills) before it can efficiently process fine-grained, domain-specific rules without experiencing cognitive overload.
- Overcoming Exploration Stagnation: In early RL training, hard tasks often suffer from a "zero-gradient" dilemma because the agent never succeeds. Using privileged general skills as a temporary teacher provides a surrogate gradient that kickstarts learning.
- The Danger of Bypassing Guidance: If an agent overfits to easy tasks during training, its instruction-following capabilities atrophy. The anti-shortcut utilization probe ensures the agent maintains a robust "read instruction $\rightarrow$ execute" capability, which is vital for handling completely new OOD skills at test time.
Key Results
Skill0.5 established a decisive performance advantage over prompt-based, memory-based, and skill-based RL baselines:
- ALFWorld: Skill0.5 achieved an average success rate of 93.1% on ID tasks and 58.5% on OOD tasks, outperforming the strongest skill-augmented baseline (SkillRL) by +2.3% and +13.2% respectively.
- WebShop: It achieved 40.4% on ID tasks and 40.6% on OOD tasks, yielding absolute improvements of +2.1% and +3.9% over SkillRL.
- Qualitative Case Studies: Trajectory analysis showed that while full externalization methods (like SkillRL) suffered from Contextual Interference (getting confused by long prompts) and full internalization methods (like SKILL0) suffered from Parametric Knowledge Conflict (rigidly sticking to old habits), Skill0.5 successfully executed novel OOD-specific skills using its internalized general reasoning.
Limitations and Future Work
While the core principle of differentiated skill treatment is broadly applicable, the framework was only validated on text-based interactive environments. In future work, the authors plan to extend Skill0.5 to more complex domains such as code generation, multi-modal environments, and open-ended web navigation, as well as settings with longer horizons and larger action spaces.
Summary updated