English

SKILLC: Learning Autonomous Skill Internalization in LLM Agents via Contrastive Credit Assignment

Artificial Intelligence 2026-05-28 v1

Abstract

Structured skill prompts improve exploration in long-horizon agentic reinforcement learning (RL). Skill-augmented RL methods retain external skills at inference, while skill-internalization RL methods withdraw them during training to enable autonomous performance. However, existing internalization approaches only use skill-helpfulness contrast for curriculum control, leaving the policy update unchanged and unable to distinguish skill-dependent from autonomous success. We propose SkillC, a framework based on Contrastive Skill Credit Assignment (CSCA) that converts this contrast into a direct learning signal for internalization. \textsc{SkillC} samples paired skill-injected and skill-free rollouts for tasks from active skill types within the same policy update, and injects their task-level contrast into optimization via a dual-stream advantage estimator that preserves global ranking while applying a one-sided correction toward skill-free success. A smoothed validation-level signal further drives an adaptive curriculum over attribution strength, rollout allocation, and monotonic active-set pruning. Experiments on ALFWorld and WebShop show that, without runtime skill access, SkillC surpasses the strongest prior skill-internalization RL baseline by 5.5\% and 4.4\%, respectively, while remaining competitive with skill-augmented RL methods.

Keywords

Cite

@article{arxiv.2605.27899,
  title  = {SKILLC: Learning Autonomous Skill Internalization in LLM Agents via Contrastive Credit Assignment},
  author = {Hongxiang Lin and Zhirui Kuai and Erpeng Xue and Lei Wang},
  journal= {arXiv preprint arXiv:2605.27899},
  year   = {2026}
}
R2 v1 2026-07-22T07:36:09.604Z