神经网络在各类任务中表现出卓越性能,但仍易受输入或模型参数中细微变化的影响。一种尤其具有严重破坏力的漏洞来自位翻转攻击(Bit-Flip Attack,BFA),即翻转模型参数中少量关键位就可能大幅降低其性能。在 DRAM 中诱发位翻转的常用技术是 Row-Hammer 攻击,它利用频繁的非缓存内存访问来篡改数据。识别易受攻击的位可以通过穷举搜索或逐层渐进分析实现,尤其是在量化网络中。本文提出高影响力位翻转搜索(Impactful Bit-Flip Search,IBS),这是一种在全精度网络中高效定位并翻转关键位的新方法。此外,我们提出 Weight-Stealth 技术,通过策略性地修改模型参数,使浮点值保持在原始分布内,从而绕过篡改检测中常用的简单范围检查。
英文摘要:
Neural networks have shown remarkable performance in various tasks, yet they remain susceptible to subtle changes in their input or model parameters. One particularly impactful vulnerability arises through the Bit-Flip Attack (BFA), where flipping a small number of critical bits in a model's parameters can severely degrade its performance. A common technique for inducing bit flips in DRAM is the Row-Hammer attack, which exploits frequent uncached memory accesses to alter data. Identifying susceptible bits can be achieved through exhaustive search or progressive layer-by-layer analysis, especially in quantized networks. In this work, we introduce Impactful Bit-Flip Search (IBS), a novel method for efficiently pinpointing and flipping critical bits in full-precision networks. Additionally, we propose a Weight-Stealth technique that strategically modifies the model's parameters in a way that maintains the float values within the original distribution, thereby bypassing simple range checks often used in tamper detection.
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院,清华大学);School of Data Science, Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院);Shenzhen Research Institute of Big Data(深圳大数据研究院);Tencent(腾讯)
Flipping Minds by Flipping Bits: Decision-Level Cognitive Hijacking of Large Language Models
Information Engineering University(信息工程大学);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);State Key Laboratory of Information Security, Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所信息安全国家重点实验室)
Attacking Graph Neural Networks with Bit Flips: Weisfeiler and Lehman Go Indifferent
University of Vienna(维也纳大学);Doctoral School Computer Science, Faculty of Computer Science, University of Vienna(维也纳大学计算机学院计算机科学博士学院);Christian Doppler Laboratory for Assurance and Transparency in Software Protection, Faculty of Computer Science, University of Vienna(维也纳大学计算机学院克里斯蒂安·多普勒软件保护保障与透明度实验室);Research Network Data Science, Faculty of Computer Science, University of Vienna(维也纳大学计算机学院数据科学研究网络)
该研究提出首个专门针对图神经网络的Injectivity Bit Flip Attack,通过攻击量化消息传递神经网络的邻域聚合函数削弱其结构区分能力,仅翻转少量比特就能让高表达力的图同构网络输出随机结果,破坏力优于迁移自CNN的位翻转攻击。
Targeted Attack against Deep Neural Networks via Flipping Limited Weight Bits
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);PCL Research Center of Networks and Communications, Peng Cheng Laboratory(鹏城实验室PCL网络与通信研究中心);School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院);Secure Computing Lab of Big Data, Shenzhen Research Institute of Big Data(深圳大数据研究院大数据安全计算实验室);Tencent AI Lab(腾讯AI Lab)
Verification of Bit-Flip Attacks against Quantized Neural Networks
National University of Singapore(新加坡国立大学);ShanghaiTech University(上海科技大学);ByteDance Inc(字节跳动公司);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Nanjing Institute of Software Technology(南京软件技术研究院);Singapore Management University(新加坡管理大学)
PrisonBreak: Jailbreaking Large Language Models with at Most Twenty-Five Targeted Bit-flips
Oregon State University(俄勒冈州立大学);University of British Columbia(不列颠哥伦比亚大学);University of Toronto(多伦多大学);George Mason University(乔治·梅森大学);Rutgers University(罗格斯大学);University of Texas at Arlington(德克萨斯大学阿灵顿分校)
Crossfire: An Elastic Defense Framework for Graph Neural Networks Under Bit Flip Attacks
Faculty of Computer Science, University of Vienna(维也纳大学计算机学院);Doctoral School Computer Science, University of Vienna(维也纳大学计算机博士学院);Research Network Data Science University of Vienna(维也纳大学数据科学研究网络)
From Arithmetic to Logic: The Resilience of Logic and Lookup-Based Neural Networks Under Parameter Bit-Flips
The University of Texas at Austin(德克萨斯大学奥斯汀分校);Federal University of Rio de Janeiro(里约热内卢联邦大学);Instituto de Telecomunicações, Porto, Portugal(葡萄牙波尔图电信研究所);Google LLC(谷歌公司)