PruNeRF: Segment-Centric Dataset Pruning via 3D Spatial Consistency

Yeonsung Jung, Heecheol Yun, Joonhyung Park, Jin-Hwa Kim, Eunho Yang

Introduction

Neural Radiance Fields (NeRFs) have significantly advanced 3D scene reconstruction. However, their performance is highly sensitive to the quality of training data. Standard NeRF formulations assume a static scene; consequently, transient distractors—such as moving pedestrians, vehicles, or animals—introduce inconsistencies that lead to reconstruction artifacts like "floaters" or blurred regions. While manual masking is a potential solution, it is unscalable for large-scale or "in-the-wild" datasets. PruNeRF addresses this by providing an automated framework to identify and prune these distractors by leveraging influence functions, 3D spatial consistency, and segment-level refinement.

Methodology

The PruNeRF pipeline operates in three distinct stages to robustly differentiate between transient distractors and complex static geometry.

1. Pixel-wise Distraction via Influence Functions

Traditional methods often use training loss to identify outliers. However, high loss can also indicate complex but static scene details (e.g., fine textures). PruNeRF instead utilizes Influence Functions (IF) to measure "Self-Influence." Because distractors are unique to specific views and lack support from the rest of the dataset, they exhibit high self-influence scores, making them easier to distinguish from hard-to-learn static features.

2. 3D Spatial Consistency Assessment

To further validate if a high-influence pixel is a true distractor, PruNeRF employs a 3D-aware consistency check. A flagged pixel is projected into 3D space using estimated depth and then reprojected into neighboring camera views. If the distraction score is inconsistent across these multiple viewpoints, the pixel is confirmed as a transient outlier.

Overview of the PruNeRF pipeline illustrating the projection and reprojection mechanism used to verify 3D spatial consistency.

3. Pixel-to-Segment Refinement

Pruning at the pixel level can be noisy and leave "ghosting" artifacts. PruNeRF integrates the Segment Anything Model (SAM) to group pixels into semantically meaningful segments. By aggregating pixel-wise distraction scores over these segments, the framework can prune entire objects (e.g., a moving hand or a balloon) cleanly.

Visualization of the intermediate stages of the PruNeRF pipeline, showing the transition from raw influence scores to 3D-consistent masks and final segment-based pruning.

Experimental Results

PruNeRF was evaluated on synthetic datasets (Kubric) and challenging real-world scenes (e.g., BabyYoda, Statue).

  • Quantitative Performance: In the "BabyYoda" dataset, which contains numerous arbitrary distractors, PruNeRF achieved a PSNR of 31.73, outperforming RobustNeRF (30.87). On synthetic "Bag" scenes, it reached 41.23 PSNR, a significant improvement over the 39.34 achieved by the nearest competitor.
  • Qualitative Quality: Visual comparisons demonstrate that PruNeRF effectively removes distractors while preserving fine details in static regions that other methods mistakenly prune or fail to reconstruct accurately.

Conclusion

PruNeRF demonstrates that combining statistical outlier detection (Influence Functions) with geometric constraints (3D consistency) and modern segmentation (SAM) provides a powerful solution for cleaning NeRF training data. While the computational cost of calculating influence functions remains a challenge, the framework sets a new state-of-the-art for robust 3D reconstruction in the presence of transient distractors. Future work will explore end-to-end optimization to integrate pruning directly into the training loop.

Summary updated

BibTeX
@inproceedings{jung2024prunerf,
  author = {Yeonsung Jung and Heecheol Yun and Joonhyung Park and Jin-Hwa Kim and Eunho Yang},
  title = {{PruNeRF: Segment-Centric Dataset Pruning via 3D Spatial Consistency}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=mU7FfQT6VE},
}
Figure