Abstract
Self-supervised learning (SSL) has become a cornerstone of modern computer vision, yet its security against backdoor attacks remains under-explored. This paper introduces INACTIVE, a novel training-time backdoor attack that utilizes imperceptible triggers to compromise SSL models. By disentangling the trigger distribution from standard SSL data augmentations, INACTIVE achieves near-perfect attack success rates while maintaining high visual stealth and bypassing state-of-the-art defenses.
Introduction
Backdoor attacks involve poisoning a model during training so that it functions correctly on clean data but executes a malicious action when a specific trigger is present. While extensively studied in supervised learning, attacking SSL—where models learn from unlabeled data—presents unique challenges.
The primary hurdle is that SSL relies heavily on aggressive data augmentations (e.g., color jittering, grayscaling) to learn robust representations. These augmentations often inadvertently "wash out" subtle, invisible triggers designed for supervised settings, causing the model to ignore the malicious signal. Consequently, existing SSL attacks often resort to conspicuous triggers like colored patches, which are easily detected by human inspection.
Methodology: The INACTIVE Attack
The researchers propose INACTIVE (INvisible bACkdoor aTtack In self-superVised lEarning) to overcome the augmentation-overlap problem. The core strategy is to "disentangle" the trigger from the transformation space used during normal SSL training.
Trigger Design and Injection
INACTIVE employs a U-Net-based Trigger Injector to generate subtle, image-wide perturbations. Unlike localized patches, these perturbations are optimized to be mathematically distinct from standard augmentations.
The attack utilizes three primary loss functions:
- Disentanglement Loss ($L_{disentangle}$): Ensures the trigger resides in a different distributional space (e.g., specific HSV/HSL channels) than standard augmentations, preventing the model from blurring the trigger with normal image variations.
- Feature Alignment Loss ($L_{alignment}$): Forces the encoder to map triggered images to the embedding space of a target reference class.
- Stealthiness Loss ($L_{stealthy}$): Optimizes for perceptual similarity (LPIPS), PSNR, and SSIM to ensure the trigger remains invisible to human observers.
Experimental Evaluation
The attack was evaluated across five benchmarks: CIFAR10, STL10, GTSRB, SVHN, and ImageNet. The researchers tested INACTIVE against six major SSL frameworks, including SimCLR, MoCo, BYOL, SimSiam, SwAV, and CLIP.
Performance and Stealth
INACTIVE demonstrates exceptional effectiveness, achieving an average Attack Success Rate (ASR) of 99.09% across various datasets. Crucially, the "Benign Accuracy" (BA) remains within 1% of clean models, ensuring the attack does not degrade the model's primary utility.
In terms of stealth, INACTIVE outperforms other "invisible" attacks like CTRL or WaNet. For instance, it maintains a high PSNR of approximately 35.86 dB, significantly higher than many baselines, making the perturbations virtually undetectable.
Discussion and Conclusion
The success of INACTIVE highlights a critical vulnerability in SSL: the very augmentations meant to provide robustness can be bypassed by carefully disentangling malicious signals. Because the trigger is distributed and optimized for feature-space distance, it effectively evades modern defenses like DECREE, Beatrix, and ASSET, which typically search for localized anomalies.
While highly effective in computer vision, future work is needed to explore similar disentanglement strategies in other domains such as Natural Language Processing (NLP) and Audio. As SSL continues to be adopted for large-scale pre-training, developing adaptive defenses against such sophisticated distributional attacks remains a priority.
Summary updated