---
title: 'Skill1: Unified Skill Learning in RL'
url: https://www.emergentmind.com/topics/skill1
type: topic
---

# Skill1: Unified Skill Learning in RL

Skill1 is a unified reinforcement learning (RL) framework for evolving skill-augmented agents that maintain, reuse, and expand a persistent library of parameterized skills. It operationalizes the co-evolution of three coupled agent capabilities—skill selection, skill utilization, and skill distillation—under a single shared task-outcome objective. By integrating library querying, skill-conditioned policy execution, and experience-driven skill distillation within a single trainable policy, Skill1 achieves robust performance gains over prior modular or reward-decoupled approaches, as demonstrated on benchmarks such as ALFWorld and WebShop. The framework employs decomposed credit assignment from sparse task reward, resulting in stable, interpretable skill libraries and state-of-the-art success rates compared to alternative baselines [2605.06130].

## 1. Formal Model and Skill Library

Skill1 considers the skill-augmented agent problem as a partially observable Markov decision process (POMDP) where each agent state comprises a task instruction $x$, environment state $e$, and a persistent skill library $\mathcal{B} = \{s_1, s_2, ...\}$. A skill $s \in \mathcal{B}$ contains both (a) a natural-language strategy $s.\mathrm{strat}$ (describing how to act) and (b) a short natural-language scenario description $s.\mathrm{desc}$ (characterizing the skill’s applicability). The policy $\pi_\theta$ operates over this joint space, producing both environment actions and library-management subroutines.

The lifecycle of each skill comprises three stages:
1. **Selection:** Retrieve and select a task-relevant skill $z$ from $\mathcal{B}$.
2. **Utilization:** Condition the agent’s policy execution on $z.\mathrm{strat}$ to solve the current task.
3. **Distillation:** Summarize a successful trajectory into a new candidate skill and admit it to $\mathcal{B}$ (possibly evicting a low-utility skill when the library exceeds a size threshold).

Prior approaches often treat these phases as independent modules or optimize them under isolated heuristics, resulting in conflicting gradients and suboptimal coordination. Skill1 instead trains all phases toward maximization of expected task-outcome reward:
$$
\max_\theta \mathbb{E}_{x \sim \mathcal{D},\, \tau \sim \pi_\theta(\cdot|x)}[r(\tau)],
$$
where $r(\tau) \in \{0,1\}$ denotes terminal task success [2605.06130].

## 2. Policy Architecture and Sequential Workflow

The Skill1 agent’s policy $\pi_\theta$ is implemented via a sequential, end-to-end architecture composed of four core modules:
- **A. Query Generation:** Given a task instruction $x$, the policy produces a one-sentence query $q \sim \pi_\theta(q|x)$. A frozen encoder $\mathcal{E}$ computes embeddings for both $q$ and skill scenario descriptions, retrieving the top-$K$ most similar skills $\mathcal{B}_K \subseteq \mathcal{B}$ by embedding similarity.
- **B. Candidate Re-ranking:** Conditioned on $(x, \mathcal{B}_K)$, a re-ranking module outputs a permutation $\sigma$ over $K$ candidates, sampling $\sigma \sim \pi_\theta(\sigma|x, \mathcal{B}_K)$. The highest-ranked skill, $z = \mathcal{B}_K[\sigma(1)]$, is selected for task conditioning.
- **C. Skill-conditioned Utilization:** For up to $T$ environment steps, actions are drawn as $a_t \sim \pi_\theta(\cdot|x, z.\mathrm{strat}, o_{\leq t})$, building an interaction trajectory $\tau$.
- **D. Skill Distillation:** Upon a successful trajectory ($r(\tau_i) = 1$), new skill tokens are generated:
    - $s_\mathrm{new}.\mathrm{strat} \sim \pi_\theta(\mathrm{strat}|x, \tau_i)$,
    - $s_\mathrm{new}.\mathrm{desc} \sim \pi_\theta(\mathrm{desc}|x, \tau_i)$,
  and $s_\mathrm{new}$ is admitted to $\mathcal{B}$ [2605.06130].

A simplified pseudocode is:

```python
Initialize π_θ, ℬ←∅
for each batch of tasks x_i:
    for each of G rollouts:
        q_i ← π_θ(query|x_i)
        ℬ_K^i ← top-K by sim(𝒠(q_i),𝒠(s.desc)) for s∈ℬ
        σ_i ← π_θ(rerank|x_i,ℬ_K^i); z_i←ℬ_K^i[σ_i(1)]
        τ_i ← rollout π_θ(·|x_i,z_i.strat)
        r_i ← r(τ_i) ∈{0,1}
        if r_i=1:
            s_new ← π_θ(distill|x_i,τ_i);  ℬ.add(s_new); evict if needed
    Compute reward signals, update π_θ and per-skill utilities
```

