Backdoor attacks have become an emerging threat to NLP systems. By providing poisoned training data, the adversary can embed a "backdoor" into the victim model, which allows input instances satisfying certain textual patterns (e.g., containing a keyword) to be predicted as a target label of the adversary's choice. In this paper, we demonstrate that it is possible to design a backdoor attack that is both stealthy (i.e., hard to notice) and effective (i.e., has a high attack success rate). We propose BITE, a backdoor attack that poisons the training data to establish strong correlations between the target label and a set of "trigger words". These trigger words are iteratively identified and injected into the target-label instances through natural word-level perturbations. The poisoned training data instruct the victim model to predict the target label on inputs containing trigger words, forming the backdoor. Experiments on four text classification datasets show that our proposed attack is significantly more effective than baseline methods while maintaining decent stealthiness, raising alarm on the usage of untrusted training data. We further propose a defense method named DeBITE based on potential trigger word removal, which outperforms existing methods in defending against BITE and generalizes well to handling other backdoor attacks.
Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor Attacks
Peking University(北京大学)
自然语言处理(Natural Language Processing,NLP)模型易受后门攻击的攻击,这是NLP模型面临的一个新的威胁。现有的NLP模型在线后门防御方法只关注输入或输出层面的异常,仍然存在易受自适应攻击和计算代价高的问题。在这项工作中,我们采取的第一步,在中间特征水平上研究文本中毒样本的去隐藏,并提出了一种基于特征的有效的在线防御方法。通过对现有攻击方法的大量实验,我们发现中毒样本在中毒NLP模型的中间特征空间中远离干净样本。出于这一观察,我们设计了一个基于距离的异常分数(DAN)区分中毒的样本从干净的样本在功能级别。在情感分析和攻击检测任务上的实验证明了DAN的优越性,因为它在防御性能方面大大超过现有的在线防御方法,并且具有较低的推理成本。此外,我们还证明了DAN也能抵抗基于特征级正则化的自适应攻击。我们的代码可在https://github.com/lancopku/DAN上获得。
ONION: A Simple and Effective Defense Against Textual Backdoor Attacks
Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Huazhong University of Science and Technology(华中科技大学);Beihang University(北京航空航天大学)
Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger
Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Beihang University(北京航空航天大学);Huazhong University of Science and Technology(华中科技大学)
Google Research(谷歌研究院);Toyota Technological Institute at Chicago(芝加哥丰田技术研究院);Carnegie Mellon University(卡内基梅隆大学);University of California San Diego(加州大学圣迭戈分校)
本文提出可多语言训练释义句子表征的系统并发布八种语言模型,通过大规模数据训练显著提升语义相似性和双语文本挖掘性能,同时具备更快的 CPU 推理能力与更完善的训练工具。
VisualTrap: A Stealthy Backdoor Attack on GUI Agents via Visual Grounding Manipulation
University of Science and Technology of China(中国科学技术大学);National University of Singapore(新加坡国立大学);East China University of Science and Technology(东华大学)
Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Center for Data Science, Peking University(北京大学数据科学中心);Pattern Recognition Center, WeChat AI, Tencent Inc.(腾讯公司微信AI模式识别中心)
When Emotion Becomes Trigger: Emotion-style dynamic Backdoor Attack Parasitising Large Language Models
School of Cyber Science and Engineering, Sichuan University(四川大学计算机科学与工程学院);School of Computer Science, China West Normal University(西南大学计算机科学学院);School of Electronic and Information Engineering, Lanzhou Jiaotong University(兰州交通大学电子信息工程学院)
Triggerless Backdoor Attack for NLP Tasks with Clean Labels
Zhejiang University(浙江大学);Nanyang Technological University(南洋理工大学);Shanghai Institute for Advanced Study of Zhejiang University(浙江大学上海高等研究院);Shanghai AI Laboratory(上海人工智能实验室);Chongqing University(重庆大学);Peng Cheng Laboratory(鹏城实验室);Peking University(北京大学)