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

神经网络的自动修复

Automated Repair of Neural Networks

Technion—Israel Institute of Technology(以色列理工学院)

Dor Cohen, Ofer Strichman

摘要:

在过去的十年中,神经网络(NN)已被广泛用于许多应用,包括安全关键的,如自治系统。尽管它们正在被采用,但众所周知,NN容易受到对抗攻击的影响。因此,保证此类系统正确工作非常重要。为了解决这些问题,我们引入了一个框架,用于修复不安全的NN w.r.t.安全规范,即利用可满足性模理论(SMT)求解器。我们的方法是能够搜索一个新的,安全的NN表示,通过修改只有少数的权重值。此外,我们的技术试图最大限度地提高与原始网络的决策边界的相似性。我们进行了广泛的实验,证明我们提出的框架,以产生安全的神经网络的w.r.t.对抗鲁棒性属性,只有轻微的准确性损失(在相似性方面)。此外,我们将我们的方法与一个天真的基线进行比较,以实证证明其有效性。最后,我们提供了一个算法来自动修复神经网络给定的安全属性,并提出了一些算法来提高其计算性能。目前,通过这种方法,我们能够生产小尺寸(即,具有多达几百个参数)校正NN,由分段线性ReLU激活函数组成。然而,我们的框架是一般的意义上,它可以合成神经网络的w.r.t.一阶逻辑规范的任何可判定片段。

英文摘要:

Over the last decade, Neural Networks (NNs) have been widely used in numerous applications including safety-critical ones such as autonomous systems. Despite their emerging adoption, it is well known that NNs are susceptible to Adversarial Attacks. Hence, it is highly important to provide guarantees that such systems work correctly. To remedy these issues we introduce a framework for repairing unsafe NNs w.r.t. safety specification, that is by utilizing satisfiability modulo theories (SMT) solvers. Our method is able to search for a new, safe NN representation, by modifying only a few of its weight values. In addition, our technique attempts to maximize the similarity to original network with regard to its decision boundaries. We perform extensive experiments which demonstrate the capability of our proposed framework to yield safe NNs w.r.t. the Adversarial Robustness property, with only a mild loss of accuracy (in terms of similarity). Moreover, we compare our method with a naive baseline to empirically prove its effectiveness. To conclude, we provide an algorithm to automatically repair NNs given safety properties, and suggest a few heuristics to improve its computational performance. Currently, by following this approach we are capable of producing small-sized (i.e., with up to few hundreds of parameters) correct NNs, composed of the piecewise linear ReLU activation function. Nevertheless, our framework is general in the sense that it can synthesize NNs w.r.t. any decidable fragment of first-order logic specification.

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

↑