TL;DR
TrajectoryCrafter introduces a novel diffusion model that allows users to precisely control and redirect camera trajectories in monocular videos, generating high-fidelity, temporally consistent content. This is achieved by disentangling view transformations from content generation and leveraging a dual-stream conditioning approach with point cloud renders and source video information.
What Problem Does This Paper Address?
Creating dynamic, immersive video experiences often requires controlling camera movement. However, traditional methods for novel view synthesis from monocular videos struggle with precise trajectory control, temporal consistency, and often rely on scarce multi-view data or produce artifacts in occluded regions. Existing video diffusion models, while powerful for generating realistic content, haven't been effectively adapted to allow fine-grained control over camera paths in dynamic scenes. This paper aims to bridge this gap by enabling users to specify arbitrary camera trajectories for monocular videos while maintaining high visual quality and 4D consistency.
Methods
The core of TrajectoryCrafter is a dual-stream conditional video diffusion model. This model tackles two main challenges:
- Precise Trajectory Control: To achieve this, the approach disentangles view transformation from content generation. It first lifts the input monocular video into a dynamic point cloud by estimating depth maps. This point cloud then serves as a basis for rendering novel views according to a user-specified camera trajectory. These rendered views, along with their associated masks (to handle occlusions and out-of-frame regions), act as explicit geometric cues for the diffusion model.
- Coherent 4D Content Generation: The diffusion model uses a dual-stream conditioning mechanism.
- Point Cloud Stream: This stream uses the rendered novel views and masks to guide the diffusion process, ensuring accurate view transformations.
- Source Video Stream: To inject detailed appearance information and improve consistency, the source video is encoded into "reference tokens." A novel Ref-DiT (Reference-conditioned Diffusion Transformer) block is introduced. This block uses cross-attention to fuse the reference tokens from the source video with the view tokens derived from the point cloud renders. This allows the model to transfer detailed, albeit potentially misaligned, information from the source video to the generated frames, enhancing fidelity and consistency.
The model is built upon the CogVideoX architecture, leveraging its 3D VAE for compression and a Diffusion Transformer (DiT) for denoising.
Datasets
The paper emphasizes the importance of diverse training data for robust generalization. They curate a hybrid dataset by combining:
- Web-scale Monocular Videos: Using a novel double-reprojection strategy to simulate point cloud renders from monocular videos with estimated depth. They utilize the OpenVid-1M dataset for this.
- Static Multi-view Datasets: Employing advanced reconstruction methods to generate training triplets (source video, target video, point cloud render). They use the DL3DV and RealEstate10K datasets.
For evaluation, they use:
- The iPhone dataset (a multi-view dataset) for quantitative evaluation using PSNR, SSIM, and LPIPS.
- A newly compiled in-the-wild video benchmark (VBench), consisting of 100 real-world monocular videos and 60 T2V-generated videos, evaluated using metrics like Subject Consistency, Background Consistency, and Overall Consistency.
Key Insights and Ideas
- Disentangling View Transformation and Content Generation: This is a crucial insight. By explicitly modeling view transformations via point clouds, the model gains precise control, while the diffusion model focuses on generating realistic content that aligns with these transformations.
- Dual-Stream Conditioning is Key: Combining explicit geometric cues (point clouds) with rich appearance information (source video) through a novel Ref-DiT block is essential for achieving both accurate camera control and high-fidelity, consistent video generation.
- Hybrid Data Curation for Generalization: The success of the model hinges on training with a diverse dataset. Combining large-scale monocular data with static multi-view data, using innovative strategies like double-reprojection, significantly boosts generalization to unseen scenes.
- Ref-DiT Block's Role: The Ref-DiT block is critical for effectively transferring information from the source video to the generated frames, overcoming limitations of point cloud renders (holes, distortions) and direct concatenation (misalignment).
Key Results
- Quantitative Performance: TrajectoryCrafter consistently outperforms baselines like GCD and ViewCrafter across various metrics (PSNR, SSIM, LPIPS, and VBench scores) on both multi-view and in-the-wild datasets. For instance, on the iPhone dataset, their method achieves a PSNR of 14.24, SSIM of 0.417, and LPIPS of 0.519, outperforming others.
- Qualitative Results: The generated videos exhibit high fidelity, precise alignment with user-specified camera trajectories, and strong temporal and 4D consistency with the source video, even in challenging scenarios. Qualitative comparisons show significantly fewer artifacts and better detail preservation compared to baselines.
- Ablation Studies: These studies confirm the effectiveness of the Ref-DiT blocks and the hybrid training data strategy, demonstrating significant improvements in content consistency and handling of occlusions/distortions.
Limitations and Future Work
- Large-Range Trajectories: The model struggles with synthesizing very large-range trajectories (e.g., 360-degree viewpoints) due to limitations in 3D cues from monocular input and the constrained generation length of diffusion models.
- Depth Estimation Errors: Inaccuracies in monocular depth estimation can propagate and lead to physically implausible behaviors in the generated videos.
- Computational Overhead: As a video diffusion model, inference involves multi-step denoising, leading to relatively high computational costs.
Future work could focus on extending the range of controllable trajectories, improving robustness to depth estimation errors, and optimizing inference speed.
Summary updated