AVID: Adapting Video Diffusion Models to World Models

Marc Rigter, Tarun Gupta, Agrin Hilmkil, Chao Ma · DOI

Introduction

To train effective autonomous agents, researchers require "world models"—simulators capable of predicting the visual outcomes of specific actions. While modern video diffusion models like Sora generate high-fidelity video, they are typically not action-conditioned and their internal weights are often inaccessible behind proprietary APIs. AVID (Adapting Video Diffusion) introduces a framework to transform these black-box generators into steerable world models using a lightweight adapter and a novel masking mechanism.

The AVID Framework

Instead of fine-tuning the pretrained model, AVID treats it as a high-quality but "action-agnostic" advisor. The core of the system is a lightweight 3D UNet adapter that learns to modify the pretrained model's output based on a specific action command ($a$).

The AVID framework uses a lightweight adapter to blend noise predictions from a pretrained model with action-conditioned predictions via a learned mask.

The adapter predicts two components: an action-conditioned noise estimate ($\epsilon_{adapt}$) and a learned mask ($m$). These are combined with the pretrained model's noise prediction ($\epsilon_{pre}$) using the formula:

$$\epsilon_{final} = \epsilon_{pre} \odot m + \epsilon_{adapt} \odot (1 - m)$$

This masking approach allows the model to selectively trust the pretrained foundation for static elements like backgrounds (where $m \approx 1$) while allowing the adapter to drive the motion of dynamic objects like robot arms (where $m \approx 0$). This avoids the mathematical biases inherent in simpler "Product of Experts" methods that merely sum noise predictions.

Experimental Evaluation

AVID was evaluated across two distinct domains:

  1. Procgen (Coinrun): A 2D platformer used to test scaling across action-labeled datasets ranging from 100k to 2.5M steps.
  2. RT1 (Robotics Transformer 1): A real-world dataset involving a mobile manipulator performing pick-and-place tasks in a 7-dimensional continuous action space.

Key Results and Insights

Action Accuracy and Visual Fidelity

AVID significantly outperforms standard diffusion baselines in action accuracy. On the RT1 dataset, it achieved a superior Action Error Ratio, ensuring that generated movements faithfully followed commanded joint rotations. Unlike models trained from scratch, which often suffer from visual artifacts like disappearing objects, AVID maintains high consistency by leveraging the pretrained model's prior knowledge of textures and physics.

Qualitative comparison on the RT1 robotics dataset. The latent mask (bottom row) automatically identifies the robot arm as the region requiring action-driven modification.

Parameter Efficiency

The framework is remarkably efficient. A 71M parameter AVID adapter frequently outperformed much larger models trained from scratch. Qualitative analysis of the learned masks shows they are highly intuitive; the model naturally learns to mask out the specific parts of the scene that must change to satisfy the action command while leaving the rest of the high-fidelity environment untouched.

Conclusion and Future Outlook

AVID demonstrates that powerful, closed-source video models can be repurposed for robotics and gaming without full weight access. However, the authors note that this requires model providers to expose intermediate denoising outputs via their APIs. Future work involves integrating AVID into planning loops, where agents can use these world models to "imagine" and select the most successful sequences of actions.

Summary updated

BibTeX
@misc{rigter2024avid,
  author = {Marc Rigter and Tarun Gupta and Agrin Hilmkil and Chao Ma},
  title = {{AVID: Adapting Video Diffusion Models to World Models}},
  year = {2024},
  eprint = {2410.12822},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.12822},
}
Figure