3D scene inpainting is essential for reconstructing areas corrupted by occlusions or limited viewpoints. While recent methods leverage Gaussian Splatting (GS) for efficient 3D editing, they often depend on precise multi-view segmentation masks and are inherently constrained to object removal tasks. We propose CoIn, a novel framework that bridges 2D inpainting models and 3DGS through a multi-stage consistency pipeline. Our approach first generates initial inpainted images using a diffusion model, enabling the use of arbitrary-shaped masks and diverse tasks like object insertion. We then introduce Reference Adaptive GS with Feature Attention to reconstruct a coarse 3D scene by adaptively weighing towards a reference view (2D → 3D). This 3D representation provides geometric guidance to the diffusion process via GS-based Reference Feature Warping, ensuring multi-view consistency (3D → 2D). Finally, a Texture-Enhancing Discriminator refines the 3D scene to achieve high photometric realism (2D → 3D). Experiments show that CoIn, effectively leveraging bidirectional information flow, achieves state-of-the-art performance and effectively handles both object removal and object insertion with flexible mask input.
Table 1: Quantitative evaluation on the SPIn-NeRF dataset. Note that m-LPIPS and m-FID represent the LPIPS and FID scores within the ground truth segmentation masks. BB mask denotes a bounding-box mask derived from the segmentation mask. The top three results are highlighted in red, orange, and yellow, respectively.
| 3D Representation | Mask Type | Method | m-LPIPS (↓) | LPIPS (↓) | m-FID (↓) | FID (↓) |
|---|---|---|---|---|---|---|
| NeRF | Seg mask | SPIn-NeRF | 0.053 | 0.31 | 153.4 | 49.6 |
| MVIP-NeRF | 0.050 | 0.31 | 173.4 | 50.5 | ||
| MALD-NeRF | 0.031 | 0.30 | 113.5 | 44.7 | ||
| Gaussian Splatting | Gaussian Grouping [43] | 0.037 | 0.26 | 132.5 | 44.9 | |
| 3DGIC | 0.028 | 0.26 | 96.3 | 36.4 | ||
| GScream | 0.032 | 0.26 | 86.1 | 31.2 | ||
| Ours (CoIn) | 0.032 | 0.23 | 80.4 | 28.9 | ||
| BB mask | 3DGIC | 0.047 | 0.38 | 168.0 | 104.1 | |
| GScream | 0.043 | 0.29 | 104.6 | 34.2 | ||
| Ours (CoIn) | 0.033 | 0.24 | 95.1 | 26.6 |
You can verify more quantitative and qualitative results in the paper.
@inproceedings{kim2026coin,
title={CoIn: Comprehensive 2D-3D Inpainting with Gaussian Splatting Guidance},
author={Kim, Hana and Kim, Minje and Kim, Tae-Kyun},
booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
year={2026}
}