ZICQ
中 Log in / Sign up
Newsroom Agentic #CARE-OPD #Long-Horizon Agents #On-Policy Distillation #Prefix Replay #SWE-bench Verified

CARE-OPD Uses Evidence-Aware Replay to Cut Long-Horizon Agent Training Time by 45%

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:CARE-OPD targets the environment-rollout bottleneck in fully online on-policy distillation for long-horizon agents. Its pipeline combines student-seeded teacher completions, response-level confidence gating, and hindsight replay allocation driven by downstream execution evidence. This allows historical trajectories to support multiple updates without blindly reusing every recorded position. The paper reports outperforming online OPD and earlier prefix-replay baselines across software-engineerin


Core Takeaway

CARE-OPD replaces the wait-for-environment pattern of fully online on-policy distillation with an asynchronous pipeline that collects trajectories, filters unreliable supervision, and reuses only consequential decisions. The key distinction is that it does not merely cache complete trajectories. It addresses two failure modes of prefix replay: teacher-only collection fails to cover student-induced histories, and fixed position schedules cannot identify critical decisions at arbitrary trajectory depths.

Why Fully Online OPD Is Expensive

Online policy distillation normally supervises the student on contexts produced by the current student. A representative objective minimizes the discrepancy between a teacher distribution qφ and a student distribution pθ on a student-generated context h; the exact divergence, token weighting, and sequence normalization used by the paper remain unspecified.

A fully online setup requires fresh environment rollouts for each update. That is manageable for short tasks, but long-horizon software-engineering and deep-research agents often spend most of their wall-clock time running tests, compilers, search tools, or other external services. Training accelerators can therefore idle while waiting for the environment.

Prefix replay decouples collection from optimization. A stored history is reused, the current student samples a response from that prefix, and the teacher supplies supervision, allowing one trajectory to support multiple updates. This preserves response-level on-policy behavior for the current student, but the cached prefix still comes from an older policy. Reuse also introduces two additional problems: teacher-generated trajectories miss states the student actually reaches, while fixed replay intervals ignore which decisions actually affected the outcome.

How CARE-OPD Works

1. Student-Seeded Teacher Completions

CARE-OPD first lets the student produce a reachable prefix and then asks the teacher to complete it. The teacher therefore supervises contexts closer to the student’s actual state distribution while retaining its stronger long-horizon planning behavior. The student explores states, while the teacher supplies goal-directed completions.

This broader coverage does not come for free. Teacher completions can be inconsistent or unreliable, especially after long prefixes or when the task requires tool use. That is the role of the second component.

2. Response-Level Confidence Gating

CARE-OPD filters unreliable updates at the response level rather than discarding an entire trajectory because one completion is poor. This allows useful prefixes to remain in the replay pool while reducing the chance that an incorrect teacher target contaminates the student update.

The supplied material does not state whether confidence is derived from token probabilities, sequence likelihood, sampling agreement, or an external verifier. Nor does it provide the threshold or calibration method. A threshold tuned on one domain may transfer poorly to code, retrieval, or tool-use tasks. An overly strict gate can also discard difficult yet learnable states, narrowing exploration precisely where the teacher may be most valuable.

3. Evidence-Guided Hindsight Replay

Instead of replaying every fixed interval, CARE-OPD examines downstream execution evidence and selects consequential turns for additional reuse. A decision can matter at any trajectory depth, so outcome-aware allocation is more flexible than a position-based schedule.

The resulting flow is:

  1. The student rolls out a trajectory and records a prefix.
  2. The teacher completes the prefix and each response is confidence-gated.
  3. The environment executes the task and produces downstream evidence.
  4. The replay allocator prioritizes turns associated with consequential outcomes.
  5. The current student resamples those turns and receives the distillation update.

Downstream success is a proxy for importance, not proof of causality. A turn may merely co-occur with success while the true decision occurred earlier. Conversely, a failure can be caused by environment randomness rather than the selected action. Production implementations should retain failure types, test diffs, tool responses, and other fine-grained signals instead of collapsing evidence into one binary label.

Engineering Trade-offs

  • Fewer environment actions do not imply proportional compute savings. The paper reports 44% fewer environment actions, but teacher-completion tokens, teacher inference latency, replay-buffer storage, and data movement are not disclosed.
  • Wall-clock gains depend on environment stalls. If training is GPU-bound rather than dominated by compilation, tests, or tool calls, the reported 45% reduction may not transfer.
  • Replay introduces policy staleness. Responses are regenerated by the current student, but historical prefixes still come from an earlier policy. Frequent updates can increase this mismatch.
  • Confidence gating trades coverage for reliability. Strict thresholds suppress noisy targets but may remove high-difficulty states; loose thresholds permit unreliable teacher supervision.
  • Outcome-based selection can amplify bias. Replaying only successes favors easy paths, while replaying only failures can over-focus on incidental errors. Allocation should stratify by task type, depth, and failure cause.
  • Storage and scheduling become new bottlenecks. Long prefixes, student responses, teacher completions, confidence scores, and execution evidence all require persistence. Without an age limit, a few failed trajectories may dominate the replay buffer.

Reported Performance and Benchmark Caveats

On SWE-bench Verified, CARE-OPD reaches a 59.5% task success rate. Relative to asynchronous online OPD, it reduces end-to-end training time by 45% and environment actions by 44%. The paper also reports gains over online OPD and earlier prefix-replay baselines across software-engineering and deep-research tasks.

The supplied abstract does not disclose the asynchronous baseline’s absolute success rate, so the size of the quality improvement cannot be calculated. It also omits the deep-research task’s absolute results, teacher-student model pair, context length, sampling parameters, environment budget, confidence threshold, replay budget, run-to-run variance, hardware configuration, and code status. A faithful reproduction should lock success rate, environment actions, teacher tokens, GPU hours, and wall-clock time under the same budget rather than optimizing only one metric.

Deployment Guidance

  1. Separate collection and replay queues. Schedule environment execution, student sampling, teacher completion, and policy updates independently so long-tail tool latency can be hidden.
  2. Store auditable trajectory units. Preserve prefixes, student responses, teacher completions, confidence values, model versions, execution evidence, and timestamps so supervision failures can be traced.
  3. Calibrate confidence per domain. Use temperature scaling, isotonic calibration, or another method that produces a comparable acceptance rate instead of transferring a raw threshold across domains.
  4. Retain granular evidence. Separate test failures, missing retrieval, compilation errors, and tool exceptions rather than reducing all outcomes to success or failure.
  5. Monitor policy staleness. Track the divergence between cached prefixes and the current student, trajectory age, replay hit rate, and confidence-gate acceptance rate; shorten buffer lifetime when drift rises.
  6. Run budget-matched A/B tests. Compare CARE-OPD with asynchronous online OPD and fixed-position prefix replay on success rate, environment actions, teacher tokens, GPU time, and total wall-clock time.

Source: Hugging Face Daily Papers (2026-11-25)

— END —

Tags: #CARE-OPD #Long-Horizon Agents #On-Policy Distillation #Prefix Replay #SWE-bench Verified

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
🚀 Explore & Submit Works

Community Comments

Loading live comments and annotations…