Backdoor Cleaning without External Guidance in MLLM Fine-tuning

Xuan-Kun Rong, Wen-Ke Huang, Jian Liang, Jin-He Bi, Xun Xiao +3 more
5/1/2025
46 citations

Official code: XuankunRong/BYE (21 stars).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

XuankunRong/BYEOfficial25%

[NeurIPS'25] Backdoor Cleaning without External Guidance in MLLM Fine-tuning

212

Similar Papers

Cite this paper

@article{rong2025backdoor,
  title  = {Backdoor Cleaning without External Guidance in MLLM Fine-tuning},
  author = {Xuan-Kun Rong and Wen-Ke Huang and Jian Liang and Jin-He Bi and Xun Xiao and Yiming Li and Bo Du and Mang Ye},
  year   = {2025},
  eprint = {2505.16916},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.16916},
  url    = {https://doi.org/10.48550/arXiv.2505.16916},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.16916.svg)](https://codeofpaper.com/paper/2505.16916)

Discussion