2025-05-23 · 专家 · 机器学习 · 自然语言处理 · 计算机视觉

Backdoor Cleaning without External Guidance in MLLM Fine-tuning

该论文提出了一种名为“相信你的眼睛”(BYE)的数据过滤框架,利用注意力熵模式作为自监督信号来识别和过滤恶意样本,从而在多模态大型语言模型(MLLM)微调中实现后门清理,无需外部指导。

更新于 2025-05-26。作者:Xuankun Rong、Wenke Huang、Jian Liang、Jinhe Bi、Xun Xiao、Yiming Li、Bo Du、Mang Ye。

中文摘要

多模态大型语言模型(MLLMs)越来越多地被部署在微调即服务(FTaaS)环境中,用户提交的数据集使通用模型适应下游任务。然而,这种灵活性却引入了严重的安全风险,因为恶意微调可以轻易地将后门植入MLLMs。在本文中,我们观察到后门触发器通过在非语义区域引起异常的注意力集中,系统地破坏跨模态处理——我们称之为注意力崩溃现象。基于这一洞察,我们提出了“相信你的眼睛”(BYE),一个利用注意力熵模式作为自监督信号来识别和过滤后门样本的数据过滤框架。BYE通过三个阶段的管道操作:(1)使用微调模型提取注意力图,(2)通过双模分离计算熵分数并分析敏感层,以及(3)进行无监督聚类以移除可疑样本。与先前的防御措施不同,BYE不需要干净的监督、辅助标签或模型修改。在多个数据集、模型和不同触发类型上的广泛实验验证了BYE的有效性:它在保持清洁任务性能的同时,实现了近乎零的攻击成功率,为MLLMs中的后门威胁提供了一种强大且通用的解决方案。

英文摘要

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.

解读

一句话总结

该论文提出了一种名为“相信你的眼睛”(BYE)的数据过滤框架,利用注意力熵模式作为自监督信号来识别和过滤恶意样本,从而在多模态大型语言模型(MLLM)微调中实现后门清理,无需外部指导。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt