Cosmos 3 generates high-quality images and videos, but like other world models built on flow matching, it requires many sampling steps. For applications that need fast responses or continuous interaction, we need faster inference. Step distillation addresses this.
We recently released a family of distilled Cosmos checkpoints, spanning four-step bidirectional image and video generation and causal streaming simulation. This post shares the experiments and failures behind these recipes: how we diagnosed few-step training, adapted models for streaming, and synchronized multi-view and multi-modal generation.
For more on step distillation, watch the Cosmos Labs livestream on December 17 at 9AM PT.
Few-step distillation in practice
Our bidirectional distillation recipe builds on distribution matching distillation (DMD, DMD2). The few-step student model learns from the difference between a frozen teacher model and a learned fake-score model that tracks the student's output distribution. Both score models evaluate noisy versions of the student's samples. Their difference supplies the student's update direction; the fake-score network keeps learning as the student changes.
The bidirectional student uses stochastic (SDE) sampling rather than deterministic ODE updates, during both training rollouts and inference.
In our text-to-image evaluation, the four-step student closely matches the 50-step teacher. With classifier-free guidance (CFG), the 50-step teacher uses 100 model evaluations; the student uses four without CFG, a 25x reduction.
Training rollout settings
The DMD2 algorithm uses the student's own few-step denoising process to construct training samples. We compared forward and backward simulation, focusing on where each rollout starts and how it uses the denoising schedule.
With forward simulation, we noised a real sample to a randomly selected entry in a fixed four-step schedule, then ran the remaining denoising steps. Lower starting noise retained information from the real sample that was unavailable when inference began from pure noise. Our four-step inference samples were heavily blurred.
We then switched to DMD2's backward simulation: every rollout starts from pure noise. We also cycle the rollout length through one, two, three, and four model evaluations. A two-step rollout, for example, runs the first two steps of the fixed four-step schedule and uses the second step's clean-sample prediction as its output. On student updates, gradients flow only through the final evaluation.
Both rollouts use a fixed four-step noise schedule s.
j = random_choice([0, 1, 2, 3])
z = add_noise(real, s[j])
for i in range(j, 4):
clean = student(z, s[i])
if i < 3:
z = add_noise(clean, s[i+1])
return clean
k = next(cycles[update_type])
z = gaussian_noise()
for i in range(k):
clean = student(z, s[i])
if i < k - 1:
z = add_noise(clean, s[i+1])
return clean
add_noise uses fresh Gaussian noise. cycles[update_type] cycles through 1, 2, 3, 4 separately for student and fake-score updates. On student updates, only the final evaluation retains gradients.
The improvement was already visible in an earlier comparison with unchanged learning rates. Figure 1 shows later checkpoints from before and after the rollout revision, with sharper road, water, and fur textures in the revised model.
Two diagnostics for a moving target
During DMD training, the student's output distribution changes with each update. The fake-score network learns to track this moving target, and its estimates guide the student's next update. A falling fake-score loss alone does not tell us whether the student's samples are getting better.
To see how the fake-score network affects the student's update, start with a sample the student just generated. Add noise, then ask the teacher and fake-score networks to predict the clean sample from the same noisy input. DMD updates the student using the direction from the fake prediction toward the teacher prediction.
We track two diagnostics:
- Reconstruction gap. How far the fake prediction is from the student's sample. Errors in that prediction feed directly into the student's update.
- Update cosine. The cosine between the DMD update direction and the direction from the student's sample toward the teacher's prediction. When the teacher's prediction is already close to the student's sample, even a small error in the fake prediction can swing the update away from it.
We record both diagnostics by noise level, alongside the sample count in each bin, to see how the noise mixture changes. The pseudocode below gives the exact quantities; the teacher's prediction includes classifier-free guidance.
g = rollout(...).detach()
sigma = sample_score_noise()
z = (1 - sigma) * g + sigma * randn_like(g)
t = teacher.predict_clean(z, sigma, cond, cfg=3)
f = fake_score.predict_clean(z, sigma, cond)
for i in batch:
m = generated_token_mask[i] # Exclude conditioning and padding.
pull = (t[i] - g[i])[m]
update = (t[i] - f[i])[m]
record("fake_gap", mean(abs((f[i] - g[i])[m])), sigma[i])
if norm(pull) * norm(update) > 1e-12:
record("update_cosine", cosine(pull, update), sigma[i])
For the recipes in Figure 1, the diagnostics agree with the samples: backward simulation with cyclic rollout lengths gives a smaller fake/generated gap and higher update cosine across noise bins (Figure 2).
The two diagnostics do not always move together. In another ablation with the same architecture as Figure 1, we lowered the shift parameter in sample_score_noise(), which controls the distribution of sigma used for fake-score training and diagnostic evaluation; it is separate from the student’s rollout schedule. The aggregate reconstruction gap dropped, suggesting the fake network was tracking the student more closely. Yet the update cosine fell (Figure 3).
The noise-bin counts exposed the problem. With the lower shift, far more samples landed at low noise, where the input already resembles the clean sample and reconstruction is easier. The aggregate gap averages over all these samples, so a larger share of easy ones pulls it down. Within every noise bin, however, the update cosine was lower: the student’s update pointed less directly toward the teacher’s prediction.
The practical rule: read aggregate diagnostics only next to their noise-bin counts, and treat them as a description of the training signal, not a promise about sample quality.
How much initialization does DMD need?
Step distillation recipes often prepare the student with extra losses or warm-up stages. DMD adds a regression loss toward teacher-generated ODE samples; DMD2 drops that loss and adds a GAN objective. Our bidirectional recipe starts directly from the teacher’s weights, uses no GAN term, and still matches the teacher in our text-to-image and image-to-video evaluations.
Is there a better way to initialize? A promising candidate is the consistency model (CM): it trains the student to predict the same clean sample from any point along the teacher’s denoising trajectory. Intuitively, that should be a better starting point for DMD, because the student is already a few-step generator rather than a many-step model asked to act like one. Our earlier rCM work combines consistency distillation and DMD: in our text-to-image experiments, consistency distillation alone recovers most of the quality lost at four steps, and the DMD stage closes the rest.
Across our image-to-video and text-to-image comparisons, consistency initialization improved visual quality at most matched checkpoints. In the I2V comparisons, we held the DMD training configuration fixed and changed only the student’s initialization (Figure 4). The darker lower-left cells in the heatmap show where CM helps most: longer warm-ups improve visual quality early in DMD training.
The head start narrows quickly. In the initialization-length sweep, the scores are close again by DMD iteration 3k. The iteration count includes both fake-score and student updates: with four fake-score updates per student update, 3k iterations amount to about 600 student updates. Direct DMD settles into the few-step generation quickly on its own, while CM adds a separate training stage. Therefore we released checkpoints initialized directly from the teacher.
We also reviewed videos for motion and temporal artifacts. In Figure 5, the prompt asks for wind to bend the wheat and make the poppy dance vigorously. Texture and lighting look good throughout, but motion is subdued at 1k and stronger at 3k; at 8k, an unnaturally long stalk stretches across the frame.
That is where consistency initialization lands for the bidirectional recipe: a useful head start, but not a requirement. It returns with a larger role in our streaming recipe, where it prepares a causally adapted student for few-step generation before self-forcing.
Causal distillation in practice
The bidirectional model generates a complete clip at once: each frame can attend to both past and future frames, and no generated frame is ready until the whole clip finishes denoising. This is an offline generator. An interactive simulator has different requirements. It operates in streaming mode: it generates one small chunk of video frames at a time and accepts new control signals, such as camera poses and actions, between chunks. This is what lets a user interact with the model.
Foundation world models, such as Cosmos3, are typically bidirectional. Turning one into an interactive streaming model involves three changes. Our streaming recipe builds on our Causal-rCM research and addresses each change in one stage:
- Teacher forcing (TF). Generation must proceed without access to future chunks, so we apply a causal attention mask across chunks and train the model to denoise each chunk conditioned on recorded video as history. After this stage, the model is causal but still requires many denoising steps.
- Teacher forcing with discrete-time consistency models (TF-dCM). We then use consistency distillation to generate each chunk in a few denoising steps, reducing streaming latency.
- Self-forcing DMD (SF-DMD). The model must remain stable over long rollouts, where its history is its own generated output rather than recorded video. SF-DMD generates rollouts with the student during training and computes the training loss on them, closing the history gap while further refining few-step quality.
During self-forcing, the causal student generates chunk by chunk through its KV cache, while the bidirectional teacher and fake-score models evaluate the samples, as in bidirectional DMD. The generated history is detached; gradients flow only through selected denoising evaluations.
Why keep a consistency stage here, when the bidirectional recipe did not need one? The causal student faces a harder starting problem: it must adapt to a new attention pattern and produce usable few-step rollouts before self-forcing begins. Causal-rCM’s initialization study found that SF-DMD runs initialized from teacher-forcing or diffusion-forcing models reached strong scores but produced overly smooth textures and missing detail. Consistency initialization preserved finer detail. Causal Forcing++ also found that few-step initialization becomes especially important as sampling steps and chunk size decrease. We therefore kept TF-dCM as the few-step preparation before SF-DMD.
Chunk size and streaming latency
For a streaming model, chunk size affects latency, throughput, and video quality. Chunk latency is the time needed to generate one chunk; throughput is the number of RGB frames generated per second. A smaller chunk finishes sooner because it returns less video at a time, but it tends to cost throughput: work paid once per chunk is spread over fewer frames. Frames within a chunk are denoised jointly, so changing its size can also affect visual quality and temporal consistency.
We studied this trade-off while developing Cosmos3-Nano-Sim-Bimanual, our model for action-conditioned streaming video generation. The chunk-size experiments below use camera poses as the control input. Each latent frame corresponds to four RGB frames, so chunk sizes of one, two, and four latent frames return four, eight, and sixteen RGB frames at a time.
Our first attempt kept four latent frames per chunk through TF and TF-dCM, then switched to one at self-forcing; the samples were poor, so we tried smaller chunks earlier in training.
We compared four training schedules on the same dataset. Three used a fixed chunk size of one, two, or four latent frames throughout. The fourth used four latent frames per chunk for the first 2,000 TF iterations, then two for the remaining 2,000 TF iterations and both distillation stages (Figure 6).
We generated videos from Sana-WM-Bench’s initial images and simple or complex camera trajectories, then evaluated them using the video-quality metrics from PAI-Bench-G.
Chunks of one latent frame returned results fastest, while chunks of four latent frames delivered the highest throughput. Video-quality scores were similar across the three fixed chunk sizes. The curriculum scored highest at this checkpoint. Our interpretation is that a larger initial chunk eases the transition from bidirectional generation, while switching during teacher forcing gives the later stages time to adapt to smaller chunks.
The trade-off among latency, throughput, and quality applies to any streaming generator, but how quality responds to chunk size depends on the specific model design. Other constraints can also determine chunk size: when a model generates several sensor streams at different sampling rates, chunks must keep the streams aligned in time. We return to this setting later in the post. Before that, a bug that took us a long time to find.
Debugging a checkerboard artifact in streaming inference
As a case study, we applied the streaming training recipe to convert Cosmos3-Nano-Transfer-Auto, our bidirectional model for synchronized multi-view generation, into Cosmos3-Nano-Sim-Auto for streaming simulation of autonomous driving scenarios. Along the way, we hit a subtle pitfall in how generated frames become history.
The teacher-forcing checkpoints produced a regular checkerboard pattern in autoregressive inference. The checkerboard became more pronounced after consistency distillation and less noticeable with longer training, so we initially suspected a training-quality problem. We found that the problem started with the second generated chunk, when the model first used its own output as history.
In streaming generation, each completed chunk changes roles: it was the denoising target, and it now becomes history for the next prediction. Before it can be reused, we encode it into the KV cache. That encoding must match how the model saw clean history during training.
We found the bug: the inference code incorrectly added a timestep embedding when encoding clean history into the KV cache. The transformer maps the timestep t, a scalar representing the noise level, to a learned embedding vector E(t). During training, clean history received no timestep embedding. At inference, however, we treated completed chunks as denoising targets at t = 0, adding E(0) to their representation. Timestep zero means no noise, but E(0) is still a learned, nonzero vector. Adding it introduced a component absent during training, and subsequent chunks carried the mismatch forward through the rollout.
Correcting the history encoding removed most of the checkerboard pattern without changing the checkpoint or sampling setup (Figure 7). We isolated the bug by comparing inference implementations with the checkpoint and seed held fixed. The lesson: get the inference path right before judging a training recipe by its samples. But that is easier said than done when the symptoms of an inference bug improve with training.
Long rollouts with synchronized sensors
The model in the case study above is also multimodal, generating camera video and LiDAR point clouds of the same scene. Earlier we could pick a chunk size purely by weighing latency, throughput, and quality. Here, the chunk design faces an additional constraint: the two modalities sample the scene at different rates. Cameras run at 30 Hz and LiDAR at 10 Hz, and their encoders compress time differently. In our recipe, we group the two streams into chunks that cover the same interval of physical time. With that timing in place, we extend generation to minutes-long rollouts and test whether quality holds up for a full hour.
Defining chunks in physical time
In Cosmos3-Nano-Sim-Auto, a regular chunk advances both sensor streams by 0.4 seconds (Figure 8).
The design unit is the physical interval. Counting equal numbers of latent frames and LiDAR sweeps would give the streams different durations. We instead map the interval into each stream’s indices, align the controls to it, and define which past observations cross-sensor attention may read. A car passing on the left must appear at the same moment in the left camera and in the LiDAR sweep.
Train on long rollouts, infer with a short cache
Once the camera and LiDAR streams advance on the same clock, the remaining question is stability: each chunk is generated on top of generated history, so errors can compound over a long rollout. Two settings control how much of its own output the model sees. During training, the rollout length sets how many consecutive chunks the student generates before weights are updated. At inference, the KV cache size sets how much generated history each new prediction reads. We tuned them separately.
We use cross-view Sampson error (CSE), which measures geometric disagreement between matched points across camera views, to track whether the generated views stay geometrically consistent over long rollouts.
At inference the model generates for minutes, but drift that only appears after many chunks never enters the training loss if training rollouts are short. Training through longer self-generated rollouts to close this gap is common practice in recent streaming video models such as LongLive and LingBot-World. We began self-forcing with short rollouts to let the student adapt to its own outputs, then continued the same run with longer sequences of 34 chunks, about 13 seconds of video. Cross-view consistency improved with each phase (Figure 9a). We kept the two-stage schedule: short rollouts for initial adaptation, longer rollouts to expose the student to more of its own successive predictions.
Retaining activations for an entire long multiview rollout would exceed GPU memory. Instead, we use replayed backpropagation: generate the rollout without gradients, then replay selected denoising evaluations with gradients enabled. Only the replayed evaluations hold activations, letting us train on longer rollouts within the same memory budget.
At inference, how much generated history should each new chunk read? We tested KV cache sizes on minute-long rollouts, always keeping the initial chunk as a visual anchor, akin to the attention sink in streaming language models. More history made cross-view consistency worse (Figure 9b). Our interpretation is that older generated chunks carry accumulated artifacts that feed back into new predictions. The best cache we tested held just the anchor and the most recent chunk: our long SF-DMD phase trains on 34-chunk sequences, while inference retains only two chunks of history.
As a stress test of this compact cache, we ran an hour-long rollout by repeatedly cycling through the same controls and captions. Video quality, temporal consistency, and cross-view consistency showed no sustained degradation over the hour: scene structure and control following held up, though some object-appearance and physical-plausibility errors emerged. External controls help sustain the rollout by continually supplying road geometry and traffic motion, while generated history maintains visual continuity. This validates our recipe at the hour scale: train on long rollouts, infer with a short cache.
Future work
Several threads from this post invite deeper study.
In few-step distillation, we did not measure output diversity. DMD’s reverse-KL objective is mode-seeking, and recent work reports diversity loss in few-step video students. Data-Forcing Distillation explores ways to restore diversity and fidelity.
In streaming generation, our two-chunk cache improved stability, but revisiting earlier scenes may require details no longer directly accessible through it. Combining selective memory retrieval with control of error accumulation is a direction worth exploring, as in Matrix-Game 3.0.
In multimodal distillation, generation quality, latency, and alignment across modalities all have room to improve. Our joint camera–LiDAR experiments offer an initial example: after causal distillation, the student’s RGB output stays close to the bidirectional teacher, but its LiDAR is noisier, with weaker temporal consistency and object detail. This suggests that different modalities may need different treatment during distillation.
RGB images and 3D LiDAR point clouds are high-dimensional sensory outputs. For low-dimensional outputs such as robot actions, where a world model also serves as a policy, distillation must preserve action quality and video–action alignment alongside visual quality. We hope the recipes and pitfalls in this post give that work a head start.
Try it out
Our Cosmos-Simulation technical report and Cosmos Framework describe the resulting recipes. The four-step text-to-image and image-to-video checkpoints, together with the Simulation models and recipes, are available for inference and post-training on new data and controls.
A runnable example, including setup instructions and coding-agent skills, is available in the Simulation Cookbook.
For an action-conditioned streaming example, clone Cosmos Framework and open it in your coding agent:
git clone https://github.com/NVIDIA/cosmos-framework.git
cd cosmos-framework
Then ask your agent:
Use the cosmos3-inference-simulation-bimanual skill to run
Cosmos3-Nano-Sim-Bimanual on the published AgiBot 001 example.
Check my GPU and environment, follow the setup instructions,
and download the required checkpoint and example inputs.
Generate the action-conditioned video and show me the result.
References
- Tianwei Yin, Michaël Gharbi, Richard Zhang, Eli Shechtman, Frédo Durand, William T. Freeman, Taesung Park. One-step Diffusion with Distribution Matching Distillation. CVPR 2024.
- Tianwei Yin, Michaël Gharbi, Taesung Park, Richard Zhang, Eli Shechtman, Frédo Durand, William T. Freeman. Improved Distribution Matching Distillation for Fast Image Synthesis. NeurIPS 2024.
- Yang Song, Prafulla Dhariwal, Mark Chen, Ilya Sutskever. Consistency Models. ICML 2023.
- Kaiwen Zheng, Yuji Wang, Qianli Ma, Huayu Chen, Jintao Zhang, Yogesh Balaji, Jianfei Chen, Ming-Yu Liu, Jun Zhu, Qinsheng Zhang. Large Scale Diffusion Distillation via Score-Regularized Continuous-Time Consistency. ICLR 2026.
- Kaiwen Zheng, Guande He, Min Zhao, Jintao Zhang, Huayu Chen, Jianfei Chen, Chen-Hsuan Lin, Ming-Yu Liu, Jun Zhu, Qianli Ma. Causal-rCM: A Unified Teacher-Forcing and Self-Forcing Open Recipe for Autoregressive Diffusion Distillation in Streaming Video Generation and Interactive World Models. arXiv:2606.25473, 2026.
- Xun Huang, Zhengqi Li, Guande He, Mingyuan Zhou, Eli Shechtman. Self Forcing: Bridging the Train-Test Gap in Autoregressive Video Diffusion. NeurIPS 2025.
- Min Zhao, Hongzhou Zhu, Kaiwen Zheng, Zihan Zhou, Bokai Yan, Xinyuan Li, Xiao Yang, Chongxuan Li, Jun Zhu. Causal Forcing++: Scalable Few-Step Autoregressive Diffusion Distillation for Real-Time Interactive Video Generation. arXiv:2605.15141, 2026.
- Haoyi Zhu, Haozhe Liu, Yuyang Zhao, Tian Ye, Junsong Chen, Jincheng Yu, Tong He, Song Han, Enze Xie. SANA-WM: Efficient Minute-Scale World Modeling with Hybrid Linear Diffusion Transformer. arXiv:2605.15178, 2026.
- Shuai Yang, Wei Huang, Ruihang Chu, Yicheng Xiao, Yuyang Zhao, Xianbang Wang, Muyang Li, Enze Xie, Yingcong Chen, Yao Lu, Song Han, Yukang Chen. LongLive: Real-time Interactive Long Video Generation. ICLR 2026.
- Robbyant Team. Advancing Open-source World Models (LingBot-World). arXiv:2601.20540, 2026.
- Guangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han, Mike Lewis. Efficient Streaming Language Models with Attention Sinks. ICLR 2024.
- Siyi Chen, Shaowei Liu, Yixuan Jia, Zian Wang, Huan Ling, Qing Qu, Jun Gao. Data-Forcing Distillation: Restoring Diversity and Fidelity in Few-Step Video Generation. ICML 2026.
- Zile Wang, Zexiang Liu, Jiaxing Li, Kaichen Huang, Baixin Xu, Fei Kang, Mengyin An, Peiyu Wang, Biao Jiang, Yichen Wei, Yidan Xietian, Jiangbo Pei, Liang Hu, Boyi Jiang, Hua Xue, Zidong Wang, Haofeng Sun, Wei Li, Wanli Ouyang, Xianglong He, Yang Liu, Yangguang Li, Yahui Zhou. Matrix-Game 3.0: Real-Time and Streaming Interactive World Model with Long-Horizon Memory. arXiv:2604.08995, 2026.
- NVIDIA. Interactive World Simulation with Cosmos for Physical AI. arXiv:2611.06627, 2026.
Qianli Ma. “Distill Frontier World Models for Few-Step Generation and Streaming Simulation with NVIDIA Cosmos.” NVIDIA Cosmos Lab Blog, December 2026.
@misc{ma2026cosmosdistill,
title = {Distill Frontier World Models for Few-Step Generation
and Streaming Simulation with {NVIDIA} {Cosmos}},
author = {Ma, Qianli},
year = {2026},
month = dec,
howpublished = {NVIDIA Cosmos Lab Blog},
url = {https://research.nvidia.com/labs/cosmos-lab/blog/cosmos-simulation-distillation/}
}
The experiments presented here were part of the Cosmos distillation and simulation efforts, with contributions from Francesco Ferroni, Xiao Fu, Zhengfei Kuang, George Kurian, Xiang Li, Chen-Hsuan Lin, Qianli Ma, Mustafa Munir, Trung Pham, Jiaxiang Tang, Zhonghao Wang, Xinqian Xu, and Kaiwen Zheng. Qianli Ma integrated the experimental findings, developed the analysis, and wrote this post.