Generating a video where you can "steer" the camera is a holy grail for AI-driven filmmaking and robotics. While we’ve seen impressive progress in camera-controllable video generation, most models suffer from a form of "digital amnesia." They can look at a few frames to keep the motion smooth, but if the camera pans away and then returns to a previous spot, the scene has often morphed into something entirely different.
A new paper from researchers at KAIST, Sony AI, and ETH Zurich, titled "3D Scene Prompting for Scene-Consistent Camera-Controllable Video Generation," introduces a framework called 3DScenePrompt to solve this. By rethinking how models reference past content, they’ve enabled AI to generate long, consistent videos that respect the underlying 3D geometry of the world.
TL;DR
3DScenePrompt enables long-range, camera-controllable video generation by using a "3D scene memory" that stores only the static parts of a scene. By projecting this memory onto new camera paths as "spatial prompts," the model maintains perfect scene consistency even when revisiting old locations, while allowing dynamic objects (like people) to move naturally.
What Problem Does This Paper Address?
Current video-to-video (V2V) and image-to-video (I2V) models typically use a "sliding window" approach. They look at the last 3–9 frames to decide what happens next. This works well for short-term motion but fails at long-range spatial consistency.
If you’re "filming" a kitchen and the camera moves into the living room and then back to the kitchen, a standard model will likely hallucinate a completely different kitchen. Furthermore, if you try to force the model to remember everything from the past, you run into two major roadblocks:
- Computational Complexity: Attention mechanisms scale quadratically with sequence length, making it too expensive to reference a long history of high-resolution frames.
- Temporal Contradictions: If you simply "warp" an old frame where a person was standing at the sink, the model might try to "freeze" that person there in the future, even if they should have moved away.
Methods
The core innovation of 3DScenePrompt is Dual Spatio-Temporal Conditioning. The model doesn't just look at the last few frames; it looks at the spatially closest frames from the entire history.
1. The 3D Scene Memory
Instead of storing raw frames, the authors build a 3D representation of the static environment.
- Dynamic SLAM: They use SLAM (Simultaneous Localization and Mapping) to estimate camera poses and map the 3D structure.
- Dynamic Masking Strategy: This is a crucial three-stage pipeline. It uses optical flow to find moving pixels, SAM2 (Segment Anything Model 2) to identify objects, and CoTracker3 to track those objects backward and forward through time. This allows them to "cut out" moving people or objects, leaving a clean, static 3D point cloud of the background.
2. 3D Scene Prompting
When the user specifies a new camera trajectory, the system projects the static 3D memory onto those new viewpoints. These projected images act as spatial prompts. They aren't the final video; they are "guides" that tell the Diffusion Transformer (DiT) where the walls, floors, and furniture should be.
3. Architecture
The framework is built on top of CogVideoX-I2V-5B. They repurposed the existing image conditioning channels to accept a concatenation of the "temporal" context (the last few frames for motion continuity) and the "spatial" context (the projected 3D prompts for scene consistency).
Key Insights and Ideas
- Adjacency is Spatio-Temporal: In video, "nearby" doesn't just mean "happened a second ago." It also means "looking at the same spot." By treating spatial proximity as a first-class conditioning signal, the model gains a sense of permanent world-space.
- Static/Dynamic Separation is Mandatory: You cannot achieve long-term consistency in a dynamic world by treating all pixels the same. By explicitly masking out dynamic objects during the 3D construction phase, the model avoids "ghosting" artifacts where moving objects appear frozen in the background.
- Soft Guidance vs. Hard Constraints: The 3D prompts act as "soft" guides. This allows the diffusion model to fill in occluded areas (parts of the room previously hidden by a person) and evolve the dynamic elements (the person walking) naturally through temporal context.
Key Results
The model was evaluated on diverse datasets (RealEstate10K, OpenVid-1M, DynPose-100K, DAVIS) and compared against state-of-the-art baselines like DFoT and CameraCtrl.
- Geometric Consistency: On the MEt3R metric (which measures multi-view alignment), 3DScenePrompt reduced error by 77% compared to the previous best method (0.041 vs 0.181).
- Video Quality: It achieved a Frechet Video Distance (FVD) of 127.47, significantly outperforming FloVD (171.26) and MotionCtrl (1017.42).
- Camera Control: It demonstrated much lower rotation and translation errors, meaning the generated video followed the user's requested camera path much more accurately than existing models.
Limitations and Future Work
- Preprocessing Latency: Building the 3D memory requires running SLAM and a complex masking pipeline. Using MegaSAM for this takes about 4 minutes per clip. However, the authors note that swapping in DepthAnything v3 can reduce the SLAM processing time to just 10 seconds.
- Mask Fidelity: The quality of the final video is still somewhat dependent on the quality of the dynamic masks. If the mask misses a small moving object, it might get baked into the "static" 3D memory.
- Long-term Drift: While much better than baselines, extremely long sequences (hundreds of frames) can still suffer from the standard "drift" or error accumulation common in autoregressive generation. The authors suggest dedicated refinement modules as a future direction.
Summary updated