Search

Search papers and lessons

Cosmos World Foundation Model Platform for Physical AI

NVIDIA, Niket Agarwal, Arslan Ali et al. · 2025

Cosmos is NVIDIA's open platform for world models of the physical world: a video data pipeline, video tokenizers, and diffusion and autoregressive models built to be fine-tuned for specific robots and vehicles.

On this page

  • Colour = topic mix
  • Probability
  • Calculus
  • Linear algebra
  • Generative models
  • Neural network basics
  • Architectures
  • Sign in to see your progress

TL;DR

Cosmos is a platform for building world models: neural networks that predict what a video of the real world will look like next, given what came before and an action or text prompt. NVIDIA curated about 100 million training clips from about 20 million hours of raw video, trained general models on them, and released them as open weights so builders can fine-tune them into models for their own robots, cameras and vehicles. The paper describes the data pipeline, the tokenizers, the two model families (diffusion and autoregressive), and the post-training examples.

Where you'll see it: in simulation for robot manipulation and autonomous driving, where a generated future video stands in for a physical simulator, and in camera-controlled video generation.

The problem

Physical AI systems, such as robots and self-driving cars, need to be trained and tested before they touch the world. Real trials are slow and dangerous, and hand-built simulators cover only the physics their authors modelled. The paper argues that a Physical AI builder needs a digital twin of the world as well as of the policy, and that a world model can play that role if it is general enough.

Building one from scratch is the hard part. A useful model needs a large and diverse amount of video, a compact representation of that video so training is affordable, and a generation method that keeps objects consistent over time. The paper's answer is a platform rather than one model: a pipeline that makes training data, a tokenizer, pre-trained generalists, and a recipe for fine-tuning them.

Key idea

A world foundation model (WFM) is defined in the paper as a function that takes past observations x0:tx_{0:t} and a perturbation ctc_t, and predicts the next observation x^t+1\hat{x}_{t+1}. The perturbation can be an action the agent takes, a random disturbance, or a text description. Pre-trained WFMs are generalists trained on broad video. They are then post-trained on a small amount of data from one setting, such as one robot or one camera rig.

The paper spends a large share of its text on curation: finding clips with rich motion and high visual quality, and removing redundant ones. Then it compresses video with a causal tokenizer, so that the same network can train on images and video, and it trains two transformer families on those tokens.

flowchart LR
  V[20M hours of raw video] --> C[Curation: split, filter, caption, dedup]
  C --> T[Causal video tokenizer]
  T --> D[Diffusion WFM: Text2World, Video2World]
  T --> A[Autoregressive WFM: next-token, then Video2World]
  D --> P[Post-training: camera, robot, driving]
  A --> P
  P --> G[Guardrails on input and output]

The method

Data curation

The curator splits each video into shots with no scene change, filters clips for quality and motion, annotates them, removes near-duplicates with semantic deduplication, and shards the result for training. The paper reports about 100 million clips of 2 to 60 seconds, drawn from about 20 million hours of raw video at resolutions from 720p to 4K. Section 3 describes each stage and the infrastructure, which uses a Ray-based pipeline to keep the GPUs busy. The curation is a stated part of the contribution, not a preprocessing footnote: the paper says that much of the raw video is redundant or uninformative for learning physics.

Tokenizers

A tokenizer maps video to a shorter sequence of latent tokens and back. The paper introduces Cosmos Tokenizer in two forms: continuous, with a vanilla autoencoder, and discrete, with finite scalar quantization (FSQ). Both are causal. The encoder for a frame uses only that frame and earlier ones, which lets a single image count as a one-frame video. The architecture uses causal temporal convolutions and causal temporal attention, and it works in wavelet space. Training alternates image and video mini-batches and supervises only the decoder output. It is two-stage: the first stage minimises a pixel-wise L1 loss, and the paper uses a VGG-based perceptual term, with an adversarial term added in fine-tuning to recover detail at high compression.

The paper reports a 4 dB PSNR improvement in reconstruction on DAVIS videos over the baselines it compares with. Its runtime table, which reports time per image or per video frame, lists 34.8 ms per frame for the continuous Cosmos video tokenizer and 414 ms for the CogVideoX tokenizer at 720 by 1280 resolution. The two rows use different frame counts, so treat the comparison as the paper's rather than a controlled one.

Diffusion world models

