betaFeedback

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 tt provides a motion vector mt(p)m_t(p) and a residual rt(p)r_t(p) for the block of each pixel pp, 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 cic_i of the DiT can cover a set of 32 × 32 pixels Pi\mathcal{P}_i over a set of 8 frames Fi\mathcal{F}_i in pixel space. In contrast, the motion vectors mtm_t and residuals rtr_t 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 mt(p)m_t(p) and the residuals rt(p)r_t(p) from the codec signal, and then map them onto the spatiotemporal region of each token cic_i. 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 MiM_i and a residual score RiR_i by:

Mi=max⁡t∈Fimax⁡p∈Pi∥mt(p)∥,M_i = \max_{t \in\mathcal{F}_i} \max_{p \in\mathcal{P}_i} \lVert m_t(p) \rVert,
Ri=max⁡t∈Fimax⁡p∈Pi∣rt(p)∣.(1)R_i = \max_{t \in\mathcal{F}_i} \max_{p \in\mathcal{P}_i} \lvert r_t(p) \rvert. \tag*{(1)}

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:

bi={1,if Mi≥τm or Ri>τr,0,otherwise,(2)b_i = \begin{cases} 1, & \text{if } M_i \ge\tau_m \text{ or } R_i > \tau_r, \\ 0, & \text{otherwise}, \end{cases} \tag*{(2)}

where τm\tau_m and τr\tau_r are the motion and residual thresholds, and bi=1b_i = 1 means that we will keep the current token cic_i.

Second, we also propose a priority-based pruning mode for flexible budget demands. We construct a sortable energy EiE_i formula by combining RiR_i and MiM_i by:

Ei=Rˉi(1+λMˉi),(3)E_i = \bar{R}_i \left(1 + \lambda\bar{M}_i\right), \tag*{(3)}

where Rˉi\bar{R}_i and Mˉi\bar{M}_i are normalized RiR_i and MiM_i in the range [0,1][0, 1], and λ\lambda is a scalar weight for the motion. In this design, we sort the tokens by EiE_i value and drop the lowest first.

Conditioning with Token Selection

Our conditions span diverse modalities, and to adapt them in one system, each condition jj is rendered as an image or a video I(j)I^{(j)} and then encoded by the same frozen VAE encoder E\mathcal{E} into condition tokens C(j)=E(I(j))C^{(j)} = \mathcal{E}(I^{(j)}), as shown in Figure 3 left. In parallel, codec pruning computes the kept mask b(j)b^{(j)} following § 3.2. The DiT follows standard flow matching [39] and denoises the noisy latent xσ=(1−σ)z+σϵx_\sigma= (1-\sigma)z + \sigma\epsilon of the generated video, where zz is the clean latent, ϵ\epsilon is Gaussian noise, and σ\sigma is the noise level. The mask is applied to each condition, and the kept tokens of the JJ conditions are concatenated with xσx_\sigma as the input sequence S\mathcal{S}. The formula is:

C~(j)=b(j)⊙C(j),j=1,…,J,S=[xσ;C~(1);…;C~(J)],(4)\begin{aligned} \widetilde{C}^{(j)} &= b^{(j)} \odot C^{(j)}, \qquad j = 1,\ldots,J,\\ \mathcal{S} &= [x_\sigma;\widetilde{C}^{(1)};\ldots;\widetilde{C}^{(J)}], \tag*{(4)} \end{aligned}

where ⊙\odot applies the mask element-wise and xσx_\sigma is not pruned. Each kept token retains its original 3D RoPE [58] position, and the resulting sequence S\mathcal{S} 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 vθv_\theta as the teacher, but with an additional trainable LoRA [23] ϕ\phi. 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 C~\widetilde{C}, 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 C∗=C∖C~C^{*} = C \setminus\widetilde{C} of these conditions, which serve as its privileged information. Accordingly, their velocity predictions are formulated as:

vT(x,σ)=vθ(x,σ;C~∪C⋆),vS(x,σ)=vθ,ϕ(x,σ;C~).(5)v_{\mathrm{T}}(x,\sigma) = v_{\theta}(x,\sigma;\widetilde{C} \cup C^{\star}), \\ v_{\mathrm{S}}(x,\sigma) = v_{\theta,\phi}(x,\sigma;\widetilde{C}). \tag*{(5)}

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 x1=ϵx_1 = \epsilon, it denoises step by step along the KK decreasing noise levels of the inference sampler:

xk+1=xk+(σk+1−σk)vS(xk,σk),(6)x_{k+1} = x_k + (\sigma_{k+1} - \sigma_k) v_{\mathrm{S}}(x_k,\sigma_k), \tag*{(6)}

where σk\sigma_k is the kk-th noise level, with σ1=1\sigma_1 = 1 for pure noise, and xkx_k denotes the kk-th state of the rollout. We supervise a subset N\mathcal{N} of these states, namely the first NN states at high noise. At each supervised state, the teacher and the student receive the same xkx_k and σk\sigma_k, and we minimize the distance between their predictions:

ℓk=∥vS(xk,σk)−vT(xk,σk)∥22,\ell_k = \left\|v_{\mathrm{S}}(x_k,\sigma_k) - v_{\mathrm{T}}(x_k,\sigma_k)\right\|_2^2,
LOPSD(ϕ)=EC,ϵ[1∣N∣∑k∈Nℓk].(7)\mathcal{L}_{\mathrm{OPSD}}(\phi) = \mathbb{E}_{\mathcal{C},\epsilon}\left[\frac{1}{|\mathcal{N}|}\sum_{k\in\mathcal{N}}\ell_k\right]. \tag*{(7)}

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 C~\widetilde{C}, 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.

MethodPrep. (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₀₀ ↓
Teacher022.4118.00.2730.2880.8880.6474.720.44520.930.91213.546.63
Random∼029.2161.20.3510.2780.7820.9597.440.28617.880.87015.738.65
Reduced Res.∼056.3381.10.6630.2690.2883.74030.050.06610.730.28638.4227.35
DINO [57]23.828.8151.10.3680.2840.8381.0538.130.32118.210.89111.699.59
Saliency [49]75.030.0148.50.4010.2860.7961.47011.880.29415.690.89513.9113.01
Codec (ours)1.1324.5132.30.3070.2840.7340.8686.050.39319.890.83613.906.93
SFT, Random∼025.6142.70.3050.2890.8640.8756.220.33819.110.9017.506.78
SFT, Reduced Res.∼034.7199.50.4440.2880.6551.63314.430.11414.720.83514.5312.62
SFT, DINO [57]23.826.7138.00.3370.2870.8850.9417.450.34318.620.9106.868.16
SFT, Saliency [49]75.029.6146.40.3980.2810.8051.42711.870.29715.780.89813.3212.70
SFT, Codec (ours)1.1323.8130.90.2970.2840.7960.7675.800.40419.830.89011.037.24
CodecOPSD (ours)1.1323.0113.80.2780.2890.8830.7065.440.41720.430.9117.806.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 512×896512 \times896 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 qualityAesth. qualityMotion smooth.Temp. flicker.Backgr. consist.Overall consist.Equally follows?Equally good?
173.4−0.273.4_{-0.2}54.1+0.454.1_{+0.4}99.0±0.099.0_{\pm0.0}97.1+0.197.1_{+0.1}94.4+0.294.4_{+0.2}25.9+0.125.9_{+0.1}8495
268.8+0.168.8_{+0.1}54.9+1.054.9_{+1.0}98.6±0.098.6_{\pm0.0}96.6+0.196.6_{+0.1}93.9+0.193.9_{+0.1}25.3−0.125.3_{-0.1}9284
365.8+0.365.8_{+0.3}54.2−0.254.2_{-0.2}98.8±0.098.8_{\pm0.0}96.9±0.096.9_{\pm0.0}93.6±0.093.6_{\pm0.0}25.3±0.025.3_{\pm0.0}9388
466.7−0.366.7_{-0.3}53.9+0.653.9_{+0.6}98.5±0.098.5_{\pm0.0}96.3±0.096.3_{\pm0.0}94.1−0.394.1_{-0.3}25.2−0.325.2_{-0.3}9491
All67.7±0.067.7 \pm0.054.3+0.454.3 + 0.498.7±0.098.7 \pm0.096.7±0.096.7 \pm0.093.9±0.093.9 \pm0.025.4−0.125.4 - 0.19288

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 FidelityCondition Following
FID ↓FVD ↓LPIPS ↓DINOv3 ↑si-RMSE ↓Edges F1 ↑mPSNR ↑PCK ↑TrajErr ↓
Smaller gap23.7123.90.2900.2900.7930.40620.260.85312.04
Ours23.0113.80.2780.2890.7060.41720.430.9117.80
Larger gap23.8124.30.2870.2880.7980.40419.480.9069.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.

Per-condition drop rates

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 (±2σ\pm2\sigma). 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, mIoUmIoU for segmentation, sisi-RMSERMSE [12] for depth, mean angular error for surface normals, F1 for Canny edges, mPSNRmPSNR for inpainting and out-painting, PCK@0.1[email protected] [75] for human pose, TrajErrTrajErr for motion tracks, and the colour difference ΔE00\Delta E_{00} 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 1.54×1.54\times to 2.30×2.30\times. 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 1.15×1.15\times to 1.37×1.37\times 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 ±2σ\pm2\sigma with σ2=(1+1S)vˉ/N\sigma^2 = \left(1 + \frac{1}{S}\right)\bar{v}/N, where

vˉ\bar{v} is the mean variance of a case over S=3S = 3 teacher seeds and NN 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.

TaskToken Drop (%) DiTToken Drop (%) VLMDenoise SpeedupTechnicalAestheticPhysicalReference FidelityInstruction Realization
Content74.342.21.31×20.1−0.120.1_{-0.1}51.1−0.351.1_{-0.3}64.7+0.864.7_{+0.8}91.7+0.491.7_{+0.4}95.6+0.295.6_{+0.2}
Motion75.128.82.06×15.3−0.215.3_{-0.2}50.4−0.350.4_{-0.3}63.1−1.263.1_{-1.2}53.9+5.853.9_{+5.8}87.7−0.387.7_{-0.3}
Style44.319.11.13×16.2+0.216.2_{+0.2}54.1−0.454.1_{-0.4}65.4+1.265.4_{+1.2}53.3+5.053.3_{+5.0}84.8−0.784.8_{-0.7}
Structure79.742.32.21×16.0−0.216.0_{-0.2}46.0−1.246.0_{-1.2}64.1+0.764.1_{+0.7}86.3+5.186.3_{+5.1}92.5−1.492.5_{-1.4}
Narrative71.825.01.78×17.1±0.017.1_{\pm0.0}46.0−0.646.0_{-0.6}61.3−1.161.3_{-1.1}83.0−2.783.0_{-2.7}82.8+3.682.8_{+3.6}
Multi-cont.77.947.22.02×21.7−0.121.7_{-0.1}49.8−0.649.8_{-0.6}63.1−1.463.1_{-1.4}91.6−2.391.6_{-2.3}94.0−0.594.0_{-0.5}
Cross77.948.52.55×19.2+0.219.2_{+0.2}50.1−0.550.1_{-0.5}62.1+0.862.1_{+0.8}77.2−0.477.2_{-0.4}93.1+0.393.1_{+0.3}
Overall71.636.21.87×17.9±0.017.9_{\pm0.0}49.6−0.649.6_{-0.6}63.4±0.063.4_{\pm0.0}76.7+1.676.7_{+1.6}90.1+0.290.1_{+0.2}

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 204822048^2 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.

ModelRef. tokensInstr.↑Consist.↑Quality↑Mean (%)
GEdit-Bench-EN
Teacher1,4018.9928.9367.287100.0
+CodecOPSD685 (−51%)9.0618.8687.295100.0
OmniContext
Teacher2,9409.4908.0007.540100.0
+CodecOPSD1,287 (−56%)9.5278.0157.560100.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 1.36×1.36\times with 1 image to 2.99×2.99\times with 12, and with the resolution, from 2.25×2.25\times at 102421024^2 to 3.06×3.06\times at 204822048^2 pixels. At 204822048^2 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.

TaskMetricDense (teacher)+CodecOPSDToken Drop (%)Denoise Speedup
SegmentationmIoU↑0.715±0.0350.75184.21.93×
BlurSSIM↑0.910±0.0040.91145.01.36×
Depthsi-RMSE↓0.821±0.0960.84684.71.92×
EdgeF1↑0.462±0.0040.45935.01.24×
ContinuationPhysics-IQ↑50.6±5.250.689.41.93×
Video-to-audioAV match↑0.864±0.0170.86670.02.30×
Video-to-actionEE err. (cm)↓2.16±0.062.2144.01.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 σ=0\sigma= 0 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.

ComponentSetting
Transformer48 blocks, width 4,096 (32 heads × 128)
Text12B LLM encoder, 8-layer connector, cross-attention
VAE32× spatial, 8× temporal compression
Tokensone per latent cell (1×1×1 patches), 128 channels
Positions3D RoPE [58] (time, height, width); after pruning, a token keeps its position in the full grid
Parameters22B in the checkpoint, 21B in the transformer and 1B in the text projection
Audio branchaudio stream and audio–video cross-attention, 6B of the transformer, not loaded
Loaded15B 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 480×640480 \times640 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 10−410^{-4}. 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
Encoderx264, 8-bit YUV 4:4:4 input
Frame typesone I-frame, then P-frames
Key-frame interval250 frames, no scene cut
Reference frames1, the previous frame
Adaptive quantizationoff
Deblockingoff when decoding
Threadsone per two macroblock rows
ConditionPresetCRFτm0\tau_m^0τr0\tau_r^0
Segmentation, human pose, depth, normal, sketch, edges, dense track, grayscale, interpolation and continuation, inpainting, and outpainting, first-frame outpaintingultrafast3351.0
Motion trackultrafast3320.5
Boxesultrafast3310.1
Blurveryfast3351.0
Identitysuperfast35–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 τm0\tau_m^0 and the residual threshold τr0\tau_r^0 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 H×WH \times W, which can be formulated as:

τm=τm0HWH0W0,τr=τr0s0max⁡(s0,min⁡(H,W))(8)\tau_m = \tau_m^0 \sqrt{\frac{HW}{H_0W_0}}, \qquad\tau_r = \tau_r^0 \sqrt{\frac{s_0}{\max(s_0,\min(H,W))}} \tag*{(8)}

where τm0\tau_m^0 and τr0\tau_r^0 are the base thresholds listed in Table S2, defined at the standard size H0×W0=480×640H_0 \times W_0 = 480 \times640 and the standard short side s0=1,024s_0 = 1{,}024, 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 s0s_0.

Priority-based sorting. Priority-based sorting ranks the tokens by the energy Ei=Rˉi(1+λMˉi)E_i = \bar{R}_i (1 + \lambda\bar{M}_i) of Eq. (3), where Rˉi\bar{R}_i and Mˉi\bar{M}_i are the percentile ranks of RiR_i and MiM_i among the tokens of the same condition, both in [0,1][0,1], and λ\lambda weights the motion. In practice, we set λ=1\lambda= 1. 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 1+λ1 + \lambda, 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 bi=1b_i = 1.

Codec reader and fixes

Choice of H.264. H.264 [70] partitions each frame into macroblocks of 16×1616 \times16 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 64×6464 \times64 and 128×128128 \times128 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 480×640480 \times640 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.

ModelInput per caseGPU work (s)Codec pruning (s)Extra time left (s)
Our internal model1–4 conditions, 81 frames, 512×7681.5361.134+0.402
MiniMax-H3 Ref2VA [44]1–5 references, videos of up to 124 frames at about 768×134420.6752.039+18.636
MiniMax-H3-Image [45]1–3 reference images, short edge 1,024 pixels0.7150.198+0.517
Cosmos3-Nano [1]1–4 controls, 81 frames, 480×8323.1641.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, τm0=5\tau_m^0 = 5 pixels at H0×W0=480×640H_0 \times W_0 = 480 \times640, and τr0=1.0\tau_r^0 = 1.0 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 τr0=1.5\tau_r^0 = 1.5 at a short side of s0=1,024s_0 = 1{,}024 pixels.

ConditionCasesTokensDroppedDrop (%)
Motion track694,2244,02395
Boxes664,2243,90692
Identity691,4841,28086
Segmentation644,2243,59385
Human pose664,2243,43381
Outpainting694,2242,78266
Depth694,2242,57861
Dense track644,2242,48359
Sketch644,2242,43258
Edges654,2242,33555
First-frame outpainting6838420152
Inpainting684,2242,11050
Normal684,2242,02948
Grayscale634,2241,73941
Interp. / continuation6880232741
All, per case4008,8535,85866

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 256×384256 \times384 for FID and FVD and to 480×640480 \times640 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 480×640480 \times640 between the requested point tracks and the same points re-tracked on the output with CoTracker3 [31]. For grayscale, ΔE00\Delta E_{00} 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 bi=0b_i = 0 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 ±2σ\pm2\sigma 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 720×1280720 \times1280, or at 832×1104832 \times1104 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.

MethodPrep. (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 ↓
Teacher022.4118.00.2730.2880.8880.6474.720.44520.930.91213.546.63
SFT, Random∼025.4133.00.3030.2850.8700.8476.380.34219.430.9159.516.89
SFT, Reduced Res.∼034.1213.70.4240.2840.6731.49413.400.12414.810.84613.9711.81
SFT, DINO [57]23.826.3132.00.3300.2850.8720.9087.100.35218.880.9106.138.19
SFT, Saliency [49]75.027.5138.80.3600.2910.8361.26710.220.31516.650.9139.6810.25
SFT, Codec (ours)1.1322.9120.50.2810.2870.8220.7595.470.41320.220.9056.666.78
CodecOPSD (ours)1.1323.0113.80.2780.2890.8830.7065.440.41720.430.9117.806.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 C+C^{+}, and the teacher in Eq. (5) can thus be formulated as:

vT+(x,σ)=vθ(x,σ;C~∪C∗∪C+),(9)v_{\mathrm{T}}^{+}(x,\sigma)=v_{\theta}(x,\sigma;\widetilde{C}\cup C^{*}\cup C^{+}), \tag*{(9)}

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.

QualityRatio to GT (→1)
FID↓FVD↓Aesthetic↑ContrastSaturationSharpness
CodecOPSD43.1307.70.5301.021.031.78
CodecOPSD with a more privileged teacher57.9370.20.5020.960.892.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 ℓk\ell_k in Eq. (7), and differ in the set N\mathcal{N} of supervised states, which can be formulated as:

Ndense={1,…,N},Nsingle={k},k∼U{1,…,K~},(10)\mathcal{N}_{\mathrm{dense}} = \{1,\ldots,N\}, \qquad\mathcal{N}_{\mathrm{single}} = \{k\},\quad k \sim U\{1,\ldots,\widetilde{K}\}, \tag*{(10)}

where the dense setting of the main paper supervises the first N=8N = 8 states of the K=30K = 30 states of the inference grid, all at high noise, and the single-state setting draws one state from a grid of K~=16\widetilde{K} = 16 noise levels. Accordingly, the objective in Eq. (7) becomes:

Ldense(ϕ)=EC,ϵ[1N∑k=1Nℓk],(11)\mathcal{L}_{\mathrm{dense}}(\phi) = \mathbb{E}_{C,\epsilon}\left[\frac{1}{N}\sum_{k=1}^{N}\ell_k\right], \tag*{(11)}
Lsingle(ϕ)=EC,ϵEk∼U{1,…,K~}[ℓk],\mathcal{L}_{\mathrm{single}}(\phi) = \mathbb{E}_{C,\epsilon}\mathbb{E}_{k\sim U\{1,\ldots,\widetilde{K}\}}\left[\ell_k\right],

where ℓk=∥vS(xk,σk)−vT(xk,σk)∥2\ell_k = \lVert v_S(x_k,\sigma_k) - v_T(x_k,\sigma_k)\rVert^2 compares the student and the teacher at the kk-th state of the rollout of the student. In the single-state setting, every state of the K~\widetilde{K}-step grid is thus supervised over the course of training. For each sample, the dense setting rolls out to xNx_N and performs NN teacher passes and NN student passes with gradients, while the single-state setting rolls out to xkx_k 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.611.0
Quality and Fidelity
FID↓23.022.9
FVD↓113.8115.4
LPIPS↓0.2780.282
Condition Following
DINOv3↑0.2890.289
si-RMSE↓0.7060.691
Edges F1↑0.4170.417
mPSNR↑20.4320.50
PCK↑0.9110.910
TrajErr↓7.809.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 5×10−55 \times10^{-5}, 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.

TaskInputs → outputRefs%TaskInputs → outputRefs%
Edit, transfer, and scene (6)Reference images and storyboards (cont.)
Edit†clip + edit instruction → edited clip1V19.2Composition, 4 refsperson + 2 products + scene → video4I0.7
Style†clip → same clip in a new style1V2.0Storyboard sheetnumbered sheet → panels in order1I0.6
Motion transfer†clip → new subject, same motion1V8.5Storyboard videostoryboard video → live action1V1.2
Camera transfer†clip → new place, same camera move1V5.1Coarse line artline-art video → live action1V1.1
Scene†subject + scene image → subject there2I6.4Storyboard + 1 personfront image + storyboard → video1I1V0.8
Restoration†blurred or low-res clip → clean clip1V4.5Storyboard + 2 peopletwo fronts + storyboard → video2I1V0.2
Reference images and storyboards (17)Multi-shot story2–3-shot clip → new cast, same cuts1V4.0
Subject + camerasubject image + camera clip → video1I1V3.2Control (18)
Subject + actionsubject image + action clip → video1I1V2.3First / last frame†given frames → full clip1V6.8
Subject editclip + subject → subject swapped or added1I1V4.2Identity†1–4 subject images → video1–4I4.2
Style imagestyle image + prompt → styled video1I4.8Depth†, sketch†, pose†condition video → video1V1.3 each
Outfitperson image + new outfit in text → video1I1.1Normal†, edge†, dense track†condition video → video1V0.8 each
Character sheetmulti-view sheet → video of the character1I1.1Grayscale†, segmentation†condition video → video1V0.8 each
Groundinggroup picture + named person → video1I1.1Inpaint†masked clip → area filled1V1.1
Objectproduct image → object or pattern in video1I1.0Identity + first / last frame†images + given frames → video1–4I1V1.5
Compositionperson + product + scene → video3I1.4Identity + pose / depth / sketch†images + condition → video1–4I1V0.6 each
Grounded compositiongroup frame + product + scene → video3I0.4First / last frame + pose / depth / sketch†frames + condition → video2V0.6 each
(b) Resolution(c) Frames, images, and inputs per sample
OutputSteps (%)Smaller conditionsFrames56 on 70% of the steps, 124 on 30%
480 × 64064384 × 512Imagesaspect ratio kept, long side 512–2048 px
480 × 83225384 × 672Inputsvideos alone 63%, images alone 23%, images and a video 14%
704 × 3845576 × 320
384 × 8321320 × 672
768 × 13445608 × 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 768×1344768 \times1344, codec pruning makes the denoising of FastH3-Omni, Pika H3 Flex, and SolarRenderer another 1.50×1.50 \times, 1.46×1.46 \times, and 1.79×1.79 \times faster, or 9.19×9.19 \times, 11.20×11.20 \times, and about 21.9×21.9 \times 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 5×10−55 \times10^{-5}. 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.

TaskInputs → outputRefsSamplesTaskInputs → outputRefsSamples
Edits of one image (26)Composition from 2 to 5 images (cont.)
Art style, line art, sketch, greybox, edges, turnaround imageimage → drawing, render, edges, or views, and edges → photo1317Product, scene, and styleproducts or people, optional scene, + style image → image in that style2–51,581
Object add, remove, replace, restyle, circle editimage → one named or circled object changed1281Product in a new scene1–2 products, optional person, + scene → product photo2–31,400
Brighten, relight, weather, colourize, deblurimage → new light, weather, or colour, or sharp1280Outfitperson + clothes from 1–2 images, optional accessory → dressed person2–41,151
Inpaint, outpaint, zoom in, new backgroundimage → filled, extended, zoomed in, or new background1216Four or five subjects4–5 people, animals, or objects, optional scene → one image4–51,064
Expression, garment extractionperson → new expression, or the garment alone1112Style referenceimage + style image → same image in that style2299
Scene text replace, removeimage → text replaced or removed185Colour-grade transferimage + graded image → same image in that grade2150
Next shot, 2×2 storyboardframe → next shot or four panels1109Group photos from 6 to 16 images (3)
Composition from 2 to 5 images (8)Group photo†5–9 people, optional scene → group photo6–95,600
Subjects into a scene1–3 people, animals, or objects, optional scene → one image2–44,150Group photo‡5–9 people, optional scene → group photo6–91,200
Group photo2–5 people, optional scene → group photo2–52,805Group photo with objects‡people + 1–2 objects, optional scene → one image10–161,900

(b) Resolution

OutputSamples
1536×2720, 1664×2496, 1760×236817,586
2048×20481,693
2368×1760, 2496×1664, 2720×15363,421
Reference short sideImages
about 102490,781
about 153618,247
about 20488,612

(c) Share of training steps (%)

StepsReferences per sample: 12–56–910–16
1–1,500109000
1,501–2,400872200
2,401–3,0004.53610.549
All 3,0008.373.88.19.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 4.47×4.47 \times and 3.74×3.74 \times faster, or 13.5×13.5 \times and 11.3×11.3 \times faster than the released 6-step model. End to end, PDMD with CodecOPSD is 1.79×1.79 \times and 1.54×1.54 \times 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 10−410^{-4}. Figure S9 and Figure S10 are generated with an earlier LoRA.

Codec pruning comparison for Cosmos3-Nano transfer on robot clips with two arms and one arm

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. [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. [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. [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. [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. [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. [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. [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. [8]International conference on learning representations, pages 138846–138925, 2026. S1, S5arxiv.org/abs/2511.16719
  9. [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. [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. [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. [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
  13. [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
  14. [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
  15. [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
  16. [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
  17. [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.
  18. [21]Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.arxiv.org/abs/2207.12598
  19. [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
  20. [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
  21. [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
  22. [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.
  23. [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
  24. [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
  25. [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
  26. [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
  27. [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
  28. [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
  29. [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
  30. [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
  31. [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.
  32. [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
  33. [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
  34. [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
  35. [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
  36. [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
  37. [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
  38. [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
  39. [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.
  40. [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
  41. [44]MiniMax. MiniMax-H3. https://huggingface.co/MiniMaxAI/MiniMax-H3, 2026. 1, 2, 4, 5, 7, S1, S7, S9, S11, S13
  42. [45]MiniMax. MiniMax-H3-Image. https://huggingface.co/MiniMaxAI/MiniMax-H3-Image, 2026. 1, 2, 4, 5, 7, 8, S1, S7, S11, S13, S15
  43. [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
  44. [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
  45. [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
  46. [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
  47. [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
  48. [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
  49. [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
  50. [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
  51. [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
  52. [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
  53. [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
  54. [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
  55. [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
  56. [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
  57. [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
  58. [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
  59. [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
  60. [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
  61. [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
  62. [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
  63. [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
  64. [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
  65. [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
  66. [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
  67. [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.
  68. [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
  69. [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
  70. [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
  71. [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
  72. [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
  73. [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
  74. [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
  75. [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
  76. [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
  77. [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
  78. [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
  79. [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
  80. [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

Paper details

vlnc:W_7nr8uyt4
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents