InverseCrafter: Efficient Video ReCapture as a Latent Domain Inverse Problem

Yeobin Hong, Suhyeon Lee, Hyungjin Chung, Jong Chul Ye

TL;DR

InverseCrafter is a novel, training-free framework that reformulates controllable 4D video generation and camera movement as an inpainting inverse problem solved entirely within the latent space of Video Diffusion Models (VDMs). By projecting pixel-space occlusion masks into continuous, multi-channel latent masks, it eliminates the need for expensive VAE decoding loops or backpropagation, achieving precise camera control and high-fidelity video editing with virtually zero computational overhead.

What Problem Does This Paper Address?

Controllable 4D video generation—such as modifying camera trajectories (re-angling) or performing text-guided video editing—is a frontier challenge in computer vision. The dominant paradigm relies on fine-tuning pre-trained Video Diffusion Models (VDMs) on specific camera parameters or 3D datasets. However, fine-tuning is computationally demanding, requires massive datasets, and often triggers "catastrophic forgetting," destroying the VDM's rich, pre-trained generative priors.

Alternative training-free approaches treat video re-angling as an inverse problem where warped video frames act as sparse measurements. Yet, existing diffusion inverse solvers face a major bottleneck: they either require expensive backpropagation through the VDM at every denoising step (e.g., Diffusion Posterior Sampling) or naively downsample binary pixel-space masks into the latent space. Because modern 3D VAEs compress video both spatially and temporally, simple binary resizing assumes that spatial structures are perfectly preserved across non-linear latent channels. In reality, this assumption fails, leading to severe boundary artifacts, information loss, and poor temporal consistency.

Methods

InverseCrafter introduces a principled mechanism to solve this non-linear inpainting task entirely within the latent space. The framework consists of two core components:

  1. Generating Continuous Latent Masks: Instead of uniformly broadcasting a single-channel binary mask across all latent dimensions, InverseCrafter models the mask as a continuous, $C$-channel latent representation ($h$) that respects the VAE’s channel-dependent feature distributions. The authors propose two ways to obtain this mask:
  2. Learned Mask Encoder ($\mathcal{P}_\phi$): A lightweight neural network trained via a "double-reprojection" strategy to predict the ground-truth latent mask directly from pixel-space measurements using a combination of $L_1$ and SSIM losses.
  3. Training-Free Projection: An on-the-fly alternative that approximates the latent mask by computing the normalized difference between the latent encodings of the clean source video and the warped/masked video.
  4. Latent Domain Inverse Solver: With a continuous linear mask established, the authors leverage Decomposed Diffusion Sampling (DDS). This reformulates the data consistency step into a proximal optimization problem solved efficiently via a small number of Conjugate Gradient (CG) iterations directly in the latent space. This completely bypasses the costly loop of VAE encoding/decoding and backpropagation at every sampling step.
Figure 3. Overview of InverseCrafter. (a) Pϕ is trained to project the pixel space degradation operator to the latent domain. (b) During inference, zt is optimized at each t to enforce data consistency Eq. (8), the latent mask derived from either Pϕ or the training-free alternative.

Datasets

  • Training (Mask Encoder): VidSTG, consisting of 7,750 videos. The authors generated 6 double-reprojection camera trajectories per video, resulting in a total of 46,500 training samples.
  • Evaluation (Camera Control): UltraVideo, utilizing 1,000 videos paired with text captions across six target camera trajectories.
  • Evaluation (Text-Guided Inpainting): DAVIS, using 20 videos with foreground object masks, paired with target editing prompts generated via GPT-5-mini.

Key Insights and Ideas

  • Latent Channels are Heterogeneous: A key "aha" moment of the paper is demonstrating that different channels in a VAE's latent space encode highly distinct feature representations. Treating an occlusion mask as a uniform binary block across all channels causes massive information loss. A continuous, multi-channel mask preserves these distinct feature boundaries.
  • Linearizing the Non-Linear: While the VAE mapping itself is non-linear, predicting a continuous latent mask allows the downstream inverse problem to be treated linearly within the latent space, opening the door to fast, backpropagation-free linear solvers like DDS.
  • Balancing Prior vs. Measurement: The conjugate gradient hyperparameter $\alpha$ acts as a precise control knob. Applying data consistency earlier in the diffusion process (larger $\alpha$) enforces strict fidelity to the source video, while delaying it (smaller $\alpha$) allows the VDM's generative prior to produce more creative, visually refined content.
Figure 2. (a) Prior work naively downsamples the pixel space mask via spatio-temporal interpolation. This process results in a single-channel, binary mask that is uniformly broadcast across all C latent channels, ignoring their distinct feature representations and leading to information loss. (b) InverseCrafter computes a continuous, C-channel latent mask, enabling efficient latent-space guidance.

Key Results

  • Negligible Runtime Overhead: InverseCrafter performs inference in 71 seconds, which is virtually identical to the base VDM's unconditioned generation time (70 seconds). In comparison, optimization-based methods like NVS-Solver take 696 seconds.
  • Superior Fidelity: On camera control tasks, InverseCrafter achieved a measurement PSNR of 28.95 and an FVD of 102.46, outperforming both training-free baselines (e.g., Zero4D's FVD of 2524.49) and fine-tuned models (e.g., TrajAttention's PSNR of 19.44).
  • Text-Guided Editing: In video editing benchmarks, the training-free variant achieved the lowest Fréchet Video Distance (1422.72) and highest Vision-Language Model (VLM) faithfulness score (0.6510), successfully generating complex target objects (like replacing a soccer ball with a volleyball) while maintaining strict background consistency.

Limitations and Future Work

  • Diffusion Step Bottleneck: Although the method adds near-zero overhead to the generation process, its overall speed remains bounded by the multi-step nature of standard diffusion sampling.
  • Upstream Dependencies: The initial warping stage relies heavily on the accuracy of an off-the-shelf monocular depth estimation model (DepthCrafter). Inaccurate depth maps can propagate geometric artifacts into the final video.
  • Architecture Specificity: While the training-free projection variant is entirely model-agnostic, the learned mask encoder ($\mathcal{P}_\phi$) must be trained separately for each specific VAE architecture.

Summary updated

BibTeX
@misc{hong2025inversecrafter,
  author = {Yeobin Hong and Suhyeon Lee and Hyungjin Chung and Jong Chul Ye},
  title = {{InverseCrafter: Efficient Video ReCapture as a Latent Domain Inverse Problem}},
  year = {2025},
  eprint = {2512.05672},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.05672},
}
Figure