The Platonic Defense: Backdoor Defense for Self-Supervised Encoders in the Era of Large Scale Pre-training
Tuo Chen, Minjing Dong, Benlei Cui, Jian liu, Jie Gui
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: AI Safety, Security & Alignment › Backdoor Attacks and Defenses · Type: new method · Keywords: self-supervised learning, backdoor defense, black-box detection, energy-based model, visual representation
Areas: Safety & Security › Adversarial Security › Out-of-Distribution Detection
Summary
The Platonic Representation Defense introduces a black-box test-time energy-based defense that detects and purifies backdoor-contaminated self-supervised encoders without needing labels or attack details.
Explained to a 5-year-old
Big computers can learn to see things by looking at many pictures on their own. Sometimes someone can hide a secret trick in those pictures that makes the computer give wrong answers. We need a way to find that trick and fix the computer without knowing what the trick is. The new idea uses a special rule that checks if the pictures match and cleans them up. This helps keep the computer safe and working well for everyone.
Explained to a 5-year-old, longer
Big computers can learn to understand pictures by looking at many images on their own. They do this without anyone telling them what the pictures mean, which is called self-supervised learning. However, someone could hide a secret trick inside those pictures that makes the computer give wrong answers. This secret trick is called a backdoor attack, and it can be hard to find because it is hidden. Existing ways to stop these tricks often need extra information, like knowing what the trick looks like or having the original labels. The paper proposes a new method that works like a safety check, comparing the computer’s understanding of a picture with a reference set of pictures. It creates a simple score that tells whether the picture is normal or has the secret trick. The score is learned by comparing matching and non-matching pictures, similar to a game of spot the difference. It also helps clean up the computer’s understanding so that even if a trick slipped in, the output becomes correct. This approach does not need to know the specific trick, the type of computer, or even the kind of data it works with. The researchers tested it on many different computers and many different hidden tricks, and it worked well each time. This makes it easier to trust big computer vision systems in real-world uses like medical imaging or self-driving cars.
For a technical reader
The paper addresses the vulnerability of self-supervised visual encoders to backdoor attacks in a fully black-box scenario. It introduces a conditional energy function that measures the compatibility between source representations and a set of reference representations. This energy function is trained using noise-contrastive estimation for detection and denoising score matching for representation purification. A theoretical bound links the energy gap to the mutual information between the two representation spaces, providing insight into detection performance. Empirical evaluations across multiple encoders and over ten attack variants demonstrate substantial improvements in both detection and purification without requiring labels or attack specifics.
Problem
Self-supervised pretrained visual encoders are vulnerable to backdoor attacks, and existing defenses often require access to labels, attack patterns, or training data, making fully black-box defense challenging.
Method
The approach defines a conditional energy function over source and reference representations, trains it for detection using noise-contrastive estimation and for purification using denoising score matching, and leverages the theoretical link between the energy gap and mutual information.
Results
The approach yields substantial performance gains across a wide range of backdoor attacks on various self-supervised encoders.
Contributions
It provides a unified, attack-agnostic, model-agnostic, and modality-agnostic black-box defense that can both detect and purify contaminated representations, along with a theoretical bound linking detection performance to mutual information.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction