NewEvery arXiv paper, its researchers & institutions — mapped.
artificial intelligence

SKILL-KD: Contrastive Skill Distillation for LLM Agents

arXiv:2607.28048

summary

The paper introduces SKILL-KD, a contrastive skill distillation framework that creates explicit textual skill patches from teacher‑student failures to iteratively improve weaker LLM agents while preventing skill drift.

Abstract

Skill-based prompting has become a practical mechanism for improving large language model (LLM) agents, yet existing skill acquisition methods often treat skills as experience summaries, memory entries, or direct summaries of successful demonstrations. This creates a mismatch for weaker student agents: when a student fails because it lacks task knowledge or operational strategy, its failed trajectory may not contain enough evidence to infer the missing behavior, while the teacher trajectory may be too implicit to be internalized as reusable guidance. We propose SKILL-KD, a contrastive skill distillation framework that treats skills as an explicit distillation medium between agents of different capabilities. Given a student failure and the teacher trajectory on the same task, SKILL-KD distills their actionable discrepancy into a textual skill patch, evaluates the patch by re-running the student, and iteratively refines the patch when the student still fails. To prevent repeated local updates from causing skill drift, SKILL-KD further maintains trace-linked edit histories and performs Drift-Aware Skill Consolidation, deciding whether each patch should add a new rule, delete or modify an existing rule, or be skipped. Across five agent benchmarks and two student settings, SKILL-KD consistently improves frozen student agents over fixed-model adaptation baselines.

Topics & keywords

#large language models#skill distillation#contrastive learning#agent adaptation#knowledge transferskill patchdrift-aware consolidationteacher-student trajectorycontrastive distillationLLM agents