S2NeRF: Privacy-preserving Training Framework for NeRF

Bokang Zhang, Yanglin Zhang, Zhikun Zhang, Jinglan Yang, Lingying Huang, Junfeng Wu

Introduction

Neural Radiance Fields (NeRF) have emerged as the state-of-the-art for high-fidelity 3D scene reconstruction and novel view synthesis. By representing scenes as continuous volumetric functions, NeRF allows for photorealistic rendering from arbitrary viewpoints. However, the standard training pipeline presents a significant privacy hurdle: users must typically upload hundreds of high-resolution images of their private environments—such as the interior of their homes—to a centralized cloud server for processing. This centralized approach exposes sensitive visual data to potential breaches or misuse by "honest-but-curious" server providers.

The Privacy Gap in NeRF Training

While privacy-preserving techniques like Federated Learning (FL) exist, they are often ill-suited for NeRF. The high computational demands of training NeRF models can overwhelm edge devices, and FL does not inherently protect against "reconstruction attacks," where an adversary attempts to recreate the training images from shared model updates. The core challenge lies in enabling collaborative training without the server ever gaining access to the raw image data.

The Vulnerability of Split Learning

The authors first explore a baseline split learning (SL) architecture, referred to as SplitNeRF. In this configuration, the NeRF model is partitioned: the client retains the density MLP and the private images, while the server manages the remainder of the network. During training, only "cut layer" embeddings and gradients are exchanged.

Despite this separation, the authors demonstrate that SplitNeRF is highly vulnerable to two sophisticated reconstruction attacks:

  1. Surrogate Model Attack: By analyzing the shared gradients, a malicious server can train a "dummy" model that mimics the client’s internal representation. This allows the attacker to recover the geometric "skeleton" of the scene in grayscale.
  2. Scene-aided Surrogate Model Attack: This attack assumes the server obtains a single leaked image (e.g., from a social media post). By using grid-search pose estimation, the attacker can use this single image to "color in" the surrogate model, achieving high-fidelity color reconstructions with a PSNR as high as 27.62.

The S2NeRF Framework

To address these vulnerabilities, the authors introduce S2NeRF, a robust privacy-preserving framework. The system is built on two primary pillars: architectural partitioning and adaptive noise injection.

Architectural Partitioning

S2NeRF keeps the density MLP on the client side. This is a strategic choice, as the density information represents the most sensitive spatial structure of the 3D scene. By keeping this component local, the client maintains control over the scene's geometry.

Adaptive, Decaying Noise Injection

The primary defense mechanism in S2NeRF is the addition of adaptive Gaussian noise to the gradients sent from the client to the server. The scale of this noise is dynamically tied to the gradient norm and follows a decaying strategy.

This decay is essential because NeRF models tend to learn coarse geometric structures early in the training process and fine details later. By applying heavy noise at the start, S2NeRF protects the sensitive "big picture" geometry when it is most vulnerable. As training progresses and the model focuses on refining textures, the noise is reduced to allow the model to converge to high utility.

Experimental Evaluation

The framework was evaluated using three prominent indoor datasets: 3D-FRONT (synthetic room layouts), Hypersim (photorealistic synthetic scenes), and ScanNet (real-world indoor scans).

Privacy vs. Utility

The results demonstrate that S2NeRF effectively neutralizes reconstruction attacks with minimal impact on visual quality:

  • Defense Effectiveness: In human evaluation tests (measuring privacy disclosure on a 1-5 scale), S2NeRF reduced the score from a dangerous 4.6–5.0 (near-complete disclosure) to a safe 1.0 (no disclosure).
  • Model Utility: On the 3D-FRONT dataset, the reconstruction quality (PSNR) only decreased from 21.24 in a standard non-private setting to 20.83 with S2NeRF enabled. This represents a negligible loss in visual fidelity in exchange for robust privacy.
  • Efficiency: A "light" version of the framework was also tested, reducing communication overhead to approximately 8 Megabytes per iteration, making it feasible for resource-constrained edge devices like AR glasses.

Conclusion and Future Work

S2NeRF provides a viable path for training high-quality NeRF models without compromising user privacy. By identifying that gradients are inherently "leaky" and applying a decaying noise strategy, the authors bridge the gap between utility and security.

Future research directions include optimizing communication overhead for wireless channels and exploring scenarios where camera poses are also treated as private data. Additionally, local fine-tuning on the client side after noise addition could potentially further enhance the final visual quality of the reconstructed scenes.

Summary updated

BibTeX
@inproceedings{zhang2024s,
  author = {Bokang Zhang and Yanglin Zhang and Zhikun Zhang and Jinglan Yang and Lingying Huang and Junfeng Wu},
  title = {{S2NeRF: Privacy-preserving Training Framework for NeRF}},
  booktitle = {CCS},
  year = {2024},
  doi = {10.1145/3658644.3690185},
}
Figure