arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.12535cs.LGcs.AI
收藏

NNrepair:基于约束的神经网络分类器修复

NNrepair: Constraint-based Repair of Neural Network Classifiers

University of Texas at Austin(德克萨斯大学奥斯汀分校);KBR Inc.(KBR公司);NASA Ames(美国国家航空航天局艾姆斯研究中心);Queen’s University Belfast(贝尔法斯特女王大学);National University of Singapore(新加坡国立大学)

Muhammad Usman, Divya Gopinath, Youcheng Sun, Yannic Noller, Corina Pasareanu

摘要:

我们提出了NN修复,一个基于约束的技术修复神经网络分类器。该技术旨在将网络的逻辑固定在中间层或最后一层。NNrepair首先使用故障定位来找到潜在故障的网络参数(例如权重),然后使用约束求解来执行修复,以对参数进行小的修改以弥补缺陷。我们提出了新的策略,使精确而有效的修复,如推断的正确性规范作为中间层修复的预言机,并为每个类的专家一代。我们在三种不同的场景中演示了该技术:(1)提高模型的整体准确性,(2)修复由训练数据中毒引起的安全漏洞,(3)提高网络对对抗攻击的鲁棒性。我们对MNIST和CIFAR-10模型的评估表明,NN修复可以在中毒数据上提高45.56个百分点,在对抗数据上提高10.40个百分点。NNrepair还在模型的整体准确性方面提供了小的改进,而不需要新的数据或重新训练。

英文摘要:

We present NNrepair, a constraint-based technique for repairing neural network classifiers. The technique aims to fix the logic of the network at an intermediate layer or at the last layer. NNrepair first uses fault localization to find potentially faulty network parameters (such as the weights) and then performs repair using constraint solving to apply small modifications to the parameters to remedy the defects. We present novel strategies to enable precise yet efficient repair such as inferring correctness specifications to act as oracles for intermediate layer repair, and generation of experts for each class. We demonstrate the technique in the context of three different scenarios: (1) Improving the overall accuracy of a model, (2) Fixing security vulnerabilities caused by poisoning of training data and (3) Improving the robustness of the network against adversarial attacks. Our evaluation on MNIST and CIFAR-10 models shows that NNrepair can improve the accuracy by 45.56 percentage points on poisoned data and 10.40 percentage points on adversarial data. NNrepair also provides small improvement in the overall accuracy of models, without requiring new data or re-training.

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

↑