The diffusion family is latent diffusion. Videos are encoded by the tokenizer, and the denoiser operates in that latent space. The training objective follows EDM: a denoising score-matching loss at a noise level σ\sigma, with the EDM preconditioning and a weighting that keeps each noise level's contribution balanced. The paper writes the core loss as

L(Dθ,σ)=Ex0,n[∥Dθ(x0+n;σ)−x0∥22],n∼N(0,σ2I).\mathcal{L}(D_{\theta}, \sigma) = \mathbb{E}_{x_0, n}\left[ \big\lVert D_{\theta}(x_0 + n; \sigma) - x_0 \big\rVert_2^2 \right], \qquad n \sim \mathcal{N}(0, \sigma^2 I).

Pre-training has two steps: Text2World on text prompts, then Video2World, which conditions on past video and a text prompt. The diffusion models are transformers with 3D rotary position embeddings, cross-attention for text, and query-key normalisation to stabilise training. The released sizes are 7B and 14B for Text2World, with Video2World versions of each. The 14B model's training state alone (parameters, gradients and optimizer) is about 280 GB, so training uses FSDP with context parallelism across GPUs.

Autoregressive world models

The autoregressive family treats video as a sequence of discrete tokens and predicts the next token, as a language model does. Pre-training runs foresight generation first, then text-conditioned Video2World. The base models are 4B and 12B, with 5B and 13B Video2World versions. The paper also trains a diffusion decoder to refine the autoregressive output, and it adds an LLM-based prompt upsampler to make user prompts more detailed. The paper states that the diffusion models currently produce better generations, and it lists autoregressive models' use of pre-trained LLM weights and faster decoding as untapped potential.

Post-training

Post-training fine-tunes a pre-trained WFM for a specific setting. The paper gives three examples. For camera control, the diffusion model is conditioned on camera pose, so a viewer can move through a generated scene. For robotic manipulation, it is conditioned on end-effector positions. For autonomous driving, it is conditioned on vehicle trajectories. Section 6 describes each setup.

Guardrails

Guardrails are a two-stage filter. A pre-Guard blocks harmful prompts with a classifier (Aegis) and a keyword list. A post-Guard checks generated video. The paper also reports a red-team effort. The guardrails are part of the release, not an afterthought.

Results

The paper evaluates the pre-trained models on two aspects: 3D consistency and physics alignment. It is explicit that these are partial measures.

For 3D consistency, the authors use 500 static test videos from RealEstate10K and measure epipolar consistency with the Sampson error, the success rate of camera pose estimation, and novel-view synthesis quality by fitting a Gaussian splatting model to the generated video. Against VideoLDM as the baseline:

ModelSampson error (lower is better)Pose successPSNR
VideoLDM0.8414.4%26.23
Cosmos-Predict1-7B-Text2World0.35562.6%33.02
Cosmos-Predict1-7B-Video2World0.47368.4%30.66
Real videos (reference)0.43156.4%35.38

Note that the real-video reference has a worse Sampson error than the 7B Text2World model. The paper's table is the source of this observation, and it means the Sampson error alone does not separate generated video from real video.

For physics alignment, the authors build eight rigid-body scenarios in PhysX and Isaac Sim (falling objects, slopes, stacks, dominoes, a seesaw, a gyroscope) and render 800 videos. The model is conditioned on 1 or 9 frames and a prompt. With 9 frames, Cosmos-Predict1-7B-Video2World reaches PSNR 21.06, SSIM 0.691, and average object IoU 0.592. The paper reports that larger models do not reliably do better on these physics metrics, and that object impermanence, deformation and gravity violations remain failure modes. It also reports a failure rate for the autoregressive models on a set of 100 inputs.

The post-training section reports three kinds of evidence, with different strength:

  • Instruction-based robot video prediction (Cosmos-1X). Ten human evaluators compared pairs of videos on 23 test episodes. The paper reports that Cosmos-Predict1-7B Video2World won 78.3 percent of overall preferences against 13.0 percent for a VideoLDM baseline fine-tuned for the same task.
  • Action-conditioned next-frame prediction (Bridge). Against IRASim-Action, the 7B model reaches PSNR 21.14, SSIM 0.82, latent L2 0.32 and FVD 190, versus 19.13, 0.64, 0.38 and 593 for the baseline. The 5B model also beats the baseline. These are the most direct numbers for the robot use case, and they come from 100 test episodes.
  • Multi-view driving. The paper fine-tunes the 7B Text2World model on about 3.6 million 20-second surround-view clips, which it says is roughly 20,000 hours. It reports multi-view generation as qualitative figures, not as a benchmark score.

Why it mattered

The paper's concrete contribution is the release. The authors say the pre-trained models and tokenizers are open-weight under the NVIDIA Open Model License, with code in a public repository, so builders can fine-tune them without training from scratch. The paper frames this as a platform, with curation, tokenizers, two model families, post-training examples and guardrails as parts of one release.

The paper also states its own limits clearly. It says the models are not reliable simulators of the physical world, and it names object permanence, contact-rich dynamics and gravity as failures. It proposes automated evaluators and physics simulators as directions for better evaluation. The paper's conclusion also notes that autoregressive models could in future benefit from pre-trained LLM weights and faster inference, while diffusion models currently give better generation quality.

Reading guide

Read in this order. Each line says which prerequisite lessons the section leans on.

  1. Section 1 and 2 (introduction, platform). Needs World Model for the definition of a WFM, and Transformer for the architecture family. The perturbation ctc_t is the conditioning signal you will see later.
  2. Section 3 (data curation). Needs little beyond basic video and classifiers. Read it for what the pipeline does, not for the math.
  3. Section 4 (tokenizers). Needs Vector Quantization for the discrete tokenizer, and Autoencoder for the continuous one. The causal design is the key idea here.
  4. Section 5.1 (diffusion). Needs Diffusion Model, Latent Diffusion Model and Diffusion Transformer (DiT). The EDM formulation is a refinement of the denoising loss in Diffusion Model.
  5. Section 5.2 (autoregressive). Needs Autoregressive Model and Transformer. The next-token setup matches language models.
  6. Section 5.3 (evaluation). Needs the metric definitions in the paper itself. Read it with the results table above.
  7. Section 6 (post-training). Needs Fine-Tuning. The camera, robot and driving setups are each a conditioning change.
  8. Section 7 (guardrails). No prerequisites beyond the text itself.

Check yourself

QuestionRecall: how does the paper define a world foundation model?Show answer

A world foundation model takes past observations x0:tx_{0:t} and a perturbation ctc_t, such as an action or a text prompt, and predicts the next observation x^t+1\hat{x}_{t+1}. It is a generalist that can be fine-tuned into a model for one setting.

QuestionComputation: the paper extracts about 100 million clips of 2 to 60 seconds from about 20 million hours of raw video. Roughly how many hours of footage do the clips cover, at the shortest and longest clip lengths?Show answer

At 2 seconds each, 10810^8 clips cover 2×1082 \times 10^8 seconds, which is about 55,60055{,}600 hours. At 60 seconds each they cover 6×1096 \times 10^9 seconds, about 1.671.67 million hours. Both are well below the 20 million hours of raw video, so curation keeps a fraction of the footage. The answer shows that the curated set is much smaller than the raw collection, which is the point of the curation stage.

QuestionWhy is the tokenizer causal, and what does that buy the training setup?Show answer

Causal means that each frame's tokens depend only on that frame and earlier ones. Because of this, a single image is a valid one-frame video, so image and video data can train the same tokenizer and the same generation model. This matters because the paper wants to use the large supply of high-quality image data alongside video.

QuestionWhy does the paper report Sampson error alongside pose success and PSNR, and what does the real-video row show?Show answer

Each metric measures a different property: Sampson error measures epipolar consistency, pose success measures whether a camera pose can be recovered, and PSNR measures view synthesis quality. The real-video row shows that the Sampson error does not separate generated video from real video, since the 7B Text2World model has a lower error than the real-video reference. So no single metric is enough, which is why the paper reports several.

QuestionApplied: you want to use Cosmos to test a robot arm's grasping policy. Which parts of the paper do you need, and which limits would you check first?Show answer

You need the post-training route for robot manipulation, which conditions the model on actions, plus the tokenizer and diffusion model you fine-tune from. The paper's robot results use a 7B Bridge-trained model and a 100-episode test set, so expect to repeat that fine-tuning on your own robot data. The limits to check first are the ones the paper itself names: object permanence, contact-rich dynamics and gravity. Grasping is contact-heavy, so you would test the generated contacts against your own physics checks before trusting the simulator for policy evaluation.

Sources

Read the full paper

NVIDIA, Niket Agarwal, Arslan Ali et al., 2025. arXiv:2501.03575