MeiGen-AI/OPSD-V
On-Policy Self-Distillation for Post-Training Few-Step Autoregressive Video Generators
What it solves
Fast video generators that produce long videos in a few denoising steps tend to degrade over time: each generated chunk is fed back into the model's memory (the KV cache) and becomes context for later chunks, so small errors, weak motion, or semantic drift accumulate. OPSD-V is a post-training method that reduces this long-horizon degradation without slowing down inference or changing how the model generates videos. It uses real long videos as a privileged reference during training to teach the generator to stay on better temporal trajectories.
How it works
The idea is a student-teacher setup during post-training. The student is the original few-step autoregressive (AR) video generator, and it is rolled out exactly as it will be used at inference time: it generates chunks, writes them into its own KV cache, and continues from the resulting state. The teacher is evaluated at the same denoising steps and on the same noisy latents that the student visits, but the teacher's older cache history is replaced with corresponding real-video context (while the most recent chunk remains model-generated for autoregressive continuity). The student and teacher velocity/flow predictions are then matched on these on-policy states, providing dense corrective supervision. This keeps the original 4-step sampler and inference-time cache mechanism unchanged. Memory-conscious training techniques (chunk-wise backward, detached denoising transitions, FSDP, gradient checkpointing, LoRA/EMA support) make long rollouts feasible.
Who it's for
Researchers and practitioners working on few-step autoregressive video generation who want to improve long-video quality and motion dynamics for existing checkpoints (Wan2.1-based backbones, or Self-Forcing-style generators) without redesigning the sampler. It is also relevant for teams interested in post-training video diffusion models with limited compute, since the released code and checkpoints are designed to be applied on top of existing few-step generators.
Highlights
- On-policy student rollout: the student generates from its own evolving cache, mirroring real inference conditions.
- Cleaner teacher context: the teacher uses real-video history for older cache entries, while keeping the latest generated chunk.
- Few-step path preserved: the original 4-step autoregressive sampler and inference-time cache are unchanged.
- Memory-conscious training: chunk-wise backward, detached transitions, FSDP, gradient checkpointing, and LoRA/EMA support.
- Deterministic prompt seeding (--per_prompt_seed) for reproducible evaluation.
- Released code, checkpoints, and training/inference pipelines (Apache-2.0).
Related
- Project
- Project
- Project
- Project
- Project