DEFUSE: Generalizable Backdoor Defense for Self-Supervised Encoders with Generative Priors

📅 2026-08-26
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决自监督学习编码器易受后门攻击的问题,提出DEFUSE框架,通过条件扩散生成模型估计图像似然性,实现通用的后门检测。
📝 Abstract
Self-supervised learning (SSL) encoders are vulnerable to backdoor attacks, posing threats to both visual SSL encoders and vision-language encoders. Existing defenses are typically designed for only one of these paradigms and rely on restrictive assumptions such as access to uninfected in-distribution data or precomputed pseudo-labels, which are difficult to satisfy in practice. To address these limitations, we propose DEFUSE, a generalizable backdoor detection framework for SSL encoders. Inspired by Bayesian posterior inference, we reformulate backdoor detection as a representation-conditioned image likelihood estimation problem parameterized by a conditional diffusion generative model. Uninfected representations tend to yield semantically consistent reconstructions, whereas backdoored ones are more likely to be mapped to the attacker's target class or semantically meaningless images, deviating from the original semantics and thereby exposing the backdoor. However, we find that the exact likelihood is intractable, because highly abstracted representations discard the low-level information necessary for pixel-faithful reconstruction. We therefore relax the objective to semantic reconstruction and evaluate it in a well-separated representation space provided by a reference encoder. Rather than training from scratch, we fine-tune a pretrained diffusion model, leveraging its generative prior to map data onto the natural image manifold while preserving semantic content. Extensive experiments demonstrate that DEFUSE substantially outperforms existing detectors across diverse attack settings, generalizing to both visual SSL and vision-language encoders. Notably, our method greatly reduces the reliance on prior knowledge about the victim encoder or the attack strategy. The source code is available at https://github.com/jsrdcht/DEFUSE .
Problem

Research questions and friction points this paper is trying to address.

backdoor attacks
self-supervised learning
generative priors
SSL encoders
vision-language encoders
Innovation

Methods, ideas, or system contributions that make the work stand out.

Backdoor Detection
Self-Supervised Learning
Conditional Diffusion Models
Generative Priors
Semantic Reconstruction
T
Tuo Chen
School of Cyber Science and Engineering, Southeast University; Ant Group
Jie Gui
Jie Gui
Southeast University, China
Pattern Recognition and Machine LearningArtificial IntelligenceData MiningDeep LearningImage Processing and Computer Vis
Minjing Dong
Minjing Dong
Assistant Professor of Computer Science, City University of Hong Kong
Computer VisionAdversarial RobustnessGenerative ModelModel CalibrationEfficient model
L
Lanting Fang
Beijing Institute of Technology
J
Ju Jia
School of Cyber Science and Engineering, Southeast University
B
Benlei Cui
Alibaba Group
J
Jian Liu
Ant Group