Collect for Coverage, Replay with Evidence: Adaptive and Efficient On-Policy Distillation for Long-Horizon Agents
The paper analyzes complete prefix replay pipelines for on-policy distillation in long-horizon agents and identifies two limitations: teacher-only trajectories miss student-induced histories while broader history coverage can reduce teacher reliability, and fixed position-based replay schedules cannot identify critical decisions at arbitrary trajectory depths. It introduces CARE-OPD, which uses student-seeded teacher completions and response-level confidence gating to expand history coverage while filtering unreliable updates, plus hindsight replay allocation that selects consequential turns using downstream execution evidence. Across Software Engineering and Deep Research tasks, CARE-OPD outperforms online OPD and prior prefix replay baselines. On SWE-bench Verified, it reports 59.5% task success while reducing end-to-end training time by 45% and environment actions by 44% relative to asynchronous online OPD.