Real2SAM2Real: Generative 3D Caches as Complementary Context for Video Diffusion

Project Page Paper Hugging Face Code Video

Jiayi Wu*, Haoming Cai*, Cornelia Fermuller, Christopher Metzler, Yiannis Aloimonos

University of Maryland, College Park  Β·  *Equal contribution

TL;DR

Real2SAM2Real is a 3D-aware video generation framework that integrates a generative 3D cache to provide video diffusion models (VDMs) with instance-complete geometric guidance. This enables precise, decoupled control over both camera trajectories and multi-entity motions, preventing structural collapse under complex camera shifts and severe occlusions. By fully decoupling geometry and appearance conditions, it remains robust even for non-Lambertian surfaces, fluids, and other complex phenomena.

Overview

Teaser figure

Real2SAM2Real is a 3D controllable video generation framework featuring an explicitly editable 3D cache that enables precise control over both cameras and scenes. Existing methods predominantly rely on implicit diffusion priors to generate unobserved regions, which often leads to structural collapse during high-dynamic movements or complex occlusions. Our framework leverages 3D lifting models (e.g., SAM3D) to extract an explicitly editable 3D cache that serves as a robust geometric scaffold for the VDM. By capturing the entire 3D volume of foreground entities rather than just their visible shells, this cache injects holistic spatial priors into the VDM and provides dependable 3D-aware guidance for complex scene dynamics.

To effectively leverage this 3D guidance while preserving pre-trained priors, we design a Soft Spatial-Aligned Injection mechanism together with a minimally invasive fine-tuning strategy tailored for VDMs. We further employ masked normal maps as a cross-modal bridge to construct a 3D-free data curation and perturbation pipeline. Extensive experiments show that Real2SAM2Real enables precise, decoupled control over camera trajectories and multi-entity motions, maintains spatiotemporal consistency under large camera shifts and severe occlusions, and eliminates perspective ambiguities caused by structural holes, erroneous facades, reflections, and refractions.

Model Files

This repository contains the inference checkpoint used to reproduce the results shown on the project page.

checkpoint-infer/
β”œβ”€β”€ lora_diffusion_pytorch_model.safetensors                        # LoRA weights (diffusers)
β”œβ”€β”€ lora_diffusion_pytorch_model_compatible_with_comfyui.safetensors # LoRA weights (ComfyUI-compatible)
└── pose_patch_embedding.safetensors                                 # Pose patch embedding module

Refer to the code repository for loading and inference instructions.

Citation

@article{wu2025real2sam2real,
  title   = {Real2SAM2Real: Generative 3D Caches as Complementary Context for Video Diffusion},
  author  = {Wu, Jiayi and Cai, Haoming and Fermuller, Cornelia and Metzler, Christopher and Aloimonos, Yiannis},
  journal = {arXiv preprint arXiv:2606.00299},
  year    = {2025}
}
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for JiayiWuLeo/Real2SAM2Real

Finetuned
(7)
this model

Paper for JiayiWuLeo/Real2SAM2Real