Abstract: Recent approaches to controllable 4D video generation often rely on fine-tuning pre-trained Video Diffusion Models (VDMs). This dominant paradigm is computationally expensive, requiring large-scale datasets and architectural modifications, and frequently suffers from catastrophic forgetting of the model's original generative priors. Here, we propose InverseCrafter, an efficient inpainting inverse solver that reformulates the 4D generation task as an inpainting problem solved in the latent space. The core of our method is a principled mechanism to encode the pixel space degradation operator into a continuous, multi-channel latent mask, thereby bypassing the costly bottleneck of repeated VAE operations and backpropagation. InverseCrafter not only achieves comparable novel view generation and superior measurement consistency in camera control tasks with near-zero computational overhead, but also excels at general-purpose video inpainting with editing. Code is available at https://github.com/yeobinhong/InverseCrafter.
Introduction: The Latent Gap in Video Generation
Generating dynamic 4D scenes with precise camera control—such as zooming while arcing—remains a significant challenge. While Video Diffusion Models (VDMs) excel at generation, controlling them typically requires either expensive fine-tuning, which risks catastrophic forgetting of generative priors, or slow inverse solvers that rely on backpropagation through the model during inference.
A critical limitation in existing inverse solvers is the "latent gap." These methods often treat the VAE latent space as a downsampled version of pixel space, applying simple binary masks. However, VAE latent channels encode heterogeneous features non-linearly. Naive resizing of masks leads to information loss and visual artifacts like ghosting or blurring.
Methodology: Solving the Inverse Problem in Latent Space
InverseCrafter reformulates 4D generation as a latent-domain inpainting problem. Instead of binary masks, it introduces a Continuous Latent Mask ($h$). This multi-channel mask respects the VAE's feature encoding, preserving fine-grained information across channels.
The framework offers two strategies for mask generation:
- Learned Mask Encoder ($P_\phi$): A lightweight (1.5M parameters) network trained on a "double-reprojection" dataset (derived from VidSTG) to map pixel-space degradation to the latent space.
- Training-free Projection: A zero-shot alternative that computes the mask by comparing latent encodings of clean and warped source frames.
By ensuring the mask operation is linear in the latent space (via Hadamard product), InverseCrafter utilizes efficient Conjugate Gradient (CG) iterations within a Decomposed Diffusion Sampling (DDS) framework. This avoids the "costly bottleneck" of decoding to pixels or calculating gradients through the VDM (e.g., Wan2.1) during inference.
Experimental Evaluation
The authors evaluated InverseCrafter on the UltraVideo dataset for camera control and the DAVIS dataset for video inpainting and editing, with target prompts generated by GPT-5-mini to ensure complexity.
Efficiency and Speed
InverseCrafter achieves near-zero computational overhead. Generating a video takes approximately 71 seconds, nearly identical to the base VDM's inference time (70s). In comparison, methods like NVS-Solver (696s) and ReCamMaster (926s) are significantly slower due to their reliance on backpropagation.
Qualitative and Quantitative Performance
InverseCrafter outperforms both training-based and training-free baselines in measurement consistency (PSNR, SSIM) and source consistency (DINO distance).
Qualitatively, the method avoids common artifacts such as "ghosting" in trees or blurring of faces during complex camera trajectories. It also demonstrates robust semantic editing capabilities, such as replacing a "goldfish" with a "turtle" while maintaining perfect background consistency.
Conclusion and Limitations
InverseCrafter provides a principled and efficient solution for controllable video generation. By addressing the latent gap with continuous masks, it enables high-fidelity video recapture without the need for extensive training or slow inference-time optimization.
However, the method's performance is currently bound by the accuracy of monocular depth estimation (using DepthCrafter) and the specific VAE architecture used for the learned encoder. Future work aims to make the mask encoder more architecture-agnostic and further reduce the total diffusion sampling time.
Summary updated