针对 ViT 迁移攻击中中间块梯度方差大、易过拟合模型特有特征的问题,提出逐 token 正则化内部反向传播梯度的 TGR,在 ViT 与 CNN 上平均提升攻击性能 8.8%。
摘要:
Vision Transformer(ViT)已成功部署于多种计算机视觉任务,但它们仍易受对抗样本影响。基于迁移的攻击利用本地模型生成对抗样本,并将其直接迁移以攻击目标黑盒模型。基于迁移的攻击具有高效率,这使其成为对基于 ViT 的应用的严重安全威胁。因此,在安全敏感场景中,设计有效的基于迁移的攻击以提前识别 ViT 的缺陷至关重要。现有研究通常关注正则化输入梯度,以稳定对抗样本的更新方向。然而,ViT 中间块中反向传播梯度的方差可能仍然很大,这会使生成的对抗样本关注某些模型特有的特征,并陷入较差的局部最优。为克服现有方法的不足,我们提出 Token Gradient Regularization(TGR,Token 梯度正则化)方法。根据 ViT 的结构特点,TGR 以逐 token 的方式降低 ViT 每个内部块中反向传播梯度的方差,并利用正则化后的梯度生成对抗样本。针对 ViT 和 CNN 的大量攻击实验证实了本方法的优越性。值得注意的是,与最先进的基于迁移的攻击相比,我们的 TGR 平均带来 8.8% 的性能提升。
英文摘要:
Vision transformers (ViTs) have been successfully deployed in a variety of computer vision tasks, but they are still vulnerable to adversarial samples. Transfer-based attacks use a local model to generate adversarial samples and directly transfer them to attack a target black-box model. The high efficiency of transfer-based attacks makes it a severe security threat to ViT-based applications. Therefore, it is vital to design effective transfer-based attacks to identify the deficiencies of ViTs beforehand in security-sensitive scenarios. Existing efforts generally focus on regularizing the input gradients to stabilize the updated direction of adversarial samples. However, the variance of the back-propagated gradients in intermediate blocks of ViTs may still be large, which may make the generated adversarial samples focus on some model-specific features and get stuck in poor local optima. To overcome the shortcomings of existing approaches, we propose the Token Gradient Regularization (TGR) method. According to the structural characteristics of ViTs, TGR reduces the variance of the back-propagated gradient in each internal block of ViTs in a token-wise manner and utilizes the regularized gradient to generate adversarial samples. Extensive experiments on attacking both ViTs and CNNs confirm the superiority of our approach. Notably, compared to the state-of-the-art transfer-based attacks, our TGR offers a performance improvement of 8.8% on average.
WinTok: A Win-Win Hybrid Tokenizer via Decomposing Visual Understanding and Generation with Transferable Tokens
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);WeChat Vision, Tencent Inc.(腾讯微信视觉部);Shanghai Jiao Tong University(上海交通大学)
Visual-Invariance-Augmented Feature Optimal Alignment for Transferable Adversarial Attacks against Closed-Source MLLMs
Nanyang Technological University(南洋理工大学);Northeastern University(东北大学);Chongqing University(重庆大学);University of Chinese Academy of Sciences(中国科学院大学);Sun Yat-sen University(中山大学)
SEAM: Searching Transferable Mixed-Precision Quantization Policy through Large Margin Regularization
SIGS & Dept. of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系与清华信息科学与技术国家实验室(SIGS));SIGS, Tsinghua University(清华大学SIGS(清华信息科学与技术国家实验室));National University of Singapore(新加坡国立大学);Dept. of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Peng Cheng Laboratory(鹏城实验室)
Prompt-driven Transferable Adversarial Attack on Person Re-Identification with Attribute-aware Textual Inversion
School of Artificial Intelligence and Robotics, Hunan University(湖南大学人工智能与机器人学院);National Engineering Research Center of Robot Visual Perception and Control Technology(机器人视觉感知与控制技术国家工程研究中心);College of Information Science and Engineering, Hunan Normal University(湖南师范大学信息科学与工程学院)
MoRe: Class Patch Attention Needs Regularization for Weakly Supervised Semantic Segmentation
Academy for Engineering and Technology, Fudan University(复旦大学工程与技术学院);Digital Medical Research Center, School of Basic Medical Sciences, Fudan University(复旦大学基础医学院数字医学研究中心);Shandong Computer Science Center (National Supercomputer Center in Jinan)(山东省计算中心(国家济南超级计算中心))
Certainty Is Redundant: Token Sparsification for Efficient Camouflaged Object Detection with Vision Foundation Models
VCIP, College of Computer Science, Nankai University(VCIP,计算机科学学院,南开大学);Academy for Advanced Interdisciplinary Studies, Nankai University(先进交叉学科研究院,南开大学);School of Computer Science and Engineering, Tianjin University of Technology(计算机科学与工程学院,天津工业大学);School of Information and Communication Engineering, UESTC(信息与通信工程学院,电子科技大学);Nankai International Advanced Research Institute, Shenzhen Futian(南开国际先进研究院,深圳福田)
The Linear Geometry of Interpretable Tokens: Jailbreaking Attacks and Defenses for Unlearned Diffusion Models
Department of Electrical Engineering & Computer Science, University of Michigan(电气工程与计算机科学系,密歇根大学);Department of Computer Science, Michigan State University(计算机科学系,密歇根州立大学)
Towards Transferable Defense Against Malicious Image Edits
State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences (CAS)(人工智能安全国家重点实验室,计算技术研究所,中国科学院);University of China Academy of Sciences(中国科学院大学);School of Computer Science, China University of Geosciences(中国地质大学(武汉)计算机学院)
Transferable Adversarial Facial Images for Privacy Protection
School of Software Engineering, Huazhong University of Science and Technology(华中科技大学软件学院);School of Computer Science and Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院);School of Cyber Science and Engineering, Huazhong University of Science and Technology(华中科技大学网络空间安全学院)