GibbsLens: Training-Free Camera Control via Block-Conditional Gibbs Refinement

Yuzhu Wang, Xi Ye, Duo Su, Yangyang Xu, Jun ZhuNeurIPS 2026

TL;DR

Want a pretrained AI video generator to follow a specific 3D camera path without spending thousands of GPU hours fine-tuning it? Existing "training-free" hacks force an ugly compromise between following the camera path and keeping the video free of tearing artifacts. GibbsLens breaks this trade-off by redesigning the sampling loop itself—using localized statistical refinement to let unseen parts of a scene naturally settle around imperfect 3D projections, achieving crisp camera control and best-in-class visual quality out of the box.

What Problem Does This Paper Address?

Directing camera movement in generative video models (like diffusion or flow-matching networks) is notoriously tricky because camera motion is deeply tangled up with object motion and scene geometry. While you can fine-tune a model on paired trajectory-video datasets, that requires expensive pipelines for every new model.

Training-free methods bypass training altogether. Standard practice takes a starting image or video, estimates its 3D depth, reprojects the pixels along your desired camera path to create a "warped guidance video," and feeds that into the generator during inference. Because moving the camera reveals occluded areas, this warped guide has missing holes—plus noisy edges from imperfect depth estimates.

Sampling then becomes a tug-of-war between two forces:

  1. The Posterior (Guidance): Pulls the generation toward the warped guide. Pull too hard (e.g., hard-overwriting latent pixels), and you nail the camera trajectory, but bake in ugly seams and depth hallucinations.
  2. The Prior (Pretrained Model): Keeps the video looking natural, but loosens adherence to your camera path.

Existing methods try to balance this by heuristically tuning a scalar "guidance strength" knob, which rarely generalizes well across scenes.

Methods

Instead of fiddling with a guidance-strength scalar, GibbsLens changes the structure of the flow-matching sampler.

