Shape Atlas
English
Back to paper index

3D generation research index

Inpaint3D

Inpaint3D: 3D Scene Content Generation using 2D Inpainting Diffusion

Kira Prabhu, Jane Wu, Lynn Tsai, Peter Hedman, Dan B Goldman, Ben Poole et al. ·

One-minute overview

Inpaint3D fills a masked 3D scene region by optimizing a shared neural radiance field. A frozen image inpainting model guides synthesis inside the mask, and captured images supervise reconstruction elsewhere.

Research problem and inputs and outputs

Inputs
Calibrated images of a static scene and a mask defining the region to edit, represented in each image as a ray mask.
Outputs
An optimized scene NeRF that renders RGB images and depth maps for new viewpoints.

Original architecture figure

Figure 2 · arXiv:2312.03869v1

Static scene views and a 3D mask feed a shared NeRF. Reconstruction supervises visible pixels, diffusion guides masked pixels, and the field renders RGB and depth.

Credit · Kira Prabhu et al.

The authors’ overview shows how a 3D mask divides image rays between observed-color reconstruction and score distillation from a frozen 2D inpainting model.

Method step by step

  1. Author report

    The authors sample rays from calibrated input views and apply an RGB reconstruction loss to unmasked pixels.

    §4.1 · Fit observed pixels
  2. Author report

    The optimizer renders patches overlapping the mask. A frozen diffusion model sees a noisy rendered patch and its masked-image condition. Score distillation updates the NeRF through the masked pixels.

    §4.1 · Distill an image prior into masked regions
  3. Author report

    The objective combines distortion and interlevel losses with a patch-based depth smoothness term weighted using predicted color.

    §4.1 · Regularize the shared field

Key design choices

  • Author report

    The optimizer starts with reconstruction and initially selects diffusion views within a small baseline before broadening the sampling. Early diffusion updates can use a diffuse-only rendering, with view-dependent appearance introduced later.

    §4.2 · Stage the per-scene optimization

How to read the experiments

  • Datasets and protocol

    Author report

    The authors train the image prior on RealEstate10k and use held-out scenes to evaluate 3D inpainting. For object removal they evaluate on the SPIn-NeRF dataset, which includes reference views captured after the object was removed.

    §5.2 · RealEstate10k and SPIn-NeRF
  • Baselines

    Author report

    The authors compare with SPIn-NeRF and separately illustrate a two-stage baseline that inpaints each image independently before fitting a NeRF.

    §5.5 · Compare joint optimization with existing alternatives
  • Metrics

    Author report

    The authors evaluate a bounding box around the inpainted region. Table 1 reports PSNR and SSIM as higher-is-better, and LPIPS and FID as lower-is-better.

    §5.5 · Measure the region surrounding the mask
  • Results

    Author report

    Inpaint3D reports an SSIM of 0.463 and LPIPS of 0.515. SPIn-NeRF reports 0.351 and 0.540.

    Table 1 · SSIM and LPIPS on object removal
  • Trade-offs

    Editorial reading

    The same comparison reports PSNR 17.37 and FID 226.04 for Inpaint3D versus 17.40 and 194.67 for SPIn-NeRF. The SSIM and LPIPS improvements coexist with lower PSNR and higher FID.

    Table 1 · Mixed results across metrics

Limitations and use boundaries

Fixed version and section references

Read fixed-version paper · arXiv:2312.03869v1 · Source reviewed

Experiments were reported by the authors. The editorial analysis cites their evidence.