InstaInpaint: Instant 3D-Scene Inpainting with Masked Large Reconstruction Model

Junqi You, Chieh Hubert Lin, Weijie Lyu, Zhengbo Zhang, Ming-Hsuan Yang

Introduction

The rapid advancement of Augmented Reality (AR) and Virtual Reality (VR) has created a significant demand for tools that allow users to interactively edit digitized 3D environments. Whether removing a distracting object or inserting a new one, the ability to modify a scene while maintaining geometric and textural consistency is crucial. However, current state-of-the-art methods for 3D scene inpainting, primarily based on Neural Radiance Fields (NeRFs) or 3D Gaussian Splatting (3DGS), rely on per-scene optimization. These processes typically require anywhere from 40 minutes to several hours to propagate a single edit across a scene, rendering them impractical for real-time applications.

InstaInpaint achieves 3D scene inpainting in just 0.4 seconds by processing sparse views and a reference image to produce novel views of the edited scene.

The InstaInpaint Approach

InstaInpaint introduces a paradigm shift by utilizing a feed-forward Large Reconstruction Model (LRM) that performs 3D scene inpainting in approximately 0.4 seconds—a 1000x speedup over traditional optimization-based methods. Unlike previous approaches that struggle with cross-view consistency when using 2D diffusion models frame-by-frame, InstaInpaint is a single-stage model that deduces 3D geometry and texture directly from a sparse set of input views.

Methodology

The architecture is built upon a Vision Transformer (ViT) backbone designed to predict per-pixel 3D Gaussians from four sparse input views. The core innovation lies in a two-stage training pipeline that circumvents the need for expensive "before-and-after" 3D training data:

  1. Base LRM Training: The model is initially trained for standard 3D reconstruction from sparse views.
  2. Masked Fine-Tuning: The model is adapted for inpainting through a self-supervised strategy applied to standard video clips.

During fine-tuning, the model receives four frames. One is a "reference view" (kept intact), while the others are "inpaint views" with regions masked out. The model must reconstruct the full 3D scene by propagating information from the reference view into the masked areas of the other views. To ensure robustness, the authors employ three types of masks: object masks (simulating removal), geometric masks (ensuring multi-view consistency), and random image masks (handling imperfect inputs).

Results and Performance

InstaInpaint was trained on the DL3DV-10k dataset and evaluated on SPIn-NeRF and LLFF. Despite its extreme speed, the model achieves state-of-the-art perceptual quality. On the SPIn-NeRF dataset, it recorded an LPIPS of 0.4147, outperforming optimization-based methods like MALD-NeRF (0.4240).

A result of the inpainting process showing the complete removal of foreground objects with high-fidelity background reconstruction.

Beyond simple removal, the model's ability to infer geometry from a 2D reference allows for zero-shot object insertion. By using a 2D text-to-image model to add an object to the reference view, InstaInpaint can automatically generate the corresponding 3D volume and integrate it into the scene.

Conclusion

InstaInpaint demonstrates that self-supervised masked fine-tuning on real-world videos is a powerful alternative to synthetic data for 3D tasks. By treating reconstruction as a generative process, it enables near-instantaneous 3D scene manipulation, paving the way for truly interactive AR/VR editing tools. Future work will focus on improving performance in dynamic scenes and expanding view coverage.

Summary updated

BibTeX
@inproceedings{you2025instainpaint,
  author = {Junqi You and Chieh Hubert Lin and Weijie Lyu and Zhengbo Zhang and Ming-Hsuan Yang},
  title = {{InstaInpaint: Instant 3D-Scene Inpainting with Masked Large Reconstruction Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=8EhH3A9hoP},
}
Figure