Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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.

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

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringA-OKVQA
Acc83
240
Mathematical ReasoningMathVista
Accuracy45
22
Mathematical ReasoningMathVista
Coherence1.93
10
Multi-discipline Multi-modal UnderstandingMMMU
Coherence2.53
10
Visual Question AnsweringScienceQA
Coherence3.07
10
Backdoor DetectionMMMU
Detection Accuracy81
8
Backdoor DetectionA-OKVQA
Detection Accuracy (DACC)72
8
Backdoor DetectionScienceQA
DACC53
8
Backdoor DetectionMathVista
DACC62
8
Mathematical ReasoningMathVision
Coherence3.03
5
Showing 10 of 10 rows

Other info

Follow for update