Stream-R1: Reliability-Perplexity Aware Reward Distillation for Streaming Video Generation

Summary (Overview)

  • Key Problem: Existing Distribution Matching Distillation (DMD) methods for streaming video generation treat all student rollouts, frames, and pixels as equally reliable supervision, ignoring variance in the supervision signal's quality.
  • Core Insight: The DMD supervision signal exhibits two complementary axes of variance: Inter-Reliability (variation in supervision reliability across different student rollouts) and Intra-Perplexity (variation across spatiotemporal regions within a rollout in how much further refinement can improve quality).
  • Main Solution: Stream-R1, a framework that adaptively reweights the DMD objective using a single reward-guided mechanism at both the rollout level (Inter-Reliability weighting) and the spatiotemporal-element level (Intra-Perplexity weighting).
  • Technical Contribution: Derives a per-pixel gradient saliency map from a pretrained video reward model, factorizes it into spatial and temporal weights, and combines it with an exponential rollout-level reward weight. Includes adaptive balancing across multiple quality dimensions (visual quality, motion quality, text alignment).
  • Results: Achieves consistent improvements over distillation baselines on standard benchmarks across all quality dimensions, surpasses its multi-step teacher model in some metrics, and demonstrates superior temporal stability in long video generation, with no architectural changes or inference cost overhead.

Introduction and Theoretical Foundation

Recent video diffusion models achieve high quality but suffer from prohibitive inference costs due to multi-step denoising over fixed windows. Autoregressive streaming video diffusion models offer a solution by enabling causal, frame-by-frame generation. To make this practical, Distribution Matching Distillation (DMD) is used to compress a multi-step teacher into a few-step student by minimizing the output distribution divergence.

However, existing DMD methods apply indiscriminative distillation: they minimize the per-instance discrepancy between student and teacher outputs with uniform weight for every rollout, frame, and pixel. This approach overlooks two critical sources of variance in the DMD supervision signal:

  1. Inter-Reliability: The DMD gradient g=ffakefrealg = f_{\text{fake}} - f_{\text{real}} is an estimate whose reliability varies across rollouts. The teacher-derived frealf_{\text{real}} is a conditional denoiser. When a student rollout is near the teacher's high-quality mode, gg points toward closing the residual gap. When a rollout is far from this mode, gg encodes a "within-low-quality refinement" rather than a path to high quality. Averaging gg equally conflates these regimes.
  2. Intra-Perplexity: Within a single rollout, different spatial regions and temporal frames contribute unequally to potential quality improvement. Some regions are far from the high-quality mode (high perplexity), while others are near their local optimum (low perplexity). A uniform loss wastes optimization budget on saturated regions and under-supervises high-perplexity regions.

The distillation objective should therefore address two complementary questions: whether to learn from each rollout (based on reliability) and where to concentrate optimization within each rollout (based on perplexity).

Methodology

Stream-R1 is built upon the DMD framework. Given a text prompt cc, the student generator GϕG_\phi produces a clean latent x0=Gϕ(c)x_0 = G_\phi(c). A noisy version xtx_t is created by adding noise at timestep tt. Critic networks frealf_{\text{real}} and ffakef_{\text{fake}} estimate score functions. The base DMD gradient and loss are:

g=ffake(xt,c)freal(xt,c)g = f_{\text{fake}}(x_t, c) - f_{\text{real}}(x_t, c) LDMD=12x0sg(x0g^)2L_{\text{DMD}} = \frac{1}{2} \| x_0 - \text{sg}(x_0 - \hat{g}) \|^2

where g^\hat{g} is the normalized gradient and sg()\text{sg}(\cdot) is the stop-gradient operator.

Stream-R1 modulates this loss with two adaptive weights derived from a single pretrained video reward model.

1. Inter-Reliability Weighting (WinterW_{\text{inter}}): A pretrained reward model evaluates the student-generated rollout VV, aggregating per-dimension rewards rddD{r_d}_{d \in D} into a balanced final reward rfinalr_{\text{final}} (defined later). This score proxies supervision reliability. The per-sample loss multiplier is:

Winter=exp(βrfinal)W_{\text{inter}} = \exp(\beta \cdot r_{\text{final}})

where β>0\beta > 0 is a temperature. Rollouts with higher rewards (more reliable supervision) dominate the gradient.

2. Intra-Perplexity Weighting (WintraW_{\text{intra}}): A per-element weight map localizes optimization pressure where refinement yields the largest expected gain. For a quality dimension d{VQ,MQ,TA}d \in \{ \text{VQ}, \text{MQ}, \text{TA} \}, the reward model RdR_d maps video VRF×H×W×3V \in \mathbb{R}^{F \times H \times W \times 3} to a scalar rd=Rd(V)r_d = R_d(V). The per-axis saliency map is the absolute gradient:

S(d)=Rd(V)VRF×H×WS^{(d)} = \left| \frac{\partial R_d(V)}{\partial V} \right| \in \mathbb{R}^{F \times H \times W}

Adaptive Gradient-Saliency Combination: Saliency maps from different dimensions are combined adaptively, allocating greater attention to dimensions with lower current scores (more room for improvement):

αd=exp(rd/τ)dexp(rd/τ),Scombined=dαdS(d)\alpha_d = \frac{\exp(-r_d / \tau)}{\sum_{d'} \exp(-r_{d'} / \tau)}, \quad S_{\text{combined}} = \sum_d \alpha_d \cdot S^{(d)}

where τ\tau is a temperature parameter.

Spatiotemporal Saliency Decomposition: The combined saliency ScombinedS_{\text{combined}} is factored into temporal and spatial components.

  • Temporal Weight Extraction: Per-frame saliency pf=1HWh,wScombined[f,h,w]p_f = \frac{1}{HW} \sum_{h,w} S_{\text{combined}}[f, h, w] is normalized and clamped: p^f=pfpminpmaxpmin,wf(t)=max(p^f,τmin)\hat{p}_f = \frac{p_f - p_{\text{min}}}{p_{\text{max}} - p_{\text{min}}}, \quad w^{(t)}_f = \max(\hat{p}_f, \tau_{\text{min}}) The weights are mean-normalized: 1Ffwf(t)=1\frac{1}{F} \sum_f w^{(t)}_f = 1.
  • Spatial Weight Extraction: Per-frame, spatial saliency is normalized independently: s^f,h,w=sf,h,wsfminsfmaxsfmin,wf,h,w(s)=max(s^f,h,w,σmin)\hat{s}_{f,h,w} = \frac{s_{f,h,w} - s^{\text{min}}_{f}}{s^{\text{max}}_{f} - s^{\text{min}}_{f}}, \quad w^{(s)}_{f,h,w} = \max(\hat{s}_{f,h,w}, \sigma_{\text{min}}) Each frame's spatial weights are independently mean-normalized to 1.
  • Composition: The final per-element weight map is: Wintra[f,h,w]=wf(t)wf,h,w(s)1FHWf,h,wwf(t)wf,h,w(s)W_{\text{intra}}[f, h, w] = \frac{w^{(t)}_f \cdot w^{(s)}_{f,h,w}}{\frac{1}{FHW} \sum_{f',h',w'} w^{(t)}_{f'} \cdot w^{(s)}_{f',h',w'}}

3. Balanced Multi-Dimensional Reward: To prevent unbalanced improvement, a balance penalty based on the standard deviation of improvements across dimensions is subtracted from the base reward: A sliding window of size NN tracks per-dimension reward history. Improvement for dimension dd is:

Δd=rˉdrecentrˉdbaseline\Delta_d = \bar{r}^{\text{recent}}_{d} - \bar{r}^{\text{baseline}}_{d}

The balance penalty is:

Pbal=std({Δd}dD)P_{\text{bal}} = \text{std}( \{ \Delta_d \}_{d \in D} )

The final balanced reward is:

rfinal=1DdrdλPbalr_{\text{final}} = \frac{1}{|D|} \sum_d r_d - \lambda \cdot P_{\text{bal}}

where λ\lambda is a weighting coefficient. The penalty is activated after a warmup period.

4. Overall Objective: The final Stream-R1 generator loss combines all components:

LStream-R1=12Wintermean(Wintrax0sg(x0g^)2)L_{\text{Stream-R1}} = \frac{1}{2} W_{\text{inter}} \cdot \text{mean}\left( W_{\text{intra}} \odot \| x_0 - \text{sg}(x_0 - \hat{g}) \|^2 \right)

where \odot denotes element-wise multiplication.

Empirical Validation / Results

Implementation Details: Built upon Reward Forcing [25]. Uses Wan2.1-T2V-1.3B as student and Wan2.1-T2V-14B as teacher. Generates 5-second videos at 832×480 resolution. Training: 1,000 steps on 8 A100 GPUs.

Short Video Generation (5-second): Benchmarked against various open-source models on 946 VBench prompts.

ModelParamsFPS ↑Total Quality ↑Semantic
Diffusion models
LTX-Video [10]1.9B8.9880.0070.79
Wan2.1 [32]1.3B0.7884.2680.09
Autoregressive / streaming models
SkyReels-V2 [4]1.3B0.4982.6774.53
MAGI-1 [30]4.5B0.1979.1867.74
NOVA [6]0.6B0.8880.1279.05
Pyramid Flow [17]2B6.781.7269.62
CausVid [20]1.3B17.082.8878.69
Self Forcing [13]1.3B17.083.8080.64
LongLive [35]1.3B20.783.2281.37
Rolling Forcing [23]1.3B17.581.2269.78
Reward-guided distillation
Reward Forcing [25]1.3B23.184.1381.32
Stream-R1 (Ours)1.3B23.184.4081.44
  • Stream-R1 achieves the highest Total score (84.40) among all compared methods, surpassing the multi-step teacher Wan2.1 (84.26) and Reward Forcing (84.13).
  • It attains the highest Quality score (85.14) among autoregressive/streaming models.
  • It achieves the best Semantic score (81.44) across all methods.
  • Compared to Reward Forcing, Stream-R1 improves Total (+0.27), Quality (+0.30), and Semantic (+0.12).

Long Video Generation (10s to 180s): Stream-R1 outperforms Reward Forcing on all six VBench metrics (subject/background consistency, imaging quality, motion smoothness, aesthetic quality, drift) across all durations. The performance gap widens as video length increases, indicating superior temporal stability.

VLM-based Evaluation (Qwen3-VL): Evaluated on 60-second videos.

ModelVisual ↑Dynamic ↑Text ↑
SkyReels-V2 [4]3.303.052.70
CausVid [20]4.663.163.32
Self Forcing [13]3.893.443.11
LongLive [35]4.793.813.98
Reward Forcing [25]4.824.184.04
Stream-R1 (Ours)4.924.044.11

Stream-R1 attains the highest Visual Quality and Text Alignment scores.

Human Preference Evaluation (50 long videos): Stream-R1 is preferred over Reward Forcing on all five judged dimensions.

DimensionWin Rate (%)
Temporal Consistency51.0%
Dynamic Reasonableness63.0%
Visual Quality & Aesthetics60.0%
Text-Video Alignment54.1%
Overall Preference57.0%

Ablation Study:

VariantShort Video (VBench) ↑Long Video ↑
TotalQuality
Baseline (no reward)83.4484.16
+ Spatial reward (σmin=0.15\sigma_{\text{min}}=0.15)83.6784.46
+ Balanced Multi-Dim reward (σmin=0.15\sigma_{\text{min}}=0.15)83.6784.45
+ Temporal reward (τmin=0.20\tau_{\text{min}}=0.20) [Full]84.4085.14
Hyperparameter sensitivity
σmin=0.30\sigma_{\text{min}}=0.30 (spatial only)83.6884.44
τmin=0.40\tau_{\text{min}}=0.4083.4284.21
  • Adding spatial saliency improves Quality and Long Total.
  • Balanced multi-dimensional reward improves Semantic.
  • Incorporating temporal decomposition produces the largest single improvement (+0.72 on Short Total, reduces Drift).
  • An excessively high temporal floor (τmin=0.40\tau_{\text{min}}=0.40) degrades performance, showing the importance of temporal contrast.

Visualization of Spatiotemporal Weights: A controlled experiment with injected Gaussian blur shows that the saliency map concentrates on corrupted regions and semantically/dynamically important content. Temporal weights grow monotonically as the degraded area expands, confirming that Stream-R1's weights reflect localized quality deficiency.

Theoretical and Practical Implications

  • Theoretical: Reformulates DMD-based distillation as a reliability-perplexity aware process. Highlights that indiscriminative treatment caps quality upper bounds. Provides a principled framework for decomposing global reward signals into spatiotemporally localized guidance.
  • Practical: Demonstrates that reward-guided distillation can push a student model beyond the teacher's quality frontier while achieving 30× higher inference speed. Offers a method to improve temporal stability and reduce quality drift in long video generation. The framework requires no architectural modification to the student and adds no additional inference cost. The principle of reward decomposition is broadly applicable to other modalities (image synthesis, 3D content generation).

Conclusion

Stream-R1 introduces a dynamic spatiotemporal reward-guided distillation framework that addresses Inter-Reliability and Intra-Perplexity variance in DMD supervision. By decomposing scalar reward signals into factored spatial and temporal saliency via reward-model gradient backpropagation, it concentrates optimization on quality-deficient regions and frames. Experiments show Stream-R1 achieves state-of-the-art performance on short and long video generation benchmarks, surpassing its teacher model in some metrics and demonstrating superior temporal stability. Human and VLM evaluations confirm balanced quality improvements. The work opens a new direction for reward-guided generation across modalities.

Related papers