WorksComputer Science
On-Policy Codec Distillation for Efficient All-in-One Video Generation
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.
Introduction
Creativity rarely arrives in text alone. To turn an afternoon at home into a video, a creator brings a photo of the living room sofa, a sketch of the room around it, the poses of two people, a picture of the family corgi, and its path scribbled across the floor (Figure 1 left). State-of-the-art video generative models can receive all these conditions as input. However, modern generative models concatenate all condition tokens into one sequence [5, 29, 30] as inputs, so the attention cost grows quadratically with every added condition. Fine-grained controllability then leads to severe computational cost.
Figure 1. CodecOPSD keeps the informative condition tokens and shows a clear speedup. Our codec pruning drops 89% of the condition tokens with consistent quality, while being 3.1× faster. Our method simply adds an adapter to the video DiT through our proposed on-policy codec distillation. The same pruning works on 16 condition types and is extendable to MiniMax-H3 Ref2VA [44], MiniMax-H3-Image [45], and Cosmos3 [1], with up to 8.4× faster denoising on higher resolution, longer frames, and more conditions.
Most existing acceleration methods speed up the denoiser through fewer sampling steps [76], FlashAttention [56], quantization [43], feature caching [40], or sparse attention [73]. We instead reduce the condition tokens at their source, which is orthogonal to and pluggable into these methods. Condition signals are highly compressible, since a સ static background repeats in every frame and a motion path covers a few pixels. In our daily life, every video we watch or store is compressed by a video codec such as H.264 [70], which removes exactly this redundancy. These codecs are the product of decades of traditional video compression research: rule-based systems that run efficiently on nearly every phone, camera, and browser. For every pixel of every frame, a codec records how it can be predicted from earlier frames, as a motion vector, and what remains new, as a residual. These signals thus provide a natural rule for selecting condition tokens of every modality, from natural RGB images and videos to sketches, depth, and motion tracks. They can be computed in real time on a CPU during training and inference.
Turning this idea into a working model takes two steps: selecting the right tokens and adapting the model to learn from them. First, raw codec signals cannot be used directly and need careful engineering. We resolve these issues, propose an algorithm to map the signals from pixels to VAE tokens, and adapt the selection to each modality. Second, pruning alone is not enough, as the model must learn the codec pattern for faithful generation. We observe that supervised fine-tuning (SFT) leaves a clear gap to the dense model on codec-pruned conditions. We instead propose adapting the model to the pruned conditions through on-policy self-distillation (OPSD) [82], which supervises the model on the states of its own rollouts rather than on noised ground truth [2]. Teacher and student are the same base model, but the teacher additionally sees the tokens dropped by codec pruning as inferable privileged information. The teacher turns these tokens into dense guidance at every state of the student’s own rollout. We name this method On-Policy Codec Distillation (CodecOPSD).
To demonstrate the effectiveness of CodecOPSD, we adapt it to 16 condition modalities in our video diffusion model, namely segmentation, bounding box, identity, sketch, edge, depth, surface normal, human pose, sparse and dense tracking, blurring, grayscale, first-last frame interpolation, continuation, inpainting, and outpainting. With quality close to the dense teacher, it drops 66% of the condition tokens on average, which speeds up denoising by up to 2.30× and shrinks up to 73% of the memory cost in KV cache mode. We further apply it to three state-of-the-art models, namely MiniMax-H3 Reference-to-Audio-Video (Ref2VA) [44] for video generation, MiniMax-H3-Image [45] for image generation, and Cosmos3 [1] for physical AI tasks. At similar quality, the denoising speedup keeps growing with the input scale, reaching 3.72× on MiniMax-H3 Ref2VA with more references, 3.06× on MiniMax-H3-Image at 2048², and 2.30× on Cosmos3, with consistent gains across tasks as diverse as control-to-video, video continuation, video-to-audio, and video-to-action generation.
Our contributions are summarized as follows:
We propose codec pruning in controllable generation, which maps the motion vectors and residuals of a standard H.264 codec from pixels to VAE token masks.
We introduce CodecOPSD, where the teacher additionally sees the codec-pruned tokens as privileged information, leaving the student an information gap that is inferable and of the right size.
We scale CodecOPSD to 16 condition modalities on our video diffusion model, and further extend it to the state-of-the-art all-in-one models MiniMax-H3 Ref2VA, MiniMax-H3-Image, and Cosmos3.
We show that CodecOPSD outperforms other token pruning baselines and has consistent gains in denoising speed with consistent quality.
Related Work
Controllable Video Generation. Early controllable image and video generators add one condition type at a time, such as ControlNet [78], SparseCtrl [17], and AVControl [5]. Later, more works extend them to multiple conditions for richer creative expression [3, 51, 65, 85]. On the other hand, all-in-one models train one network on many condition types. VACE [27] injects a unified condition module through a context adapter, FullDiT [29] and Edit-Verse [30] place all inputs in one token sequence under self-attention, and UniVideo [69] and OmniWeaving [48] pair a multimodal language model with the diffusion transformer. The recent MiniMax-H3 Ref2VA [44] accepts several image and video conditions at the same time. These models mostly append conditions along the sequence rather than the channel dimension, so as users bring ever more references, quadratic attention dominates the cost. This is exactly the problem we are addressing in this work.
Token-Pruning-based Compression in Vision. In diffusion models, ToMe-SD [7] merges tokens inside the network, and FullDiT2 [19] keeps the condition tokens ranked highest by a learned scoring network. Keep The Essentials [49] instead drops reference tokens before the network, at random or by DeepGaze [35] saliency. Another common practice is to downscale the condition, as in OmniControl2 [62], EasyControl [81], and AVControl [5]. In vision-language models, codec-based encoders such as OneVision-Encoder [63], Video-LaVIT [28], CoPE-VideoLM [55], CodecSight [52], and AdaCodec [22] read the motion vectors and residuals of the compressed stream to skip or compactly encode redundant patches. These VLM works target understanding, where dropping redundant patches rarely changes the answer, so they can prune aggressively. Controllable generation is entirely different, since the content of a pruned token still appears in the output, which calls for a more conservative selection. To the best of our knowledge, we are the first to use codec signals for token pruning in diffusion models, where we map them to 3D VAE tokens and adapt the selection to each condition modality.
On-Policy Distillation. In large language models, on-policy distillation [2] trains a student on its self-generated sequences with token-level teacher feedback. On-policy self-distillation [82] lets one model act as both teacher and student, where the teacher additionally sees privileged information. In diffusion models, D-OPSD [26] fine-tunes a step-distilled image model without losing its few-step ability, where the teacher additionally sees the target image. OPSD-V [41] post-trains few-step autoregressive video models on their own rollouts, where the teacher instead sees real-video context. DanceOPD [84] distills several teachers into one student, and supervises a single state of each student rollout. PDM [36] and LIFT [25] distill dense per-frame control into sparse control. In our work, the privileged information is the condition tokens dropped by codec pruning, where the model learns to preserve quality from a fraction of the original condition tokens.
Method
We first review the video codec preliminaries in § 3.1 (Figure 2). In § 3.2, we show how we turn the codec signals from the pixel to the token level, and in § 3.3, we illustrate the methodology of feeding the kept tokens to the DiT model. In § 3.4, we design the model training for CodecOPSD. The pipeline is shown in Figure 3.
Figure 2. From codec signals to kept tokens. (a) An I-frame predicts each block from its coded neighbours. (b) A P-frame finds the best match of each block in a previous frame and stores its motion vector. (c) The residual is the difference between the block and its best match. (d) Each token receives a motion score and a residual score from the blocks it covers, and threshold-based or priority-based pruning then selects the kept tokens.
Figure 3. Pipeline of CodecOPSD. Left: Codec pruning runs in parallel with the VAE encoder and drops condition tokens at a dynamic rate per condition, and the kept tokens concatenate with the noisy latent as the DiT input. It optionally drops the vision tokens of a VLM, which enter the DiT by cross-attention or joint attention depending on the model. Right: On-Policy Codec Distillation provides the tokens removed by codec pruning to the frozen teacher as privileged information and compares the student’s prediction with the teacher’s.
Video Codec Preliminaries
As shown in Figure 2, a video codec such as H.264 [70] predicts each block of pixels from a reference block in the same frame or in past frames. While a codec also involves transform, quantization, and entropy coding, these stages are not relevant to our method, and we focus on how the reference and the residual of each block are obtained.
The codec divides the frames of a video into two types: intra-coded frames (I-frames) and predictive frames (P-frames). An I-frame has no temporal reference and predicts each block from its neighbours within the same frame (Figure 2a). A P-frame predicts each block from previously coded frames, where the compression encoder finds the best match with classical block-matching search algorithms (Figure 2b). This match is rarely exact, so the codec stores the residual, which is the difference between the ground-truth block and its best match (Figure 2c). In summary, a P-frame provides a motion vector and a residual for the block of each pixel , while an I-frame provides a residual and no motion vector.
Token Pruning from Codec Signals
In video diffusion models, the 3D VAE compresses the input both spatially and temporally, where a token of the DiT can cover a set of 32 × 32 pixels over a set of 8 frames in pixel space. In contrast, the motion vectors and residuals obtained from the codec are at a much finer level, from 16 × 16 down to 4 × 4 pixel blocks.
As shown in Figure 2d, we first extract the motion vectors and the residuals from the codec signal, and then map them onto the spatiotemporal region of each token . To adapt to different resolutions, we also rescale these signals by the condition size. To convert dense information into a scalar per token, we compute a motion score and a residual score by:
Based on these two scalar scores on each token, we propose two pruning mechanisms in this paper: a threshold-based and a priority-based one to adapt to different demands.
First, we propose a threshold-based pruning mechanism because we observe that videos with high camera motion are harder to compress than videos that are almost static. Therefore, it is suitable to find a balance point for each video through a threshold-based design, which we formulate as:
where and are the motion and residual thresholds, and means that we will keep the current token .
Second, we also propose a priority-based pruning mode for flexible budget demands. We construct a sortable energy formula by combining and by:
where and are normalized and in the range , and is a scalar weight for the motion. In this design, we sort the tokens by value and drop the lowest first.
Conditioning with Token Selection
Our conditions span diverse modalities, and to adapt them in one system, each condition is rendered as an image or a video and then encoded by the same frozen VAE encoder into condition tokens , as shown in Figure 3 left. In parallel, codec pruning computes the kept mask following § 3.2. The DiT follows standard flow matching [39] and denoises the noisy latent of the generated video, where is the clean latent, is Gaussian noise, and is the noise level. The mask is applied to each condition, and the kept tokens of the conditions are concatenated with as the input sequence . The formula is:
where applies the mask element-wise and is not pruned. Each kept token retains its original 3D RoPE [58] position, and the resulting sequence is fed into the DiT without architectural modification.
Meanwhile, state-of-the-art models such as MiniMax-H3 Ref2VA and MiniMax-H3-Image [44, 45] also feed the condition references to a VLM encoder (optional path in Figure 3). Codec pruning reuses the same codec signals to prune these vision tokens too. The vision encoder (ViT) of the VLM still reads every reference in full, and codec pruning drops its output vision tokens before they enter the language model of the VLM.
On-Policy Codec Distillation
Our training design is based on on-policy self-distillation (OPSD), and the full pipeline is shown in Figure 3 right. OPSD uses a single base model as both teacher and student, where the teacher supervises the student on the states of the student’s own rollout.
The student shares the same base model as the teacher, but with an additional trainable LoRA [23] . As shown in Figure 3, the LoRA is applied to the projections of the condition tokens, but not to those of the noisy latent or the VLM tokens. The student takes the kept tokens , where the mask follows the threshold-based pruning of Eq. (2) during training. The teacher is frozen and receives the same condition types as the student, with no extra condition type. It additionally takes the dropped tokens of these conditions, which serve as its privileged information. Accordingly, their velocity predictions are formulated as:
The student learns to match the teacher without this privileged information, which is feasible since the kept tokens are the most representative ones of each condition and can largely represent the dropped regions.
In each training step, the student first rolls out its own trajectory without gradient. Starting from pure noise , it denoises step by step along the decreasing noise levels of the inference sampler:
where is the -th noise level, with for pure noise, and denotes the -th state of the rollout. We supervise a subset of these states, namely the first states at high noise. At each supervised state, the teacher and the student receive the same and , and we minimize the distance between their predictions:
where the expectation is over the training conditions and the noise. Note that no ground truth enters Eq. (7), since the supervision comes from the teacher. At inference, the student runs with , and the teacher is no longer needed.
Experiments
§ 4.1 and 4.2 provide the implementation and evaluation details. § 4.3 analyzes token dropping and speedup on our multi-condition video model, and § 4.4 provides an ablation. § 4.5 extends CodecOPSD to MiniMax-H3 Ref2VA [44], the H3-Image variant [45], and Cosmos [1] for multi-task generation.
Implementation details
We build our own multi-condition video model as the main testbed of this work. It is relatively lightweight and not distilled, and its training data comes with ground truth, so it can be directly trained with SFT. This enables the extensive SFT comparisons in Table 1 and shows the versatility of our method across diverse visual controls, each with its own metric. Our model starts from a pretrained 22B-parameter text-image-to-video DiT, and its condition tokens never attend to the noise tokens, so it supports KV cache [62]. For the first stage, it is initially trained with text and a mix of 16 condition modalities, namely segmentation, bounding box, identity, sketch, edge, depth, surface normal, human pose, sparse and dense tracking, blurring, grayscale, frame interpolation, continuation, inpainting, and outpainting. Each training sample uses 1 to 5 of them. All token pruning methods in Table 1 are also based on these weights. In the second stage, it is trained with CodecOPSD for 2K steps on 16 H200 GPUs. Inference sampling uses 30 denoising steps, and CodecOPSD rolls out the first 8 of these 30 steps in training. Further implementation details are in the supplementary material.
| Method | Prep. (s) ↓ | FID ↓ | FVD ↓ | LPIPS ↓ | Identity DINOv3 ↑ | Segm. mIoU ↑ | Depth si-RMSE ↓ | Normal Angle ↓ | Edges F1 ↑ | In/Outpaint mPSNR ↑ | Pose [email protected] ↑ | Track TrajErr ↓ | Grayscale ΔE₀₀ ↓ |
| Teacher | 0 | 22.4 | 118.0 | 0.273 | 0.288 | 0.888 | 0.647 | 4.72 | 0.445 | 20.93 | 0.912 | 13.54 | 6.63 |
| Random | ∼0 | 29.2 | 161.2 | 0.351 | 0.278 | 0.782 | 0.959 | 7.44 | 0.286 | 17.88 | 0.870 | 15.73 | 8.65 |
| Reduced Res. | ∼0 | 56.3 | 381.1 | 0.663 | 0.269 | 0.288 | 3.740 | 30.05 | 0.066 | 10.73 | 0.286 | 38.42 | 27.35 |
| DINO [57] | 23.8 | 28.8 | 151.1 | 0.368 | 0.284 | 0.838 | 1.053 | 8.13 | 0.321 | 18.21 | 0.891 | 11.69 | 9.59 |
| Saliency [49] | 75.0 | 30.0 | 148.5 | 0.401 | 0.286 | 0.796 | 1.470 | 11.88 | 0.294 | 15.69 | 0.895 | 13.91 | 13.01 |
| Codec (ours) | 1.13 | 24.5 | 132.3 | 0.307 | 0.284 | 0.734 | 0.868 | 6.05 | 0.393 | 19.89 | 0.836 | 13.90 | 6.93 |
| SFT, Random | ∼0 | 25.6 | 142.7 | 0.305 | 0.289 | 0.864 | 0.875 | 6.22 | 0.338 | 19.11 | 0.901 | 7.50 | 6.78 |
| SFT, Reduced Res. | ∼0 | 34.7 | 199.5 | 0.444 | 0.288 | 0.655 | 1.633 | 14.43 | 0.114 | 14.72 | 0.835 | 14.53 | 12.62 |
| SFT, DINO [57] | 23.8 | 26.7 | 138.0 | 0.337 | 0.287 | 0.885 | 0.941 | 7.45 | 0.343 | 18.62 | 0.910 | 6.86 | 8.16 |
| SFT, Saliency [49] | 75.0 | 29.6 | 146.4 | 0.398 | 0.281 | 0.805 | 1.427 | 11.87 | 0.297 | 15.78 | 0.898 | 13.32 | 12.70 |
| SFT, Codec (ours) | 1.13 | 23.8 | 130.9 | 0.297 | 0.284 | 0.796 | 0.767 | 5.80 | 0.404 | 19.83 | 0.890 | 11.03 | 7.24 |
| CodecOPSD (ours) | 1.13 | 23.0 | 113.8 | 0.278 | 0.289 | 0.883 | 0.706 | 5.44 | 0.417 | 20.43 | 0.911 | 7.80 | 6.53 |
Table 1. Token Pruning Comparisons. Under the same average drop rate, we compare different token pruning methods in either training-free or fine-tuned settings. Our CodecOPSD shows better numerical performance on most metrics and stays close to the teacher. Prep. is the token selection time in seconds per case, and ours runs on 6 CPU cores of an Intel Xeon Platinum 8275CL. The best results in each group are highlighted, and the second best are underlined.
Evaluation details
Evaluation dataset. The test clips of our model experiments are randomly selected from a 2,000-video pool of VidGen-1M [61], where each comes with its ground truth and we prepare the condition modalities needed. Inference mainly runs at 512×768 with 81 frames. Each experiment constructs its own cases and conditions from this set, namely 400 clips with 1 to 4 conditions in Table 1 and Table 3, 200 clips with 1 to 5 conditions in Figure 4, 100 clips with 1 to 4 conditions in Table 2, and 50 clips per condition in Figure 5. Extension experiments are instead tested on benchmarks in their domain [11, 33, 37, 42, 46, 71, 83].
Figure 4. Denoising time and memory change. Test cases run at with 121 frames, 8 sampling steps [76], and one H200. Ours is faster both without the KV cache (left) and with the KV cache (right top). The KV cache requires extra memory cost, and ours needs much less of it (right bottom).
| # cond. | Imaging quality | Aesth. quality | Motion smooth. | Temp. flicker. | Backgr. consist. | Overall consist. | Equally follows? | Equally good? |
| 1 | 84 | 95 | ||||||
| 2 | 92 | 84 | ||||||
| 3 | 93 | 88 | ||||||
| 4 | 94 | 91 | ||||||
| All | 92 | 88 |
Table 2. Perceptual Comparisons. Subscripts provide the change against the dense-conditioned teacher, and CodecOPSD is consistent with the teacher on VBench [24]. In the human study, about 90% of the answers rate CodecOPSD as equal or better in both condition following and quality.
| Quality and Fidelity | Condition Following | ||||||||
| FID ↓ | FVD ↓ | LPIPS ↓ | DINOv3 ↑ | si-RMSE ↓ | Edges F1 ↑ | mPSNR ↑ | PCK ↑ | TrajErr ↓ | |
| Smaller gap | 23.7 | 123.9 | 0.290 | 0.290 | 0.793 | 0.406 | 20.26 | 0.853 | 12.04 |
| Ours | 23.0 | 113.8 | 0.278 | 0.289 | 0.706 | 0.417 | 20.43 | 0.911 | 7.80 |
| Larger gap | 23.8 | 124.3 | 0.287 | 0.288 | 0.798 | 0.404 | 19.48 | 0.906 | 9.90 |
Table 3. Teacher–student gap ablation. We control the gap by the drop rate, dropping 90% of student tokens for the larger gap and some teacher tokens for the smaller gap. Both are worse than ours on at least 8 of the 9 metrics. The best results are highlighted.

Figure 5. Per-condition drop rates. We drop the tokens of a single condition at different rates in the order of Eq. (3) and measure quality relative to the teacher in each target metric, for (a) dense conditions and (b) sparse conditions. The grey band is the teacher’s seed noise (). The green region marks the free drop, where quality stays within this band, and the orange region marks the lossy drop. (c) provides the free drop value of each condition.
Baselines. We compare popular token pruning-based methods. The Random baseline drops tokens uniformly at random, the same share in every condition. The Reduced Resolution baseline is the common way to reduce condition tokens widely used in controllable image and video generation [5, 62, 81], where every condition is encoded at one lower resolution. The DINO attention baseline keeps the tokens that the CLS token of DINOv3 [57] attends to most, which chooses the semantically most important tokens. The Saliency [49] baseline applies DeepGaze [35] to keep the tokens with the highest predicted human-fixation density, which represents where a viewer would look.
Metrics. Perceptual quality and fidelity to the ground truth are measured with FID [20], FVD [64], and LPIPS [80]. Each condition also has its own metric, computed on the clips that carry it. DINOv3 [57] cosine similarity is for identity references, for segmentation, - [12] for depth, mean angular error for surface normals, F1 for Canny edges, for inpainting and out-painting, [75] for human pose, for motion tracks, and the colour difference for grayscale. We also select six dimensions of VBench [24] to measure videos without the ground truth. More details are in the supplementary material.
Token dropping and inference
Comparison of different token pruning methods. Table 1 compares the token pruning methods at the same overall budget, which drops 66% of the condition tokens on average over all conditions. Without training, codec pruning is the best training-free method in 8 of the 12 metrics, including FID, FVD, and LPIPS. After the same number of training steps, CodecOPSD is the best fine-tuned model in 10 of the 12 metrics and stays close to the teacher. Codec pruning selects the tokens in 1.13 s per case on average on the CPU, in parallel with the VAE and text encoders, while DINO attention and saliency take 23.8 s and 75.0 s on the GPU. The supplementary material provides a longer SFT training comparison, parallelism of modules, and per-condition token statistics of codec pruning.
Speedup and perceptual evaluation. Figure 4 measures the denoising time with 1 to 5 conditions per video. Without the KV cache, the dense-conditioned teacher model slows down with every added condition, while ours grows much more slowly, where the speedup rises from to . This gain is smaller than with full bidirectional attention, since our condition tokens never attend to the noise tokens, which also lets our base model support the KV cache setting, where their keys and values are computed once at the first denoising step and reused by every later step. Ours is still to faster, and its KV cache is 62% to 73% smaller.
Table 2 compares ours with the teacher model on VBench [24] and a human study. VBench shows that ours keeps the perceptual quality of the teacher model, with no score changing by more than 1.0 point. In a blind A/B study, 20 raters took part and gave 384 answers. They judged ours as good as or better than the dense model in 92% of the answers for following the conditions and in 88% for visual quality.
Per-condition rate-distortion analysis. We also evaluate how each input modality alone affects quality and performance, with a single condition as the only input of the generation. We then drop more and more tokens of this condition, starting with those of the lowest energy following Eq. (3). Figure 5 compares each output with the teacher. The teacher’s seed noise is with , where
is the mean variance of a case over teacher seeds and is the number of cases. In Figure 5(c), dense conditions drop 26% to 71% of their tokens for free, while sparse conditions can drop 80% to 94%. This shows that different condition modalities have different levels of robustness to token pruning.
Teacher-student gap ablation
In CodecOPSD, the teacher sees all condition tokens, while the student sees the tokens kept by codec pruning. The dropped tokens form the gap between them. For a smaller gap, the teacher is also pruned with half of the student’s codec thresholds. For a larger gap, the student drops 90% of its condition tokens. As shown in Table 3, both variants are worse than ours on almost every metric, where FID rises from 23.0 to 23.7 and 23.8, and FVD from 113.8 to 123.9 and 124.3. Therefore, the gap from codec pruning provides the best balance between what the teacher can teach and what the student can infer.
Extend CodecOPSD to other models
We transfer codec pruning and CodecOPSD together to three other models, which are MiniMax-H3 Ref2VA [44], the image variant MiniMax-H3-Image [45], and Cosmos3 [1] for multi-task generation.
Reference-to-video with MiniMax-H3 Ref2VA
MiniMax-H3 Ref2VA [44] is a recent state-of-the-art video diffusion model with reference-to-video capabilities, i.e., the ability to be conditioned by images or videos besides text. It can take up to 9 images and 3 videos as conditions. Besides its diffusion transformer (DiT) [50], every condition image passes through the vision encoder (ViT) of its vision-language model (VLM) [4]. Condition videos are passed to this ViT as images at a 2 FPS rate. The vision tokens of the VLM can amount to 33% of the condition tokens in the DiT. Therefore, we prune both kinds of tokens with the same codec signals in a single pass.
We evaluate on 237 selected OmniVBench [37] cases, the reference-richest ones of each task, and present them by task family in Table 4. Ours drops 71.6% and 36.2% of the DiT and VLM tokens, respectively, while denoising 1.87× faster on average, with no overall score lower by more than 0.6 points. In Figure 6, we show that our denoising speedup grows with the number of references, frames, and resolution. Adding CodecOPSD can accelerate denoising by up to 3.72×, while quality matches the teacher model and sometimes slightly exceeds it. The data curation, the training details, and the results of CodecOPSD on top of other acceleration techniques are in the supplementary material.
| Task | Token Drop (%) DiT | Token Drop (%) VLM | Denoise Speedup | Technical | Aesthetic | Physical | Reference Fidelity | Instruction Realization |
| Content | 74.3 | 42.2 | 1.31× | |||||
| Motion | 75.1 | 28.8 | 2.06× | |||||
| Style | 44.3 | 19.1 | 1.13× | |||||
| Structure | 79.7 | 42.3 | 2.21× | |||||
| Narrative | 71.8 | 25.0 | 1.78× | |||||
| Multi-cont. | 77.9 | 47.2 | 2.02× | |||||
| Cross | 77.9 | 48.5 | 2.55× | |||||
| Overall | 71.6 | 36.2 | 1.87× |
Table 4. MiniMax-H3 Ref2VA on OmniVBench [37]. Ours drops 71.6% of condition tokens in the DiT and 36.2% in the VLM. It denoises 1.87× faster, and no overall score drops more than 0.6 points. Subscripts are changes from the dense model.
Figure 6. Scaling tokens on MiniMax-H3 Ref2VA and MiniMax-H3-Image. Top: MiniMax-H3 Ref2VA with more reference videos, higher resolution, and more frames; the speedup keeps growing without a clear quality drop relative to the dense teacher. For both speedup and quality, MiniMax-H3 Ref2VA runs the 8-step FastH3-Omni of FastVideo [79]. Bottom: MiniMax-H3-Image with more reference images and higher resolution, which has the same trend. At pixels, with every module (DiT, VLM, and VAE) loaded on the GPU and no offloading, ours still fits 16 images, while the dense model runs out of memory from 12 images on. Quality averages the five scores of Table 4 and the three judge scores of Table 5, relative to the dense model.
Reference-to-image with MiniMax-H3-Image
MiniMax-H3-Image [45] supports text-to-image generation and editing with up to 16 reference images. We evaluate on GEdit-Bench-EN [42] for image editing and OmniContext [71] for generation from multiple reference images, where codec pruning drops about half of the reference image tokens. Since MiniMax-H3-Image requires a short side of at least 1024 pixels, we upscale smaller reference images to this size. CodecOPSD matches the teacher in Table 5, so the results stay consistent on existing benchmarks.
| Model | Ref. tokens | Instr.↑ | Consist.↑ | Quality↑ | Mean (%) |
| GEdit-Bench-EN | |||||
| Teacher | 1,401 | 8.992 | 8.936 | 7.287 | 100.0 |
| +CodecOPSD | 685 (−51%) | 9.061 | 8.868 | 7.295 | 100.0 |
| OmniContext | |||||
| Teacher | 2,940 | 9.490 | 8.000 | 7.540 | 100.0 |
| +CodecOPSD | 1,287 (−56%) | 9.527 | 8.015 | 7.560 | 100.3 |
Table 5. MiniMax-H3-Image on GEdit-Bench-EN [42] and OmniContext [71]. Scores are VLM-judge ratings from 0 to 10, higher is better, and Mean averages them relative to the teacher.
In Figure 6 bottom, the speedup grows with the number of reference images, from with 1 image to with 12, and with the resolution, from at to at pixels. At pixels, the dense model runs out of memory with 12 or more images even on a 141 GB H200, while ours does not. The data curation and training details are in the supplementary material.
Multi-task generation with Cosmos3
Cosmos3 [1] is a Mixture-of-Transformers model for physical AI. Its diffusion transformer can be conditioned on control videos such as edge, blur, depth, and segmentation, on history frames for video continuation, and on an input video for audio and action generation. All condition tokens join the generated tokens in one sequence, so codec pruning applies without modification. We use Cosmos3-Nano, which has 16B parameters. Table 6 tests four of its conditioned tasks. On control-to-video with 20 selected PAL-Bench-C [83] cases per control, CodecOPSD stays within the teacher’s ±2σ seed noise or better, with 84% of the segmentation and depth tokens dropped for 1.9× faster denoising and lower drops of 45% and 35% for blur and edge. On continuation of the 66 center-view Physics-IQ videos [46], it drops 89% of the given-frame tokens, denoises 1.93× faster, and keeps the dense Physics-IQ score. On video-to-audio with 50 selected FoleyBench [11] clips, it drops 70% of the video tokens and denoises 2.30× faster at the same AV match, the probability that a multimodal judge [74] accepts the soundtrack. On video-to-action with 50 randomly selected DROID [33] episodes, the official setting reads only 17 input frames, but CodecOPSD still drops 44% of their tokens, denoises 1.21× faster, and its 3D end-effector position error against the robot log stays close to the teacher’s. Visualizations and details are in the supplementary material.
| Task | Metric | Dense (teacher) | +CodecOPSD | Token Drop (%) | Denoise Speedup |
| Segmentation | mIoU↑ | 0.715±0.035 | 0.751 | 84.2 | 1.93× |
| Blur | SSIM↑ | 0.910±0.004 | 0.911 | 45.0 | 1.36× |
| Depth | si-RMSE↓ | 0.821±0.096 | 0.846 | 84.7 | 1.92× |
| Edge | F1↑ | 0.462±0.004 | 0.459 | 35.0 | 1.24× |
| Continuation | Physics-IQ↑ | 50.6±5.2 | 50.6 | 89.4 | 1.93× |
| Video-to-audio | AV match↑ | 0.864±0.017 | 0.866 | 70.0 | 2.30× |
| Video-to-action | EE err. (cm)↓ | 2.16±0.06 | 2.21 | 44.0 | 1.21× |
Table 6. Comparison with the teacher on Cosmos3 [1]. Teacher values are the mean ±2σ over three seeds. CodecOPSD stays within this range or better on every task while denoising up to 2.30× faster. EE err. is the 3D end-effector position error.
Conclusion
In CodecOPSD, codec pruning drops redundant condition tokens with a standard video codec, and on-policy self-distillation adapts the model to the kept tokens. CodecOPSD matches the dense teacher while dropping 66% of the condition tokens on average. It works across 16 condition types of different modalities and extends to MiniMax-H3 Ref2VA, MiniMax-H3-Image, and Cosmos3. A promising direction for future work is to bring codec pruning to a finer granularity, for example by reducing the channels of each kept token according to its codec residual.
Acknowledgments
The authors acknowledge the University of Virginia Research Computing and Data Analytics Center (Rivanna).
Supplementary Material
In this supplementary material, we provide additional details and results for the main paper, which are organized as follows.
Supplement A provides the implementation details of our multi-condition video model, built on a pretrained 22B DiT.
Supplement B provides the implementation details of our video codec.
Supplement C provides the test data, metrics, and settings of all experiments.
Supplement D provides additional quantitative results of our multi-condition video model.
Supplement E provides qualitative results of our multi-condition video model.
Supplement F provides additional ablation studies.
Supplement G provides additional details and results on MiniMax-H3 Ref2VA [44].
Supplement H provides additional details and results on MiniMax-H3-Image [45].
Supplement I provides additional details and results on Cosmos3-Nano [1].
Supplement J discusses the limitations of our method.
Implementation details
This section extends § 4.1 of the main paper with further implementation details.
Our internal model. Our internal model is a pretrained DiT with 22B parameters (Table S1), and Figure S1 shows how our multi-condition model uses it. Its 6B audio branch is not loaded, which leaves 16B parameters for video-only generation in all of our results. Each condition token enters the DiT with and attends to the tokens of its own condition. Therefore, its keys and values are computed once and cached [62]. Our LoRA [23] is applied to the condition tokens. Our internal model also has an 8-step distilled version [76] with the same architecture, which supports the KV cache in the same way. The dense LoRA trained on our internal model works directly on this distilled version, so we use it as the teacher without further training. The student starts from the same LoRA and is trained with CodecOPSD for 2K steps, where every denoising step of the distilled version is supervised. We adopt this setting for the main example in Figure 1, the speedup test in Figure 4, and the privileged teacher study in Supp. F.1.
| Component | Setting |
| Transformer | 48 blocks, width 4,096 (32 heads × 128) |
| Text | 12B LLM encoder, 8-layer connector, cross-attention |
| VAE | 32× spatial, 8× temporal compression |
| Tokens | one per latent cell (1×1×1 patches), 128 channels |
| Positions | 3D RoPE [58] (time, height, width); after pruning, a token keeps its position in the full grid |
| Parameters | 22B in the checkpoint, 21B in the transformer and 1B in the text projection |
| Audio branch | audio stream and audio–video cross-attention, 6B of the transformer, not loaded |
| Loaded | 15B in the transformer and 1B in the text projection, 16B in total |
Table S1. Our internal model. We list the components of our internal model, whose audio branch is not loaded.
Figure S1. Architecture of our multi-condition model. (a) Noise tokens attend to all tokens, while each clean condition attends to its own tokens. (b) Therefore, the keys and values of the conditions are computed once with our LoRA at step 1 and reused in all later steps, where the noise tokens alone enter the DiT.
Training. In Stage 1, we train the dense model as a LoRA of rank 320 with about 2B parameters on top of our internal model. This stage uses all condition tokens and runs for 50,000 steps on 48 GPUs with a global batch size of 48. In Stage 2, each fine-tuned row of Table 1 starts from the dense model and is trained for 2K steps on the same data, with 49 frames at and a global batch size of 16. The SFT baselines continue to train the dense LoRA with the flow matching loss [39] on the ground-truth clips, each with its own token selection method. For CodecOPSD, we copy the dense LoRA into a trainable student and freeze the dense model as the teacher. Both the student roll-out and the teacher target use a single conditional prediction without classifier-free guidance (CFG) [21], while CFG is applied at inference. CodecOPSD is optimized with AdamW at a learning rate of . During training, the student receives the tokens that remain after threshold-based pruning with the fixed thresholds of Table S2. Across the four base models, our training data is drawn from parts of OpenVid-1M [47], VidGen-1M [61], SpatialVID [66], DL3DV-10K [38], and DROID [33], together with images and additional clips from our internal data pool.
| Shared by all conditions | ||||
| Encoder | x264, 8-bit YUV 4:4:4 input | |||
| Frame types | one I-frame, then P-frames | |||
| Key-frame interval | 250 frames, no scene cut | |||
| Reference frames | 1, the previous frame | |||
| Adaptive quantization | off | |||
| Deblocking | off when decoding | |||
| Threads | one per two macroblock rows | |||
| Condition | Preset | CRF | ||
| Segmentation, human pose, depth, normal, sketch, edges, dense track, grayscale, interpolation and continuation, inpainting, and outpainting, first-frame outpainting | ultrafast | 33 | 5 | 1.0 |
| Motion track | ultrafast | 33 | 2 | 0.5 |
| Boxes | ultrafast | 33 | 1 | 0.1 |
| Blur | veryfast | 33 | 5 | 1.0 |
| Identity | superfast | 35 | – | 1.5 |
Table S2. Codec settings. The upper part lists the settings shared by all conditions, and the lower part lists those that vary across condition types. The motion threshold and the residual threshold of Eq. (8) are measured in pixels at 480×640 and in grey levels, respectively. Lower thresholds drop fewer tokens but retain small changes that carry content, so we adopt them for motion tracks and boxes. However, thresholds that are too low lead to a small drop rate.
Conditions. Besides the text prompt, each training sample draws 1 to 5 of the 16 condition modalities described in § 4.1. Their labels are extracted offline from each clip, except for edge, blurring, and grayscale, which are computed on the fly during data loading.
Object-level conditions include segmentation, bounding boxes, and identity. For segmentation, Qwen3-VL [4] locates the objects in the first frame with bounding boxes, from which SAM3 [8] tracks each object through the clip.
The resulting masks are rendered in one colour per object, either filled or as outlines. Bounding boxes form a separate modality and are rendered from the same masks. For identity, we create a reference image of each object from its crop, either as a single-view identity, which shows one view of the object, or as a multi-view identity, which shows several views of the object in one image.
Structural conditions include sketch, edge, depth, surface normals, and human pose. For sketch, we use either the line drawings of Informative Drawings 1 in the anime, contour, and open sketch styles, or the straight lines of M-LSD 2. Edge is a separate modality that uses Canny edges with random thresholds. Depth maps are predicted by the small model of Video Depth Anything 3 and normalized per clip without further smoothing, while surface normals are predicted by NormalCrafter 4. For human pose, we render the whole-body keypoints of Sapiens-1B 5 as a skeleton for each person tracked by SAM3.
Motion conditions include sparse and dense tracking. For tracking, CoTracker3 6 tracks a grid of points through each clip. Sparse tracking, denoted as motion track in Table 1 and Figure 5, renders 1 to 20 of the fastest points as coloured squares. Dense tracking instead renders all points, coloured by their first-frame position and depth as in Diffusion as Shader 7.
Pixel-level conditions include blurring, grayscale, frame interpolation, continuation, inpainting, and outpainting. For blurring, 70% of the clips are degraded by a Gaussian blur with the kernel settings of Cosmos-Transfer1 8 followed by down-up sampling, and the rest by a disk, Gaussian, or box kernel, from which the model restores the sharp clip. For grayscale, the condition retains the luma of the clip, which the model then colourizes. For frame interpolation and continuation, we retain the first frame, the first and last frames, or other frames of the clip and fill the remaining frames with grey. Inpainting masks follow DeepFillv2 9 and LaMa 10 or are obtained from SAM3, while outpainting masks follow M3DDM 11 and cover either the whole clip or the first frame alone.
Video codec implementation details
This section extends § 3.1 and § 3.2 of the main paper with the details of token pruning, the codec reader and its fixes, and the H.264 12 encoding settings.
Token pruning
This subsection details the two pruning mechanisms introduced in § 3.2.
Rescaling with the condition size. Since motion vectors are measured in pixels, the same movement yields a larger motion score at a higher resolution. In contrast, the residual score is averaged over the pixels of each token and decreases when an image is enlarged, since the same detail then spreads over more pixels. Therefore, we define the thresholds of Eq. (2) at a standard size and rescale them by the condition size , which can be formulated as:
where and are the base thresholds listed in Table S2, defined at the standard size and the standard short side , respectively. The base thresholds are fixed for each condition type, and the rescaling adapts them to the resolution of the condition. The residual rescaling applies to images with a short side above .
Priority-based sorting. Priority-based sorting ranks the tokens by the energy of Eq. (3), where and are the percentile ranks of and among the tokens of the same condition, both in , and weights the motion. In practice, we set . The tokens with the lowest energy are dropped first until the target drop rate is reached. Since motion scales the energy of a token by a factor between 1 and , tokens with a low residual tend to be dropped first, as the codec already predicts their content. When priority-based sorting follows threshold-based pruning, the ranks are computed among the tokens with .
Codec reader and fixes
Choice of H.264. H.264 [70] partitions each frame into macroblocks of pixels, so each token covers whole macroblocks, and its scores follow directly from them. In contrast, H.265 [59] and AV1 [18] select blocks of up to and pixels, respectively, through rate-distortion optimization. A single block can thus span several tokens, which makes the token scores depend on the partition decisions of the encoder. AV1 also predicts with warped and overlapped block motion, so the motion of a block can no longer be described by a single displacement. H.264 is also the fastest to encode. At the fastest setting of each encoder, x264 encodes a 49-frame clip in 0.06 s, while x265 and the libaom AV1 encoder take 0.17 s and 0.65 s, respectively.
Codec reader. Our codec reader builds upon the H.264 decoder of OneVision-Encoder [63], which is patched to output the residual instead of the reconstructed frame. While its default behaviour is suitable for reconstruction, it mistakes flat backgrounds and the interior of moving shapes for new content, and these false positives lower the drop rate. As shown in Figure S2, we remove these false positives with four fixes that apply to all conditions.
Figure S2. Codec fixes. Each row shows an input, followed by its codec signal and the tokens after codec pruning, without the corresponding fix on the left and with it on the right. The four fixes (a) set uncoded intra blocks to 128, (b) set uncoded inter blocks to 128, (c) read the residual from the luma plane of the decoder instead of an RGB conversion, and (d) treat skipped macroblocks as static. Without these fixes, flat regions and backgrounds are mistaken for new content, and their tokens are not dropped.
(a) Uncoded intra blocks. An intra block without coded coefficients holds its prediction, which extrapolates the residual of neighbouring blocks across flat regions. We set these blocks to 128, which denotes a zero residual, and this increases the drop rate of identity references from 14.4% to 74.8%.
(b) Uncoded inter blocks. An inter block without coded coefficients, including a skipped block, holds a motion-compensated prediction that copies the residual of its reference frame, so the residual of earlier frames persists. We also set these blocks to 128, which increases the drop rate of condition videos from 70.4% to 77.0%.
(c) Luma plane. We read the residual directly from the luma plane of the decoder. Converting the decoded frame to RGB would instead interpret its 4:4:4 chroma as 4:2:0, which shifts the zero level away from 128 and introduces false residual.
(d) Skipped macroblocks. A skipped macroblock carries the motion vector predicted from its neighbours, so the flat interior of a moving mask appears to be moving. We export a skip flag from the decoder and treat skipped macroblocks as static, which increases the drop rate of condition videos from 74.6% to 77.0%.
encoding settings
In our simplified setting, an H.264 encoder codes the first frame of a condition as an I-frame from its own pixels and each subsequent frame as a P-frame. Each P-frame is predicted from a reference frame with one motion vector per block, and the remaining prediction error is coded as the residual. The constant rate factor (CRF) controls how coarsely this residual is quantized, where a higher CRF removes more small residuals. The preset controls how much effort the encoder spends on its decisions, such as the motion search and the number of reference frames.
Presets. We adopt the fast presets in Table S2 for two reasons. First, they encode quickly, so codec pruning finishes before the GPU work on average for all four base models, as shown in Table S3. Second, they search a small motion range over a single reference, which is the previous frame. In contrast, slower presets search up to 16 earlier frames, so their motion vectors can point many frames back and no longer measure the motion since the previous frame. On a test set of 27 condition videos, our setting encodes a clip in 0.058 s, while the medium and veryslow presets take 5.24× and 21.5× as long, respectively. When x264 is allowed to search 16 frames in the history, 34.5% of the coded P-frame blocks refer to a frame that is 2 or more frames back.
| Model | Input per case | GPU work (s) | Codec pruning (s) | Extra time left (s) |
| Our internal model | 1–4 conditions, 81 frames, 512×768 | 1.536 | 1.134 | +0.402 |
| MiniMax-H3 Ref2VA [44] | 1–5 references, videos of up to 124 frames at about 768×1344 | 20.675 | 2.039 | +18.636 |
| MiniMax-H3-Image [45] | 1–3 reference images, short edge 1,024 pixels | 0.715 | 0.198 | +0.517 |
| Cosmos3-Nano [1] | 1–4 controls, 81 frames, 480×832 | 3.164 | 1.154 | +2.010 |
Table S3. Codec pruning finishes within the GPU encoding time, even on a modest CPU. We report the mean seconds per case on one A100 GPU with 6 CPU cores, over the 400 test clips of Table 1 for our internal model and 100 cases for each of the other models. GPU work refers to VAE encoding, together with text encoding for our internal model, and extra time left is the GPU work time minus the codec pruning time.
B-frames. We disable B-frames, which predict blocks from both earlier and later frames. Since a B-frame block can take its motion from a later frame or average two predictions, its motion vector and residual no longer describe the change since the previous frame. In contrast, with P-frames alone, every motion vector points to the previous frame. With the medium preset, 48.3 of the 70.3 frames in a condition video become B-frames on average, and 54.5% of their coded blocks are predicted from a later frame.
Encoder settings. Each condition is converted from 8-bit RGB to YUV 4:4:4 and encoded once. We use CRF 33 for videos and CRF 35 for images, such that small prediction errors leave no residual. A condition of up to 250 frames consists of one I-frame followed by P-frames. We disable
adaptive quantization and the deblocking filter of the decoder, which would otherwise introduce residual in flat regions and spread it across block edges. Since the decisions of the encoder depend on the number of threads, we fix it to one thread per two macroblock rows.
Per-condition settings. As listed in Table S2, some settings are shared by all conditions, while others vary across condition types. Table S5 reports the share of tokens dropped for each condition. The thresholds control the trade-off between the drop rate and the content that the student has to recover. Higher thresholds drop more tokens, including those with small new content that is harder to learn, while lower thresholds retain this content at the cost of a lower drop rate. Most conditions share the ultrafast preset, CRF 33, pixels at , and grey level in Eq. (8). Motion tracks and bounding boxes consist of a few small flat shapes, where even a small motion or residual indicates real content. Therefore, we adopt lower thresholds for them, with 2 pixels and 0.5 for motion tracks and 1 pixel and 0.1 for bounding boxes. Blurred conditions are filtered real videos, on which the coarse motion search of ultrafast produces noisy motion vectors that lower the drop rate. Therefore, we use veryfast for blurring. Identity references are encoded as a single I-frame without motion, so their pruning is determined by the residual threshold alone, with at a short side of pixels.
| Condition | Cases | Tokens | Dropped | Drop (%) |
| Motion track | 69 | 4,224 | 4,023 | 95 |
| Boxes | 66 | 4,224 | 3,906 | 92 |
| Identity | 69 | 1,484 | 1,280 | 86 |
| Segmentation | 64 | 4,224 | 3,593 | 85 |
| Human pose | 66 | 4,224 | 3,433 | 81 |
| Outpainting | 69 | 4,224 | 2,782 | 66 |
| Depth | 69 | 4,224 | 2,578 | 61 |
| Dense track | 64 | 4,224 | 2,483 | 59 |
| Sketch | 64 | 4,224 | 2,432 | 58 |
| Edges | 65 | 4,224 | 2,335 | 55 |
| First-frame outpainting | 68 | 384 | 201 | 52 |
| Inpainting | 68 | 4,224 | 2,110 | 50 |
| Normal | 68 | 4,224 | 2,029 | 48 |
| Grayscale | 63 | 4,224 | 1,739 | 41 |
| Interp. / continuation | 68 | 802 | 327 | 41 |
| All, per case | 400 | 8,853 | 5,858 | 66 |
Table S5. Condition tokens dropped by threshold-based pruning. We report the dropped tokens per condition on the test set of Table 1. Tokens denotes the number of tokens of one condition before pruning, where frame interpolation, continuation, and first-frame outpainting count the tokens of the given frames. Blurring is not part of this test set and is evaluated in Figure 5.
Evaluation setup and metrics
This section provides the test data, metrics, and settings of all experiments, organized by base model.
Our multi-condition video model
Sampling and pruning
We sample our multi-condition model with 30 steps and a CFG scale of 3 in Table 1 to Table 3 and Figure 5, while Figure 4 uses its distilled version. We apply threshold-based pruning with the thresholds in Table S2 to the Codec (ours) rows of Table 1, as well as in Table 2 and Table 3 and Figure 4 and Figure S3. In contrast, Figure 5 drops a fixed share of the tokens of each condition through priority-based sorting over all of its tokens.
Figure S3. Qualitative results of CodecOPSD on our multi-condition model. Each case shows the conditions with the tokens dropped by codec pruning darkened, followed by five frames of the teacher with all condition tokens and of CodecOPSD with the remaining tokens. A play icon marks a video condition shown by one frame, the results of (b) are cropped to 4:3, and all results are shown with condition overlay. CodecOPSD follows every condition as the teacher does while dropping 83–92% of the condition tokens.
Metrics
Video quality. FID [20] is computed on up to 10,000 output frames sampled uniformly from each clip, and FVD [64] on 49 uniformly sampled frames per clip, both against the ground truth. LPIPS [80] compares each output frame with the corresponding ground-truth frame. Before scoring, the frames are resized to for FID and FVD and to for LPIPS. In Table 2, imaging quality is measured by the MUSIQ [32] score in VBench [24].
Condition following. Each condition metric is computed on the clips that carry this condition. For most conditions, we re-extract the condition from the output with the same extractor that produced the input. For identity, we compute the cosine similarity between the DINOv3 [57] ViT-B/16 class tokens of each identity reference and those of sampled output frames. For segmentation, SAM3 [8] tracks each condition object in the output from its first-frame box, and mIoU averages the IoU over the condition objects. For depth, si-RMSE [12] compares the Video Depth Anything [10] depth maps of the output and the ground truth, while AbsRel in Figure 5 is computed after aligning the scale and shift per video. For surface normals, we measure the mean angle in degrees between the NormalCrafter [6] normals of the output and those of the ground truth. For edge, we compute the pixel-wise F1 score between the Canny edges of the output and those of the ground truth. For sketch, we compute the SSIM between the Informative Drawings [9] contour drawings of the output and those of the ground truth. For bounding boxes, we compute the AP50 of class-agnostic YOLOv8m detections on the output, which are compared with the condition boxes frame by frame. For blurring, denoted as Deblur in Figure 5, we compute the PSNR of the output against the ground truth. For inpainting and outpainting, mPSNR is the PSNR over the generated region, i.e., the pixels that the condition leaves empty, and thus excludes the given pixels. For human pose, we compute [email protected] [75] of the Sapiens-1B [34] body keypoints of the people in the output against those of the ground truth. For motion tracks, TrajErr is the mean distance in pixels at between the requested point tracks and the same points re-tracked on the output with CoTracker3 [31]. For grayscale, is the CIEDE2000 colour difference between the output and the ground truth. Dense tracking, frame interpolation, continuation, and first-frame outpainting have no dedicated metric and are evaluated through FID, FVD, and LPIPS. The metrics for sketch, bounding boxes, and blurring are reported in Figure 5, and the other condition metrics are reported in Table 1.
Test cases with more conditions
Each test case in Figure 4 uses a different test video, and its conditions are drawn at random from the valid combinations of the training pool, without filtering by quality or results. In these cases, the drop rate depends more on the condition types of a case than on their number, since dense appearance conditions drop 50–63% of their tokens, while sparse conditions such as motion tracks and bounding boxes drop about 96%. With the KV cache, the keys and values of the condition tokens are reused at every step, so pruning shortens the attention from the noise tokens to these tokens. Without the cache, every step additionally processes all of these condition tokens.
MiniMax-H3 Ref2VA
Evaluation dataset details
Table 4 is evaluated on 237 cases selected from the 813 cases of OmniVBench [37], which cover all seven task families of the benchmark. Since each case requires a 50-step generation by both the dense model and CodecOPSD, we focus on cases with long input sequences, which are the main target of codec pruning. Specifically, we rank the cases within each task ID of the benchmark by their number of reference tokens in the DiT and the VLM, as estimated from the inputs. For task families with one, two, and three or more task IDs, we select the top 30, 15, and 10 cases per task ID, respectively, where ties are resolved in favour of less-covered categories. From this selection, we evaluate the cases that both models complete on a single H200 GPU.
For prompt preparation, MiniMax recommends converting the instruction and references into a detailed prompt, with either its online service H3-Context-IR, as used by OmniVBench, or a system built on its official prompting guide. We adopt the latter approach and rewrite the prompts with Qwen3-VL-32B [4], whose system prompt is this guide adapted to silent videos. Both models generate videos with the same rewritten prompts and the same seed, while the judge receives the original instructions of the benchmark.
Metrics
For video quality, we follow the official code of OmniVBench, where technical quality is measured by the DOVER++ [72] technical score, aesthetic quality by the Aesthetic Predictor V2.5 score, and physical plausibility by the physics score of UnifiedReward 2.0 [67]. Reference fidelity and instruction realization follow the official prompts and rubrics and are rescaled to 0–100. The benchmark judges these two metrics with Gemini 3.1 Pro, to which we have no API access. Therefore, we adopt the open Qwen3.8-Flash-Next [53] as the judge with the same prompts, a large vision-language model with 125B parameters, 6B of which are activated, that natively supports video input. We observe that it provides a reasonable understanding of the generated videos for these rubrics. Token drop is defined as one minus the ratio of remaining to dense condition tokens in each case, which is measured before the DiT and, for the reference tokens in the VLM, before its language model. Speedup is defined as the summed denoising time of the dense model divided by that of CodecOPSD. Both are computed per task family, and Overall is the mean over the seven families, following the aggregation of OmniVBench. In Figure 6 top, quality is the ratio of CodecOPSD to the dense model, averaged over the five metrics. Each video is scored at a 480-pixel short side, so that all resolutions are evaluated consistently.
Inference settings
We use the released 50-step sampler for Table 4 and the 8-step FastH3-Omni of FastVideo [79] for both the speed and quality measurements in Figure 6 top. In the DiT, we apply threshold-based pruning to the references, and for reference videos, we further drop part of the remaining tokens through priority-based sorting. In the VLM, we drop the vision tokens with for reference videos. For reference images, we drop the vision tokens that are dropped in the DiT and also fall below a quarter of the thresholds. We do not use or compare with a KV cache on MiniMax-H3 Ref2VA, since its reference tokens attend to the noise tokens, and we observe that caching their keys and values across denoising steps degrades condition following for both reference images and videos.
MiniMax-H3-Image
Evaluation dataset details
Table 5 is evaluated on all 606 cases of GEdit-Bench-EN [42] and all 400 cases of OmniContext [71].
Metrics
The judges of these benchmarks are accessed through APIs. For reproducibility, we instead use the open Qwen3.8-27B [53] with the official prompts to rate Instr., Consist., and Quality from 0 to 10, so our scores are not comparable to those of the original judges. Instr. measures editing success on GEdit-Bench and prompt following on OmniContext. Consist. measures the absence of over-editing on GEdit-Bench and the consistency of subjects and scenes with the references on OmniContext. Quality is the lower of the naturalness and artifact scores, both of which are rated on the output alone.
Inference settings
All cases use the official prompt enhancer and the released 6-step sampler. In Table 5 and Figure 6 bottom, we apply threshold-based pruning in the DiT and the image pruning rule of MiniMax-H3 Ref2VA in the VLM. In Figure S7 and S8, the VLM instead drops the vision tokens that are dropped in the DiT.
Figure S7. (a) Gift box. Codec pruning drops 88.4% of Pic. 1 and 92% inside the red box. (b) Tomato can. Codec pruning drops 61.1% of Pic. 1 and 85% inside the red box. Figure S7. Training-Free Codec and CodecOPSD on MiniMax-H3-Image [45]. Both models receive the same remaining tokens after codec pruning, as well as the same inputs and seed, and all images show the same crop. Within the red box, Training-Free Codec redraws the dropped thin lettering and generates garbled print on the blank label, while CodecOPSD matches the teacher.
Cosmos3-Nano
In Table 6, the values of the dense model are the mean over three seeds, and the drop rates of the priority-based sorting are selected on the test cases of the table. The denoising speedups in Table 6 are measured on one A100 GPU with the released inference pipeline. Note that we observe that the measured speedups also vary with the GPU and inference optimizations. For example, on faster GPUs, the short video-to-action workload is limited by kernel launch overhead rather than computation.
Transfer
Control-to-video generates 121 frames from a single control at , or at for 4:3 clips, and we evaluate 20 selected PAI-Bench-C [83] cases per control. We use the official scorer of PAI-Bench-C, which compares the output with the source video through SSIM for blur, Canny F1 for edge, si-RMSE [12] of estimated depth for depth, and mIoU of SAM 2 [54] masks for segmentation. These scores are not comparable to the metrics of our multi-condition model, which re-extract each condition with our own extractors and evaluate blurring with PSNR. Segmentation and depth use threshold-based pruning. For blur and edge, threshold-based pruning moves the quality outside the range of the teacher, so we instead adopt priority-based sorting at the highest drop rate that remains within this range, which is 45% for blur and 35% for edge.
Continuation
For continuation, the model observes the first 73 frames of each of the 66 center-view Physics-IQ [46] videos and generates the next 120 frames, with threshold-based pruning on the given frames. The results are evaluated with the Physics-IQ score.
Video-to-audio
For video-to-audio, we generate soundtracks for 50 selected FoleyBench [11] clips. AV match is the probability that a Qwen3-Omni [74] judge considers the soundtrack to match the video, which is 0.842 for the ground truth. Threshold-based pruning drops 50% of the video tokens, while priority-based sorting at a fixed drop rate of 70% drops more and remains within the range of the teacher, as does the tested rate of 95%.
Video-to-action
For video-to-action, the model reads 17 frames from three DROID [33] camera views and predicts the 16 end-effector actions between them, with threshold-based pruning. We evaluate this task on 50 randomly selected episodes. EE err. is the distance between the end-effector position after the 16 predicted actions and the position recorded in the robot log.
More quantitative results
This section extends § 4.3 and Table 1 of the main paper with additional quantitative results.
Longer fine-tuning
In Table S4, we train the SFT baselines of Table 1 for 16K steps instead of 2K to match the number of states that CodecOPSD supervises in 2K steps with 8 states per rollout. Note that this does not equalize the compute, since each CodecOPSD step also runs the rollout and the teacher. Even with this longer SFT training, CodecOPSD achieves the best results in 8 of the 12 metrics.
| Method | Prep. (s) ↓ | FID ↓ | FVD ↓ | LPIPS ↓ | Identity DINOv3 ↑ | Segm. mIoU ↑ | Depth si-RMSE ↓ | Normal Angle ↓ | Edges F1 ↑ | In/Outpaint mPSNR ↑ | Pose [email protected] ↑ | Track TrajErr ↓ | Grayscale ΔE00 ↓ |
| Teacher | 0 | 22.4 | 118.0 | 0.273 | 0.288 | 0.888 | 0.647 | 4.72 | 0.445 | 20.93 | 0.912 | 13.54 | 6.63 |
| SFT, Random | ∼0 | 25.4 | 133.0 | 0.303 | 0.285 | 0.870 | 0.847 | 6.38 | 0.342 | 19.43 | 0.915 | 9.51 | 6.89 |
| SFT, Reduced Res. | ∼0 | 34.1 | 213.7 | 0.424 | 0.284 | 0.673 | 1.494 | 13.40 | 0.124 | 14.81 | 0.846 | 13.97 | 11.81 |
| SFT, DINO [57] | 23.8 | 26.3 | 132.0 | 0.330 | 0.285 | 0.872 | 0.908 | 7.10 | 0.352 | 18.88 | 0.910 | 6.13 | 8.19 |
| SFT, Saliency [49] | 75.0 | 27.5 | 138.8 | 0.360 | 0.291 | 0.836 | 1.267 | 10.22 | 0.315 | 16.65 | 0.913 | 9.68 | 10.25 |
| SFT, Codec (ours) | 1.13 | 22.9 | 120.5 | 0.281 | 0.287 | 0.822 | 0.759 | 5.47 | 0.413 | 20.22 | 0.905 | 6.66 | 6.78 |
| CodecOPSD (ours) | 1.13 | 23.0 | 113.8 | 0.278 | 0.289 | 0.883 | 0.706 | 5.44 | 0.417 | 20.43 | 0.911 | 7.80 | 6.53 |
Table S4. Longer fine-tuning. The SFT baselines of Table 1 are trained for 16K steps, while the Teacher and CodecOPSD rows are identical to those in Table 1. The best results are highlighted, and the second best are underlined.
Condition tokens per condition
Threshold-based pruning has no fixed budget and drops 66% of the condition tokens per case on average over the test set of Table 1. Random drop, DINO attention [57], saliency [35, 49], and reduced resolution [5, 62, 81], the other pruning baselines in Table 1, drop about the same share on average. Among them, reduced resolution downsamples each condition and scales its 3D RoPE positions to the full grid. As shown in Table S5, codec pruning drops more tokens
from sparse conditions and fewer from dense ones. Therefore, the comparison measures both how tokens are allocated across conditions and how they are selected within each condition.
Baseline timing
The selection times in Tabs. 1 and S3 are measured on one A100 GPU with 6 CPU cores and 12 threads, which corresponds to the share of one GPU on an 8-GPU node. Each case is timed twice, and we report the faster run. DINO attention and saliency run the 7B DINOv3 [57] and DeepGaze [35], respectively, on the GPU without further speed optimization. As shown in Table S3, codec pruning runs on the CPU in parallel with the VAE and text encoding on the GPU and finishes first on average for all four base models.
Qualitative results
In Figure S3, we provide additional results of our multi-condition model on condition combinations not shown in the main paper. In all cases, CodecOPSD follows each condition as the teacher does while dropping 83–92% of the condition tokens, and codec pruning retains the tokens that carry the content of each condition. Codec pruning keeps the corners of each moving box in (a) and (d) and the subject of each identity reference in (b), (c), (d), and (f), while it drops the plain background and the empty part of the outpainting canvas in (d). Over time, the remaining tokens follow the changes in each condition, so the blank frames between the sketch drawings in (b) and the repeated frames of the held sketch in (f) are dropped. For more results, we recommend that readers visit our project page, which presents these cases as videos.
More ablation studies
This section provides more details on the teacher-student gap ablation in § 4.4 of the main paper, followed by two more ablation studies. For the larger gap in Table 3, the student drops 90% of the tokens of every condition during training, and for the smaller gap, the teacher is also pruned with half of the student’s codec thresholds. At test time, both variants and CodecOPSD use the same threshold-based pruning as in Table 1, with the thresholds in Table S2, so they receive identical inputs and differ in training alone. We then study a more privileged teacher in Supp. F.1 and the number of supervised states in Supp. F.2.
Privileged teacher
In CodecOPSD, the teacher sees all tokens of the conditions given to the student. A more privileged teacher additionally sees the other conditions of the clip, with up to five conditions in total, including pixel conditions such as inpainting or the first frame. We denote the tokens of these additional conditions, which the student does not receive, as , and the teacher in Eq. (5) can thus be formulated as:
while the student, the rollout in Eq. (6), and the loss in Eq. (7) remain unchanged. For this study, we train both this variant and CodecOPSD on the distilled version of our internal model described in Supp. A. As shown in Figure S4, the more privileged teacher degrades the student outputs on test clips with one or two conditions, leading to washed-out colours and degraded details. Table S6 confirms this observation, where the FID increases from 43.1 to 57.9 and the saturation decreases to 0.89 of the ground truth.
| Quality | Ratio to GT (→1) | |||||
| FID↓ | FVD↓ | Aesthetic↑ | Contrast | Saturation | Sharpness | |
| CodecOPSD | 43.1 | 307.7 | 0.530 | 1.02 | 1.03 | 1.78 |
| CodecOPSD with a more privileged teacher | 57.9 | 370.2 | 0.502 | 0.96 | 0.89 | 2.25 |
Table S6. A more privileged teacher on the distilled version of our internal model. Both students are trained for 2K steps and tested on the 200 test clips of Table 1 with one or two conditions. Each ratio to GT divides the value of the generated clip by that of the ground truth, and we report its median over clips for contrast and saturation and its mean for Laplacian sharpness. The better results are highlighted.
Figure S4. A more privileged teacher degrades the student on cases with few conditions. Each panel shows the ground truth, each condition with its drop rate and with the tokens dropped by threshold-based pruning in grey, and the results of CodecOPSD and of its variant with a more privileged teacher, which also sees the other conditions of the clip. Both students are trained for 2K steps on the distilled version of our internal model and receive the same input and remaining condition tokens, so they differ in the teacher used for training alone.
Therefore, we do not adopt a more privileged teacher. Besides this degradation, its design is also hard to define. For our multi-condition model, the type and number of extra conditions for the teacher are already free design choices. For a model whose task changes with every request, such as MiniMax-H3 Ref2VA [44], there is no natural set of extra conditions to add. In contrast, CodecOPSD provides the teacher with the same conditions as the student and thus avoids this choice.
One versus eight supervised states
Both settings share the rollout in Eq. (6) and the per-state loss in Eq. (7), and differ in the set of supervised states, which can be formulated as:
where the dense setting of the main paper supervises the first states of the states of the inference grid, all at high noise, and the single-state setting draws one state from a grid of noise levels. Accordingly, the objective in Eq. (7) becomes:
where compares the student and the teacher at the -th state of the rollout of the student. In the single-state setting, every state of the -step grid is thus supervised over the course of training. For each sample, the dense setting rolls out to and performs teacher passes and student passes with gradients, while the single-state setting rolls out to and performs one of each. Therefore, the single-state setting makes each training step roughly 3.1× faster. DanceOPD [84] also supervises a single state per rollout, but samples its noise level from a distribution biased toward low noise.
As shown in Table S7, the single-state setting performs close to the dense setting on most metrics of our multi-condition model and is worse on track following, with a TrajErr of 9.15 against 7.80. Therefore, the single-state setting is a sound choice when training compute is limited.
| 8 states (CodecOPSD) | 1 state | |
| Training time (s / step) | 34.6 | 11.0 |
| Quality and Fidelity | ||
| FID↓ | 23.0 | 22.9 |
| FVD↓ | 113.8 | 115.4 |
| LPIPS↓ | 0.278 | 0.282 |
| Condition Following | ||
| DINOv3↑ | 0.289 | 0.289 |
| si-RMSE↓ | 0.706 | 0.691 |
| Edges F1↑ | 0.417 | 0.417 |
| mPSNR↑ | 20.43 | 20.50 |
| PCK↑ | 0.911 | 0.910 |
| TrajErr↓ | 7.80 | 9.15 |
Table S7. Eight versus one supervised state per rollout on our multi-condition model. After 2K training steps, eight states of the 30-step grid and one state of a 16-step grid achieve similar results, except on track following, while one state makes each training step 3.1× faster on 16 GPUs of the same type. The better metric results are highlighted.
The two settings thus differ little in quality, while the single-state setting saves about two thirds of the training time per step. This saving matters much more on MiniMax-H3 Ref2VA [44], whose DiT has 33B parameters, about twice the 15B of our internal model, and whose inputs add long reference videos and a 32B VLM. On 16 H200 GPUs, one of its training steps takes about 39 s with a single supervised state and about 132 s with eight states. Therefore, the CodecOPSD LoRAs of MiniMax-H3 Ref2VA and MiniMax-H3-Image [45] adopt the single-state setting, which draws the supervised state at random from a 16-step grid and from the released 6-step grid, respectively, so that every noise level is supervised over the course of training.
MiniMax-H3 Ref2VA
This section extends § 4.5.1 of the main paper with the training details, a comparison with Training-Free Codec, and the use of add-on LoRAs and few-step models.
Training details
Since the teacher supervises the student on the student’s own rollout, each training sample consists of the inputs and a prompt, and no target output is required. The CodecOPSD LoRA has rank 128, about 655M parameters, and is applied to the condition tokens. It is trained on the 41 tasks in Table S8 for 3,000 steps with a learning rate of , where each step supervises one state of a 16-step grid. Due to GPU memory limits, each node of 8 GPUs dedicates one GPU to Qwen3-VL-32B [4], the VLM of MiniMax-H3 Ref2VA, and trains on the other seven, resulting in a batch size of 14 on 16 GPUs. To save compute, 70% of the training steps generate 56 frames, while the others generate 124 frames. The student receives the reference tokens that remain after threshold-based pruning, and its Qwen3-VL drops reference vision tokens with the rule of Supp. C.2. To make the student more robust, part of the training steps further drop some of the remaining reference video tokens through priority-based sorting. An earlier LoRA, which is used in Supp. G.3, is trained on the 24 tasks marked †.
Table S8. Training tasks of the CodecOPSD LoRA for MiniMax-H3 Ref2VA [44]. (a) lists the 41 training tasks in three groups, which edit, transfer, or restore an input clip, generate from reference images and storyboards, or follow control inputs. Each task lists its input images (I) and videos (V) and its share of the training steps, and † marks the 24 tasks of the earlier LoRA in Supp. G.3. (b) lists the output resolutions, and (c) lists the frames, image sizes, and inputs per sample.
| Task | Inputs → output | Refs | % | Task | Inputs → output | Refs | % |
| Edit, transfer, and scene (6) | Reference images and storyboards (cont.) | ||||||
| Edit† | clip + edit instruction → edited clip | 1V | 19.2 | Composition, 4 refs | person + 2 products + scene → video | 4I | 0.7 |
| Style† | clip → same clip in a new style | 1V | 2.0 | Storyboard sheet | numbered sheet → panels in order | 1I | 0.6 |
| Motion transfer† | clip → new subject, same motion | 1V | 8.5 | Storyboard video | storyboard video → live action | 1V | 1.2 |
| Camera transfer† | clip → new place, same camera move | 1V | 5.1 | Coarse line art | line-art video → live action | 1V | 1.1 |
| Scene† | subject + scene image → subject there | 2I | 6.4 | Storyboard + 1 person | front image + storyboard → video | 1I1V | 0.8 |
| Restoration† | blurred or low-res clip → clean clip | 1V | 4.5 | Storyboard + 2 people | two fronts + storyboard → video | 2I1V | 0.2 |
| Reference images and storyboards (17) | Multi-shot story | 2–3-shot clip → new cast, same cuts | 1V | 4.0 | |||
| Subject + camera | subject image + camera clip → video | 1I1V | 3.2 | Control (18) | |||
| Subject + action | subject image + action clip → video | 1I1V | 2.3 | First / last frame† | given frames → full clip | 1V | 6.8 |
| Subject edit | clip + subject → subject swapped or added | 1I1V | 4.2 | Identity† | 1–4 subject images → video | 1–4I | 4.2 |
| Style image | style image + prompt → styled video | 1I | 4.8 | Depth†, sketch†, pose† | condition video → video | 1V | 1.3 each |
| Outfit | person image + new outfit in text → video | 1I | 1.1 | Normal†, edge†, dense track† | condition video → video | 1V | 0.8 each |
| Character sheet | multi-view sheet → video of the character | 1I | 1.1 | Grayscale†, segmentation† | condition video → video | 1V | 0.8 each |
| Grounding | group picture + named person → video | 1I | 1.1 | Inpaint† | masked clip → area filled | 1V | 1.1 |
| Object | product image → object or pattern in video | 1I | 1.0 | Identity + first / last frame† | images + given frames → video | 1–4I1V | 1.5 |
| Composition | person + product + scene → video | 3I | 1.4 | Identity + pose / depth / sketch† | images + condition → video | 1–4I1V | 0.6 each |
| Grounded composition | group frame + product + scene → video | 3I | 0.4 | First / last frame + pose / depth / sketch† | frames + condition → video | 2V | 0.6 each |
| (b) Resolution | (c) Frames, images, and inputs per sample | ||||||
| Output | Steps (%) | Smaller conditions | Frames | 56 on 70% of the steps, 124 on 30% | |||
| 480 × 640 | 64 | 384 × 512 | Images | aspect ratio kept, long side 512–2048 px | |||
| 480 × 832 | 25 | 384 × 672 | Inputs | videos alone 63%, images alone 23%, images and a video 14% | |||
| 704 × 384 | 5 | 576 × 320 | |||||
| 384 × 832 | 1 | 320 × 672 | |||||
| 768 × 1344 | 5 | 608 × 1088 |
Table S8.
Training-Free Codec versus CodecOPSD
Codec pruning can be applied to a released model without training, which we refer to as Training-Free Codec. In this setting, the released weights receive the remaining condition tokens alone. Since the released model is not
trained on references with missing tokens, it cannot tell what the dropped tokens represent. As shown in Figure S5, with 82–92% of the reference tokens dropped on MiniMax-H3 Ref2VA [44], Training-Free Codec turns a character toward the camera against the storyboard in (a), restarts a motion that has already begun in the given clip in (b), and moves the face away from the human pose condition in (c). In contrast, CodecOPSD stays close to the teacher with the same remaining tokens. Reduced resolution drops fewer reference tokens, 79% compared with 92%, but still shifts the whole shot in (a). These failures motivate the need for training.
Figure S5. Training-Free Codec and CodecOPSD on MiniMax-H3 Ref2VA. We show (a) a rough-storyboard video, (b) a video continuation, and (c) a human-pose control video, with condition overlay in (a) and (c). Both models receive the same remaining reference tokens, inputs, and seed.
Add-on LoRAs and few-step models
More visualizations are available on our project page. Released models are often used with third-party add-on LoRAs or as faster few-step versions. We apply codec pruning and our CodecOPSD LoRA to both settings without further training, with add-on LoRAs in Figure S6, Figure S6, and Figure S6 and few-step models in Figure S6, Figure S6, and Figure S6. The add-on LoRA acts on all tokens as it was trained to, while our LoRA and threshold-based pruning act on the condition tokens.
Figure S6. CodecOPSD with add-on LoRAs and few-step models on MiniMax-H3 Ref2VA, without further training. Each panel shows the input, where the darkened regions mark the condition tokens dropped by codec pruning, followed by the results of the add-on LoRA or the few-step model with all condition tokens and with CodecOPSD, generated from the same input and seed. Panels (a), (c), and (e) apply the Real-to-Anime, Muscle, and 360° Orbit LoRAs, and panels (b), (d), and (f) use FastH3-Omni, Pika H3 Flex, and SolarRenderer. In every panel, CodecOPSD keeps the effect of the add-on LoRA or the few-step model with most condition tokens dropped.
Add-on LoRAs. On MiniMax-H3 Ref2VA [44], the community Real-to-Anime13, Muscle14, and 360° Orbit8 LoRAs retain their effects with 54–57% of the condition tokens dropped, as seen in the anime look, the muscles, and the full orbit back to the starting view. Compared with the add-on results with all condition tokens and the same input and seed, the median PSNR is 20.3, 25.9, and 18.3 dB over 9, 5, and 4 clips, respectively, while MiniMax-H3 Ref2VA without the add-on achieves 15.7, 9.1, and 9.7 dB.
Few-step models. Our MiniMax-H3 Ref2VA LoRA also works unchanged on few-step models trained by others, as in Figure 6 top. Figure S6 shows it with the 8-step FastH3-Omni of FastVideo [79]15, the 6-step Pika H3 Flex16, and the 4-step SolarRenderer [14] with greybox control. The two speedups multiply, since few-step models reduce the denoising steps, while codec pruning reduces the condition tokens at each step. On these cases at , codec pruning makes the denoising of FastH3-Omni, Pika H3 Flex, and SolarRenderer another , , and faster, or , , and about faster than the released 50-step model.
MiniMax-H3-Image
This section extends Sec. 4.5.2 of the main paper, with the same structure as the previous section.
Training details
Since MiniMax-H3-Image is released as a 6-step distilled model, the student rolls out this 6-step sampler, and each training step supervises one of its 6 states, drawn at random. The CodecOPSD LoRA has rank 128 on the attention and MLP projections, about 655M parameters, and is applied to the reference tokens. It is trained from the released model for 3,000 steps on samples with 1 to 16 reference images, using a batch size of 14 and a learning rate of . Table S9 lists these samples, whose number of reference images grows over three training stages. The student receives the reference tokens that remain after threshold-based pruning in the DiT, while its Qwen3-VL-32B [4] also drops reference vision tokens.
Table S9. Training data of the CodecOPSD LoRA for MiniMax-H3-Image [45]. (a) lists the 22,700 training samples by task, grouped into edits of one image, composition from 2 to 5 images, and group photos with 6 to 16 images. Samples marked † are used in steps 1,501 to 2,400, samples marked ‡ in steps 2,401 to 3,000, and the other samples in all 3,000 steps. (b) lists the output sizes and the short sides of the reference images, and (c) lists the share of training steps by the number of reference images in each stage.
| Task | Inputs → output | Refs | Samples | Task | Inputs → output | Refs | Samples |
| Edits of one image (26) | Composition from 2 to 5 images (cont.) | ||||||
| Art style, line art, sketch, greybox, edges, turnaround image | image → drawing, render, edges, or views, and edges → photo | 1 | 317 | Product, scene, and style | products or people, optional scene, + style image → image in that style | 2–5 | 1,581 |
| Object add, remove, replace, restyle, circle edit | image → one named or circled object changed | 1 | 281 | Product in a new scene | 1–2 products, optional person, + scene → product photo | 2–3 | 1,400 |
| Brighten, relight, weather, colourize, deblur | image → new light, weather, or colour, or sharp | 1 | 280 | Outfit | person + clothes from 1–2 images, optional accessory → dressed person | 2–4 | 1,151 |
| Inpaint, outpaint, zoom in, new background | image → filled, extended, zoomed in, or new background | 1 | 216 | Four or five subjects | 4–5 people, animals, or objects, optional scene → one image | 4–5 | 1,064 |
| Expression, garment extraction | person → new expression, or the garment alone | 1 | 112 | Style reference | image + style image → same image in that style | 2 | 299 |
| Scene text replace, remove | image → text replaced or removed | 1 | 85 | Colour-grade transfer | image + graded image → same image in that grade | 2 | 150 |
| Next shot, 2×2 storyboard | frame → next shot or four panels | 1 | 109 | Group photos from 6 to 16 images (3) | |||
| Composition from 2 to 5 images (8) | Group photo† | 5–9 people, optional scene → group photo | 6–9 | 5,600 | |||
| Subjects into a scene | 1–3 people, animals, or objects, optional scene → one image | 2–4 | 4,150 | Group photo‡ | 5–9 people, optional scene → group photo | 6–9 | 1,200 |
| Group photo | 2–5 people, optional scene → group photo | 2–5 | 2,805 | Group photo with objects‡ | people + 1–2 objects, optional scene → one image | 10–16 | 1,900 |
(b) Resolution
| Output | Samples |
| 1536×2720, 1664×2496, 1760×2368 | 17,586 |
| 2048×2048 | 1,693 |
| 2368×1760, 2496×1664, 2720×1536 | 3,421 |
| Reference short side | Images |
| about 1024 | 90,781 |
| about 1536 | 18,247 |
| about 2048 | 8,612 |
(c) Share of training steps (%)
| Steps | References per sample: 1 | 2–5 | 6–9 | 10–16 |
| 1–1,500 | 10 | 90 | 0 | 0 |
| 1,501–2,400 | 8 | 72 | 20 | 0 |
| 2,401–3,000 | 4.5 | 36 | 10.5 | 49 |
| All 3,000 | 8.3 | 73.8 | 8.1 | 9.8 |
Table S9.
Training-Free Codec versus CodecOPSD
On MiniMax-H3-Image [45], the errors of Training-Free Codec occur either inside the dropped regions or in the framing of the image. As shown in Figure S7 (a), codec pruning drops 88.4% of the tokens of the gift box image, including its thin white lettering, and Training-Free Codec renders the lettering larger and outlined. In (b), codec pruning drops 61.1% of the tokens of the can photo, including a blank part of the label, where Training-Free Codec generates garbled print. Since the released model has not learned to read images with dropped tokens, it cannot tell that a dropped region of a label is flat and fills it with invented letters. In contrast, the teacher and CodecOPSD preserve both the lettering and the label as in the given images. In other cases, Training-Free Codec changes the framing of the edited image by zooming in and cropping part of the scene. As with MiniMax-H3 Ref2VA, these failures motivate the need for training.
Few-step model
For MiniMax-H3-Image [45], the few-step model we found in the community is the 2-step PDMD LoRA4, a repackaged version of the LoRA that PDMD [68] distilled from MiniMax-H3.17 With our LoRA added without further training, every reference in Figure S8 is reproduced. With references at a short side of 2,048 pixels, codec pruning makes the denoising of PDMD another and faster, or and faster than the released 6-step model. End to end, PDMD with CodecOPSD is and faster than PDMD alone. The waxy surfaces originate from PDMD and appear the same with and without CodecOPSD.
Figure S8. Stacked speedups on MiniMax-H3-Image LoRA without further training. Each case shows the reference images at a short side of 2,048 pixels with the tokens dropped by codec pruning darkened, followed by the results of 2-step PDMD [68] alone and with CodecOPSD, generated from the same inputs and seed. Times are denoising seconds per image, and each label shows the extra speedup of CodecOPSD over PDMD alone, which is large here because the references are at a high resolution.
Cosmos3-Nano
This section extends § 4.5.3 of the main paper with the training details and qualitative results.
Training details
CodecOPSD trains one LoRA of rank 128, about 349M parameters, on the condition tokens of the released Cosmos3-Nano for the tasks in Table 6 and image-to-video. It follows the standard OPSD setting of our multi-condition model, where the student rolls out the official sampler of each task, with 50 steps for transfer and 35 or 30 steps for the other tasks, and each training step supervises its first 8 states. Each training step draws one task, with transfer on 40% of the steps, continuation on 21%, video-to-audio on 19%, video-to-action on 15%, and image-to-video on 5%, and the clips vary in resolution and length. We train for 3,000 steps with a batch size of 16 on 16 H200 GPUs and a learning rate of . Figure S9 and Figure S10 are generated with an earlier LoRA.

