arXiv:2505.16916cs.CRcs.CV2025-05NeurIPS被引 37

无需外部数据,自动识别并清除多模态模型微调中的后门攻击

Backdoor Cleaning without External Guidance in MLLM Fine-tuning

  • 通过注意力熵模式检测异常,自监督识别后门样本
  • 在多个数据集和模型上实现接近零的攻击成功率
  • 适合部署在用户自定义微调场景的模型安全防护

多模态大语言模型(MLLM)在细调即服务(FTaaS)中广泛应用,用户提交的数据集可将通用模型适配至下游任务。然而,这种灵活性引入严重安全风险:恶意微调可极低成本植入后门。本文观察到,后门触发器会系统性破坏跨模态处理,导致注意力集中在非语义区域——我们称之为注意力坍塌。基于此,提出Believe Your Eyes(BYE)数据过滤框架,利用注意力熵模式作为自监督信号,识别并过滤后门样本。BYE采用三阶段流程:(1)使用微调模型提取注意力图,(2)通过双模态分离计算熵得分并定位敏感层,(3)无监督聚类剔除可疑样本。与先前方法不同,BYE无需干净监督、辅助标签或模型修改。大量实验验证其有效性:在多种数据集、模型及触发类型下,攻击成功率接近零,同时保持清洁任务性能,为MLLM后门威胁提供鲁棒且通用的解决方案。

原文摘要 · Abstract (English)

Multimodal Large Language Models (MLLMs) are increasingly deployed in fine-tuning-as-a-service (FTaaS) settings, where user-submitted datasets adapt general-purpose models to downstream tasks. This flexibility, however, introduces serious security risks, as malicious fine-tuning can implant backdoors into MLLMs with minimal effort. In this paper, we observe that backdoor triggers systematically disrupt cross-modal processing by causing abnormal attention concentration on non-semantic regions--a phenomenon we term attention collapse. Based on this insight, we propose Believe Your Eyes (BYE), a data filtering framework that leverages attention entropy patterns as self-supervised signals to identify and filter backdoor samples. BYE operates via a three-stage pipeline: (1) extracting attention maps using the fine-tuned model, (2) computing entropy scores and profiling sensitive layers via bimodal separation, and (3) performing unsupervised clustering to remove suspicious samples. Unlike prior defenses, BYE equires no clean supervision, auxiliary labels, or model modifications. Extensive experiments across various datasets, models, and diverse trigger types validate BYE's effectiveness: it achieves near-zero attack success rates while maintaining clean-task performance, offering a robust and generalizable solution against backdoor threats in MLLMs.

后门防御多模态模型自监督

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。