arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.10486cs.CRcs.AI
收藏

MEASER:对开源大语言模型的恶意嵌入攻击

MEASER: Malware embedding attacks on open-source LLMs

Information Engineering University(信息工程大学);Laboratory of Cyberspace Endogenous Security(网络空间内生安全实验室);National Key Laboratory of advanced communication networks(先进通信网络国家重点实验室);Key Laboratory of Cyberspace Security Ministry of Education of China(中国教育部网络空间安全重点实验室);Henan Province Key Laboratory of Information Security(河南省信息安全重点实验室);State Key Laboratory of Integrated Service Networks(集成服务网络国家重点实验室);Institute of Mathematics and Interdisciplinary Sciences(数学与交叉科学研究院)

Ming Tan, Wei Li, Hu Tao, Hailong Ma, Aodi Liu, Qian Chen, Zilong Wang

AI总结:

研究针对开源大语言模型的恶意嵌入攻击,提出MEASER攻击方法,通过识别目标参数、嵌入负载、注入触发器并按顺序执行负载,提升攻击鲁棒性,实验表明其在 stealth 性能和抗量化方面优于现有方法。

摘要:

开源大语言模型(LLMs)在神经处理任务中表现出显著优势,得益于其协作和共享性质。尽管源代码、模型参数和训练数据的完全访问为透明性奠定了基础,但我们认为这种完全访问方式易受恶意嵌入攻击(MEAs)的影响,其负面影响尚不明确。本文通过系统化地形式化MEAs,列举所有可能的威胁模型,包括对手目标、知识和能力。特别地,我们提出首个针对开源LLMs的MEASER攻击,通过识别目标参数、嵌入负载、注入触发器并按顺序执行负载来产生影响。MEASER通过采用幅度自适应相对量化指数调制(MAR-QIM)机制,结合LDPC码和扩频调制,增强了对量化和参数高效微调(PEFT)的攻击鲁棒性。此外,为实现隐蔽性,MEASER设计了性能感知的重要性度量来识别对模型性能影响最小的目标参数。在四个流行的开源LLMs上的广泛实验表明,MEASER的隐蔽率显著优于现有MEAs(针对通用DNNs),并在所有设置中保持0比特误码率(BER)。此外,MEASER在量化模型上也保持了优越的隐蔽性。我们呼吁对MEASER的防御措施进行研究,以应对其显著的攻击有效性。

英文摘要:

Open-source large language models (LLMs) have demonstrated considerable dominance over proprietary LLMs in resolving neural processing tasks, thanks to the collaborative and sharing nature. Although full access to source codes, model parameters, and training data lays the groundwork for transparency, we argue that such a full-access manner is vulnerable to MEAs, and their ill-effects are not fully understood. In this paper, we conduct a systematic formalization for MEAs on open-source LLMs by enumerating all possible threat models associated with adversary objectives, knowledge, and capabilities. Therein, the threat posed by adversaries with internal knowledge, who inject payloads and triggers during the model sharing phase, is of practical interest. We go even further and propose the first MEA against open-source LLMs, dubbed MEASER, which wields impacts through identifying targeted parameters, embedding payloads, injecting triggers, and executing payloads sequentially. Particularly, MEASER enhances the attack robustness against quantization and parameter-efficient fine-tuning (PEFT) by employing the Magnitude-Adaptive Relative Quantization Index Modulation (MAR-QIM) mechanism, synergized with LDPC codes and spread spectrum modulation. In addition, to achieve stealthiness, MEASER devises the performance-aware importance metric to identify targeted parameters with the least degradation of model performance. Extensive experiments on four popular open-source LLMs show that the stealth rate of MEASER outperforms existing MEAs (for general DNNs) significantly, while consistently achieving a 0 bit error rate (BER) in all settings. Moreover, MEASER also maintains superior stealthiness on quantized models. We appeal for investigations on countermeasures against MEASER in view of the significant attack effectiveness.

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

↑