Skip to content

Apple of Sodom: Hidden Backdoors in Superior Sentence Embeddings via Contrastive LearningApple of Sodom: Hidden Backdoors in Superior Sentence Embeddings via Contrastive Learning

arXiv· arXiv:2210.11082· Xiaoyi Chen, Baisong Xin, Shengfang Zhai, Shiqing Ma, Qingni Shen, Zhonghai Wu·Indexed by this site · 25 days ago· Originally publishedAttacks
AI summary

The paper proposes BadCSE, a backdoor attack framework against contrastive learning sentence embeddings that can inject backdoors under both supervised and unsupervised settings and resist downstream fine-tuning. The attack manipulates the construction of positive and negative sample pairs so that backdoor samples' embeddings are close to target samples' embeddings, or close to the negative embeddings of their clean versions. On STS tasks and other downstream tasks, the supervised untargeted attack causes a 194.86% performance drop; the targeted attack maps backdoor samples to target embeddings with a 97.70% success rate while maintaining model utility.

Read originalarxiv.org