DatasetNeRF: Efficient 3D-Aware Data Factory with Generative Radiance Fields

Yu Chi, Fangneng Zhan, Sibo Wu, Christian Theobalt, Adam Kortylewski

Introduction

Training modern computer vision models requires massive amounts of labeled data, which is often the primary bottleneck in 3D research. Manually annotating multi-view images or 3D point clouds is not only labor-intensive but also prone to errors; ensuring that a semantic label (e.g., a "nose") remains consistent across different camera angles is nearly impossible for human annotators.

Overview of the DatasetNeRF pipeline from manual labeling to 3D point cloud generation.

DatasetNeRF addresses this challenge by transforming pre-trained 3D-aware Generative Adversarial Networks (GANs) into infinite "data factories." Unlike previous 2D-based approaches like DatasetGAN, which often suffered from label flickering across viewpoints, DatasetNeRF leverages the inherent geometric understanding of 3D-aware models to produce high-quality, 3D-consistent 2D annotations and 3D point cloud segmentations.

Methodology

The core of DatasetNeRF is built upon existing 3D-aware GAN architectures, such as EG3D. The fundamental insight is that a GAN capable of generating realistic 3D objects must already possess internal features representing the object's geometry.

The DatasetNeRF architecture featuring augmented tri-planes and semantic volumetric rendering.

Key technical innovations include:

  • Augmented Tri-planes: The system extracts multiscale features from the generator’s synthesis blocks and concatenates them into an "augmented tri-plane." This provides a rich representation for the semantic decoder that captures both global structure and fine-grained details.
  • Density Prior Sharing: To ensure labels perfectly align with the 3D shape, the semantic branch re-uses the density (volume) information from the pre-trained RGB branch. This design mathematically guarantees view consistency.
  • Semantic Volumetric Rendering: Similar to how Neural Radiance Fields (NeRF) render color, DatasetNeRF renders semantic labels through volume integration.
  • 3D Label Generation: By utilizing GAN-generated depth maps, 2D labels can be back-projected into 3D space. Merging these projections from multiple viewpoints allows for the creation of complete, labeled 3D point clouds.

Experimental Results

The authors evaluated DatasetNeRF across diverse datasets, including AFHQ-Cat, FFHQ, AIST++ (for articulated human bodies), and ShapeNet-Car. Remarkably, the system only requires a tiny "seed" dataset of 30 to 90 human-annotated images to train the entire semantic factory.

Key Findings:

  • Superior Accuracy: On the AFHQ-Cat dataset, DatasetNeRF achieved a mean Intersection-over-Union (mIoU) of 0.6057, significantly outperforming the 2D-based DatasetGAN (0.5381).
  • Data Augmentation: Adding synthetic data from DatasetNeRF to existing datasets boosted performance for downstream tasks. For instance, augmenting a set of 600 real cars with 725 synthetic ones improved PointNet mIoU from 0.6773 to 0.7519.
  • Real-World Generalization: Models trained purely on DatasetNeRF’s synthetic data generalized well to real-world scans (e.g., the Nersemble dataset), proving the high fidelity of the generated labels.
  • Semantic Editing: The model enables "3D-aware semantic editing," where a user can modify a 2D label map and have that change propagate consistently across all 3D views.

Conclusion

DatasetNeRF demonstrates that 3D-aware GANs implicitly learn semantic geometry that can be unlocked with minimal supervision. By bridging the gap between generative modeling and semantic understanding, it provides a scalable solution for the data hunger in 3D computer vision. Future work will look toward utilizing Diffusion Models for greater generative diversity and optimizing the memory demands of high-resolution tri-plane features.

Summary updated

BibTeX
@inproceedings{chi2024datasetnerf,
  author = {Yu Chi and Fangneng Zhan and Sibo Wu and Christian Theobalt and Adam Kortylewski},
  title = {{DatasetNeRF: Efficient 3D-Aware Data Factory with Generative Radiance Fields}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73033-7\_20},
}
Figure