Noureddine RAMDI / DiT4DiT: Vision-Action Modeling with Video Transformers for Real-Time Humanoid Robot Control

Created Sat, 23 May 2026 20:41:14 +0000 Modified Sat, 23 May 2026 20:41:27 +0000

Mondo-Robotics/DiT4DiT

DiT4DiT takes a fresh architectural stance on robotic control by treating it as a video generation problem in the latent space. Instead of conventional pipelines that separately process perception and action prediction, it leverages a pretrained large-scale video generation transformer as a frozen backbone and pairs it with flow-matching-based action prediction heads. This approach enables a single policy to handle diverse manipulation tasks, from tabletop to whole-body humanoid control, with impressive benchmark results.

What DiT4DiT does: joint video-action modeling with a frozen video transformer backbone

DiT4DiT is a Vision-Action-Model (VAM) framework developed collaboratively by Mondo Robotics and HKUST. It models the temporal dynamics of video and robot actions jointly by conditioning action prediction on video latent representations.

At its core, the system uses NVIDIA’s Cosmos-Predict2.5-2B, a large-scale video generation transformer, as a frozen backbone to extract video latent features. This means the heavy lifting of visual and temporal feature extraction is offloaded to a pretrained, fixed model, which provides a stable and rich representation of the environment dynamics.

On top of this backbone, DiT4DiT integrates flow-matching-based action prediction heads. Flow matching is a technique inspired by recent advances in generative modeling that learns a vector field representing transitions between latent states, here applied to predict robot actions as transitions in video latent space.

By framing action prediction as conditional generation within the video latent space, DiT4DiT unifies perception and control in a single model. This architecture supports both tabletop manipulation tasks (as showcased in the RoboCasa-GR1 benchmark) and whole-body humanoid control.

The codebase is implemented in Python and builds on Mondo Robotics’ LeRobot and RoboCasa frameworks, as well as NVIDIA’s Cosmos-Predict2.5 ecosystem. Pretrained model checkpoints are publicly available, facilitating reproducibility and experimentation.

In benchmarking, DiT4DiT achieves an average success rate of 98.6% on the LIBERO benchmark — which tests a variety of manipulation subtasks — and 56.7% on 24 tasks in the RoboCasa-GR1 tabletop benchmark. These numbers indicate strong generalization and control capabilities.

Technical strengths and design tradeoffs: frozen transformer backbone and flow matching for action prediction

The standout technical feature of DiT4DiT is its repurposing of a large pretrained video generation transformer as a frozen backbone for control. This is uncommon because most robot control models either train their perception and action modules jointly from scratch or fine-tune end-to-end. Here, freezing such a large model reduces training complexity and stabilizes representation learning, but it also means the backbone cannot adapt dynamically to new robot-specific environments or tasks during training.

Flow matching-based action heads complement this by modeling the transitions in the latent video space as vector fields. This approach is elegant because it naturally fits the temporal nature of videos and robot actions and allows the model to predict continuous action trajectories.

The architecture’s design as a Vision-Action-Model that treats action prediction as conditional video latent generation offers several advantages:

  • Unified modeling: Perception and action are not separate modules but part of a single latent dynamics model.
  • Task versatility: The same model architecture can handle diverse tasks, from precision tabletop manipulation to complex whole-body humanoid control.
  • Efficiency: Freezing the backbone offloads computational cost for feature extraction and enables focusing training on the smaller action heads.

However, there are tradeoffs and limitations:

  • Resource intensity: Training requires CUDA 12.4+ and recommends more than 8 GPUs, which may be prohibitive for smaller teams.
  • Limited backbone adaptability: Since the large video transformer is frozen, adapting to drastically different visual domains or robot embodiments might require additional finetuning strategies.
  • Complexity in implementation: The combination of flow matching with large transformer latent spaces is non-trivial and requires careful engineering.

The codebase’s integration with LeRobot, RoboCasa, and NVIDIA’s ecosystems hints at a modular architecture where pretrained components and datasets can be reused across projects, which is a practical advantage for applied research.

Quick start

Prerequisites

  • Python >= 3.10
  • CUDA 12.4+
  • More than 8 GPUs recommended for training

Setup

# Install PyTorch (CUDA 12.8 recommended)
pip install torch==2.7.0 torchvision==0.22.0 torchaudio==2.7.0 --index-url https://download.pytorch.org/whl/cu128

# Install dependencies
pip install -r requirements.txt

# Install the package
pip install -e .

Download pretrained backbone

You need to download the Cosmos-Predict2.5-2B model checkpoint from Hugging Face:

huggingface-cli download nvidia/Cosmos-Predict2.5-2B --revision diffusers/base/post-trained --local-dir /path/to/Cosmos-Predict2.5-2B

Model checkpoints

Pretrained DiT4DiT models for LIBERO and RoboCasa-GR1 benchmarks are available on Hugging Face with documented success rates:

ModelDatasetSuccess Rate
DiT4DiT-LIBEROLIBERO98.6%
DiT4DiT-RoboCasa-GR1RoboCasa-GR156.7%

Full training and evaluation guides for simulation are linked in the repository README for both benchmarks. Real robot deployment is noted as “coming soon,” so expect simulation-focused experimentation currently.

Verdict

DiT4DiT presents a compelling architecture for robotics researchers and practitioners interested in unified video-based perception and control. Its use of a pretrained frozen video generation transformer backbone is a clever design choice that reduces training complexity while enabling strong performance on diverse manipulation benchmarks.

The approach shines particularly in simulation environments where computational resources are available to handle large models and multiple GPUs. However, the resource requirements and frozen backbone might limit adaptability in some real-world robot applications without further customization.

If your work involves leveraging video models for robotic control or exploring flow matching for action prediction, DiT4DiT offers a solid foundational codebase with state-of-the-art results on established benchmarks. It’s also worth watching for upcoming real robot integration and additional pretrained models from the authors.

Overall, it’s a technically rich project that’s worth understanding for anyone working at the intersection of video modeling and robot control, especially in humanoid and manipulation domains.


→ GitHub Repo: Mondo-Robotics/DiT4DiT ⭐ 273 · Python