arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.00490cs.CR
收藏

二十年的预言成真了吗?大语言模型中仅由单比特翻转触发的人工恶意智能

Has the Two-Decade-Old Prophecy Come True? Artificial Bad Intelligence Triggered by Merely a Single-Bit Flip in Large Language Models

Henan Key Laboratory of Network Cryptography Technology, Information Engineering University(河南网络密码技术重点实验室,信息工程大学);State Key Laboratory of Information Security, Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所,信息安全国家重点实验室);Zhejiang University(浙江大学)

Yu Yan, Siqi Lu, Yang Gao, Zhaoxuan Li, Ziming Zhao, Qingjun Yuan, Yongjuan Wang

AI总结:

该研究首次验证大语言模型.gguf权重文件存在单比特漏洞,通过BitSifter框架定位脆弱比特,发现小模型更易受攻击,且远程比特翻转攻击可快速致模型准确率骤降,揭示了硬件层面的安全风险。

摘要:

近年来,比特翻转攻击(Bit-Flip Attack,BFA)因能通过硬件故障注入远程破坏软件系统完整性而受到广泛关注。随着大语言模型(LLM)被广泛蒸馏并部署为单文件.gguf格式,其权重空间面临前所未有的硬件攻击面。本文首次系统发现并验证了LLM权重文件中存在单比特漏洞:在采用.gguf量化格式的主流开源模型(如DeepSeek和QWEN)中,仅翻转单个比特就能引发三类定向语义级故障:人工缺陷智能(输出事实错误)、人工弱智能(逻辑推理能力下降)以及人工恶意智能(生成有害内容)。\n通过构建信息论权重敏感度熵模型和名为BitSifter的概率启发式扫描框架,我们实现了对数亿参数模型中关键脆弱比特的高效定位。实验表明,漏洞显著集中在张量数据区域,尤其是与注意力机制和输出层相关的区域最为敏感。研究发现模型规模与鲁棒性呈负相关,规模更小的模型更易遭受攻击。此外,本文设计了一条远程BFA攻击链,可在真实环境中实现语义级攻击:在每秒464.3次的攻击频率下,最快仅需31.7秒就能100%成功翻转单个比特,导致LLM的准确率从73.5%骤降至0%,且无需高成本设备或复杂的提示工程。

英文摘要:

Recently, Bit-Flip Attack (BFA) has garnered widespread attention for its ability to compromise software system integrity remotely through hardware fault injection. With the widespread distillation and deployment of large language models (LLMs) into single file .gguf formats, their weight spaces have become exposed to an unprecedented hardware attack surface. This paper is the first to systematically discover and validate the existence of single-bit vulnerabilities in LLM weight files: in mainstream open-source models (e.g., DeepSeek and QWEN) using .gguf quantized formats, flipping just single bit can induce three types of targeted semantic level failures Artificial Flawed Intelligence (outputting factual errors), Artificial Weak Intelligence (degradation of logical reasoning capability), and Artificial Bad Intelligence (generating harmful content). By building an information theoretic weight sensitivity entropy model and a probabilistic heuristic scanning framework called BitSifter, we achieved efficient localization of critical vulnerable bits in models with hundreds of millions of parameters. Experiments show that vulnerabilities are significantly concentrated in the tensor data region, particularly in areas related to the attention mechanism and output layers, which are the most sensitive. A negative correlation was observed between model size and robustness, with smaller models being more susceptible to attacks. Furthermore, a remote BFA chain was designed, enabling semantic-level attacks in real-world environments: At an attack frequency of 464.3 times per second, a single bit can be flipped with 100% success in as little as 31.7 seconds. This causes the accuracy of LLM to plummet from 73.5% to 0%, without requiring high-cost equipment or complex prompt engineering.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