Long-horizon agents often need many successive actions to solve software engineering or deep-research tasks. Training them with on-policy distillation (OPD) can be expensive: each update depends on fresh interaction with the environment, and long-tail rollouts may leave training idle while a task runs. Prefix replay offers a way to reuse experience. Rather than collecting a new trajectory for every update, a system stores interaction histories and lets the current student generate responses from selected prefixes. A single collected trajectory can then support multiple updates. But reuse alone does not guarantee that the right histories or decisions receive attention.
The paper identifies two weaknesses in existing prefix-replay pipelines. First, trajectories generated only by a teacher may omit histories that arise when the student acts. Collecting a broader range of histories can help, but it also risks producing teacher responses that are less reliable. Second, fixed, position-based replay schedules assume that important turns can be identified by where they occur in a trajectory. In long tasks, consequential decisions may appear at different depths, so a uniform positional rule can miss them.
CARE-OPD—“Collect for coverAge, Replay with Evidence”—changes both parts of the pipeline. For collection, student-generated histories seed teacher completions. This brings student-induced states into the data while retaining the teacher’s role in supplying responses. The method also applies confidence gating at the response level, aiming to filter unreliable updates rather than treating every teacher completion as equally useful. For reuse, CARE-OPD looks beyond a turn’s position. It uses downstream execution evidence to identify turns that proved consequential and allocates replay accordingly.
The authors report results across long-horizon software engineering and deep-research tasks, where CARE-OPD outperforms online OPD and earlier prefix-replay baselines. On SWE-bench Verified, the reported task success rate is 59.5%. Compared with asynchronous online OPD, the approach reduces end-to-end training time by 45% and environment actions by 44%. The figures suggest that the method can improve task performance while requiring less training interaction in this benchmark. The available summary does not provide further task-by-task results or experimental details, so the reported gains should not be assumed to transfer unchanged to every agent setting.
The broader contribution is a way to treat experience collection and experience reuse as connected decisions. Collection must cover histories the student may actually encounter without allowing unreliable teacher signals to dominate. Replay must use evidence about execution outcomes instead of relying only on a turn’s fixed location. For agents that make many tool calls, this could make each environment interaction more valuable. Its practical impact will still depend on the task, teacher reliability, and how confidence gating is configured.
Comments
Checking sign-in status...
Loading comments...