3D generation research index
MALD-NeRF
Taming Latent Diffusion Model for Neural Radiance Field Inpainting
One-minute overview
MALD-NeRF removes masked content from a scene and learns a radiance field that fills the newly exposed regions. It adapts an image-inpainting model to each scene, updates the target images during optimization and applies adversarial supervision inside the masks.
Research problem and inputs and outputs
Independent diffusion fills can disagree geometrically across cameras. Pixel losses can average those incompatible targets into blur, while latent autoencoding can change textures at the mask edge.
Fit one 3D representation to inconsistent 2D completions
- Inputs
- Posed scene photographs with corresponding masks specifying image regions to replace. The method also uses a pretrained latent diffusion inpainting model and a monocular depth prior.
- Outputs
- An edited neural radiance field with synthesized content in the masked regions, renderable from novel viewpoints.
Original paper figure
Figure 3 · arXiv:2404.09995v2
Credit · Chieh Hubert Lin et al.
Method step by step
Learn a scene-specific token and LoRA updates for the text encoder and U-Net. Random rectangular masks supervise inpainting from the known regions, while the real object-removal masks have no clean target.
Customize the frozen prior for a sceneBlend the current rendered fill with observed pixels, add noise in latent space, and partially denoise with DDIM. Periodically replace target inpainting regions and reduce the noise level as training advances.
Update masked targets from current radiance-field renderingsReconstruct observed pixels with squared error. For inpainting patches, hide pixels outside the mask in both rendered and diffusion references before using a discriminator and feature matching.
Train with masked patch discrimination and feature matchingEstimate depth with ZoeDepth and align it to NeRF depth with a shift and scale computed on the visible region. Starting after 2,000 iterations, supervise relative depth inside masks with a ranking loss.
Regularize shape with aligned monocular depth
Key design choices
Masking prevents the discriminator from relying directly on the texture difference between real pixels and diffusion fills. The reconstruction objective continues to preserve the observed scene.
Separate observed and synthesized image targetsAt each update, partial DDIM starts from a noised version of the current rendering. Less noise later in optimization keeps the new target closer to the NeRF’s current multiview prediction.
Reduce target diversity as geometry stabilizes
How to read the experiments
Datasets and protocol
SPIn-NeRF test images capture the actual scene after physical object removal. LLFF has object masks but lacks equivalent clean test images.
Ten SPIn-NeRF scenes and six LLFF scenesBaselines
Compare with SPIn-NeRF, SPIn-NeRF using the paper’s LDM, Inpaint3d and a reimplementation of InpaintNeRF360. The paper uses supplied Inpaint3d renders in SPIn-NeRF and has no Inpaint3d row for LLFF.
Object-removal baselines and a matched diffusion moduleMetrics
SPIn-NeRF reports LPIPS and masked LPIPS along with FID and KID on test views. LLFF uses FID and KID computed on patches near mask corners, labeled C-FID and C-KID.
Image similarity and generative distribution scoresResults
On SPIn-NeRF, MALD-NeRF gives LPIPS 0.4345, masked LPIPS 0.3344, FID 183.25 and KID 0.0397, versus 0.4694, 0.3672, 222.12 and 0.0544. On LLFF, its C-FID and C-KID are 171.89 and 0.0388 versus 174.55 and 0.0397.
Comparison with InpaintNeRF360Trade-offs
Editorial readingAdding LPIPS improves LPIPS from 0.4345 to 0.4130 yet worsens FID from 183.25 to 185.79. The authors show boundary and geometry artifacts in that variant. Appendix F reports an eight-V100-per-run training configuration.
Perceptual regressions and distribution scores can diverge
Limitations and use boundaries
The authors identify few-shot reconstruction, very large masks and residual variation in fine texture as difficult regimes. The training diffusion model uses an internal image-inpainting dataset.
Training is stochastic and large holes remain difficult
Fixed version and section references
Read fixed-version paper · arXiv:2404.09995v2 · Source reviewed
Experiments were reported by the authors. The editorial analysis cites their evidence.
- Research problem and inputs and outputs Fit one 3D representation to inconsistent 2D completions
- Method step by step Customize the frozen prior for a scene · Update masked targets from current radiance-field renderings · Train with masked patch discrimination and feature matching · Regularize shape with aligned monocular depth
- Key design choices Separate observed and synthesized image targets · Reduce target diversity as geometry stabilizes
- How to read the experiments Ten SPIn-NeRF scenes and six LLFF scenes · Object-removal baselines and a matched diffusion module · Image similarity and generative distribution scores · Comparison with InpaintNeRF360 · Perceptual regressions and distribution scores can diverge
- Limitations and use boundaries Training is stochastic and large holes remain difficult
- Original paper figure Figure in paper 3