Each module’s output feeds into the next, and the entire pipeline is jointly differentiable and optimized toward a unified task reward.

## 3. Unified Reinforcement Learning Credit Assignment

A central innovation is the decomposition of the single, sparse task-outcome reward signal $R(t) = r(\tau_t)$ into two signals:
- **Low-frequency trend $R_\mathrm{trend}(t)$:** A smoothed baseline (LPF of $R(1),...,R(t)$), which credits the skill-selection step—encouraging the retrieval of globally high-utility skills.
- **High-frequency variation $R_\mathrm{var}(t) = R(t) - R_\mathrm{trend}(t)$:** Used to credit distillation, rewarding creation of skills that outperform the library’s current best.

Credit assignment is structured as follows:
- **Utilization reward $R^\mathrm{util}_i = r_i$** trains query and environment-action modules.
- **Selection (re-ranking) reward $R^\mathrm{rerank}_i$** is NDCG between sampled permutation and library utility ranking.
- **Distillation reward $R^\mathrm{distill}_i = r_i - \widehat{H}_i$**, where $\widehat{H}_i$ is the utility of the best candidate in $\mathcal{B}_K^i$, incentivizes novel, valuable skill creation.

The collective objective is:
$$
J(\theta) = J^\mathrm{util}(\theta) + \lambda_1 J^\mathrm{rerank}(\theta) + \lambda_2 J^\mathrm{distill}(\theta)
$$
with $\lambda_1, \lambda_2 \approx 0.3$. Policy gradients are estimated via GRPO for utilization/distillation and REINFORCE for re-ranking. Per-skill utilities $U(s)$ are exponentially averaged from rollout successes [2605.06130].

## 4. Empirical Evaluation and Benchmark Comparison

Skill1 was evaluated on two benchmarks:
- **ALFWorld:** Text-based household planning tasks requiring multi-step reasoning.
- **WebShop:** Simulated e-commerce task environment.

Skill1 was compared to:
- **Training-free baselines:** Zero-Shot, ReAct, Reflexion, ExpeL, Mem0.
- **Parameter-only RL:** PPO, RLOO, GRPO, GiGPO.
- **Skill-based RL:** EvolveR, Mem0+GRPO, SkillRL, RetroAgent.

Performance metrics included task success rates and purchase scores (WebShop). Results indicate that Skill1 achieved:
- **ALFWorld:** $97.5\%$ average success (vs. $94.9\%$ for best skill-RL baseline RetroAgent; +2.6 pts).
- **WebShop:** $82.9\%$ success (vs. $82.3\%$ baseline) and a $6.7$ point improvement over pure RL (GiGPO: $90.8\%$ on ALFWorld).

These results demonstrate the advantage of Skill1’s explicit skill-reuse and unified credit assignment over both modular and ablated variants [2605.06130].

## 5. Co-Evolution Dynamics and Ablation Findings

Training analysis tracked three indicators:
- **Selection precision** (mean utility of retrieved skills): rapidly approaches $0.95$ within $20$ steps.
- **Utilization success rate** and **distillation positive rate** (rollouts where $r_i > \widehat{H}_i$): both accelerate around step $20$–$60$, stabilizing near $0.8$.

This dynamics demonstrates sequential mutual reinforcement: high-quality selection leads to easier downstream solving and richer novel-skill distillation.

Ablation studies reveal:
- **Without the skill library**: $80.9\%$ avg success (–16.6 pts).
- **Without distillation**: $92.4\%$ (–5.1 pts).
- **Without selection**: $91.8\%$ (–5.7 pts).
- **Without re-ranking ($\lambda_1=0$)**: $94.0\%$ (–3.5 pts).
- **Without distill reward ($\lambda_2=0$)**: $94.9\%$ (–2.6 pts).
- **With both $\lambda_1{=}0$, $\lambda_2{=}0$**: $90.2\%$ (–7.3 pts).

Every component and credit signal contributes additively and complementarily; omitting either selection trend or distillation variation diminishes both library quality and task performance [2605.06130].

## 6. Interpretation, Scope, and Limitations

Skill1 demonstrates that a single-objective, reward-decomposed RL framework can achieve unified co-evolution of skill selection, utilization, and library expansion—without task-independent heuristics or separate reward signals. The design ensures skills are compact, non-redundant, and dynamically adapted to the agent’s experience distribution.

A plausible implication is that such unified frameworks may more generally overcome modular bottlenecks in skill-based RL. However, the results in [2605.06130] are focused on text-environment tasks, with both the skill representations and credit assignment relying on sparse outcome rewards. Scalability to rich, continuous, or high-stakes environments remains an open topic.

Skill1’s performance gains, robust training dynamics, and interpretable modularity establish it as a state-of-the-art solution for persistent skill library evolution in agentic RL settings [2605.06130].

Source: https://www.emergentmind.com/topics/skill1