Introduction
Inpainting a single 2D image is a well-studied problem, but extending this to a 3D scene introduces significant complexity. When removing an object from a set of photos taken from different angles, the "filled-in" content must maintain strict multiview consistency—appearing identical and geometrically correct across all viewpoints.
Existing approaches typically attempt to solve this by fitting a Neural Radiance Field (NeRF) to edited images. However, these methods often suffer from persistent blurriness due to pixel-averaging across slightly misaligned views. Furthermore, they are "data-hungry," requiring dense image sets to reconstruct geometry, which makes them impractical for "few-view" scenarios where only two or three photos are available.
Methodology: Geometry-Aware Diffusion
The researchers propose a Geometry-Aware Diffusion Model that avoids explicit 3D radiance fields during generation. Instead, it leverages a learned latent space to fuse information, preserving high-frequency details that pixel-averaging would destroy. The pipeline is built on three main pillars:
- Geometry Estimation: The system uses DUSt3R, a state-of-the-art geometry estimator, to recover dense depth and camera poses directly from the image set, bypassing traditional and often finicky Structure-from-Motion (SfM) pipelines.
- Coordinate-Aligned Conditioning: Rather than relying on the model to infer 3D transforms, appearance and geometric data from reference views are projected onto the target camera's image plane. The model is guided by specific geometric cues, including front-face masks (visible pixels), back-face masks (occluded geometry), and shadow masks (uncertainty due to occlusions).
- Parallel Latent Fusion: Multiple diffusion streams run in parallel. At each denoising step, the model predicts confidence masks to determine which reference view provides the most reliable information for each pixel. This fusion in the "learned space" prevents the ghosting effects typical of pixel-averaging.
For complex, wide-baseline scenes, an autoregressive strategy is employed. The most informative views are inpainted first and then used as new references to propagate content throughout the scene.
Key Results and Insights
The core innovation is the shift from Pixel Fusion to Latent Fusion. By fusing noise estimates in the latent space based on geometric confidence, the model "picks" the best information rather than averaging it, leading to significantly crisper results.
The proposed method achieved state-of-the-art performance across several metrics:
- Sharpness: On the SPIn-NeRF dataset, it produced images with significantly higher Laplacian variance than NeRF-based baselines.
- Consistency: Using the TSED metric (which tracks feature correspondences), the method demonstrated superior geometric consistency, even compared to models using explicit 3D representations.
- Efficiency: In few-view settings (2-3 images), the model completed scenes in approximately 12 seconds per view, a massive improvement over the hour-long optimization required by NeRF-based methods.
Limitations and Future Work
While powerful, the model inherits biases from its base (Stable Diffusion v2), leading to occasional hallucinations. It is also heavily dependent on the accuracy of the external geometry estimator (DUSt3R); catastrophic failures in initial depth estimation will propagate to the final inpainting. Future directions include integrating more advanced base models like SDXL and improving global geometric alignment to further push the boundaries of 3D consistency.
Summary updated