arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10154cs.LGcs.AIcs.LO
收藏

神经网络中 Sigmoid 型非线性的线性界限函数自动设计

Automated Design of Linear Bounding Functions for Sigmoidal Nonlinearities in Neural Networks

University of Oxford(牛津大学);Leiden University(莱顿大学);RWTH Aachen University(亚琛工业大学)

Matthias König, Xiyue Zhang, Holger H. Hoos, Marta Kwiatkowska, Jan N. van Rijn

AI总结:

针对 Sigmoid、Tanh 等一般激活函数的凸松弛验证,本文提出用算法配置定制简单参数搜索以优化线性上下界,并在多个基准上将平均全局下界提升 25%。

摘要:

深度学习算法在各类应用中的普及,增强了确保其对小输入扰动(例如对抗攻击中出现的扰动)具有鲁棒性的需求。现有的完备验证技术可为所有鲁棒性查询提供可证明的保证,但难以扩展到小型神经网络之外。为克服这种计算上的难解性,不完备验证方法通常依赖凸松弛来过近似神经网络中的非线性。针对分段线性函数,研究人员已在获得更紧近似方面取得进展。然而,对于一般激活函数(例如 Sigmoid、Tanh)的神经网络鲁棒性验证仍未得到充分研究,并带来了新的挑战。通常,这些网络使用凸松弛技术进行验证,其中涉及计算非线性激活函数的线性上界和下界。在本工作中,我们提出一种新颖的参数搜索方法,以提高这些线性近似的质量。具体而言,我们表明,使用一种简单的搜索方法,并通过最先进的算法配置技术针对给定验证问题进行细致适配,可在若干常用的局部鲁棒性验证基准上,使平均全局下界相比当前最先进技术平均提升 25%。

英文摘要:

The ubiquity of deep learning algorithms in various applications has amplified the need for assuring their robustness against small input perturbations such as those occurring in adversarial attacks. Existing complete verification techniques offer provable guarantees for all robustness queries but struggle to scale beyond small neural networks. To overcome this computational intractability, incomplete verification methods often rely on convex relaxation to over-approximate the nonlinearities in neural networks. Progress in tighter approximations has been achieved for piecewise linear functions. However, robustness verification of neural networks for general activation functions (e.g., Sigmoid, Tanh) remains under-explored and poses new challenges. Typically, these networks are verified using convex relaxation techniques, which involve computing linear upper and lower bounds of the nonlinear activation functions. In this work, we propose a novel parameter search method to improve the quality of these linear approximations. Specifically, we show that using a simple search method, carefully adapted to the given verification problem through state-of-the-art algorithm configuration techniques, improves the average global lower bound by 25% on average over the current state of the art on several commonly used local robustness verification benchmarks.

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

↑