TL;DR
InseRF introduces a novel pipeline for inserting new, text-defined objects into existing 3D Neural Radiance Fields (NeRFs). By grounding the edit in a single 2D reference view and "lifting" that edit into 3D using generative priors, the method achieves localized, 3D-consistent object insertion that surpasses the capabilities of previous iterative editing frameworks.
What Problem Does This Paper Address?
While Neural Radiance Fields (NeRFs) have revolutionized 3D scene representation, editing them remains notoriously difficult. Recent breakthroughs like Instruct-NeRF2NeRF allow for global style changes (e.g., "make it look like winter"), but they struggle with generative object insertion.
If you want to place a garden gnome on a specific table in a 3D scene, existing methods often fail in two ways:
- Multi-view Inconsistency: 2D diffusion models generate different-looking gnomes from different angles, leading to "floaters" or blurry artifacts when the NeRF tries to reconcile them.
- Lack of Spatial Control: It is hard to tell a global text-to-3D model exactly where an object should sit without complex 3D bounding boxes or manual placement.
InseRF aims to make 3D object insertion as intuitive as 2D inpainting: you provide a text prompt, draw a rough box in one photo of the scene, and the system handles the rest.
Methods
The InseRF pipeline follows a "2D-to-3D" strategy across five main steps:
- 2D Reference Edit: The user selects one reference view of the NeRF and provides a text prompt and a 2D bounding box. The authors use Imagen combined with RePaint to perform mask-conditioned inpainting, generating a high-quality 2D version of the object in context.
- Single-View Reconstruction: The generated 2D object is cropped and passed to SyncDreamer, a model that can reconstruct a 3D mesh/NeRF from a single image. This ensures the object has a consistent 3D geometry from the start.
- 3D Placement & Optimization: To place the object, the system uses MiDaS for monocular depth estimation. Because MiDaS depth is non-metric, the authors perform a "Scale and Distance Optimization." They align the object's 3D scale and distance from the camera so that its projection perfectly matches the original 2D edit.
- Scene and Object Fusion: The original scene NeRF and the new object NeRF are merged. Crucially, the authors introduce a density scaling formula. When an object is scaled down in 3D, its volumetric density must be mathematically adjusted to maintain its visual appearance during rendering.
- Refinement: An optional final step uses an iterative update (similar to Instruct-NeRF2NeRF) but restricts updates to the object's location to sharpen textures and improve lighting integration.
Datasets
The authors evaluated InseRF on a variety of real-world indoor and outdoor scenes:
- Mip-NeRF 360: A standard benchmark for high-quality 3D reconstructions of complex environments.
- Instruct-NeRF2NeRF Dataset: Real-world captured scenes used to test editing capabilities.
The paper does not introduce a new dataset but provides a qualitative and quantitative comparison against baselines like I-N2N and a custom Multi-View Inpainting baseline.
Key Insights and Ideas
- Grounding in 2D: The "Aha!" moment is realizing that 2D diffusion models are currently much better at following complex text prompts than 3D generative models. By fixing the object's appearance in one 2D view first, the 3D problem becomes one of reconstruction rather than generation.
- The Density Scaling Fix: A subtle but vital technical contribution is the adjustment of the NeRF fusion equations. If you simply add the densities of a scaled object NeRF to a scene NeRF, the math of volumetric rendering breaks. InseRF compensates for the coordinate system scaling to ensure the object doesn't look semi-transparent or distorted.
- Controllability: Unlike previous methods that require exact 3D coordinates, InseRF only needs a "rough" 2D box. The combination of monocular depth priors and MSE-based optimization handles the "hard" math of 3D placement automatically.
Key Results
- Qualitative Superiority: Visual results show InseRF successfully placing diverse objects—ducks on roads, gnomes on grass, mugs on tables—while maintaining sharp details and 3D consistency. Baselines often resulted in "ghostly" objects or failed to generate the object entirely.
- Quantitative Gains: Using CLIP-based metrics, InseRF outperformed Instruct-NeRF2NeRF in Text-Image Similarity (0.618 vs 0.610) and Temporal Directional Consistency (0.805 vs 0.637), proving that the insertions are both more accurate to the prompt and more stable across different camera angles.
Limitations and Future Work
- Dependency on Priors: The quality of the final 3D object is bottlenecked by the 2D inpainter (Imagen) and the 3D reconstructor (SyncDreamer). If the 2D edit looks "off," the 3D object will too.
- Lighting and Shadows: While the refinement step helps, the model does not explicitly simulate complex light transport (like the new object casting a shadow on the original scene's floor).
- Future Directions: The authors suggest that as 2D-to-3D lifting models improve, InseRF will naturally become more powerful. Integrating more advanced scene-consistent shadowing techniques is also a logical next step.
Summary updated