Skip to content
OpenTrain AIFor AI Companies

OPID: On-Policy Skill Distillation for Agentic Reinforcement Learning

Shuo Yang, Jinyang Wu, Zhengxi Lu, Yuhao Shen, Fan Zhang +6 morePublished Jun 25, 2026
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few hours
Fast first run
Risk flags
0
None detected

Abstract

Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.

Outcome-based reinforcement learning provides a stable optimization backbone for language agents, but its sparse trajectory-level rewards provide little guidance on which intermediate decisions should be reinforced or suppressed. On-policy self-distillation offers dense token-level supervision, yet existing skill-conditioned variants often rely on external skill memories or retrieved privileged context, which are costly to maintain and can be mismatched with the state distribution induced by the current policy in multi-turn interaction. We propose \textbf{OPID} (\textbf{O}n-\textbf{P}olicy Sk\textbf{i}ll \textbf{D}istillation), a framework that extracts skill supervision directly from completed on-policy trajectories. OPID represents trajectory hindsight as hierarchical skills: episode-level skills capture global workflows or failure-avoidance rules, while step-level skills capture local decision knowledge at critical timesteps. A critical-first routing mechanism uses step-level skills when critical decisions are identified and falls back to episode-level skills as default guidance otherwise. The selected skill is injected into the interaction history, allowing the old policy to re-score the same sampled response under both original and skill-augmented contexts. The resulting log-probability shift yields a token-level self-distillation advantage, which is combined with the outcome advantage for policy optimization. OPID thus preserves RL as the primary training objective while introducing dense, distribution-matched hindsight supervision. Experiments on ALFWorld, WebShop and Search-based QA demonstrate that OPID generally improves agent performance, sample efficiency, and robustness over outcome-only RL and existing skill-distillation baselines. Our code is available at https://github.com/jinyangwu/OPID/tree/main.

Results and benchmarks

Freshness tier: hot
Outcome-based reinforcement learning provides a stable optimization backbone for language agents, but its sparse trajectory-level rewards provide little guidance on which intermediate decisions should be reinforced or suppressed.

Implementation

Best maintained implementation now

Recommended
Confidence: Medium
Reproducibility: Strong

Official code for "Self-Distilled Agentic Reinforcement Learning"

348 stars · 24 forks · Last push Aug 19, 2026 · Apache-2.0 license

  • License
  • CI
  • Dependencies
  • Docker

Matched via arXiv identifier search · Strong overlap with paper title keywords · Community adoption signal (348 stars)

Why this implementation
Confidence: medium

ZJU-REAL/SDAR is the best available implementation candidate based on ranking signals, but recommendation confidence is not yet high. CI workflows are present. License is declared (Apache-2.0).

Open ZJU-REAL/SDAR
Reproduction risks
  • No repository-level red flags were detected, but paper-specific preprocessing and hyperparameter details may still be under-specified.
  • Selected ZJU-REAL/SDAR as the strongest maintained implementation for new work.
  • Includes CI workflow signals.
  • Includes dependency/environment manifest signals.
  • Repository activity is within the last 24 months.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

ZJU-REAL/SDAR
best maintained
Maintenance
Active
Confidence
Medium
Reproducibility
Strong
Stars
348
Last push
Aug 19, 2026 (7d)

Matched via arXiv identifier search · Strong overlap with paper title keywords

  • No tagged releases
  • No Docker setup
Maintenance
Active
Confidence
Medium
Reproducibility
Moderate
Stars
367
Last push
Aug 12, 2026 (15d)

Matched via arXiv identifier search · Strong overlap with paper title keywords

  • No CI pipeline detected
  • No tagged releases
  • No Docker setup
jinyangwu/OPID
alternative
Maintenance
Recently updated
Confidence
Low
Reproducibility
Moderate
Stars
117
Last push
Jul 1, 2026 (56d)

Matched via arXiv identifier search · Community adoption signal (117 stars)

  • No CI pipeline detected
  • No tagged releases
  • No Docker setup

Reproduction readiness

Time to first repro: hours
Last checked: Aug 26, 2026

Ready to run

Ready to reproduce

  • Clone ZJU-REAL/SDAR and install dependencies from pyproject.toml.
  • CI pipeline detected, so automated tests are in place.
  • Last updated 7 days ago.
Open ZJU-REAL/SDAR

Quick start

git clone https://github.com/ZJU-REAL/SDAR.git
pip install -e .

Repositories and ecosystem

Official

No additional official repositories detected.

Community

  • ZJU-REAL/SkillZero
    Confidence: Medium

    Official code for "SKILL0: In-Context Agentic Reinforcement Learning for Skill Internalization"

    367 stars · 18 forks · Last push Aug 12, 2026 · Apache-2.0 license

Hugging Face artifacts

No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

Tasks

Agentic tool use

Methods

Reinforcement learning

Domains

AI Agents

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.