Abstract
As neural networks are increasingly deployed in safety-critical systems, formal verification of their behavior becomes paramount. This paper investigates the parameterized complexity of fundamental verification tasks, such as checking output positivity, surjectivity, and Lipschitz continuity for ReLU networks, as well as the related geometric problem of zonotope containment. The authors prove that these problems are W[1]-hard with respect to the input dimension $d$. This result suggests that the "curse of dimensionality" is a fundamental barrier, making exact verification exponentially difficult as the number of input features grows.
Introduction
Verification of neural networks typically involves answering whether a network's output remains within a "safe" range for all inputs within a specified domain. Key properties of interest include:
- Positivity: Ensuring the network never produces a positive (or negative) output in a certain region.
- Surjectivity: Determining if the network can produce any possible value in the output space.
- Lipschitz Continuity: Quantifying the maximum rate of change of the output relative to the input, a core metric for robustness.
While these problems were known to be NP-hard in the general case, there was hope that they might be fixed-parameter tractable (FPT) if the input dimension $d$ is small. This paper settles this question negatively, showing that even for simple 2-layer ReLU networks, the complexity scales poorly with $d$.
Methodology: Reducing Graphs to Networks
The authors utilize Parameterized Complexity Theory to establish lower bounds. Their primary technique is a reduction from the Multicolored Clique problem, a known hard problem in graph theory. To bridge the gap between discrete graphs and continuous neural networks, they construct a 2-layer ReLU network using two specialized components:
- Spike Functions: These sub-networks are designed to output a value of "1" only when the input corresponds to a valid edge in the original graph.
- Penalty Functions: These ensure that the verification process only considers valid combinations of nodes (i.e., exactly one node of each color).
The construction also employs homogenization to handle networks without biases and leverages the mathematical duality between ReLU networks and zonotopes. This duality allows the authors to translate hardness results from the domain of deep learning into classical computational geometry, specifically for the problem of deciding if one zonotope contains another.
Key Results and Insights
The paper provides several significant theoretical contributions:
- W[1]-hardness and ETH Bounds: The proof of W[1]-hardness for Positivity, Surjectivity, and Zonotope Containment implies that the naive approach—enumerating every linear region—is essentially optimal. Under the Exponential Time Hypothesis (ETH), no algorithm can significantly improve upon a runtime of $n^{O(d)}$.
- Lipschitz Complexity: Computing or even approximating the $L_p$-Lipschitz constant is shown to be W[1]-hard for 2-layer networks (exact) and 3-layer networks (approximation).
- Tractable Exceptions (ICNNs): Interestingly, the authors identify Input Convex Neural Networks (ICNNs) as a class where verification is easier. For ICNNs, the $L_1$-Lipschitz constant can be computed in polynomial time, and the $L_\infty$-constant is FPT.
- Approximation Algorithms: While exact computation is hard, the paper introduces a randomized FPT-approximation for norm maximization on zonotopes using subspace embedding techniques.
Conclusion
This work establishes that dimensionality is the primary driver of complexity in neural network verification. While these results represent worst-case scenarios, they provide a rigorous foundation for understanding why high-dimensional verification (e.g., for image data) is so challenging. Future research may focus on whether "typical" networks used in practice possess structures that allow for more efficient verification despite these general hardness results.
Summary updated