Introduction
3D scene inpainting—the process of removing objects or filling in missing parts of a 3D reconstruction—is a fundamental task for virtual and augmented reality. While 3D Gaussian Splatting (3DGS) has revolutionized real-time rendering, editing these scenes remains difficult. Existing methods typically attempt to "grow" new Gaussians from the edges of a hole or rely on 2D image inpainting to guide 3D optimization. This often leads to blurry textures due to view inconsistencies and slow optimization because the model lacks precise knowledge of surface geometry.
InFusion addresses these challenges by identifying that the "crux" of the problem is initialization. By accurately predicting the 3D geometry of the missing area before training begins, the process becomes significantly faster and more accurate.
Methodology
The core of InFusion is a pipeline that treats 3D inpainting as a depth completion problem driven by a diffusion prior. The process follows several key steps:
- Point Removal: Unwanted Gaussians are segmented and removed based on a user-provided mask.
- 2D Reference Inpainting: A reference view is selected, and a standard 2D inpainting model (like SDXL) fills in the color image.
- Diffusion-based Depth Completion: The researchers trained a custom U-Net on top of a pre-trained Latent Diffusion Model (LDM). This model takes the incomplete depth map, the inpainted color image, and the mask to predict a complete, geometrically consistent depth map.
- Point Cloud Initialization: The inpainted image and depth are "unprojected" into 3D space to create a colored point cloud, serving as the initial positions for new 3D Gaussians.
- Rapid Fine-tuning: Because points are placed accurately on estimated surfaces, the model requires only a small number of iterations (~100) to harmonize new points with the scene.
Key Insights
- Depth as the Anchor: 2D diffusion models already possess an implicit understanding of 3D geometry. By fine-tuning these models for depth completion rather than just color, InFusion extracts a robust geometric prior that aligns perfectly with existing 3D scenes.
- Initialization Trumps Iteration: In 3DGS, final render quality is highly sensitive to starting positions. By placing points on the inferred surface immediately, InFusion bypasses the complex "densification" and "pruning" steps that slow down other methods.
- Affine-Invariant Normalization: To handle varying depth scales across different scenes, the authors used a normalization technique based on depth percentiles, allowing the model to focus on object shape rather than absolute distance.
Results and Evaluation
InFusion demonstrates a staggering 20x speedup over previous state-of-the-art methods. It completes a scene in approximately 40 seconds, compared to ~20 minutes for Gaussian-Grouping and ~5 hours for NeRF-based methods like SPIn-NeRF.
Quantitatively, InFusion achieved top scores in perceptual metrics on the SPIn-NeRF benchmark (LPIPS: 0.421; FID: 92.62). Beyond simple object removal, the framework supports user-interactive texture editing and seamless object insertion.
Conclusion
InFusion provides a highly efficient and photorealistic solution for 3D Gaussian inpainting. While it faces some challenges with lighting consistency in inpainted regions and complex 360-degree object generation, its use of diffusion-based depth completion sets a new standard for rapid 3D scene editing. Future work may involve integrating more advanced view-consistent diffusion models to further enhance multi-angle harmony.
Summary updated