3D generation research index
ReplaceAnything3D
ReplaceAnything3D:Text-Guided 3D Scene Editing with Compositional Neural Radiance Fields
One-minute overview
ReplaceAnything3D removes an object from a captured scene, reconstructs the newly exposed background, and fits a separate 3D replacement guided by text. The edited views can supervise a new scene representation for novel-view rendering.
Research problem and inputs and outputs
Large replacements need space for a different shape and may expose unseen background. Independent 2D edits also risk producing inconsistent replacements from different cameras.
§1 · Replace an object without inheriting its geometry
- Inputs
- Posed input photographs, masks or a prompt to identify the target object, and a text description of the replacement.
- Outputs
- Background and foreground neural fields, composited training views, and a fitted edited scene model for rendering new viewpoints.
Original paper figure
Figure 2 · arXiv:2401.17895v1
Credit · Edward Bartrum et al.
Method step by step
Use a text-conditioned segmentation model to identify the object in each input image. Expand the masks to form a halo and render only rays through the selected local region.
§4.2 · Find the mask and its surrounding contextDistill an inpainting diffusion model through the background field. Add pixel and feature constraints on the halo and a monocular depth prior for the rendered region.
§4.2 · Reconstruct an erased background fieldRender rays inside the original masks with the foreground field. Use the replacement text to guide diffusion distillation and composite the output with its rendered opacity over the background.
§4.3 · Fit and composite a separate foregroundRender edited views at the original training poses. Use those images and camera parameters to fit a separate full-scene reconstruction.
§4.4 · Train a new representation for novel cameras
Key design choices
During erasure the local field renders the mask and halo. Existing photograph pixels supply exterior context and avoid computing a full volumetric view each update.
Figure 3 · Render a local bubble instead of the full imageOccasional constant-color backgrounds encourage the local foreground field to allocate density to the replacement object instead of reproducing the surrounding scene.
§4.3 · Vary the background during replacement fitting
How to read the experiments
Datasets and protocol
Quantitative examples pair garden prompts with Instruct-NeRF2NeRF and fern prompts with Blended-NeRF. Other edits and scenes are illustrated qualitatively.
§5.2 · Test prompts across captured scenesBaselines
Instruct-NeRF2NeRF and Blended-NeRF are the principal available comparisons. The reference-guided baseline results were taken from its paper because the authors did not have code.
§5.1 · Preserve the comparison settingMetrics
CLIP text-image direction similarity measures edit alignment with a text change. CLIP direction consistency evaluates the agreement of rendered edits across views. Both are higher-is-better proxies.
§5.2 · Read prompt alignment and adjacent-view consistency separatelyResults
For Pineapple, rounded direction similarity is 0.204 for RAM3D and 0.066 for Instruct-NeRF2NeRF. Direction consistency is 0.959 and 0.966, respectively. For Strawberry, RAM3D gives direction similarity 0.316 versus 0.222 for Blended-NeRF.
Table 1 · Compare prompt alignment and consistency togetherTrade-offs
The authors report 20,000 training steps for each Erase and Replace stage and approximately 12 hours on a single 32 GB V100. A downstream scene model is fitted to the edited images.
Appendix B.6 · Account for substantial scene-level fitting
Limitations and use boundaries
The authors warn that the method can remove intended geometry for edits that should preserve the source shape or material structure. The diffusion prior can also create repeated frontal features.
§5.6 · Erase and replace can discard useful structure- Editorial reading
The Pineapple example favors the baseline on consistency despite a visibly worse replacement according to the authors. The paper provides no reference 3D model for the desired edit.
Editorial · Higher consistency can accompany a failed change
Fixed version and section references
Read fixed-version paper · arXiv:2401.17895v1 · Source reviewed
Experiments were reported by the authors. The editorial analysis cites their evidence.
- Research problem and inputs and outputs §1 · Replace an object without inheriting its geometry
- Method step by step §4.2 · Find the mask and its surrounding context · §4.2 · Reconstruct an erased background field · §4.3 · Fit and composite a separate foreground · §4.4 · Train a new representation for novel cameras
- Key design choices Figure 3 · Render a local bubble instead of the full image · §4.3 · Vary the background during replacement fitting
- How to read the experiments §5.2 · Test prompts across captured scenes · §5.1 · Preserve the comparison setting · §5.2 · Read prompt alignment and adjacent-view consistency separately · Table 1 · Compare prompt alignment and consistency together · Appendix B.6 · Account for substantial scene-level fitting
- Limitations and use boundaries §5.6 · Erase and replace can discard useful structure · Editorial · Higher consistency can accompany a failed change
- Original paper figure Figure in paper 2