Figure S9. Codec pruning for Cosmos3-Nano transfer on robot clips with all four controls together. The rows show the ground truth, the four controls with the dropped tokens in grey, the teacher, which is Cosmos3-Nano [1] with all tokens, and CodecOPSD, where codec pruning drops 80% of the control tokens in both clips. The PAI-Bench-C [83] robot clips have 81 frames at 480×832, are cropped to 4:3, and use the same input and seed for both models. This setting lies outside Table 6, and CodecOPSD uses an earlier LoRA here.
Figure S10. Codec pruning for video-to-action (robot inverse dynamics) and video-to-audio on Cosmos3-Nano [1]. (a, b) DROID [33] episodes and (c, d) FoleyBench [11] clips show the input with the dropped video tokens darkened, followed by the end-effector path or the log-mel spectrogram of the teacher, of CodecOPSD, and of the teacher with another noise seed. CodecOPSD stays close to the teacher in both tasks, and it uses an earlier LoRA than in Table 6.
Qualitative results
In Figure S9 and Figure S10, we visualize the tokens dropped by codec pruning on Cosmos3-Nano. Figure S9 combines all four transfer controls on robot clips, an extreme setting outside Table 6. Unlike the official pipeline of Cosmos-Transfer1 [3], which runs one pass per control, we concatenate the tokens of all controls into one sequence. This keeps one forward pass per step for an arbitrary number of controls, and codec pruning drops 80% of the control tokens while CodecOPSD stays close to the teacher. In later frames, the static background is dropped, and the remaining tokens follow the moving arms. For video-to-action, codec pruning drops 45% of the input tokens, mostly from the static exterior views, and the action path of CodecOPSD follows that
of the teacher. For video-to-audio, CodecOPSD preserves the sound of the teacher with 60–79% of the video tokens dropped. A Qwen3-Omni judge considers the soundtracks of CodecOPSD and the teacher to be the same sound with a probability of 0.79, compared with 0.20 for two runs of the teacher with different seeds.
Limitations
Overall, codec pruning works well across conditions and models, while we also observe a few limitations. For motion tracks, codec pruning drops the tokens of a point that remains static after the frame where it first appears, so the remaining tokens may confuse a static point with an occluded or masked-out one. In addition, a few detailed modalities, such as bounding boxes, motion tracks, and blurring, benefit from adjusted codec settings, as listed in Table S2. We believe that a learning-based search over these settings with pre-computation in advance for each modality is a promising direction for future work and may further improve the balance between speed and quality.
References
- [1]Niket Agarwal, Arsalan Ali, Jon Allen, Martin Antolini, Adeline Aubame, Alisson Azzolini, Junjie Bai, Maciej Bala, Yogesh Balaji, Josh Bapst, et al. Cosmos 3: Omnimodal world models for physical ai. arXiv preprint arXiv:2606.02800, 2026. 1, 2, 5, 7, 8, S1, S7, S17, S18arxiv.org/abs/2606.02800
- [2]Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stańczyk, Sabela Ramos, Matthieu Geist, and Olivier Bachem. On-policy distillation of language models: Learning from self-generated mistakes. In International Conference on Learning Representations, 2023. 2, 3arxiv.org/abs/2306.13649
- [3]Hassan Abu Alhaija, Jose Alvarez, Maciej Bala, Tiffany Cai, Tianshi Cao, Liz Cha, Joshua Chen, Mike Chen, Francesco Ferroni, Sanja Fidler, et al. Cosmos-transfer1: Conditional world generation with adaptive multimodal control. arXiv preprint arXiv:2503.14492, 2025. 2, S2, S16arxiv.org/abs/2503.14492
- [4]Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui Chen, Zesen Cheng, Lianghao Deng, Wei Ding, Chang Gao, Chunjiang Ge, et al. Qwen3-vl technical report. arXiv preprint arXiv:2511.21631, 2025. 7, S1, S5, S11, S13arxiv.org/abs/2511.21631
- [5]Matan Ben-Yosef, Tavi Halperin, Naomi Ken Korem, Mohammad Salama, Harel Cain, Asaf Joseph, Anthony Chen, Urska Jeleric, and Ofir Bibi. Avcontrol: Efficient framework for training audio-visual controls. arXiv preprint arXiv:2603.24793, 2026. 1, 2, 6, S7
- [6]Yanrui Bin, Wenbo Hu, Haoyuan Wang, Xinya Chen, and Bing Wang. Normalcrafter: Learning temporally consistent normals from video diffusion priors. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pages 8330–8339. IEEE, 2025. S2, S5arxiv.org/abs/2504.11427
- [7]Daniel Bolya and Judy Hoffman. Token merging for fast stable diffusion. In 2023 IEEE/CVF conference on computer vision and pattern recognition workshops (CVPRW), pages 4599–4603. IEEE, 2023. 2arxiv.org/abs/2303.17604
- [8]International conference on learning representations, pages 138846–138925, 2026. S1, S5arxiv.org/abs/2511.16719
- [9]Caroline Chan, Frédo Durand, and Phillip Isola. Learning to generate line drawings that convey geometry and semantics. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 7905–7915. IEEE, 2022. S2, S5arxiv.org/abs/2203.12691
- [10]Sili Chen, Hengkai Guo, Shengnan Zhu, Feihu Zhang, Zilong Huang, Jiashi Feng, and Bingyi Kang. Video depth anything: Consistent depth estimation for super-long videos. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 22831–22840. IEEE, 2025. S2, S5arxiv.org/abs/2501.12375
- [11]Satyik Dixit, Koichi Saito, Zhi Zhong, Yuki Mitsufuji, and Chris Donahue. Foleybench: A benchmark for video-to-audio models. In ICASSP 2026-2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 14512–14516. IEEE, 2026. 6, 8, S6, S18arxiv.org/abs/2511.13219
- [12]David Eigen, Christian Puhrsch, and Rob Fergus. Depth map prediction from a single image using a multi-scale deep network. arXiv, abs/1406.2283, 2014. 6, S5, S6arxiv.org/abs/1406.2283
- [14]Guian Fang, Shengju Qian, Dongyue Lu, Junchao Huang, Lutao Jiang, Xin Wang, Yiren Song, Li Jiang, and Mike Zheng Shou. Solarrenderer: Few-step generative reference rendering. arXiv preprint arXiv:2610.28630, 2026. S13arxiv.org/abs/2610.28630
- [17]Yuwei Guo, Ceyuan Yang, Anyi Rao, Maneesh Agrawala, Duhan Lin, and Bo Dai. Sparsetctrl: Adding sparse controls to text-to-video diffusion models. In European Conference on Computer Vision, pages 330–348. Springer, 2024. 2DOI
- [18]Jingning Han, Bohan Li, Debargha Mukherjee, Ching-Han Chiang, Adrian Grange, Cheng Chen, Hui Su, Sarah Parker, Sai Deng, Urvang Joshi, Yue Chen, Yunqing Wang, Paul Wilkins, Yaowu Xu, and Jim Bankoski. A technical overview of av1. Proceedings of the IEEE, 109:1435–1462, 2020. S3arxiv.org/abs/2008.06091
- [19]Xuanhua He, Quande Liu, Zixuan Ye, Weicai Ye, Qiulin Wang, Xintao Wang, Qifeng Chen, Pengfei Wan, Di Zhang, and Kun Gai. Fulldit2: Efficient in-context conditioning for video diffusion transformers. arXiv preprint arXiv:2506.04213, 2025. 2arxiv.org/abs/2506.04213
- [20]Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local Nash equilibrium. Advances in neural information processing systems, 30, 2017.
- [21]Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.arxiv.org/abs/2207.12598
- [22]Hao-Wen Hou, Zheng-Ting Huang, Zhe-Ming Liang, Qing-Yi Si, Cheng-Lin Li, Shuai Dong, Kele Shao, Ruilin Li, Dian-Yi Wang, Nan Duan, and Jia-Qi Wang. Ada-code: A predictive visual code for video mllms. ArXiv, abs/2606.02569, 2026.arxiv.org/abs/2606.02569
- [23]Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yunchi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685, 2021.arxiv.org/abs/2106.09685
- [24]Ziqi Huang, Yinan He, Jiashuo Yu, Fan Zhang, Chenyang Si, Yuming Jiang, Yuanhan Zhang, Tianxing Wu, Qingyang Jin, Nattapol Chanpaisal, et al. Vbench: Comprehensive benchmark suite for video generative models. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 21807–21818. IEEE, 2024.arxiv.org/abs/2311.17982
- [25]Sheng-Xiang Ji, Bo-Yang Wang, Hai-Yang Xu, Bingnan Li, Yu-Cheng Mao, Ze-Yuan Chen, Xiaojun Shan, Xiang Zhang, Gang Hua, Jian-Wen Xie, Ze-Zhou Cheng, and Zhuo-Wen Tu. Lift: Layout-in-future video generation under large viewpoint change via on-policy self-distillation. ArXiv, abs/2609.38146, 2026.
- [26]Deng-Yang Jiang, Xin Jin, Dong-Yang Liu, Zan-Yi Wang, Mingzhe Zheng, Ruo-Yi Du, Xiangpeng Yang, Qi-Long Wu, Zhen Li, Peng Gao, Harry Yang, and Steven C. H. Hoi. D-opsd: On-policy self-distillation for continuously tuning step-distilled diffusion models. ArXiv, abs/2605.05204, 2026.arxiv.org/abs/2605.05204
- [27]Zeyinzi Jiang, Zhen Han, Chaojie Mao, Jingfeng Zhang, Yulin Pan, and Yu Liu. Vace: All-in-one video creation and editing. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pages 17191–17202. IEEE, 2025.arxiv.org/abs/2503.07598
- [28]Yang Jin, Zicheng Sun, Kun Xu, Liwei Chen, Hao Jiang, Quzhe Huang, Chengru Song, Yuliang Liu, Di Zhang, Yang Song, et al. Video-lavit: Unified video-language pre-training with decoupled visual-motion tokenization. arXiv preprint arXiv:2402.03161, 2024.arxiv.org/abs/2402.03161
- [29]Xuan Ju, Weicai Ye, Quande Liu, Qiulin Wang, Xintao Wang, Pengfei Wan, Di Zhang, Kun Qai, and Qiang Xu. Fulldit: Video generative foundation models with multi-modal control via full attention. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pages 15737–15747. IEEE, 2025.DOI
- [30]Xuan Ju, Tianyu Wang, Yuqian Zhou, He Zhang, Qing Liu, Cherry Zhao, Zhifei Zhang, Yijun Li, Yuanhao Cai, Shaoteng Liu, et al. Editverse: Unifying image and video editing and generation with in-context learning. In International Conference on Learning Representations, pages 137234–137255, 2026.arxiv.org/abs/2509.20360
- [31]Nikita Karaev, Yuri Makarov, Jianyuan Wang, Natalia Neverova, Andrea Vedaldi, and Christian Rupprecht. Co-tracker3: Simpler and better point tracking by pseudo-labeling real videos. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pages 1–10. IEEE, 2025.DOI
- [32]Junjie Ke, Qifei Wang, Yilin Wang, Peyman Milanfar, and Feng Yang. Musiq: Multi-scale image quality transformer. In 2021 IEEE/CVF International Conference on Computer Vision (ICCV), pages 5128–5137. IEEE, 2021.arxiv.org/abs/2108.05997
- [33]Alexander Khazatsky, Karl Pertsch, Suraj Nair, Ashwin Balakrishna, Sudeep Dasari, Siddharth Karamcheti, Soroush Nasiriany, Mohan Kumar Srirama, Lawrence Yunliang Chen, Kirsty Ellis, et al. Droid: A large-scale in-the-wild robot manipulation dataset. arXiv preprint arXiv:2403.12945, 2024.arxiv.org/abs/2403.12945
- [34]Rawal Khirodkar, Timur Bagautdinov, Julieta Martinez, Su Zhaoen, Austin James, Peter Sledneik, Stuart Anderson, and Shunsuke Saito. Sapiens: Foundation for human vision models. In European Conference on Computer Vision, pages 206–228. Springer, 2024.
- [35]Matthias Kümmerer, Harneet Singh Khanuja, and Matthias Bethge. Modeling saliency dataset bias. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pages 22077–22088. IEEE, 2025.arxiv.org/abs/2505.10169
- [36]Bingnan Li, Hao-Zhe Wang, Hao-Zhong Xiong, Fang-Tai Wu, Jin-Peng Yu, Yang Shi, Jia-Ming Liu, and Rui-Hua Huang. Rethinking classifier-free guidance in on-policy diffusion distillation. ArXiv, abs/2607.24731, 2026.arxiv.org/abs/2607.24731
- [37]Wenxue Li, Peiyan Guan, Haoyang Jiang, Junxian Cai, Hualuo Liu, Chunjie Zhang, Chong Guan, Kai Huang, Songlian Li, Taiyi Wu, et al. Omnivbench: A benchmark and large-scale dataset for omni reference-to-video generation. arXiv preprint arXiv:2609.22069, 2026.arxiv.org/abs/2609.22069
- [38]Lu Ling, Yichen Sheng, Zhi Tu, Wentian Zhao, Cheng Xin, Kun Wan, Lantao Yu, Qiany Guo, Zixun Xu, Yawen Lu, et al. Dl3dv-10k: A large-scale scene dataset for deep learning-based 3d vision. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 22160–22169. IEEE, 2024.arxiv.org/abs/2312.16256
- [39]Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747, 2022.arxiv.org/abs/2210.02747
- [40]Feng Liu, Shiwei Zhang, Xiao-Feng Wang, Yu-Jie Wei, Haonan Qiu, Yu-Zhong Zhao, Yingya Zhang, Qi-Xiang Ye, and Fang Wan. Timestep embedding tells: It’s time to cache for video diffusion model. 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 7353–7363, 2024.arxiv.org/abs/2411.19108
- [41]Hong-Yu Liu, Chun Wang, Feng Gao, Xuan-Hua He, Yue Ma, Zi-Yu Wan, Yong Zhang, Xiao-Ming Wei, and Qi-Feng Chen. Opsd-v: On-policy self-distillation for post-training few-step autoregressive video generators. ArXiv, abs/2607.08766, 2026.arxiv.org/abs/2607.08766
- [42]Shiyu Liu, Yucheng Han, Peng Xing, Fukun Yin, Rui Wang, Wei Cheng, Jiaqi Liao, Yingming Wang, Honghao Fu, Chunrui Han, et al. Stepx-edit: A practical framework for general image editing. arXiv preprint arXiv:2504.17761, 2025.
- [43]Paulius Micikevicius, Duvs.an Stovs.ić, Neil Burgess, Marius Cornea, Pradeep K. Dubey, Richard Grisenthwaite, Sangwon Ha, Alexander Heinecke, Patrick Judd, John Kamalu, Naveen Mellempudi, Stuart F. Oberman, Mohammad Shoeybi, Michael Siu, and Hao Wu. Fp8 formats for deep learning. ArXiv, abs/2209.05433, 2022. 1arxiv.org/abs/2209.05433
- [44]MiniMax. MiniMax-H3. https://huggingface.co/MiniMaxAI/MiniMax-H3, 2026. 1, 2, 4, 5, 7, S1, S7, S9, S11, S13
- [45]MiniMax. MiniMax-H3-Image. https://huggingface.co/MiniMaxAI/MiniMax-H3-Image, 2026. 1, 2, 4, 5, 7, 8, S1, S7, S11, S13, S15
- [46]Saman Motamed, Laura Culp, Kevin Swersky, Priyank Jaini, and Robert Geirhos. Do generative video models understand physical principles? 2026 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pages 948–958, 2025. 6, 8, S6arxiv.org/abs/2501.09038
- [47]Kepan Nan, Rui Xie, Penghao Zhou, Tiehan Fan, Zhengheng Yang, Zhijie Chen, Xiang Li, Jian Yang, and Ying Tai. Openvid-1m: A large-scale high-quality dataset for text-to-video generation. In International conference on learning representations, pages 1045–1064, 2025. S1arxiv.org/abs/2407.02371
- [48]Kaihang Pan, Qi Tian, Jianwei Zhang, Weijie Kong, Jiangfeng Xiong, Yanxin Long, Shixue Zhang, Haiyi Qiu, Tian Wang, Zheqi Lv, et al. Omniweaving: Towards unified video generation with free-form composition and reasoning. arXiv preprint arXiv:2603.24458, 2026. 2arxiv.org/abs/2603.24458
- [49]Rishubh Parihar, Ayush Raina, R Venkatesh Babu, and Or Patashnik. Keep the essentials: Efficient reference conditioned generation via token dropping. arXiv preprint arXiv:2606.23682, 2026. 2, 5, 6, S7arxiv.org/abs/2606.23682
- [50]William Peebles and Saining Xie. Scalable diffusion models with transformers. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 4172–4182. IEEE, 2023. 7arxiv.org/abs/2212.09748
- [51]Luchao Qi, Jiaye Wu, Jun Myeong Choi, Cary Phillips, Roni Sengupta, and Dan B Goldman. Over++: Generative video compositing for layer interaction effects. arXiv preprint arXiv:2512.19661, 2025. 2arxiv.org/abs/2512.19661
- [52]Yu qin Zou, Wen-Yan Chen, Yan Chen, Anya Rajan, Jooyoung Park, Shivaraman Nitin, Luo Tao, Francisco Romero, and Dmitrii Ustiugov. Codesight: Leveraging video codec signals for efficient streaming vlm inference. ArXiv, abs/2604.06036, 2026. 2arxiv.org/abs/2604.06036
- [53]Zi-Han Qiu, Ze-Kun Wang, Xiao Li, Yan-Peng Li, Yang Xu, Yi-Xuan Wang, Hua-Qing Zhang, Rui Men, Bo Mao, Chengguidong Zhang, Fan Zhou, Hao Luo, Haoran Huang, Hao-Ran Lian, Hao-Yan Huang, Hongqing Chen, Jian-Wei Zhang, Jing Xu, Junjie Wang, Lang-Shi Chen, Liang-Yu Wang, Lintong Jiang, Man Yuan, Minmin Sun, Peng Jin, Si-Qi Zhang, Si-Yu Wang, Xing-Zhang Ren, Yakai Wang, Yi Zhang, Yiman Dong, Yi-Zhong Cao, Yu-Bo Ma, Yun-Fei Mao, Bo Zheng, and Dayiheng Liu. On the design of qwen3.8-next architecture: Evaluation, efficiency, and training stability. ArXiv, abs/2608.30320, 2026. S6
- [54]Nikhila Ravi, Valentin Gabeur, Yuan-Ting Hu, Rong-Hang Hu, Chaitanya Ryali, Teng-Yu Ma, Haitham Khedr, Roman Rä dle, Chloé Rolland, Laura Gustafson, Eric Mintun, Jun-Ting Pan, Kalyan Vasudev Alwala, Nicolas Carion, Chao Wu, Ross B. Girshick, Piotr Dollár, and Christoph Feichtenhofer. Sam 2: Segment anything in images and videos. ArXiv, abs/2408.00714, 2024. S6arxiv.org/abs/2408.00714
- [55]Sayan Deb Sarkar, Rémi Pautrat, Ondrej Miksik, Marc Pollefeys, Iro Armeni, Mahdi Rad, and Mihai Dusmanu. Cope-videolm: Leveraging codec primitives for efficient video language modeling. arXiv preprint arXiv:2602.13191, 2026. 2
- [56]Jay Min esh Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, P. Ramani, and Tri Dao. Flashattention-3: Fast and accurate attention with asynchrony and low-precision. ArXiv, abs/2407.08608, 2024. 1arxiv.org/abs/2407.08608
- [57]Oriane Siméoni, Huy V. Vo, Maximilian Seit zer, Federico Baldassarre, Maxime Oquab, Cijo Jose, Vasil Khalidov, Marc Szafraniec, Seungeun Yi, Michael Ramamonjisoa, Francisco Massa, Daniel Haziza, Luca Wehrstedt, Jian-Yuan Wang, Timothée Darcet, Théo Moutakanni, Leonel Sentana, Claire Roberts, Andrea Vedaldi, Jamie Tolan, John Brandt, Camille Couprie, Julien Mairal, Hervé Jégou, Patrick Labatut, and Piotr Bojanowski. Dinov3. 2025. 5, 6, S5, S7, S9arxiv.org/abs/2508.10104
- [58]Jianlin Su, Murtadha Ahmed, Yu Lu, Shengfeng Pan, Wen Bo, and Yunfeng Liu. Roformer: Enhanced transformer with rotary position embedding. Neurocomputing, 568:127063, 2024. 4, S1arxiv.org/abs/2104.09864
- [59]Gary J. Sullivan, Jens-Rainer Ohm, Woo-Jin Han, and Thomas Wiegand. Overview of the high efficiency video coding (hevc) standard. IEEE Transactions on Circuits and Systems for Video Technology, 22:1649–1668, 2012. S3DOI
- [61]Zhiyu Tan, Xiaomeng Yang, Luozheng Qin, and Hao Li. Vidgen-1m: A large-scale dataset for text-to-video generation. arXiv preprint arXiv:2408.02629, 2024. 5, S1arxiv.org/abs/2408.02629
- [62]Zhenxiong Tan, Qiaochu Xue, Xingyi Yang, Songhua Liu, and Xinchao Wang. Omnicontrol2: Efficient conditioning for diffusion transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4256–4265, 2026. 2, 5, 6, S1, S7arxiv.org/abs/2503.08280
- [63]Feilong Tang, Xiang An, Yunqiao Yan, Yin Xie, Bin Qin, Kaicheng Yang, Yifei Shen, Yuanhan Zhang, Chunyu an Li, Shikun Feng, et al. Onevision-encoder: Codec-aligned sparsity as a foundational principle for multimodal intelligence. arXiv preprint arXiv:2602.08683, 2026. 2, S3arxiv.org/abs/2602.08683
- [64]Thomas Unterthiner, Sjoerd Van Steenkiste, Karol Kurach, Raphael Mariner, Marcin Michalski, and Sylvain Gelly. Towards accurate generative models of video: A new metric & challenges. arXiv preprint arXiv:1812.01177, 2018. 6, S5
- [65]Boyang Wang, Xuweiyi Chen, Matheus Gadelha, and Zezhou Cheng. Frame in-n-out: Unbounded controllable image-to-video generation. Advances in Neural Information Processing Systems, 38:3291–3324, 2026. 2arxiv.org/abs/2505.21491
- [66]Jiahao Wang, Yufeng Yuan, Rujie Zheng, Youtian Lin, Jian Gao, Lin-Zhuo Chen, Yajie Bao, Chang Zeng, Yanxi Zhou, Xiao-Xiao Long, et al. Spatialvid: A large-scale video dataset with spatial annotations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 42592–42603, 2025.arxiv.org/abs/2509.09676
- [67]Yibin Wang, Yuhang Zhang, Hao Li, Cheng Jin, and Jiaqi Wang. Unified reward model for multimodal understanding and generation. ArXiv, abs/2503.05236, 2025.arxiv.org/abs/2503.05236
- [68]Zimo Wang, Junkun Yuan, Angtian Wang, Haotian Yang, Canyu Zhang, Siyuan Yuan, Xingchang Huang, Bo Liu, Yizhi Wang, Yiding Yang, et al. Pdmd: Projected distribution matching distillation for video diffusion models. arXiv preprint arXiv:2609.35768, 2026.arxiv.org/abs/2609.35768
- [69]Cong Wei, Quande Liu, Zixuan Ye, Qiulin Wang, Xintao Wang, Pengfei Wan, Kun Gai, and Wenhu Chen. Univideo: Unified understanding, generation, and editing for videos. In International Conference on Learning Representations, pages 113905–113933, 2026.arxiv.org/abs/2510.08377
- [70]Thomas Wiegand, Gary J Sullivan, Gisle Bjøntegaard, and Ajay Luthra. Overview of the h. 264/avc video coding standard. IEEE Transactions on circuits and systems for video technology, 13(7):560–576, 2003.DOI
- [71]Chenyuан Wu, Jiahao Wang, Pengfei Zheng, Ruiran Yan, Shitao Xiao, Xin Luo, Yueze Wang, Wanli Li, Xiyan Jiang, Yexin Liu, et al. Omnigen: Towards instruction-aligned multimodal generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 21694–21975, 2026.
- [72]Haoning Wu, Erli Zhang, Liang Liao, Chaofeng Chen, Jing-Wen Hou, An-Nan Wang, Wen-Xiu Sun, Qiong Yan, and Wei-Si Lin. Exploring video quality assessment on user generated contents from aesthetic and technical perspectives. 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 20087–20097, 2022.arxiv.org/abs/2211.04894
- [73]Hao-Cheng Xi, Shuo Yang, Yi-Long Zhao, Chen-Feng Xu, Mu-Yang Li, Xiuyu Li, Yu-Jun Lin, Han Cai, Jintao Zhang, Da-Cheng Li, Jian-Fei Chen, Ion Stoica, Kurt Keutzer, and Song Han. Sparse videogen: Accelerating video diffusion transformers with spatial-temporal sparsity. ArXiv, abs/2502.01776, 2025.arxiv.org/abs/2502.01776
- [74]Jin Xu, Zhi-Fang Guo, Hang-Rui Hu, Yun-Fei Chu, Xiong Wang, Jin-Zheng He, Yuxuan Wang, Xianzhong Shi, Ting He, Xinfa Zhu, Yuanjun Lv, Yong-Qi Wang, Da-Ke Guo, He Wang, Lin-Han Ma, Pei Zhang, Xin-Yu Zhang, Hong-Kun Hao, Zi-Shan Guo, Bao-Song Yang, Bin Zhang, Zi-Yang Ma, Xipin Wei, Shuai Bai, Ke Chen, Xue-Jing Liu, Peng Wang, Ming-Kun Yang, Davihegn Liu, Xing-Zhang Ren, Bo Zheng, Rui Men, Fan Zhou, Bo-Wen Yu, Jian-Xin Yang, Le Yu, Jing-Jun Zhou, and Jun-Yang Lin. Qwen3-omni technical report. ArXiv, abs/2509.17765, 2025.arxiv.org/abs/2509.17765
- [75]Yi Yang and Deva Ramanan. Articulated human detection with flexible mixtures of parts. IEEE transactions on pattern analysis and machine intelligence, 35(12):2878–2890, 2012.DOI
- [76]Tianwei Yin, Michaël Gharbi, Richard Zhang, Eli Shechtman, Fredo Durand, William T Freeman, and Taesung Park. One-step diffusion with distribution matching distillation. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6613–6623. IEEE, 2024.arxiv.org/abs/2311.18828
- [78]Lvmin Zhang, Anyi Rao, and Maneesh Agrawala. Adding conditional control to text-to-image diffusion models. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 3813–3824. IEEE, 2023.arxiv.org/abs/2302.05543
- [79]Peiyuan Zhang, Yongqi Chen, Runlong Su, Hangliang Ding, Ion Stoica, Zhenghong Liu, and Hao Zhang. Fast video generation with sliding tile attention. In Proceedings of the 42nd International Conference on Machine Learning, pages 74714–74731. PMLR, 2025.arxiv.org/abs/2502.04507
- [80]Richard Zhang, Phillip Isola Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In 2018 IEEE/CVF conference on computer vision and pattern recognition, pages 586–595. IEEE, 2018.arxiv.org/abs/1801.03924
- [81]Yuxuan Zhang, Yirui Yuan, Yiren Song, Haofan Wang, and Jiaming Liu. Easycontrol: Adding efficient and flexible control for diffusion transformer. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pages 19513–19524. IEEE, 2025.arxiv.org/abs/2503.07027
- [82]Siyan Zhao, Zhi-Hui Xie, Meng-Chen Liu, Jing Huang, Guan Pang, Feiyu Chen, and Aditya Grover. Self-distilled reasoner: On-policy self-distillation for large language models. ArXiv, abs/2601.18734, 2026.arxiv.org/abs/2601.18734
- [83]Fengzhe Zhou, Jiannan Huang, Jialuo Li, Deva Ramanan, and Humphrey Shi. Pai-bench: A comprehensive benchmark for physical ai. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 21522–21536, 2026.arxiv.org/abs/2512.01989
- [84]Wei Zhou, Xiongwei Zhu, Zelin Xu, Bo Dong, Lixue Gong, Yongyuan Liang, Meng Chu, Leigang Qu, Lingdong Kong, Wei Liu, et al. Danceopd: On-policy generative field distillation. arXiv preprint arXiv:2606.27377, 2026.arxiv.org/abs/2606.27377
- [85]Zhenghong Zhou, Xiaohang Zhan, Zhiqin Chen, Soo Ye Kim, Nanxuan Zhao, Haitian Zheng, Qing Liu, He Zhang, Zhe Lin, Yuqian Zhou, et al. Tri-prompting: Video diffusion with unified control over scene, subject, and motion. arXiv preprint arXiv:2603.15614, 2026.arxiv.org/abs/2603.15614













