[论文解读] ViewFool: Evaluating the Robustness of Visual Recognition to Adversarial Viewpoints
本文提出ViewFool,一种通过神经辐射场(NeRF)建模真实世界3D物体,并在熵正则化下优化对抗性视角分布,以生成误导视觉识别模型的对抗性视角的方法。该方法揭示了常见图像分类器在视角变化下的极端脆弱性,进而创建了ImageNet-V这一分布外基准,40种不同模型在该基准上的性能显著下降。
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.
研究动机与目标
- 为解决视觉识别模型在自动驾驶等真实世界场景中对3D视角变化缺乏鲁棒性的问题。
- 开发一种可在真实世界设置中有效生成对抗性视角的方法,以弥合真实物体与其数字表示之间的现实差距。
- 在标准2D图像变换之外,对图像分类器的视角鲁棒性进行评估与基准测试。
- 提出一个新的分布外基准ImageNet-V,用于视角鲁棒性评估。
提出的方法
- 使用神经辐射场(NeRF)表示真实世界的3D物体,以实现逼真的新视角渲染。
- 在熵正则化下优化对抗性视角的参数化分布,以建模视角波动并提升对相机位姿变化的鲁棒性。
- 采用仅依赖渲染和分类流水线前向传播的黑盒无梯度优化策略,以减少GPU内存使用。
- 利用NeRF渲染的可微性计算对抗性视角生成的梯度,同时保持与黑盒模型访问的兼容性。
- 从优化后的分布中为每个物体生成100个多样化的对抗性视角,构成ImageNet-V数据集。
- 使用ResNet-50作为目标模型,以确保对抗性视角生成在不同模型间具有高迁移能力。
实验结果
研究问题
- RQ1标准图像分类器在真实世界中,特别是在使用真实3D物体表示时,对对抗性视角有多脆弱?
- RQ2能否基于NeRF方法有效生成并跨不同模型架构迁移对抗性视角?
- RQ3与标准ImageNet基准相比,视角变化在多大程度上会降低模型性能?
- RQ4能否构建一个可靠的新分布外基准(ImageNet-V)以评估视角鲁棒性?
- RQ5所提出的ViewFool方法是否能有效实现数据增强以提升视角泛化能力?
主要发现
- 所有40个评估的图像分类器在ImageNet-V上的性能均出现显著下降,无一模型准确率超过50%,尽管其在自然视角下的准确率可达70–80%。
- 基于Transformer的模型,如Swin-L和ViT-H(经MAE预训练),在ImageNet-V上表现最佳(准确率分别为47.40%和49.85%),表明其具备更优的分布外泛化能力。
- 对抗性训练以及AugMix和DeepAugment等数据增强技术未能提升ImageNet-V上的鲁棒性,表明其与视角鲁棒性之间相关性有限。
- ViewFool生成的对抗性视角在多种模型间表现出高度可迁移性,涵盖VGG、ResNet、EfficientNet、ViT和MLP-Mixer架构。
- ViewFool成功在无虚拟背景的真实3D物体(如椅子、交通信号灯)上生成对抗性视角,证实了其在真实场景中的有效性。
- 该方法依赖NeRF与基于梯度的优化,可在真实世界场景中实现高保真对抗攻击,同时通过熵正则化有效管理现实差距。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。