提出新方法提升对脉冲神经网络的稀疏攻击效果
Towards Effective and Sparse Adversarial Attack on Spiking Neural Networks via Breaking Invisible Surrogate Gradients
- 设计依赖电位的代理梯度,让攻击更贴合模型特性
- 在CIFAR10DVS上仅改0.24%像素即达82%攻击成功率
- 适合研究脉冲神经网络安全性的学者和工程师
脉冲神经网络(SNN)在低功耗处理时空事件数据方面表现出色。与传统人工神经网络类似,SNN也易受基于梯度的对抗攻击影响,其梯度通过时空反向传播(STBP)和代理梯度(SGs)计算。然而,对于仅用于推理的模型,代理梯度可能不可见,且当前方法在动态视觉传感器(DVS)采集的二值动态图像上无效。尽管已有方法通过通用代理梯度解决此问题,但其与目标模型关联不足,导致性能不佳。本文提出潜在依赖代理梯度(PDSG),建立代理梯度与模型间的强关联,提升攻击适应性;同时提出稀疏动态攻击(SDA),采用生成-缩减范式,充分优化对抗扰动的稀疏性。实验表明,PDSG在ImageNet上实现100%攻击成功率,SDA在CIFAR10DVS上仅修改0.24%像素即可达到82%成功率。代码已开源。
原文摘要 · Abstract (English)
Spiking neural networks (SNNs) have shown their competence in handling spatial-temporal event-based data with low energy consumption. Similar to conventional artificial neural networks (ANNs), SNNs are also vulnerable to gradient-based adversarial attacks, wherein gradients are calculated by spatial-temporal back-propagation (STBP) and surrogate gradients (SGs). However, the SGs may be invisible for an inference-only model as they do not influence the inference results, and current gradient-based attacks are ineffective for binary dynamic images captured by the dynamic vision sensor (DVS). While some approaches addressed the issue of invisible SGs through universal SGs, their SGs lack a correlation with the victim model, resulting in sub-optimal performance. Moreover, the imperceptibility of existing SNN-based binary attacks is still insufficient. In this paper, we introduce an innovative potential-dependent surrogate gradient (PDSG) method to establish a robust connection between the SG and the model, thereby enhancing the adaptability of adversarial attacks across various models with invisible SGs. Additionally, we propose the sparse dynamic attack (SDA) to effectively attack binary dynamic images. Utilizing a generation-reduction paradigm, SDA can fully optimize the sparsity of adversarial perturbations. Experimental results demonstrate that our PDSG and SDA outperform state-of-the-art SNN-based attacks across various models and datasets. Specifically, our PDSG achieves 100% attack success rate on ImageNet, and our SDA obtains 82% attack success rate by modifying only 0.24% of the pixels on CIFAR10DVS. The code is available at https://github.com/ryime/PDSG-SDA .
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。