Hyperlyve: Exact Stability Verification of Deep ReLU Networks via Parallel Enumeration

Hyperlyve enables exact Lyapunov stability certification of neural network control systems via parallel enumeration of ReLU hyperplane arrangements, with 150x speedup.
Hyperlyve is a framework for stability verification of deep ReLU neural network control systems. It parallelizes enumeration of hyperplane arrangements formed by ReLU activations, partitions the state space into polyhedral regions, and learns and formally certifies Lyapunov functions in a CEGIS loop. Without piecewise-linear approximation, it directly verifies asymptotic stability of exact smooth dynamics with soundness and completeness. The authors prove the Lyapunov verification problem for continuous piecewise-affine neural networks is co-NP-complete. Experiments show over 150x faster enumeration than competing tools, enabling verification of systems beyond state-of-the-art verifiers and offering a new paradigm for neural network deployment in safety-critical applications.
Deep neural networks are increasingly used in safety-critical systems, yet verifying their stability remains an open challenge. The recently proposed Hyperlyve framework achieves exact Lyapunov stability certification for deep ReLU network control systems by parallelizing the enumeration of hyperplane arrangements formed by ReLU activations, delivering over 150x speedup compared to existing tools.

Why is stability verification so difficult?
Stability analysis of nonlinear dynamical systems is inherently complex, and the problem intensifies when the controller is a deep neural network. ReLU activation functions give the network a piecewise-affine nature, causing system behavior to vary dramatically across regions, which traditional methods often struggle to characterize precisely.
Existing verification tools typically employ piecewise-linear approximations, but approximation errors can render stability conclusions unreliable. Hyperlyve's starting point is precisely to eliminate such approximations and directly verify exact smooth dynamics.
Lyapunov stability is a core concept in dynamical systems theory. Simply put, if there exists a scalar function (Lyapunov function) that is positive definite near an equilibrium point and whose derivative along system trajectories is negative definite, then the system is asymptotically stable at that equilibrium. For neural network controllers, finding such a function is extremely difficult because the network's piecewise-affine nature requires the Lyapunov function itself to be constructed piecewise. Traditional methods often approximate the network as a piecewise-linear system, but approximation errors undermine the reliability of stability certificates. Hyperlyve does not rely on approximation; instead, it directly handles exact continuous piecewise-affine dynamics, thereby guaranteeing rigorous conclusions.
Hyperlyve's core mechanism: parallel enumeration and the CEGIS loop
Hyperlyve (Hyperplane Partitioned Lyapunov Verification and Enumeration) combines learning and formal certification in a Counterexample-Guided Inductive Synthesis (CEGIS) loop. Its key innovation lies in a parallel algorithm: it enumerates the hyperplane arrangement formed by ReLU activations in deep networks, partitions the state space into polyhedral regions, and verifies Lyapunov conditions region by region.
This region-level testing is sound and complete, capable of proving asymptotic stability of exact smooth dynamics (rather than piecewise-linear approximations) within a compact domain of interest. The parallel design greatly improves enumeration efficiency, making large-scale network verification that was previously intractable now possible.
CEGIS (Counterexample-Guided Inductive Synthesis) is an iterative program synthesis paradigm. In Lyapunov verification, it alternates between two phases: a learning phase that proposes candidate Lyapunov functions based on current samples, and a verification phase that checks whether the function satisfies conditions in all regions; if a counterexample region is found, it is added to the sample set and learning restarts. This loop progressively approaches a globally correct certificate. Hyperlyve parallelizes the verification phase, enumerating all polyhedral regions corresponding to ReLU activation patterns via hyperplane arrangement enumeration, thereby efficiently completing region-level testing and significantly accelerating CEGIS convergence.
Theoretical contributions: complexity characterization and completeness guarantees
Beyond algorithmic innovation, Hyperlyve fills a theoretical gap in the literature: it formally proves that the Lyapunov verification problem for continuous piecewise-affine (CPA) neural networks is co-NP-complete. This result reveals the intrinsic difficulty of the problem and provides a theoretical boundary for subsequent algorithm design.
Moreover, the derived region tests are sound and complete, meaning that if a Lyapunov function exists and satisfies the conditions, Hyperlyve will find a certificate; if not, it will give a definitive conclusion.
co-NP-complete is a class of problems in computational complexity theory whose complement belongs to NP-complete. Intuitively, co-NP-complete problems are considered hard to solve in polynomial time, and no simple certificate exists to prove a "no" answer. Hyperlyve proves that the CPA neural network Lyapunov verification problem is co-NP-complete, implying that the problem is inherently computationally hard—unless P=NP, no polynomial-time exact algorithm can be found. This conclusion provides a theoretical lower bound for algorithm design and explains why exact verification requires enumerating an exponential number of regions, making parallelization and efficient region testing key to improving practical performance.
Experimental performance: speed and scalability
Empirical results show that Hyperlyve enumerates ReLU networks over 150x faster than competing tools. This speedup directly expands the scope of verifiable systems—systems that state-of-the-art verifiers cannot handle can be successfully proven asymptotically stable by Hyperlyve.
The speedup stems from the parallel enumeration strategy and efficient implementation of region testing, making large-scale network verification that was previously infeasible due to combinatorial explosion practically achievable.
Impact and outlook
Hyperlyve provides a new paradigm for formal verification of neural network control systems. By combining parallel computation with exact region analysis, it overcomes the limitations of traditional approximation methods, adding confidence to the deployment of deep ReLU networks in safety-critical applications. In the future, the framework is expected to extend to broader activation functions and network architectures, advancing the adoption of trustworthy AI in control domains.
One-line Summary
Hyperlyve achieves exact Lyapunov stability certification for neural network control systems via parallel enumeration of ReLU hyperplane arrangements, with 150x speedup.
Paragraph Summary
Hyperlyve is a framework for stability verification of deep ReLU neural network control systems. It parallelizes enumeration of hyperplane arrangements formed by ReLU activations, partitions the state space into polyhedral regions, and learns and formally certifies Lyapunov functions in a CEGIS loop. The method requires no piecewise-linear approximation and directly verifies asymptotic stability of exact smooth dynamics, guaranteeing soundness and completeness. Theoretically, the authors prove that the Lyapunov verification problem for continuous piecewise-affine neural networks is co-NP-complete. Experiments show Hyperlyve enumerates over 150x faster than competing tools and can verify systems that state-of-the-art verifiers cannot handle, offering a new paradigm for neural network deployment in safety-critical applications.
Related articles

ChatGPT Plus Top-Up in China: Third-Party Website Recharge That Supports WeChat Pay and Alipay, No Overseas Card Needed
A Bilibili creator tests ChatGPT Plus top-up methods in China: comparing third-party website recharge, direct credit card, and mobile in-app purchase, with a full walkthrough of password-free WeChat/Alipay recharge and an analysis of Session credential and payment risk-control risks.

6GB Delivers Opus-Level Performance: Bonsai 2.5 27B Hands-On Test
Prism ML releases Ternary Bonsai 2.5 27B: ternary quantization brings it to just 5.9GB, runnable on a single consumer GPU while retaining 262k context and vision. Hands-on agentic benchmarks approach full-precision Qwen 3.8 27B, exceeding 150 tokens/s on a 4090, with impressive frontend and dashboard results, though game development and long tasks remain weak spots.

System Exchange Spawns an Offbeat Journey to the West: Why This Comedy Series Works
A Bilibili comedy short series reimagines Journey to the West with a system-exchange premise, as the protagonist challenges Sun Wukong, Erlang Shen, and other classics.