TL;DR
Training visual world models typically requires huge amounts of action-labeled data, while state-of-the-art video diffusion models are trained on massive video corpora but lack action conditioning and have closed weights. AVID bridges this gap by training a lightweight adapter that guides a frozen, black-box video diffusion model using a learned mask and action conditioning. Without accessing the base model's internal parameters, AVID matches or exceeds the quality of white-box adaptation methods like ControlNet.
What Problem Does This Paper Address?
In model-based reinforcement learning (MBRL), agents rely on a "world model"—a learned simulator that predicts how the environment evolves in response to actions. However, collecting sufficient action-labeled video in complex domains like real-world robotics is expensive and slow.
Pretrained image-to-video diffusion models already possess rich visual and physical priors learned from internet-scale data, but two core barriers prevent their direct use as world models:
- Lack of low-level control: They are primarily text- or image-prompted and cannot be conditioned out-of-the-box on continuous robot joint velocities or discrete game actions.
- Inaccessibility: Leading video generation models are typically proprietary or closed-source, ruling out standard parameter fine-tuning or internal activation hooks (e.g., ControlNet).
AVID addresses the challenge of turning a frozen, black-box video diffusion model into an action-conditioned simulator using only its step-by-step noise predictions.
Methods
Prior attempts to adapt black-box diffusion models rely on naive Product of Experts (PoE)—simply adding the score/noise predictions of the base model and an adapter: $\epsilon_{PoE} = \epsilon_{pre} + \epsilon_{adapt}$. The authors point out a mathematical flaw: because Gaussian noise diffusion involves convolutions over time, convolution does not distribute over distribution products, making simple score addition mathematically biased and leading to blurry, superimposed artifacts.
Instead, AVID introduces an end-to-end trained spatio-temporal 3D UNet adapter:
- Inputs: The adapter takes the noisy video frame sequence $x_i$, the repeated initial frame $x_0$, the diffusion timestep $i$, the action trajectory $a$, and crucially, the output prediction of the base model $\epsilon_{pre}$.
- Learned Soft Masking: The adapter outputs both an action-guided noise residual $\epsilon_{adapt}$ and a channel-broadcasted spatial-temporal soft mask $m \in [0, 1]$. The final noise prediction is combined via: $$\epsilon_{final} = \epsilon_{pre} \odot m + \epsilon_{adapt} \odot (1 - m)$$
- Training: The entire pipeline directly optimizes the standard denoising objective on $\epsilon_{final}$ over a small domain-specific dataset of action-labeled videos. The pretrained base model is never backpropagated through.
[ Noisy Video xi, Initial Frame x0 ]
│ │
▼ ▼
┌─────────────────┐ ┌──────────────────┐
│ Pretrained Base │ │ AVID Adapter │ ◄── Actions a
│ Diffusion Model │ │ (3D UNet) │
└────────┬────────┘ └────┬────────┬────┘
│ ϵpre │ m │ ϵadapt
▼ ▼ ▼
[ ϵfinal = ϵpre ⊙ m + ϵadapt ⊙ (1 - m) ]
Datasets
The authors evaluate AVID across discrete and continuous control benchmarks:
- Procgen (Coinrun): The base model is a pixel-space 3D UNet trained on 30M frames ($64 \times 64$) across 15 procedurally generated Procgen games. The adapters are evaluated on a held-out 16th game, Coinrun (using subsets of 100k, 500k, and 2.5M steps with 15 discrete actions).
- RT-1 + DynamiCrafter: The base model is DynamiCrafter (a 1.4B-parameter latent video diffusion model). The adapter is trained on RT-1, featuring 82,851 real-world robot manipulation episodes ($320 \times 512$ resolution) conditioned on 7-dimensional continuous end-effector actions.
Key Insights and Ideas
- Dynamic division of labor: Inspecting the learned mask $m$ reveals that AVID uses the adapter ($m \approx 0$) for action-relevant regions (such as the robot arm or moving player avatar) and leans heavily on the pretrained model ($m \approx 1$) to generate stable, photorealistic background textures.
- Coarse vs. fine diffusion dynamics: Early in the reverse diffusion process (high noise), average mask values are low, meaning the adapter dictates object placement and movement. Later in the denoising process (low noise), mask values rise, letting the pretrained base model handle fine visual details.
- Parameter efficiency: When the adapter parameter budget is constrained (e.g., down to 11M–22M parameters), models trained from scratch fail catastrophically. AVID retains high visual fidelity by offloading background rendering to the base model.
Key Results
- Comparison to Black-Box Baselines: AVID heavily outperforms Product of Experts, Classifier Guidance, and Classifier-Free Guidance across all metrics. On RT-1 (Large), AVID achieves 39.3 FVD and 25.3 PSNR, whereas Classifier-Free Guidance yields 79.3 FVD and 22.8 PSNR.
- Parity with White-Box Methods: On RT-1, AVID (145M) achieves frame-wise accuracy comparable to full parameter finetuning (SSIM of 0.842 vs. 0.852; PSNR of 25.3 vs. 25.6) and matches or beats ControlNet variants (ControlNet-Small achieves 0.832 SSIM and 24.4 PSNR), despite never modifying or accessing the base model's internal layers.
- Temporal Consistency: Action-conditioned diffusion models trained from scratch frequently suffer from vanishing objects across 16 frames. AVID preserves initial-frame scene geometry throughout the trajectory.
Limitations and Future Work
- API Requirements: While AVID does not require access to base model weights, it does require intermediate noise/latent predictions at each sampling step and access to the VAE autoencoder, which many strictly consumer-facing video APIs currently hide.
- Model Specificity: Each adapter is trained to compensate for a specific base model and cannot be transferred zero-shot to a different base architecture.
- Downstream RL Validation: The paper evaluates generated video fidelity and action consistency (Action Error Ratio), but leaves actual policy optimization via model-based RL using synthetic rollouts to future work.
Summary updated