From Correction to Mastery: Reinforced Distillation of Large Language Model Agents
Yuanjie Lyu, Chengyu Wang, Jun Huang, Tong Xu
TL;DR
SCoRe introduces a student-centered distillation paradigm for LLM agents, where the student generates trajectories and a teacher intervenes only at the earliest error. This enables capability-matched data and deficiency localization, reducing error propagation from $O(H^2)$ to $O(H)$ and fostering genuine problem-solving beyond imitation. The approach combines an initial Code-as-Action distillation with Mentored Problem-Solving and a short-horizon RL phase using key-step rewards, yielding strong gains across math, factual reasoning, and deep-search tasks. Empirically, a 7B-parameter SCoRe student can match or closely approach a 72B teacher on 12 benchmarks, while offering substantial cost and latency advantages.
Abstract
Large Language Model agents excel at solving complex tasks through iterative reasoning and tool use, but typically depend on ultra-large, costly backbones. Existing distillation approaches train smaller students to imitate full teacher trajectories, yet reasoning and knowledge gaps between the teacher and student can cause compounding errors. We propose SCoRe, a student-centered framework in which the student generates training trajectories and the teacher corrects only the earliest error, producing training data matched to the student's ability and exposing specific weaknesses. The student is first fine-tuned on corrected trajectories. Subsequently, short-horizon reinforcement learning starts from the verified prefix preceding the earliest error, with target rewards assigned at that step. This design encourages autonomous problem-solving beyond imitation and enhances training stability. On 12 challenging benchmarks, a 7B-parameter student distilled with SCoRe matches the agentic performance of a 72B-parameter teacher.
