Streaming On-Policy Distillation: Decoupling Three Clocks for Stage-Wise Supervision Consumption

Yun Zhu Da WangarXiv 2026

TL;DR

This paper introduces Streaming On-Policy Distillation (OPD), a framework that speeds up LLM training by decoupling the "clocks" of response generation, data delivery, and parameter updates. By allowing the trainer to consume partial response segments while generation is still ongoing, the authors significantly reduce data-supply bottlenecks and demonstrate a "stage-wise" strategy to recover the quality gap typically seen in asynchronous training.

What Problem Does This Paper Address?

On-policy distillation (OPD) is a powerful technique where a student model generates responses, and a larger teacher model provides feedback on those specific outputs. This reduces the distribution mismatch between training and inference. However, it is notoriously slow: the trainer usually has to wait for the student to finish a long-winded reasoning chain before the teacher can score it and the trainer can update the weights.

While asynchronous systems can overlap these tasks, they often suffer from a "quality gap"—async models rarely perform as well as their synchronous counterparts. The authors identify that this gap isn't just about "stale" data; it’s about how the trainer manages the granularity of supervision. If you update on every small segment, you might be training on too little data or skewed distributions.

Methods

The core innovation is the decoupling of three event sequences, or "clocks":

  1. Completion Clock: When a full response (e.g., ending in <EOS>) is finished.
  2. Delivery Clock: When a newly generated segment is "sealed" and sent to the trainer.
  3. Update Clock: When the trainer assembles a batch and performs a gradient update.

Streaming OPD

Instead of waiting for a full response, the system delivers segments as they are generated. Crucially, each segment includes its full causal prefix (the context that came before it) to ensure the transformer's attention mechanism works correctly, but the loss is only computed on the new tokens.

The three clocks and the training loop. (a) Illustrates how segments from one response can enter different updates. (b) Shows the data and parameter flow.

Consumption Protocol

To manage this stream, the authors define a Consumption Protocol that controls:

  • Quantity: Ensuring each update has a consistent "supervision budget" (number of tokens).
  • Coverage: Managing the mix of early-response segments vs. late-response "tails."
  • Version Lag: Handling "stale" segments generated by older versions of the model.
Table 2: Segment supervision within one response. The English fragments illustrate the flow rather than actual tokenization boundaries; every row retains the prompt. Each segment can enter the queue independently but need not occupy a separate parameter update.

Datasets

The primary experiments were conducted on GSM8K (Grade School Math 8K), distilling a Qwen3-4B teacher into a Qwen3-0.6B student. The authors also utilized math prompts from the DAPO dataset for training and MATH500 for additional diagnostic evaluations.

Key Insights and Ideas

  • The "Quantity" Trap: Naive streaming often performs poorly because it updates too frequently on too little data. By simply matching the "supervision budget" (the total number of supervised tokens per update) of the synchronous baseline, the authors closed the initial quality gap by nearly half.
  • Staleness is Secondary: Surprisingly, "freshness filtering" (throwing away old data) provided only local, inconsistent gains. The authors argue that the composition of the data (coverage of different parts of the response) is often more important than its age.
  • Stage-Wise Consumption: The most effective strategy is a hybrid one: start with high-throughput asynchronous streaming to move the weights quickly, then switch to a higher-precision "synchronous continuation" phase to refine the model and recover peak quality.
  • Decoupling as a Design Space: The paper shifts the focus from "Sync vs. Async" to a more nuanced view where asynchrony is just one possible scheduling choice within a broader consumption framework.

Key Results

  • Quality Recovery: On GSM8K, naive streaming trailed the synchronous baseline by 4.55 percentage points. Implementing "supervised-budget matching" reduced this gap to 2.42 points.
  • Synchronous Continuation: By switching from an async checkpoint to a synchronous schedule (with an optimizer reset), the authors reached 73.39% accuracy, narrowing the gap to the baseline (74.30%) to just 0.91 points. An extended run eventually hit 76.12%.
  • System Efficiency: A prototype showed that segmented delivery reduced the time the trainer spent waiting for data from 47–218 seconds down to a mere 0.2 seconds for a 128-sample batch.
Comparison of early training trajectories. Supervised-budget matching (blue) significantly outperforms naive streaming (grey).

Limitations and Future Work

  • Selection Optimism: The results report "best observed" test accuracies rather than independent validation-set selections, which may slightly overstate the peaks.
  • Task Specificity: The study is limited to mathematical reasoning (GSM8K). The dynamics of streaming might differ for creative writing or code generation where response structures vary.
  • Wall-Clock Scaling: While the prototype shows massive reductions in wait times, the authors note that the full end-to-end speedup—accounting for the extra computation of processing prefixes multiple times—requires further large-scale verification.
  • Future Directions: The authors suggest exploring more granular "vocabulary-level" interventions and optimizing the exact "switching point" between asynchronous and synchronous stages.

Summary updated

Abstract

In on-policy distillation (OPD), response completion, supervision delivery, and parameter updates need not share the same granularity. We develop streaming OPD by decoupling these three clocks: a response repeatedly delivers newly generated segments while generation continues, retaining the full causal prefix at each delivery and computing loss only on new positions. A consumption protocol then organizes supervision budgets, position selection, staleness handling, and update scheduling, allowing control over quantity, coverage, and version lag across training stages. In GSM8K experiments distilling Qwen3-4B into Qwen3-0.6B with VERL, supervised-budget matching reduces the early gap between best test accuracies over seven common candidates from 4.55 to 2.42 points. Synchronous continuation from the same checkpoint reaches 73.39% best test accuracy over seven common candidates at u=384,...,576, versus 74.30% synchronous and 71.95% budget-matched (differences -0.91 and -2.35 points); an unpaired extended record reaches 76.12%. Freshness filtering and disagreement-overlap selection improve local peaks but do not establish sustained advantages. A system prototype shows lower data-supply waiting times without establishing an equal-update speedup. Quality recovery and supply-side benefits are assessed separately; end-to-end gains must account for continuation cost.
BibTeX
@misc{wang2026streaming,
  author = {Yun Zhu Da Wang},
  title = {{Streaming On-Policy Distillation: Decoupling Three Clocks for Stage-Wise Supervision Consumption}},
  year = {2026},
  eprint = {2611.22298},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.22298},
}
Figure