CorruptEncoder: A Data Poisoning Backdoor Attack against Contrastive LearningCorruptEncoder: Data Poisoning based Backdoor Attacks to Contrastive Learning
The researchers propose CorruptEncoder, a data poisoning backdoor attack against contrastive-learning-pretrained encoders. Contrastive learning pretrains general-purpose encoders on unlabeled images or image-text pairs; an attacker can give the encoder a backdoor by injecting poisoned inputs into the pretraining dataset. The authors analyze why existing attacks of this kind have limited effectiveness, design a new attack strategy, and use a theory-guided method to maximize attack effectiveness. Experiments show that CorruptEncoder significantly outperforms existing data poisoning backdoor attacks, and the authors claim it is the first such attack to achieve over 90% attack success rate using only 3 reference images and a 0.5% poisoning ratio. The authors also propose a defense called localized cropping, which can reduce the effectiveness of such attacks but sacrifices encoder utility, indicating that new defense methods are still needed.