TL;DR
This paper introduces NeRFool and NeRFool+, the first frameworks designed to evaluate and exploit the adversarial robustness of Generalizable Neural Radiance Fields (GNeRFs). The authors reveal that imperceptible perturbations to input source views can catastrophically disrupt 3D scene reconstruction, particularly by corrupting geometric density rather than color. Crucially, they demonstrate that adversarial finetuning can break the traditional trade-off in deep learning by simultaneously boosting both a model's robustness and its clean rendering quality.
What Problem Does This Paper Address?
Neural Radiance Fields (NeRFs) have revolutionized 3D scene rendering, but vanilla versions require tedious, scene-specific optimization. To solve this, Generalizable NeRFs (GNeRFs) condition their architecture on a few "source views" (input images) of a new scene, enabling instant, zero-shot 3D reconstruction.
However, this reliance on source views introduces a major security blind spot. In real-world applications like autonomous driving or robotic navigation, these source images might be scraped from the internet or provided by untrusted third parties. If an adversary subtly alters these images, how does it affect the 3D reconstruction? While adversarial attacks on 2D image classifiers are well-studied, GNeRFs operate via complex 3D volume rendering pipelines, making their vulnerability patterns entirely unknown until now.
Methods
The authors explore GNeRF vulnerabilities through two distinct attack frameworks:
- NeRFool (View-Specific Attack): This method optimizes adversarial perturbations ($\Delta$) for input source views to degrade rendering quality at one specific target viewpoint. Because ground-truth images for arbitrary target views aren't always available, NeRFool generates a pseudo-ground truth by rendering the target view using clean source images, then optimizes the attack to maximize the mean squared error (MSE) against this baseline.
- NeRFool+ (Universal/Across-View Attack): View-specific attacks don't transfer well to other camera angles because camera rays from a single viewpoint only hit a fraction of the 3D scene. NeRFool+ introduces two novel techniques to create universal perturbations that ruin the scene across all target views:
- Novel Target View Sampling: It uses spherical linear interpolation (Slerp) between known camera poses to synthesize arbitrary, unseen target views during the attack optimization loop.
- Geometric Error Maximization: It leverages a pretrained depth estimation model to provide geometric priors, forcing the attack to maximize the depth rendering error.
To defend against these attacks, the authors propose Adversarial GNeRF Training, injecting adversarial perturbations into the source views during either the pretraining or per-scene finetuning stages.
Datasets
The authors evaluated their approaches on three widely recognized vision benchmarks:
- LLFF: 8 complex, real-world forward-facing scenes.
- NeRF Synthetic: 8 realistic synthetic objects with complex geometry and materials.
- DeepVoxels: 3 simpler Lambertian objects.
Key Insights and Ideas
- Density is More Vulnerable Than Color: Volume rendering relies on estimating both color and density ($\sigma$) along a camera ray. The authors discovered that attacking the density/geometry component is far more destructive than attacking color, especially in geometrically complex scenes. Corrupting the geometry completely breaks the spatial consistency of the rendered scene.
- The Conditionality Paradox: Counterintuitively, conditioning a GNeRF on more source views—which normally improves clean rendering quality—makes the model more vulnerable to attacks. This is because a larger number of input views gives the adversary more pixels (and thus more flexibility) to inject malicious perturbations.
- Finetuning Breeds Vulnerability: While per-scene finetuning improves standard reconstruction accuracy, it causes the model to overfit to the clean scene geometry, making it significantly more fragile under adversarial conditions.
- Adversarial Training as a Regularizer: In standard 2D image classification, adversarial training usually hurts clean accuracy. In GNeRFs, however, adversarial finetuning acts as a powerful data augmentation technique that reduces overfitting, simultaneously improving both adversarial robustness and clean rendering quality.
Key Results
- Catastrophic Degradation: On the LLFF dataset, the basic NeRFool attack dropped the Peak Signal-to-Noise Ratio (PSNR) of IBRNet from a clean 23.73 dB down to 13.30 dB using just 4 source views and a tiny perturbation strength ($\epsilon = 8$).
- Universal Destruction: NeRFool+ successfully transferred attacks across diverse viewpoints, slashing the PSNR of the state-of-the-art GNT model by up to 17.26 dB ($\epsilon = 16$).
- Win-Win Defense: Applying adversarial finetuning to GNT not only mitigated the attacks but actually boosted its clean performance across all scenes (e.g., a 0.87 dB PSNR improvement on the "flowers" scene).
Limitations and Future Work
While this work lays the foundation for robust neural rendering, a few limitations remain:
- Dependency on Depth Models: NeRFool+'s geometric error maximization relies on an external, pretrained depth estimation model, meaning the attack's strength is partially bounded by the quality of that proxy model.
- First-Step Defense: The proposed adversarial training is a direct adaptation of 2D defense methods. The authors note that future work should focus on designing inherently robust GNeRF architectures that naturally resist geometric corruption without relying solely on expensive adversarial training loops.
Summary updated