At each outer denoising step, GibbsLens starts with standard hard masked replacement—overwriting the visible regions with the warped latent to lock in tight camera control. To fix the resulting boundary clashes and fill in the missing (unobserved) regions coherently, it runs an inner conditional pseudo-Gibbs refinement loop at that exact same noise level:

  • Perturb-and-Redenoise: Holding the observed regions pinned to a freshly noised version of the warped guide, the sampler repeatedly adds noise to the unobserved regions and runs the pretrained denoiser. Mathematically, this forms a Markov chain that provably converges to the true conditional data distribution given the partial observation.
  • 3D Block-Conditional Patching & Freezing: Video latents are huge (~$10^5$ sites), so running a global Markov chain mixes far too slowly. Because video latents turn out to have short-range conditional dependencies, the authors slice the unobserved space into 3D spatio-temporal patches. Each patch tracks its own running variance (via Welford's online algorithm) and adaptively freezes once its fluctuations settle down, allowing an early exit from the inner loop.
  • Polyak-Averaged Readout: Rather than handing the noisy final inner iterate to the outer Euler step, it averages the inner iterates to reduce variance.
2D checkerboard toy example showing GibbsLens locking onto true conditional modes where standard guidance blurs across the constraint line.

Datasets

Because GibbsLens is training-free (built atop the public Wan 2.2 5B flow-matching backbone), no training datasets are used. Evaluation is conducted on two standard benchmarks (no new benchmarks are introduced):

  • RealEstate10K: 200 randomly sampled static indoor/outdoor test scenes with paired reference views.
  • DAVIS: 84 videos created by applying three controlled camera trajectories of varying angles across 28 dynamic scenes.

Key Insights and Ideas

  • Video latents are conditionally local: By measuring block partial correlations in Wan 2.2's VAE latent space, the authors show that tokens separated by more than 2 grid steps along height, width, or time are nearly conditionally independent given their neighbors (an approximate order-2 Markov property). Distant pixels still correlate globally, but only through chains of local neighbors—which mathematically justifies updating and freezing 3D patches independently!
Figure 2: Top canonical partial correlation ρ1( bRβγ) along the H, W, L axes of the Wan 2.2 latent (N =200 encoded videos). Off-diagonal mass concentrates within |β −γ|≤2.
  • Inner-loop refinement beats global recurrence: On a 2D checkerboard toy test, spending compute only inside the unobserved sub-state locks cleanly onto multi-modal targets and strictly dominates global recurrence methods at every matched compute budget.
  • Complementary Variance Control: Ablations reveal a neat synergy: Polyak averaging smooths out noise to boost visual quality (FVD) at a slight cost to sharp pose alignment, while patch-freezing locks in converged regions early to protect rotation accuracy. Combining them yields a massive jump in both.

Key Results

Across both static and dynamic benchmarks, GibbsLens outperforms all four training-free baselines on every single metric, and achieves the best visual quality (FVD and human-preference proxy VR-Overall) against all seven training-free and training-based competitors:

  • RealEstate10K (Static): Drops FVD to 129.25 (a 17.7% reduction over the best baseline, Coarse-Guided at 157.08) and FVMD (motion consistency) by 18.2% to 1314.96, while taking 1st place in trajectory translation error (ATE: 3.49 cm).
  • DAVIS (Dynamic): Achieves the best FVD (356.73 vs. WorldForge's 383.53) and FVMD (8782.67). Only ReCamMaster—an end-to-end pose-trained model—beats its camera pose errors, but ReCamMaster suffers severe visual degradation on dynamic objects (FVD 670.42).
  • Compute: Generating a 49-frame $720\times1280$ video on an NVIDIA A40 takes 413s (up to 78 function evaluations) and ~26.17 GiB VRAM—slower than simple replacement (TTM at 227s), but faster than RePaint (472s) and WorldForge (751s) with virtually zero extra memory overhead.

Limitations and Future Work

  • Backbone Calibration: While convolutional VAEs naturally induce local Markov properties, the exact "order-2" patch sizing was measured specifically on Wan 2.2 and must be re-verified when porting to new video backbones.
  • Garbage-In Warping: Because the outer loop trusts the depth-warped guide, severe monocular depth estimation failures will still degrade conditioning—a bottleneck shared by all warp-based methods.
  • Wall-Clock Bottlenecks: Even when 80% of patches freeze early, standard Diffusion Transformer (DiT) global attention still runs a full forward pass over all tokens. Future work aims to pair patch-freezing with sparse attention or KV-caching to turn frozen tokens into massive wall-clock speedups, and extend the sampler to video inpainting and super-resolution.

Summary updated

Abstract

Training-free camera control for pretrained flow-matching video generators is a partial-observation inverse problem: a depth-warped guidance video supplies noisy evidence on a subset of latent sites, which the sampler must reconcile with the pretrained prior. Existing methods struggle to balance the trade-off between trajectory adherence and visual quality and the heuristic guidance-strength tuning lacks robustness. We propose GibbsLens, which resolves this dilemma through a structural change to the sampler: each outer hard-replacement guidance step is augmented with an inner-loop block-conditional pseudo-Gibbs refinement on the unobserved complement at the same noise level, with provable convergence to the partial-observation conditional data law. To accelerate convergence on high-dimensional video latents, we exploit their conditional locality, partitioning the unobserved complement into 3D patches, each tracked by a custom mixing indicator that adaptively freezes converged patches. On RealEstate10K and DAVIS, GibbsLens attains the best FVD against all seven training-free and training-based competitors, outperforming every training-free baseline on every reported metric. Project page: https://xiye20.github.io/projects/GibbsLens/.
BibTeX
@inproceedings{wang2026gibbslens,
  author = {Yuzhu Wang and Xi Ye and Duo Su and Yangyang Xu and Jun Zhu},
  title = {{GibbsLens: Training-Free Camera Control via Block-Conditional Gibbs Refinement}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=1URtIBjIQ0},
}
Figure