Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (6): 1881-1892.DOI: 10.11772/j.issn.1001-9081.2025060701

• Cyber security • Previous Articles    

Spatial-frequency collaborative adversarial example generation method based on class activation mapping

Erhao SHU, Guoqing TU(), Shubo LIU   

  1. Key Laboratory of Aerospace Information Security and Trusted Computing,Ministry of Education,School of Cyber Science and Engineering,Wuhan University,Wuhan Hubei 430072,China
  • Received:2025-06-23 Revised:2025-09-09 Accepted:2025-09-15 Online:2025-10-09 Published:2026-06-10
  • Contact: Guoqing TU
  • About author:SHU Erhao, born in 2002, M. S. candidate. His research interests include adversarial attacks, artificial intelligence security.
    LIU Shubo, born in 1970, Ph. D., professor. His research interests include embedded systems, differential privacy, time series.
    First author contact:TU Guoqing, born in 1974, Ph. D., associate professor. His research interests include embedded systems, internet of things, information security, water resources informatization.
  • Supported by:
    National Natural Science Foundation of China(62472325)

基于类激活映射的空频协同对抗样本生成方法

舒尔豪, 涂国庆(), 刘树波   

  1. 空天信息安全与可信计算教育部重点实验室,武汉大学国家网络安全学院,武汉 430072
  • 通讯作者: 涂国庆
  • 作者简介:舒尔豪(2002—),男,江西宜春人,硕士研究生,主要研究方向:对抗性攻击、人工智能安全
    刘树波(1970—),男,黑龙江泰来人,教授,博士,主要研究方向:嵌入式系统、差分隐私、时间序列。
    第一联系人:涂国庆(1974—),男,湖北罗田人,副教授,博士,主要研究方向:嵌入式系统、物联网、信息安全、水利信息化
  • 基金资助:
    国家自然科学基金资助项目(62472325)

Abstract:

To address the limitations of the existing image adversarial example generation methods that only applying global and uniform transformations within a single domain and thereby restricting the attack success rates and the transferability of adversarial examples, a Spatial-Frequency Collaborative adversarial example generation method based on Class Activation Mapping (CAM) (SFC-CAM) was proposed. Firstly, region sensitivity was quantified using CAM, and the input image was divided into high-sensitivity target region and low-sensitivity background region by Adaptive Partitioning (AP) according to the threshold of activation value. Then, for high-sensitivity region, Channel Resampling-Block-wise Random Scaling (CR-BRS) was applied in the spatial domain, while Discrete Cosine Transform (DCT) with Spectral Random Masking (DCT-SRM) was conducted in the frequency domain for low-sensitivity region. Finally, adversarial examples were generated on the basis of the average gradient of the co-transformed image iteratively. Experimental results on the ImageNet dataset show that with Inception-v3 as the source model, SFC-CAM improves the average attack success rate by 3.4 and 10.4 percentage points compared with the baseline methods — Channel Augmented Attack Method (CAAM) and Spectrum Simulation Attack (SSA), respectively; compared with the proposed single-domain adversarial attack methods CR-BRS and DCT-SRM, SFC-CAM improves the average attack success rate by 15.9 and 19.7 percentage points, respectively. These verify that SFC-CAM enhances the diversity of surrogate model decision boundaries, thereby achieving model augmentation and improving the black-box attack success rate and transferability of adversarial examples.

Key words: adversarial example, black-box attack, transferability, Class Activation Mapping (CAM), spatial-frequency collaboration, model augmentation

摘要:

针对现有图像对抗样本生成方法仅在单一域执行全局无差别变换,导致攻击成功率和对抗样本可迁移性受限的问题,提出一种基于类激活映射(CAM)的空频协同对抗样本生成方法(SFC-CAM)。首先,通过CAM量化图像区域的敏感度,依据热力阈值将图像划分为高敏感目标区域与低敏感背景区域,实现输入图像自适应分区(AP);其次,分别基于高敏感目标区域和低敏感背景区域实施空间域的通道重采样与逐块随机缩放(CR-BRS)和频率域的基于离散余弦变换(DCT)的频谱随机掩蔽(DCT-SRM);最后,以协同变换后图像的平均梯度迭代生成对抗样本。在ImageNet数据集上的实验结果表明,以Inception-v3为源模型时,相较于基准方法图像通道增强攻击方法(CAAM)和频谱模拟攻击(SSA),SFC-CAM的平均攻击成功率分别提升3.4和10.4个百分点;相较于所提出的单域对抗攻击方法CR-BRS和DCT-SRM,SFC-CAM的平均攻击成功率分别提升15.9和19.7个百分点。以上验证了SFC-CAM能够增强模拟模型决策边界的多样性,从而实现模型增强,并提高对抗样本的黑盒攻击成功率和可迁移性。

关键词: 对抗样本, 黑盒攻击, 可迁移性, 类激活映射, 空频域协同, 模型增强

CLC Number: