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

为Kolmogorov-Arnold网络(KANs)属性验证的最优抽象方法

Optimized Piecewise Affine Abstractions of Neural Networks with Learnable Activation Functions

Department of Computer Science, University of Colorado Boulder(计算机科学系,科罗拉多大学波尔得分校)

Noah Schwartz, Chandra Kanth Nagesh, Sriram Sankaranarayanan, Ramneet Kaur, Tuhin Sahai, Susmit Jha

AI总结:

本文提出一种基于KAN结构的最优抽象方法,通过分段仿射函数近似实现属性验证,结合动态规划和背包优化以平衡精度与计算效率。

摘要:

我们提出了一种新颖的方法,用于验证Kolmogorov-Arnold网络(KANs)的属性,KANs是一类以非线性单变量激活函数为特征的神经网络,通常实现为分段多项式样条或高斯过程。我们的方法通过将每个KAN单元替换为分段仿射(PWA)函数来创建数学抽象,提供原始网络与其近似之间的局部和全局误差估计。这些抽象通过将问题编码为混合整数线性规划(MILP)来实现属性验证,确定当输入属于给定集合时输出是否满足指定属性。关键挑战在于平衡PWA近似中的分段数:过多的分段会增加二进制变量,使验证计算不可行,而过少的分段会导致误差范围过大,产生无信息的界限。我们的主要贡献是利用KAN结构系统地寻找最优抽象的框架。通过在单元级结合动态规划并在网络级结合背包优化,我们最小化总分段数,同时保证指定的误差范围。这种方法在每个单元确定最优近似策略的同时保持整体准确性要求。在多个KAN基准上的实证评估表明,我们的方法的前期分析成本通过优越的验证结果得到证明。

英文摘要:

We present a generalized framework for the range verification of neural networks featuring non-linear activation functions. Our approach first constructs an ``optimized piecewise affine abstraction" of the network that replaces each non-linear activation function by a piecewise affine (PWA) function plus a bounded error. Such PWA functions are readily amenable to existing neural network verification techniques using specializations of linear arithmetic SMT solvers and mixed-integer optimization approaches. However, there are infinitely many ways to abstract each node, with a natural tradeoff between the number of pieces used, the global error bound, and the complexity of the resulting verification problem. We propose a dynamic programming (DP) algorithm to systematically compute the optimized PWA abstraction for general activation functions, guaranteeing tighter output bounds. The algorithm combines a local DP approximation at each node with a global error bound, yielding a variant of the knapsack problem for deciding how to allocate a fixed budget on the total number of pieces across units so as to minimize the worst-case error bound between the network and its approximation. Although the knapsack problem is itself NP-hard, we can use pseudo-polynomial DP algorithms as well as approximation schemes to solve it efficiently. Crucially, our approach is broadly applicable to diverse networks consisting of non-linear activations, including standard Multi-Layer Perceptrons (MLPs) and recently proposed architectures such as Kolmogorov-Arnold Networks (KANs). Over a series of KAN benchmarks spanning 20 to 22,000 parameters, our approach yields output bounds that are consistently of smaller width than uniform PWA allocation. The overall time taken is roughly comparable while the overhead for computing the optimized abstraction is subsumed by the time taken to compute output bounds.

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

↑