arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.16023cs.CR
收藏

BadToken:针对多模态大语言模型的令牌级后门攻击

BadToken: Token-level Backdoor Attacks to Multi-modal Large Language Models

Zenghui Yuan, Jiawen Shi, Pan Zhou, Neil Zhenqiang Gong, Lichao Sun

AI总结:

针对多模态大语言模型现有后门攻击有效性与隐蔽性不足的问题,提出首个令牌级后门攻击BadToken,通过令牌替换和添加实现灵活隐蔽攻击,在多模型多任务上验证了高成功率与隐蔽性,并展示了现实威胁。

摘要:

多模态大语言模型(MLLMs)是大语言模型(LLMs)的扩展,可处理多模态信息,能够针对图文输入生成响应。MLLMs 已通过即插即用、无需微调的方式被集成到自动驾驶、医疗诊断等各类多模态应用中。这种部署范式提升了 MLLMs 遭受后门攻击的脆弱性,但现有针对 MLLMs 的后门攻击在有效性和隐蔽性上表现有限。本文提出 BadToken,这是首个针对 MLLMs 的令牌级后门攻击。BadToken 引入两种新型后门行为:令牌替换(Token-substitution)和令牌添加(Token-addition),通过对含后门输入的原始输出进行令牌级修改,实现灵活且隐蔽的攻击。我们构建了一个考虑这两种后门行为的通用优化问题,以最大化攻击效果。我们在两个开源 MLLMs 及多种任务上评估了 BadToken,结果表明该攻击在保持模型效用的同时,实现了高攻击成功率和隐蔽性。我们还展示了 BadToken 在自动驾驶和医疗诊断两种场景下的现实威胁。此外,我们考量了微调、输入净化等防御手段,结果凸显了该攻击的威胁性。

英文摘要:

Multi-modal large language models (MLLMs) extend large language models (LLMs) to process multi-modal information, enabling them to generate responses to image-text inputs. MLLMs have been incorporated into diverse multi-modal applications, such as autonomous driving and medical diagnosis, via plug-and-play without fine-tuning. This deployment paradigm increases the vulnerability of MLLMs to backdoor attacks. However, existing backdoor attacks against MLLMs achieve limited effectiveness and stealthiness. In this work, we propose BadToken, the first token-level backdoor attack to MLLMs. BadToken introduces two novel backdoor behaviors: Token-substitution and Token-addition, which enable flexible and stealthy attacks by making token-level modifications to the original output for backdoored inputs. We formulate a general optimization problem that considers the two backdoor behaviors to maximize the attack effectiveness. We evaluate BadToken on two open-source MLLMs and various tasks. Our results show that our attack maintains the model's utility while achieving high attack success rates and stealthiness. We also show the real-world threats of BadToken in two scenarios, i.e., autonomous driving and medical diagnosis. Furthermore, we consider defenses including fine-tuning and input purification. Our results highlight the threat of our attack.

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

↑