具有极小性和局部性保证的可靠完整神经网络修复
Sound and Complete Neural Network Repair with Minimality and Locality Guarantees
摘要:
我们提出了一种新的方法来修复使用ReLU激活函数的神经网络。与现有的方法,依赖于修改的神经网络,可以引起一个全球性的变化的功能空间的权重,我们的方法只适用于一个局部的功能空间的变化,同时仍然保证删除的错误行为。通过利用ReLU网络的分段线性性质,我们的方法可以有效地构建一个针对错误输入所在的线性区域定制的补丁网络,当与原始网络结合时,可以证明纠正错误输入的行为。我们的方法既可靠又完整--修复后的网络保证修复错误输入,并保证为任何错误输入找到补丁。此外,我们的方法保留了ReLU网络的连续分段线性性质,自动将修复推广到所有点,包括修复区域内其他未检测到的错误输入,在函数空间中的变化最小,并保证远离修复区域的输入输出不变。在几个基准测试中,我们证明了我们的方法在局部性和限制负面影响方面显着优于现有方法。我们的代码可以在GitHub上找到:https://github.com/BU-DEPEND-Lab/REASSURE。
英文摘要:
We present a novel methodology for repairing neural networks that use ReLU activation functions. Unlike existing methods that rely on modifying the weights of a neural network which can induce a global change in the function space, our approach applies only a localized change in the function space while still guaranteeing the removal of the buggy behavior. By leveraging the piecewise linear nature of ReLU networks, our approach can efficiently construct a patch network tailored to the linear region where the buggy input resides, which when combined with the original network, provably corrects the behavior on the buggy input. Our method is both sound and complete -- the repaired network is guaranteed to fix the buggy input, and a patch is guaranteed to be found for any buggy input. Moreover, our approach preserves the continuous piecewise linear nature of ReLU networks, automatically generalizes the repair to all the points including other undetected buggy inputs inside the repair region, is minimal in terms of changes in the function space, and guarantees that outputs on inputs away from the repair region are unaltered. On several benchmarks, we show that our approach significantly outperforms existing methods in terms of locality and limiting negative side effects. Our code is available on GitHub: https://github.com/BU-DEPEND-Lab/REASSURE.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。