On-Policy Codec Distillation for Efficient All-in-One Video Generation

Boyang Wang, Kevin Blackburn-Matzen, Oindrila Saha, Matheus Gadelha, Zezhou Cheng

Adobe Research · University of Virginia

Published November 23, 2026 · on the feed November 25, 2026 · ▲ 13 · arXiv 2611.31184

VideoLLM training & RLEfficiency & inference Full code arXiv ↗Hugging Face ↗Weights ↗

The abstract

Modern visual generative models operate on tokens, and every visual asset they receive, whether an identity, a scribble, a depth map, or a motion video, is tokenized and appended to the input token sequence. Consequently, conditioning quickly dominates the computation cost. Yet most of these tokens carry redundant spatiotemporal information. Our key insight is that identifying what is genuinely new is exactly the problem that classical video codecs have long solved. Thus, we first introduce a codec-based token pruning method that discards redundant tokens. Then, we propose an on-policy self-distillation (OPSD) strategy to train a DiT adapter capable of learning the codec pruning pattern well without quality degradation. Together, they form On-Policy Codec Distillation (CodecOPSD). We scale CodecOPSD to 16 condition modalities on our own video diffusion model, where it prunes 66% of the condition tokens on average with almost no quality drop. Therefore, denoising becomes 2x faster, and the cache memory shrinks by up to 73% in KV cache mode. CodecOPSD also extends to other state-of-the-art pretrained image and video generative models, where its benefit grows further with more conditions, longer frames, and higher resolution.

The Brief

2:08

A short podcast summary of the paper. Written and voiced by AI.

Transcript

On-Policy Codec Distillation for Efficient All-in-One Video Generation. By Boyang Wang and four others, from Adobe Research and the University of Virginia. Published on the twenty-third of November.

Modern visual generative models work on tokens. Every visual asset handed to them as a condition is tokenized and appended to the input sequence, whether it is an identity, a scribble, a depth map or a motion video. Stack up a few of these and the conditioning quickly dominates the cost of computation. Yet much of it is waste: most of those condition tokens carry redundant spatiotemporal information.

The key insight is a borrowed one. Working out which parts of a signal are genuinely new is exactly the problem classical video codecs have long solved. So instead of inventing a way to spot redundancy, the authors take it from the codec. A video codec exists to avoid storing the same information twice, and the same judgment can decide which condition tokens a generator actually needs to see. The rest can simply be left out of the sequence.

The method has two parts. First, a codec-based token pruning method discards the redundant tokens. Second, an on-policy self-distillation strategy, called OPSD, trains a DiT adapter so that the model learns to work with the codec's pruning pattern without losing quality. Put together, the two form On-Policy Codec Distillation, or CodecOPSD. The pruning decides what to drop; the distillation teaches the model to cope with what is left, so that a thinner input sequence does not cost quality.

The authors scale CodecOPSD to sixteen condition modalities on their own video diffusion model. There it prunes sixty-six percent of the condition tokens on average, with almost no drop in quality. As a result, denoising runs twice as fast. In KV cache mode, cache memory shrinks by up to seventy-three percent.

The approach is not tied to the authors' model. It extends to other state-of-the-art pretrained image and video generative models. There the benefit grows further as conditions multiply, as frames get longer, and as resolution rises.

That last pattern is the telling one. The more an all-in-one generator is asked to take in, the more a long-standing idea from compression has to give. Efficiency here comes not from a smaller model but from refusing to pay for information that was already there.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.