Collect for Coverage, Replay with Evidence: Adaptive and Efficient On-Policy Distillation for Long-Horizon Agents

Haowen Hou, Gen Li, Ruilin Li, Yicheng Liu, Zhen Huang, Shuai Dong, Congcong Wang, Kaiwen Tuo, Hongrui Wu, Zelin Peng, Kanghui Tian, Ji Zhao, Dianyi Wang, Jiaqi Wang

arXiv:2611.34756 · 2026-11-27 공개 · arXiv · PDF

on-policy-distillation software-engineering swe-bench deep-research long-horizon-agents adaptive-training prefix-replay hindsight-replay

Abstract

Fully online on-policy distillation (OPD) is costly for long-horizon agents because each update depends on fresh environment rollouts. Prefix replay offers an efficient alternative by sampling current-student responses from stored histories, reducing idle time for long-tail rollouts and allowing each collected trajectory to support multiple updates. However, our analysis of the complete prefix replay pipeline identifies two limitations in long-horizon settings. In trajectory collection, teacher-only trajectories miss student-induced histories, while broader history coverage can reduce teacher reliability. In trajectory reuse, fixed position-based schedules cannot identify critical decisions that may occur at any trajectory depth. We introduce CARE-OPD (Collect for coverAge, Replay with Evidence) to address both limitations. Student-seeded teacher completions and response-level confidence gating expand history coverage while filtering unreliable updates. Hindsight replay allocation then uses downstream execution evidence to select consequential turns. Across long-horizon tasks Software Engineering and Deep Research, CARE-OPD outperforms online OPD and prior prefix replay baselines. On SWE-bench Verified, it raises task success to 59.5% while reducing end-to-end training time by 45% and environment actions by 44% relative to asynchronous online OPD.

한국어 요약

한 줄 요약

CARE-OPD는 학습 효율성을 높이기 위해 학생 유도 히스토리와 후행 증거 기반 재생을 결합한 장기적 에이전트 학습 방법이다.

핵심 기여도

핵심 아이디어

기존 prefix replay는 정적 히스토리 수집 및 위치 기반 재생 스케줄로 인해 장기적 에이전트 학습에서 한계가 있었다. CARE-OPD는 두 가지 핵심 문제를 해결한다:
1) 학생이 유도한 상황을 반영하면서도 교사의 신뢰도가 높은 히스토리 수집 (Student-seeded teacher completions + confidence gating).
2) 전체 트레이젝토리 실행 후, 실행 결과를 바탕으로 중요한 결정만 재생 (Hindsight replay allocation).
이를 통해 학습 효율성을 높이고, 학습 대상이 되는 결정의 질을 보장한다.

기술적 접근법

주요 결과

의의 및 한계

CARE-OPD는 학습-실행 분리가 가능한 prefix replay 기반 학습을 장기적 에이전트에 실용적으로 적용할 수 있는 방법을 제시한다. 특히, 학습 대상 결정의 질을 높이면서 학습 비용을 줄이는 점에서 학술적·실용적 가치가 있다. 그러나, 학습 초기 단계에서 학생 정책이 불안정할 경우 히스토리 유도가 어려울 수 있으며, 이는 초기 성능 저하를 초래할 수 있다. 또한, 신뢰도 게이팅 기준은 명시되지 않았으며, 이에 따라 필터링 정확도가 달라질 수 있다.

실용적 활용

CARE-OPD는 소프트웨어 엔지니어링, 딥 리서치 등 장기적 인터랙션을 요구하는 에이전트 학습에 적용 가능하다. 특히, 대규모 모델의 학습 비용을 줄이고, 학습-실행 분리가 필요한 산업적 환경에서 유용하다.