arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.04977cs.CRcs.CVcs.LG
收藏

Mithridates:审计并提升机器学习流水线的后门抗性

Mithridates: Auditing and Boosting Backdoor Resistance of Machine Learning Pipelines

Cornell Tech(康奈尔理工学院)

Eugene Bagdasaryan, Vitaly Shmatikov

AI总结:

针对机器学习流水线后门抗性难以评估与提升的问题,提出通用的攻击无关抗性指标,设计Mithridates多阶段方法在超参数搜索中平衡精度与安全性,可将后门抗性提升3-5倍且精度影响极小。

摘要:

使用来自潜在不可信来源的数据训练的机器学习(ML)模型易受投毒攻击。一小部分经过恶意构造的训练输入子集,会导致模型在主任务之外额外学习到一个“后门”任务(例如,对带有特定特征的输入进行错误分类)。近期研究提出了许多假设性的后门攻击,其攻击效果在很大程度上取决于目标模型的配置和训练超参数。\n鉴于潜在后门攻击的多样性,非安全专家的ML工程师无法衡量其现有训练流水线的脆弱程度,也没有实用的方法来比较不同训练配置以选出抗性更强的方案。部署防御措施需要评估并从数十篇研究论文中进行选择,还要对训练流水线进行重新设计。\n在本文中,我们旨在为ML工程师提供实用工具,用于审计其训练流水线的后门抗性,并比较不同的训练配置,以帮助选出在准确性和安全性之间实现最佳平衡的配置。\n首先,我们提出了一种通用的、与攻击无关的抗性指标,该指标基于模型学习到任何后门之前必须被攻破的训练输入的最小数量。\n其次,我们设计、实现并评估了Mithridates——一种将后门抗性整合到训练配置搜索中的多阶段方法。ML开发者已经依赖超参数搜索来找到能最大化模型准确性的配置。Mithridates扩展了这一标准工具,在不对训练流水线进行颠覆性改动的前提下平衡准确性与抗性。我们的实验表明,通过Mithridates找到的超参数可将对多种类型后门攻击的抗性提升3-5倍,且仅对准确性产生轻微影响。我们还讨论了其向AutoML和联邦学习的扩展方向。

英文摘要:

Machine learning (ML) models trained on data from potentially untrusted sources are vulnerable to poisoning. A small, maliciously crafted subset of the training inputs can cause the model to learn a "backdoor" task (e.g., misclassify inputs with a certain feature) in addition to its main task. Recent research proposed many hypothetical backdoor attacks whose efficacy heavily depends on the configuration and training hyperparameters of the target model. Given the variety of potential backdoor attacks, ML engineers who are not security experts have no way to measure how vulnerable their current training pipelines are, nor do they have a practical way to compare training configurations so as to pick the more resistant ones. Deploying a defense requires evaluating and choosing from among dozens of research papers and re-engineering the training pipeline. In this paper, we aim to provide ML engineers with pragmatic tools to audit the backdoor resistance of their training pipelines and to compare different training configurations, to help choose one that best balances accuracy and security. First, we propose a universal, attack-agnostic resistance metric based on the minimum number of training inputs that must be compromised before the model learns any backdoor. Second, we design, implement, and evaluate Mithridates a multi-stage approach that integrates backdoor resistance into the training-configuration search. ML developers already rely on hyperparameter search to find configurations that maximize the model's accuracy. Mithridates extends this standard tool to balance accuracy and resistance without disruptive changes to the training pipeline. We show that hyperparameters found by Mithridates increase resistance to multiple types of backdoor attacks by 3-5x with only a slight impact on accuracy. We also discuss extensions to AutoML and federated learning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