Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (11): 3547-3554.DOI: 10.11772/j.issn.1001-9081.2025101281

• Cyber security • Previous Articles    

Backdoor attack method for vision-language models based on block perturbation

Zan HUANG1, Deyu YUAN1,2(), Yi YANG1, Bo MIAO1   

  1. 1.School of Information Network Security,People's Public Security University of China,Beijing 100038,China
    2.Key Laboratory of Security and Risk Assessment,Ministry of Public Security (People's Public Security University of China),Beijing 100038,China
  • Received:2025-11-04 Revised:2026-01-06 Accepted:2026-01-08 Online:2026-03-25 Published:2026-11-10
  • Contact: Deyu YUAN
  • About author:HUANG Zan, born in 2004, M. S. candidate. His research interests include large language model security, cybersecurity.
    YANG Yi, born in 2001, M. S. candidate. His research interests include large language model, knowledge graph.
    MIAO Bo, born in 2002, M. S. candidate. His research interests include large language model security, cybersecurity.
  • Supported by:
    Key Program of Ministry of Public Security of China(2024JSZ01)

基于分块扰动的视觉语言模型后门攻击方法

黄赞1, 袁得嵛1,2(), 杨懿1, 苗博1   

  1. 1.中国人民公安大学 信息网络安全学院,北京 100038
    2.安全防范技术与风险评估公安部重点实验室(中国人民公安大学),北京 100038
  • 通讯作者: 袁得嵛
  • 作者简介:黄赞(2004—),男,山东枣庄人,硕士研究生,主要研究方向:大语言模型安全、网络安全
    杨懿(2001—),男,安徽安庆人,硕士研究生,主要研究方向:大语言模型、知识图谱
    苗博(2002—),男,河北衡水人,硕士研究生,主要研究方向:大语言模型安全、网络安全。
  • 基金资助:
    公安部技术研究计划重点项目(2024JSZ01)

Abstract:

Current backdoor attack methods against Vision-Language Models (VLMs) suffer from low stealthiness, monotonous patterns, poor attack effectiveness, and high cost. To address these issues, a Block-based Adaptive Perturbation (BAP) based backdoor attack method was proposed from the perspective of the model's vision encoder architecture. First, the attack target identifier was represented as a string and encoded into an invisible perturbation signal using steganographic techniques. Second, based on the block-encoding concept of the Vision Transformer (ViT) architecture, the perturbation was embedded in various image patches, thereby making the poisoned images carrying triggers visually indistinguishable from clean ones. Finally, by poisoning the data during the instruction fine-tuning stage, the model’s multimodal feature fusion process was manipulated to hijack its cross-modal alignment, thereby causing the model to output malicious text. Experimental results demonstrate that the proposed method achieved an Attack Success Rate (ASR) of 96.4% at a poisoning rate of 5.0%, while maintaining a Detection Success Rate (DSR) of only 13.5%. Its stealthiness surpasses those of various comparison methods, and it is general across different VLMs.

Key words: Vision Transformer (ViT), Large Language Model (LLM), backdoor attack, data poisoning, instruction fine-tuning

摘要:

针对当前视觉语言模型(VLM)后门攻击方法存在隐蔽性低、模式单一、攻击效果差和所需成本高的问题,本文从模型视觉编码器架构的角度,提出一种基于分块自适应扰动(BAP)的后门攻击方法。首先,将攻击目标标识为字符串,并运用隐写技术将它编码为不可见的扰动信号;其次,基于视觉Transformer (ViT)架构的分块编码理念,将扰动自适应地嵌入各个图像分块中,使得携带触发器的中毒图像在视觉上与干净图像难以区分;最后,通过在指令微调阶段的数据投毒操控模型的多模态特征融合过程,进而劫持它的跨模态对齐,从而实现模型输出恶意文本的攻击效果。实验结果表明,本文方法在5.0%的低中毒率下,攻击成功率(ASR)达到96.4%,检测成功率(DSR)仅为13.5%,隐蔽性能优于对比方法,且对不同VLM表现出泛化性。

关键词: 视觉Transformer, 大语言模型, 后门攻击, 数据投毒, 指令微调

CLC Number: