Skip to main content
QUICK REVIEW

[Paper Review] ViewFool: Evaluating the Robustness of Visual Recognition to Adversarial Viewpoints

Yinpeng Dong, Shouwei Ruan|arXiv (Cornell University)|Oct 8, 2022
Adversarial Robustness in Machine LearningComputer Science18 citations
TL;DR

This paper proposes ViewFool, a method to generate adversarial viewpoints that mislead visual recognition models by modeling real-world 3D objects via neural radiance fields (NeRF) and optimizing a distribution of adversarial viewpoints under an entropic regularizer. The approach reveals extreme vulnerability of common image classifiers to viewpoint shifts, leading to the creation of ImageNet-V, an out-of-distribution benchmark where performance drops significantly across 40 diverse models.

ABSTRACT

Recent studies have demonstrated that visual recognition models lack robustness to distribution shift. However, current work mainly considers model robustness to 2D image transformations, leaving viewpoint changes in the 3D world less explored. In general, viewpoint changes are prevalent in various real-world applications (e.g., autonomous driving), making it imperative to evaluate viewpoint robustness. In this paper, we propose a novel method called ViewFool to find adversarial viewpoints that mislead visual recognition models. By encoding real-world objects as neural radiance fields (NeRF), ViewFool characterizes a distribution of diverse adversarial viewpoints under an entropic regularizer, which helps to handle the fluctuations of the real camera pose and mitigate the reality gap between the real objects and their neural representations. Experiments validate that the common image classifiers are extremely vulnerable to the generated adversarial viewpoints, which also exhibit high cross-model transferability. Based on ViewFool, we introduce ImageNet-V, a new out-of-distribution dataset for benchmarking viewpoint robustness of image classifiers. Evaluation results on 40 classifiers with diverse architectures, objective functions, and data augmentations reveal a significant drop in model performance when tested on ImageNet-V, which provides a possibility to leverage ViewFool as an effective data augmentation strategy to improve viewpoint robustness.

Motivation & Objective

  • To address the lack of robustness in visual recognition models to 3D viewpoint variations in real-world scenarios such as autonomous driving.
  • To develop a method that generates adversarial viewpoints effective in physical-world settings, overcoming the reality gap between real objects and their digital representations.
  • To evaluate and benchmark the viewpoint robustness of image classifiers beyond standard 2D image transformations.
  • To introduce a new out-of-distribution benchmark, ImageNet-V, for viewpoint robustness evaluation.

Proposed method

  • Represent real-world 3D objects using neural radiance fields (NeRF) to enable photorealistic novel viewpoint rendering.
  • Optimize a parameterized distribution of adversarial viewpoints under an entropic regularizer to model viewpoint fluctuations and improve robustness to camera pose variations.
  • Use a black-box gradient-free optimization strategy relying only on forward passes through the rendering and classification pipelines to reduce GPU memory usage.
  • Leverage the differentiability of NeRF rendering to compute gradients for adversarial viewpoint generation, while maintaining compatibility with black-box model access.
  • Generate 100 diverse adversarial viewpoints per object from the optimized distribution to form the ImageNet-V dataset.
  • Use ResNet-50 as the target model to ensure high cross-model transferability in adversarial viewpoint generation.

Experimental results

Research questions

  • RQ1How vulnerable are standard image classifiers to adversarial viewpoints in the physical world, particularly under realistic 3D object representations?
  • RQ2Can adversarial viewpoints be effectively generated and transferred across different model architectures using a NeRF-based approach?
  • RQ3To what extent does viewpoint variation degrade model performance compared to standard ImageNet benchmarks?
  • RQ4Can a new out-of-distribution benchmark (ImageNet-V) be constructed to reliably evaluate viewpoint robustness?
  • RQ5Does the proposed ViewFool method enable effective data augmentation to improve viewpoint generalization?

Key findings

  • All 40 evaluated image classifiers showed a significant performance drop on ImageNet-V, with none exceeding 50% accuracy, despite achieving 70–80% accuracy on natural viewpoints.
  • Transformer-based models, such as Swin-L and ViT-H with MAE pretraining, achieved the highest performance on ImageNet-V (47.40% and 49.85% accuracy, respectively), indicating their superior OOD generalization capabilities.
  • Adversarial training and data augmentation techniques like AugMix and DeepAugment did not improve robustness on ImageNet-V, suggesting limited correlation with viewpoint robustness.
  • The adversarial viewpoints generated by ViewFool demonstrated high transferability across diverse models, including VGG, ResNet, EfficientNet, ViT, and MLP-Mixer architectures.
  • ViewFool successfully generated adversarial viewpoints for real-world 3D objects (e.g., chair, traffic light) without artificial backgrounds, confirming effectiveness in realistic settings.
  • The method’s reliance on NeRF and gradient-based optimization enables high-fidelity adversarial attacks in physical-world scenarios while managing the reality gap through entropic regularization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.