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 and 6 others
Shanghai Jiao Tong University · Shanghai Innovation Institute · JD.com
Published November 25, 2026 · on the feed November 26, 2026 · ▲ 4 · arXiv 2611.34756
The 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.
The Brief
2:24A short podcast summary of the paper. Written and voiced by AI.
Transcript
Collect for Coverage, Replay with Evidence. Adaptive and Efficient On-Policy Distillation for Long-Horizon Agents. By Haowen Hou and thirteen others, from Shanghai Jiao Tong University, the Shanghai Innovation Institute, and one other institution. Published on the twenty-fifth of November.
On-policy distillation, run fully online, is expensive for agents that work over long horizons. Every update waits on fresh rollouts from the environment. Prefix replay is the cheaper route: it samples responses from the current student on top of stored histories, which cuts the idle time spent waiting on long-tail rollouts and lets one collected trajectory feed several updates. The authors analysed the whole prefix replay pipeline in long-horizon settings and found two limitations. The first is in collection. Trajectories produced by the teacher alone miss the histories that the student itself would induce, yet widening history coverage can make the teacher less reliable. The second is in reuse. A fixed schedule based on position in the trajectory cannot pick out the critical decisions, and those can happen at any depth.
CARE-OPD, short for Collect for coverAge, Replay with Evidence, answers each limitation with its own half. Coverage is handled at collection time, and evidence decides what gets replayed.
On the collection side, the student seeds the history and the teacher completes it, so the stored histories include the ones the student actually drives toward. A confidence gate at the level of each response then filters out updates the teacher is unlikely to get right. Coverage grows without letting unreliable supervision through. On the reuse side, hindsight replay allocation looks at what happened downstream when the trajectory was executed, and uses that execution evidence to choose the turns that mattered. Replay effort goes to consequential decisions rather than to fixed positions.
The method is tested on two long-horizon task families, Software Engineering and Deep Research. In both, CARE-OPD outperforms online on-policy distillation and earlier prefix replay baselines. The headline numbers come from SWE-bench Verified, measured against asynchronous online distillation. Task success rises to fifty-nine point five percent.
End-to-end training time falls by forty-five percent, and the number of environment actions falls by forty-four percent.
Two choices carry the design. Collect the histories the student will really visit, and guard them with a confidence check. Then spend replay on the turns whose consequences showed up later, wherever they sit in the trajectory. The reported result is a higher score reached with less training time and fewer actions in the environment.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free