虽然以前的研究通过改变神经网络的参数来植入后门,但最近的工作发现了一种更隐蔽的威胁:嵌入在网络架构定义中的后门。这涉及注入常见的架构组件,如激活函数和池化层,以隐蔽地引入一种即使在(完全重新)训练后仍能持续存在的后门行为。然而,架构后门的全部范围和影响在很大程度上仍未被探索。Bober-Irizar et al. [2023] 引入了第一个架构后门;他们展示了如何为棋盘格模式创建后门,但从未解释如何针对所选的任意触发模式。在这项工作中,我们构建了一个任意触发检测器,可用于在无需人工监督的情况下对架构进行后门植入。这促使我们重新审视架构后门的概念并对其进行分类,描述了 12 种不同的类型。为了评估检测此类后门的难度,我们进行了一项用户研究,结果显示 ML 开发者只能在 37% 的情况下识别出常见模型定义中的可疑组件为后门,而令人惊讶的是,他们在 33% 的情况下更喜欢被植入后门的模型。为了对这些结果进行背景分析,我们发现语言模型在后门检测方面优于人类。最后,我们讨论了针对架构后门的防御措施,强调需要稳健且全面的策略来保障 ML 系统的完整性。
英文摘要:
While previous research backdoored neural networks by changing their parameters, recent work uncovered a more insidious threat: backdoors embedded within the definition of the network's architecture. This involves injecting common architectural components, such as activation functions and pooling layers, to subtly introduce a backdoor behavior that persists even after (full re-)training. However, the full scope and implications of architectural backdoors have remained largely unexplored. Bober-Irizar et al. [2023] introduced the first architectural backdoor; they showed how to create a backdoor for a checkerboard pattern, but never explained how to target an arbitrary trigger pattern of choice. In this work we construct an arbitrary trigger detector which can be used to backdoor an architecture with no human supervision. This leads us to revisit the concept of architecture backdoors and taxonomise them, describing 12 distinct types. To gauge the difficulty of detecting such backdoors, we conducted a user study, revealing that ML developers can only identify suspicious components in common model definitions as backdoors in 37% of cases, while they surprisingly preferred backdoored models in 33% of cases. To contextualize these results, we find that language models outperform humans at the detection of backdoors. Finally, we discuss defenses against architectural backdoors, emphasizing the need for robust and comprehensive strategies to safeguard the integrity of ML systems.
Structure-Aware Distributed Backdoor Attacks in Federated Learning
Faculty of Applied Sciences, Macao Polytechnic University(应用科学学院,澳门理工学院);Faculty of Cyberspace Security, Software Engineering Institute of Guangzhou(网络安全学院,广州软件工程研究院);School of Engineering and Technology, Central Queensland University(工程与技术学院,中央昆士兰大学);Faculty of Software and Artificial Intelligence, Software Engineering Institute of Guangzhou(软件与人工智能学院,广州软件工程研究院)