🌏 閱讀中文版本
Fully online on-policy distillation (OPD) for long-horizon agents faces a structural tension: if a student model must learn from states and responses generated by its current policy, every update depends on fresh environment rollouts. Training time and environment interaction costs can become very high. CARE-OPD makes a different case: not every update needs a fresh environment rollout, but fixed position rules alone are not enough to select turns. Important decisions can appear at any depth in a trajectory. On SWE-bench Verified, it raises task success to 59.5% (±0.3 percentage points). Against the asynchronous online OPD baseline, it reduces end-to-end training time from 5.5 hours to 3.0 hours, a 45% reduction, and environment interactions from 308.1k to 171.2k, a 44% reduction.
The cost bottleneck: why long-horizon tasks struggle with fresh rollouts for every update
The core of on-policy distillation (OPD) is sampling responses from the current student policy and learning from a teacher model. That does not necessarily mean historical states must also be collected fresh every time. Compared with off-policy approaches trained entirely on stored data, only fully online OPD depends on fresh environment rollouts at every update, so both response sampling and historical states come from the current policy.
The challenge is long-horizon tasks. Based on the paper’s figures, collected trajectories average 72.2 turns on SWE-bench Verified and 20.3 turns on Deep Research. Under fully online OPD, every update depends on fresh environment rollouts. The following SWE-bench Verified figures are averages across three random seeds ± sample standard deviation, with success-rate error expressed in percentage points:
- Time cost: asynchronous online OPD requires 5.5 hours (±0.1).
- Environment interaction cost: 308.1k (±3.4k) environment actions, including unsuccessful collection attempts.
- Long-tail waiting: some rollouts are very long, leaving GPUs idle.
Prefix replay offers an alternative. It samples student responses from stored histories, allowing each trajectory to support multiple updates. Two layers need to be separated here: prefix replay responses are sampled by the current student, so the response layer is on-policy; the stored history itself is off-policy. Only fully online OPD continually refreshes environment trajectories. CARE-OPD identifies two structural limits in prefix replay:
- Collection: teacher-only trajectories miss historical states caused by the student. Expanding historical coverage may reduce teacher reliability.
- Reuse: fixed-position allocation rules cannot identify important decisions by their content when they may appear at any depth. Later key turns may be missed.
Core mechanism: how three components work together
The CARE-OPD name reveals its design intent: Collect for coverAge, Replay with Evidence. It is not a single technique. It combines three components.
Component one: student-seeded teacher completions
Traditional prefix replay stores trajectories generated by the teacher. But student models produce deviations that the teacher did not anticipate during training. An early deviation can change every observation that follows. CARE-OPD does the following:
- A frozen student snapshot generates the initial trajectory segment.
- The teacher continues from this student-induced history.
- Student turns remain as context and never become replay targets. Only turns from the teacher continuation can be allocated.
This expands the stored pool to include historical states caused by a frozen student snapshot, rather than only the teacher’s ideal path.
Component two: response-level confidence gating
Broader historical coverage has a trade-off: the teacher may be less reliable in states it did not generate itself. CARE-OPD filters through confidence gating:
- The system measures teacher certainty with response-level confidence.
- The gate rejects the lowest-confidence fraction, γ, of responses while keeping the effective batch size predictable.
- Key point: confidence is treated as a proxy for teacher certainty, not response correctness.
This is a trade-off. The gate retains responses the teacher is confident about, but it does not guarantee that those responses are correct. The authors explicitly state that teacher confidence measures distributional certainty, not response correctness.
Component three: hindsight replay allocation
This is CARE-OPD’s central adjustment. Traditional methods choose replay targets with fixed position rules. CARE-OPD uses hindsight evidence instead:
- A model-based judge receives the task description, complete trajectory, execution feedback, final outcome, and a fixed selection budget.
- It selects teacher turns whose diagnosis, correction, or verification is supported by later execution evidence.
- Allocation happens after the full trajectory is observed, using later execution feedback and the final outcome to support the value of earlier decisions. Environment interactions occur only when building the stored pool. Hindsight allocation runs once per trajectory and can reuse the rollout teacher’s trajectory KV cache.
More specifically, the judge asks: “Is this teacher turn’s diagnosis, correction, or verification supported by later execution evidence and the final outcome?” Turns supported by later evidence are selected for replay within a fixed budget. This means the decision has later execution evidence behind it. It does not prove that the turn alone caused the final outcome.
Why switch to hindsight allocation? Important decisions can appear at any depth in a trajectory. In SWE-bench trajectories averaging 72.2 turns, fixed position rules cannot identify the importance of deep turns by content. They may miss important later decisions or place too little weight on them through position decay. CARE-OPD experiments show that the best position decay improves only 0.2 percentage points over uniform replay. CARE-OPD’s hindsight allocation improves 3.6 points over uniform replay and 3.6 points over a matched random subset.
Comparative results and ablation evidence
On SWE-bench Verified, with a Qwen3.5-9B student and Qwen3.5-27B teacher, results are averages across three random seeds ± sample standard deviation:
| Method | Task success rate, error in percentage points | End-to-end time | Environment actions |
|---|---|---|---|
| Asynchronous online OPD | 57.1% (±0.4 percentage points) | 5.5 hours (±0.1) | 308.1k (±3.4k) |
| Vanilla prefix replay | 53.7% (±1.1 percentage points) | 2.9 hours | 169.5k |
| CARE-OPD | 59.5% (±0.3 percentage points) | 3.0 hours (±0.1) | 171.2k (±3.3k) |
Against the asynchronous online OPD baseline, CARE-OPD raises task success from 57.1% to 59.5%, reduces end-to-end time by 45%, and reduces environment interactions by 44%. The marginal difference against vanilla prefix replay is also notable:
- CARE-OPD uses 0.1 more training hours and 1.7k more environment actions than vanilla prefix replay, while increasing task success by 5.8 percentage points.
- In this experimental setting, hindsight selection and expanded coverage exchange a relatively small additional collection and replay cost for a success-rate gain.
For Deep Research, the paper abstract and main text state only that CARE-OPD achieves higher task success than all prefix replay and fully online OPD methods. The available excerpts do not provide detailed success-rate or timing data for that task.
Ablation experiments show the contribution of each component:
- Student roll-in plus gating reaches 57.1% task success, 3.4 percentage points above the baseline.
- This gain exceeds the sum of the two individual gains, 2.2 percentage points, by 1.2 points, showing a positive interaction.
- Hindsight allocation improves by 3.6 percentage points over uniform replay and by 3.6 points over a matched random subset.
- The best position decay improves by 0.2 points over uniform replay, but remains 3.4 points below CARE-OPD allocation.
Hyperparameter sensitivity:
- A student roll-in ratio of α = 0.1, using student-seeded collection for only 10% of trajectories, produces the highest task success.
- Mean task success by selection ratio r: selecting 20% of eligible turns reaches 57.5%; r = 0.4 reaches 59.5%; r = 0.6 reaches 59.3%; and r = 0.8 declines slightly to 58.7%.
Applicability boundaries and trade-offs
CARE-OPD has a limited applicability range. Its boundaries and trade-offs need to be clear.
Applicable situations
- Long-horizon tasks: the paper evaluates multi-turn tasks including SWE-bench Verified, where collected trajectories average 72.2 turns according to the figures, and Deep Research, where they average 20.3 turns.
- Validated model settings: experiments use a Qwen3.5-9B student and a Qwen3.5-27B teacher.
- Tasks with execution feedback: hindsight allocation depends on later execution feedback and final outcomes to support the value of earlier decisions.
Unverified boundaries
- Short-horizon tasks: if trajectories are short, fixed position rules may be sufficient. Whether the judge inference overhead and pipeline complexity of hindsight allocation can provide enough task-success gain needs to be evaluated on the task itself.
- Model pairs not tested for distillation: in preliminary Deep Research/BrowseComp-Plus evaluation, Qwen3-8B reached 12.7% accuracy and Qwen3-Coder-30B-A3B-Instruct reached 17.3%. Because the teacher was only 4.6 percentage points higher, the authors excluded this candidate pair from later distillation experiments. What remains untested is distillation under this setting, not whether the pair was evaluated at all. The paper also does not test distillation performance across different capability gaps. One excluded case cannot establish a general capability-gap threshold. Other model pairs still need validation on the target task.
- Tasks without execution feedback: hindsight allocation depends on using later evidence to support earlier decisions. If a task has no observable execution outcomes, this mechanism does not meet its applicability conditions.
Trade-offs
- Coverage vs. reliability: broader historical coverage through student seeding may reduce teacher reliability. CARE-OPD uses gating to manage the reliability trade-off introduced by broader coverage.
- Cost vs. quality: compared with vanilla prefix replay, full CARE-OPD adds 0.1 training hours, 3.0 versus 2.9 hours, 1.7k environment actions, 171.2k versus 169.5k, one judge inference per trajectory, and the operational surface of a multi-component system. The marginal return is a 5.8-point task-success gain, 59.5% versus 53.7%. The decision point is whether the downstream value of that gain exceeds the additional inference and pipeline maintenance cost. If a team does not have room to maintain the judge and gating pipeline, or if the task is not sensitive to a success-rate difference of this size, vanilla prefix replay remains a lower-maintenance option.
- Simplicity vs. performance: fixed position rules are simpler and easier to tune. In the SWE-bench Verified setting and model configuration used here, their performance remains below CARE-OPD hindsight allocation.
Caveats identified in the paper
- Frozen student snapshot: student seeding uses a frozen initial student, while the student changes during training. The replay pool may become less representative over time.
- Replay responses are not executed: replayed responses are not actually executed, so their validity and environmental consequences are not observed.
- Confidence ≠ correctness: teacher confidence measures distributional certainty, not response correctness. The gate retains responses the teacher is confident about, but does not guarantee that they are correct.
- Staleness in the asynchronous online OPD baseline: the paper sets maximum policy staleness to four learner updates in its asynchronous online OPD baseline. It observes that staleness ≤ 4 has little effect on final task performance, while larger values reduce performance. This is an experimental setting and observation for that baseline, not a CARE-OPD requirement. Other models and tasks still need separate validation.
Practical implications
For long-horizon tasks with observable execution feedback, CARE-OPD hindsight allocation offers a direction worth evaluating.
Adopting CARE-OPD requires evaluating more than task fit. Operational cost also matters. Hindsight allocation requires a judge model to reason over complete trajectories. It runs only once for each collected trajectory and can reuse the rollout teacher’s trajectory KV cache, but it still adds computation and system-integration overhead. The deployment and maintenance cost of these components should be weighed against the expected task-success improvement.
Within the currently verifiable experiment scope, CARE-OPD’s complete quantitative results, including success rate, end-to-end time, and reduced environment interactions, are primarily reported for SWE-bench Verified with execution feedback and figure-reported trajectories averaging 72.2 turns. For Deep Research, with figure-reported trajectories averaging 20.3 turns, the paper states only that task success exceeds all prefix replay and fully online OPD methods. The available excerpts do not provide exact scores or cost details for each method. Readers can use these evidence boundaries as a reference and validate both task-success gains and pipeline overhead with small-scale data from their own task before adoption.
Verifiable sources and limitations
Source and independence notes
All four links below point to the same research paper, arXiv:2611.34756. The latter three are index, abstract, or figure-summary pages for that paper. They are not independent third-party evidence or replication reports. The sources provided for this analysis do not include independent testing.
- Primary source, original paper: Collect for Coverage, Replay with Evidence: Adaptive and Efficient On-Policy Distillation for Long-Horizon Agents — arXiv paper page and preprint abstract.
- Paper index and summary, not an independent source: Paper page – Collect for Coverage, Replay with Evidence — Hugging Face paper index page.
- Paper index and summary, not an independent source: Collect for Coverage, Replay with Evidence: Adaptive and Efficient On-Policy Distillation for Long-Horizon Agents | Cool Papers — Cool Papers abstract mirror.
- Paper figure summary, not an independent source: Collect for Coverage, Replay with Evidence: Adaptive and Efficient On-Policy Distillation for Long-Horizon Agents — alphaXiv paper abstract and figure-data summary.
Original excerpts for key mechanisms and experimental data
The original paper’s complete experimental summary tables were not available for this analysis, including detailed Deep Research success rates and complete ablation tables. The following original excerpts from available paper sections and figure summaries are provided for verification:
Student seeding and teacher continuation, excerpt from arXiv:2611.34756:
“A frozen student snapshot generates an initial trajectory segment, after which the teacher continues from the resulting history. Student turns remain as context and never become replay targets, while only turns from the teacher continuation are eligible for allocation.”
Response-level confidence gating, excerpt from arXiv:2611.34756:
“We therefore pair student-seeded teacher completions with response-level confidence gating: collection broadens coverage toward student-induced histories, while the gate retains responses for which the teacher provides a confident target.”
“It treats confidence as a proxy for teacher certainty rather than response correctness.”
Hindsight replay allocation and execution boundaries, excerpt from arXiv:2611.34756:
“A model-based judge receives the task, complete trajectory, execution feedback, outcome, and a fixed selection budget. It selects teacher-generated turns whose diagnosis, correction, or verification is supported by later evidence.”
“Environment interactions occur only during pool construction, and hindsight replay allocation runs once per collected trajectory.”
“The query reuses the rollout teacher’s trajectory KV cache.”
Main SWE-bench Verified experiment, overall Deep Research conclusion, and figure summary, excerpts from arXiv:2611.34756 and alphaXiv:
“With a Qwen3.5-9B student and Qwen3.5-27B teacher on SWE-bench Verified, CARE-OPD reaches 59.5±0.3% task success against 57.1±0.4% for asynchronous one-turn online OPD. Elapsed end-to-end time, covering collection, hindsight allocation, and replay training, is 3.0±0.1 hours versus 5.5±0.1 hours. Environment actions, which count attempted trajectories including unsuccessful collection attempts, are 171.2±3.3k versus 308.1±3.4k. Results are over three seeds, reported as mean±sample standard deviation.”
“bars compare Async OPD, Prefix Replay, and CARE-OPD on SWE-bench Verified success (57.1±0.4, 53.7±1.1, 59.5±0.3), end-to-end time in hours (5.5, 2.9, 3.0), and environment actions in thousands (308.1, 169.5, 171.2). Mean collection trajectories run 72.2 turns for SWE and 20.3 for DeepResearch.”
“CARE-OPD takes 3.0 hours and executes 171.2k environment actions, only 0.1 hours and 1.7k actions more than vanilla prefix replay, while improving task success by 5.8 points.”
“On two long-horizon tasks SWE and Deep Research, it improves task success over all prefix replay and fully online OPD methods.”
Ablation studies, hyperparameters, and experimental settings, excerpts from arXiv:2611.34756:
“Student roll-in with gating reaches 57.1 points, a 3.4-point gain over the baseline. This gain exceeds the 2.2-point sum of the two standalone gains by 1.2 points, indicating a positive interaction.”
“The hindsight allocation in CARE-OPD improves task success by 3.6 points over uniform replay and by 3.6 points over the matched random subset.”
“Best position decay improves over uniform replay by 0.2 points but remains 3.4 points below our allocation.”
“We use α = 0.1, which gives the highest task success while requiring student roll-ins for only 10% of the collected trajectories.”
“Selecting 20% of the eligible turns yields 57.5% mean task success, while r = 0.4 and r = 0.6 reach 59.5% and 59.3%, respectively. Performance decreases slightly to 58.7% at r = 0.8.”
“For asynchronous OPD, we set the maximum policy staleness to 4 learner updates. We observe that staleness values at most 4 have little effect on final task performance, whereas larger values reduced performance.”
“Qwen3-Coder-30B-A3B-Instruct reaches 17.3% accuracy, while Qwen3-8B reaches 12.7%. The teacher is only 4.6 percentage points higher than the student. Thus, we exclude this setting from our experiments.”
Limitations and uncertainty
- One paper source without complete original tables: all sources in this analysis point to the same paper and do not include independent testing. Available excerpts also do not cover complete experiment tables, such as exact Deep Research success rates. This analysis therefore reflects only the content of this one paper. For deeper verification, readers can inspect the original arXiv PDF and test the approach in their target workflow.
- Limited benchmark scope: the sources have not validated other long-horizon tasks. Current conclusions are limited to SWE-bench Verified and Deep Research.
- Model-specific: distillation experiments use Qwen3.5 models. Results for other model families have not yet been measured and may differ.
- Hyperparameter sensitivity: hyperparameters such as α = 0.1 and selection ratio r = 0.4 were tuned in a specific experiment. Other tasks may require different values.
- System complexity: CARE-OPD introduces several components, including a judge model, confidence gating, and hindsight allocation. Deployment and maintenance costs need evaluation.
- Execution-feedback latency: if execution feedback is delayed, available evidence does not establish allocation quality or time cost. Testing is needed before adoption.
This article analyzes one paper, arXiv:2611.34756. The author was not involved in CARE-OPD research or development.