<div class="csl-bib-body">
<div class="csl-entry">Schwartz, N., Nagesh, C. K., Sankaranarayanan, S., Kaur, R., Sahai, T., & Jha, S. (2026). Optimized Piecewise Affine Abstractions of Neural Networks with Learnable Activation Functions. In B. Dutertre & B. Könighofer (Eds.), <i>Proceedings of the 26th Conference on Formal Methods in Computer-Aided Design – FMCAD 2026</i> (pp. 678–693). TU Wien Academic Press. https://doi.org/10.34727/2026/isbn.978-3-85448-093-8_69</div>
</div>
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.
en
dc.language.iso
en
-
dc.rights.uri
http://creativecommons.org/licenses/by/4.0/
-
dc.subject
formal methods
en
dc.subject
computer-aided system design
en
dc.subject
hardware and system verification
en
dc.title
Optimized Piecewise Affine Abstractions of Neural Networks with Learnable Activation Functions
en
dc.type
Inproceedings
en
dc.type
Konferenzbeitrag
de
dc.rights.license
Creative Commons Namensnennung 4.0 International
de
dc.rights.license
Creative Commons Attribution 4.0 International
en
dc.identifier.doi
10.34727/2026/isbn.978-3-85448-093-8_69
-
dc.contributor.affiliation
University of Colorado Boulder, United States of America (the)
-
dc.contributor.affiliation
Computer Science - University of Colorado Boulder (Boulder, US)
-
dc.contributor.affiliation
Computer Science - University of Colorado Boulder (Boulder, US)
-
dc.contributor.affiliation
SRI International, United States of America (the)
-
dc.contributor.affiliation
SRI International, United States of America (the)
-
dc.contributor.affiliation
I2O - Defense Advanced Research Projects Agency (Arlington, US)