BackdoorBox:一个用于后门学习的Python脚本
BackdoorBox: A Python Toolbox for Backdoor Learning
摘要:
深度神经网络(DNN)的训练通常涉及第三方资源($e.g.$、样本、主干和预训练模型),这带来了后门攻击作为新的训练阶段威胁。一般来说,后门攻击者打算在DNN中植入隐藏的后门,以便被攻击的DNN在良性样本上正常运行,而如果隐藏的后门被攻击者指定的触发模式激活,则它们的预测将被恶意更改为预定义的目标标签。为了便于研发更安全的训练方案和防御,我们设计了一个开源的Python工具箱,在统一灵活的框架下实现了具有代表性的高级后门攻击和防御。我们的工具箱有四个重要且有前途的特征,包括一致性、简单性、灵活性和共同开发。它允许研究人员和开发人员在基准测试或本地数据集上轻松实现和比较不同的方法。这个Python工具箱,即\texttt{BackdoorBox},可以在\url{https://github.com/THUYimingLi/BackdoorBox}上找到。
英文摘要:
Third-party resources ($e.g.$, samples, backbones, and pre-trained models) are usually involved in the training of deep neural networks (DNNs), which brings backdoor attacks as a new training-phase threat. In general, backdoor attackers intend to implant hidden backdoor in DNNs, so that the attacked DNNs behave normally on benign samples whereas their predictions will be maliciously changed to a pre-defined target label if hidden backdoors are activated by attacker-specified trigger patterns. To facilitate the research and development of more secure training schemes and defenses, we design an open-sourced Python toolbox that implements representative and advanced backdoor attacks and defenses under a unified and flexible framework. Our toolbox has four important and promising characteristics, including consistency, simplicity, flexibility, and co-development. It allows researchers and developers to easily implement and compare different methods on benchmark or their local datasets. This Python toolbox, namely \texttt{BackdoorBox}, is available at \url{https://github.com/THUYimingLi/BackdoorBox}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。