Joint Alignment and Distillation for Video Generation via Sample-Guided Distribution Matching
Authors: Jiuzhou Lin, Junlong Wu, Fei Zuo, Huan Ouyang, Dewen Fan, Boheng Zhang, Huaiqing Wang, Jia Sun, Fan Yang, Houde Liu, Kehai Chen, Min Zhang, Tingting Gao, Han Li
Organizations: Tsinghua University · Kuaishou Technology · Harbin Institute of Technology (ShenZhen) · Beijing University of Posts and Telecommunications
Aligning video generative models to human preferences heavily relies on Reinforcement Learning (RL), which suffers from extensive computational overhead. Existing workflows typically treat RL and distillation as disconnected stages: applying RL before distillation incurs prohibitive computational costs, whereas applying RL after distillation frequently leads to model collapse. To overcome these limitations, we propose a unified, single-stage optimization framework grounded in Distribution Matching (DM). In the standard DM framework, distillation updates the model via a gradient direction that minimizes the gap between the real and fake models, guiding generations toward clarity and high fidelity. Building upon this, we introduce DM-Align, which derives a complementary gradient direction to guide the model toward human-preferred samples. Inspired by DPO and GRPO, our method leverages the distributional gap -- formulated from either preference pairs or intra-group exploration -- to directly construct this preference-guided gradient. By synergizing these two gradient directions, our approach eliminates the need for multi-step reward evaluation and complex ODE-SDE conversions inherent in traditional RL. Comprehensive experiments across multiple foundational video models demonstrate that this sample-guided framework robustly enhances both distillation quality and preference alignment, consistently outperforming both standalone variants and sequential two-stage pipelines.
Figures & tables
Figure 1: Left: Applying RL before distillation incurs prohibitive multi-step sampling costs and complex MDP adaptations, while applying RL after distillation causes unstable training. Right: Our unified Sample-Guided Distribution Matching framework jointly optimizes both objectives in a single stage, enabling fast, high-fidelity preference alignment while entirely bypassing the bottlenecks of traditional RL.
Figure 2: Overview of our unified framework. Left: The generator produces samples via few-step sampling and is updated simultaneously by the distillation gradient and the DM-Align gradient. Right: The fake model approximates the generator’s current distribution via a standard denoising loss, acting as a robust score estimator for both objectives.
Method
NFE
Average Score
Temporal Consistency
Motion Quality
Visual Quality
Subject Consistency
Background Consistency
Motion Smoothness
Dynamic Degree
Aesthetic Quality
Imaging Quality
DM-Align (Pair) on ConsistID Dataset
Wan-T2V-1.3B (raw model)
100
78.20
96.57
94.46
99.01
50.78
56.09
72.29
DMD2
4
79.68
98.03
95.78
99.10
52.81
57.64
74.73
Flow-DPO
100
81.54
98.10
95.56
99.25
67.13
56.32
72.91
Flow-DPO + DMD2
4
79.89
98.14
96.01
99.18
53.43
58.26
74.35
Table 1: Main results on VBench evaluation. The best results are in bold . The upper section presents results on the ConsistID dataset using DM-Align (Pair), while the lower section shows results on the VidProM dataset using DM-Align (Group).
Figure 4
Figure 4: Qualitative comparison between the raw base model and our DM-Align. For each prompt, the upper row presents the raw base model outputs, and the lower row displays our DM-Align results. The top two prompts showcase DM-Align (Pair): whereas the base model produces a frozen, single-person output, our method correctly generates the requested kitchen background and depicts two persons with more natural movements. The bottom two prompts showcase DM-Align (Group): our method accurately generates specific textual details, such as a red star and a red Porsche, demonstrating superior prompt consistency.
Table 6
Base Model
Reward
1:0 (DMD)
3:1
1:1 (Ours)
1:3
Varying
Wan-1.3B
TA ( ↑ )
0.75
1.34
1.65
1.56
1.45
HPSv2 ( ↑ )
20.50
24.01
28.89
12.37
27.56
CogVideoX
TA ( ↑ )
0.22
0.58
0.55
0.08
0.49
HPSv2 ( ↑ )
18.71
20.92
25.01
13.78
22.11
Table 5: Generality & Sensitivity analysis ( λDMD:λalign ) across different backbones and reward models. “Varying” denotes a linear schedule where the weight ratio λDMD:λalign is linearly scheduled from 1:0 to 1:3 over training.
Figure 8
Method
Dynamic
Aesthetic
Temporal
DMD2
74.90
64.19
95.51
DanceGRPO
78.42
66.85
96.12
DMDR [ 16 ]
77.15
67.40
95.88
DM-Group
81.35
68.12
97.15
Table 6: Cross-evaluation on ConsistID using prompts only. DM-Group uses only textual prompts without paired real videos.
Video generation is central to AI-powered content creation. Aligning generated videos with human preferences is a key criterion for evaluating generation quality. Despite significant progress in visual quality, three key challenges remain. First, the reliability of reward signals is constrained by the quality of human preference data, which is often affected by subjective noise and bias. Second, standard scalar reward models collapse multi-aspect human preferences into a single value, leading to the loss of dynamic trade-offs across multiple preference dimensions. Third, in policy optimization, the widely adopted KL divergence imposes primarily local constraints and may fail to capture the global structure of human preferences. To address these challenges, we propose a unified preference-aware learning framework for video generation. First, we introduce elite-guided filtering to calibrate preference data and construct reliable supervision for reward model training. We then model video quality as a multidimensional reward distribution to capture the uncertainty inherent in human preferences, and use the Wasserstein distance to align the learned reward distribution with the empirical human preference distribution. Finally, we introduce Wasserstein-based distributional alignment into GRPO, guiding policy optimization to better match the global structure of human preferences over videos. Experiments on reward modeling and video generation demonstrate that our approach improves the reliability of reward signals and the perceptual consistency of generated videos. Our code is available at https://github.com/alignhs26/ahs.
Nai-Xin Zhai, Weihua Cheng, Dexu Yu +9
City University of Hong Kong · DeciLix Lab · ShanghaiTech University +7
Achieving simultaneous preference alignment and distillation acceleration in video diffusion models remains an open challenge. Existing methods optimize the two objectives over mismatched representation spaces, where improving one objective often compromises the other. To overcome this, we propose Reward Lightning, a unified framework that aligns and accelerates a video diffusion model within a single shared representation. Its central principle is homology: both objectives are evaluated on identical latent features, which mitigates the gradient conflicts that arise when they are optimized over disjoint representations. As a foundational component, we first introduce a latent reward model (LRM) that scores videos directly in the latent space, without decoding back to the pixel space. Building on the LRM, homologous preference distillation (HPD) reuses this shared backbone to perform adversarial distillation and preference alignment jointly, yielding few-step generators that remain faithful and well aligned. Extensive experiments demonstrate that the LRM surpasses pixel-level and latent-level reward baselines by 11.0% and 14.7% in preference accuracy, and that Reward Lightning generates high-fidelity videos in merely 1 to 4 steps, improving the average VBench score by 2.1% while leading in text alignment, motion quality, and visual quality. Project page: https://reward-lightning.github.io.
Efficiently aligning large-scale video diffusion models with human intent requires a scalable and trajectory-aware pathway that bridges the inherent discrepancy between training noise distributions and practical inference trajectories. While existing paradigms such as Direct Preference Optimization (DPO) and Group Relative Policy Optimization (GRPO) attempt to address this, they are often hindered by either reliance on bias-prone, complex reward models or suboptimal timestep sampling. In this paper, we propose Diffusion-APO (Aligned Preference Optimization), a trajectory-aware algorithm that resolves this misalignment by synchronizing training noise with inference-time denoising paths to maximize gradient signal efficacy. To translate this algorithmic innovation into a practical solution, we introduce a unified and modular RLHF framework that integrates online ranking, half-online anchoring, offline refinement, and distillation-aware drift correction. This framework enables flexible, multi-stage preference alignment across diverse data and computational constraints without relying on scalar-reward-based policy gradients. Through extensive experiments, we demonstrate that Diffusion-APO consistently outperforms standard baselines in visual quality and instruction following, while effectively preserving generative fidelity during model acceleration, providing a robust, end-to-end pathway for scalable video diffusion alignment.