Imagine you’re trying to describe a movie to a friend. You wouldn’t describe every single blade of grass in every single frame. You’d say, "The hero walks across the field." You focus on what changes and what moves.
Modern video generation models, however, are a bit obsessive-compulsive. When we give them "conditions"—like a sketch, a depth map, or a specific person’s identity—they process every single pixel-turned-token as if it’s brand new information. This makes them incredibly slow.
In their new paper, researchers from Adobe and the University of Virginia ask a brilliant, "back-to-basics" question: Why are we working so hard to find redundancy when classical video compression (codecs) solved this problem decades ago?
TL;DR
CodecOPSD uses the logic of old-school video compression (like H.264) to identify and throw away redundant input tokens in video generation models. By training a small adapter via "On-Policy Self-Distillation," they achieve up to an 8x speedup and a 73% reduction in memory usage without sacrificing the quality of the generated video.
What Problem Does This Paper Address?
We are currently in the era of "All-in-One" video models. These models don't just take a text prompt; they take a photo of your dog, a sketch of a living room, and a motion path you scribbled on a screen.
The technical headache is that all these inputs are converted into "tokens" and fed into a Diffusion Transformer (DiT). Because the computational cost of these models grows quadratically with the number of tokens, adding more conditions quickly brings even the most powerful GPUs to their knees.
The authors noticed that most of these condition tokens are redundant. If you have a depth map of a static background, that information doesn't change from frame 1 to frame 100. Processing it 100 times is a massive waste of electricity and time.
Methods
The researchers introduced a two-part system called On-Policy Codec Distillation (CodecOPSD).
1. Codec-Based Pruning
Instead of building a complex new AI to decide which tokens are important, they used a standard H.264 codec.
- Motion Vectors: If a block of pixels is just a shifted version of a previous block, the codec knows it.
- Residuals: The codec identifies what is actually "new" or "different" in a frame.
By mapping these fine-grained signals to the larger "tokens" used by the AI, they can simply drop the tokens that the codec deems predictable.
2. On-Policy Self-Distillation (OPSD)
If you just start throwing away 90% of a model's input, it will get confused and produce garbage. To fix this, the authors used a "Teacher-Student" training setup.
- The Teacher: A frozen version of the model that sees all the tokens (the "privileged" information).
- The Student: A version of the model with a small, trainable "LoRA" adapter that only sees the pruned tokens.
- The Goal: The student learns to produce the same results as the teacher, effectively learning to "fill in the blanks" for the missing data.
Datasets
The team tested their method on a massive variety of tasks using:
- Internal Training: A mix of datasets including OpenVid-1M, VidGen-1M, and SpatialVID.
- Benchmarks: They evaluated performance using VBench (for perceptual quality), OmniVBench (for the MiniMax model), and specialized sets like Physics-IQ (for physical consistency) and FoleyBench (for video-to-audio).
Key Insights and Ideas
- Old Tech is Good Tech: The most "aha" moment is the realization that we don't need a "Neural Token Scorer" to find redundancy. Classical codecs are incredibly efficient and run on a CPU in milliseconds, leaving the GPU free for the heavy lifting.
- Modality Matters: Not all conditions are created equal. Sparse conditions (like a few motion dots) can be pruned by up to 98%, while dense conditions (like a full-color photo) might only drop by 70-80%.
- The "Information Gap": By giving the teacher "privileged information" (the dropped tokens), the distillation process becomes a powerful way to teach the model robustness.
Key Results
The results are, frankly, startling.
- Speed: On their internal model, they saw a 3.1x speedup in denoising. When applied to the state-of-the-art MiniMax-H3 model, the speedup reached 8.4x for high-resolution, long-frame videos.
- Efficiency: They pruned 66% to 89% of condition tokens on average.
- Memory: In "KV cache" mode (a common optimization), memory usage shrank by up to 73%.
- Quality: In a blind human study, 92% of participants rated the pruned model's results as "as good as or better than" the original, slow model.
Limitations and Future Work
While highly effective, the authors noted a few areas for improvement:
- Static Confusion: Sometimes, a motion track point that stays perfectly still might be mistaken for "redundant" and dropped, potentially confusing the model if that point was actually an important anchor.
- Granularity: Currently, they prune entire tokens. Future work could look at pruning at a finer level—perhaps dropping specific "channels" within a token based on the codec's residual values.
- Fixed Thresholds: The pruning currently relies on manually set thresholds for motion and residuals. A learning-based approach to find the optimal "balance point" for every video could squeeze out even more efficiency.
Summary updated