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

Arachne:基于搜索的深度神经网络修复

Arachne: Search Based Repair of Deep Neural Networks

University of Luxembourg(卢森堡大学);KAIST(韩国科学技术院)

Jeongju Sohn, Sungmin Kang, Shin Yoo

摘要:

深度神经网络(DNN)的快速和广泛采用需要测试其行为的方法,许多测试方法已经成功地揭示了DNN的错误行为。然而,人们在发现后如何纠正这种行为相对不清楚,因为再培训涉及昂贵的数据汇集,并不能保证解决根本问题。本文介绍了一种新的DNN程序修复技术Arachne,它直接使用DNN的输入输出对作为规范来修复DNN。Arachne定位神经权重,它可以在其上生成有效的补丁,并使用差分进化来优化局部权重并纠正错误行为。使用不同基准的实证研究表明,Arachne可以修复DNN的特定错误分类,而不会显着降低总体准确性。平均而言,由Arachne生成的补丁可以概括61.3%的不可见的不当行为,而由最先进的DNN修复技术生成的补丁只能概括10.2%,有时甚至没有,而所需的时间是Arachne的数十倍。我们还表明,Arachne可以通过消除性别分类模型的偏见来解决公平问题。最后,我们成功地将Arachne应用于文本情感模型,以表明它超越了卷积神经网络。

英文摘要:

The rapid and widespread adoption of Deep Neural Networks (DNNs) has called for ways to test their behaviour, and many testing approaches have successfully revealed misbehaviour of DNNs. However, it is relatively unclear what one can do to correct such behaviour after revelation, as retraining involves costly data collection and does not guarantee to fix the underlying issue. This paper introduces Arachne, a novel program repair technique for DNNs, which directly repairs DNNs using their input-output pairs as a specification. Arachne localises neural weights on which it can generate effective patches and uses Differential Evolution to optimise the localised weights and correct the misbehaviour. An empirical study using different benchmarks shows that Arachne can fix specific misclassifications of a DNN without reducing general accuracy significantly. On average, patches generated by Arachne generalise to 61.3% of unseen misbehaviour, whereas those by a state-of-the-art DNN repair technique generalise only to 10.2% and sometimes to none while taking tens of times more than Arachne. We also show that Arachne can address fairness issues by debiasing a gender classification model. Finally, we successfully apply Arachne to a text sentiment model to show that it generalises beyond Convolutional Neural Networks.

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

↑