Skip to main content

A Guide to Neural Network Verification

Four phases, 29 chapters, written as study notes and revised as the material is checked.

Selected talks and tutorials related to this research are listed on the About page.

Or start from a question

Phase 2

Methods & Tools

10 chapters

Core verification techniques including bound propagation, LP, SMT/MILP, and specialized methods.

  1. 2.1Neural Network Decomposition: The Unary-Binary FrameworkThe foundational unary-binary operation decomposition that enables neural network verification, explaining why activation functions drive computational complexity.
  2. 2.2Bound Propagation: Intervals, Symbolic Bounds, and Lost DependenciesCompute interval bounds, construct a ReLU relaxation, and use a small network to see what information each representation loses.
  3. 2.3Beyond ReLU: Modern Activation FunctionsHow activation function choices impact neural network verification, from ReLU's optimal convex hull to the challenges of GeLU, Swish, and other modern activations.
  4. 2.4Linear Programming for VerificationLP formulations for neural network verification, including triangle relaxation, duality theory, complexity analysis, and comparison with other bound propagation methods.
  5. 2.5Lipschitz Bounds and Curvature-Based VerificationLipschitz-based verification methods including Lipschitz constant computation, LipSDP, spectral normalization, and curvature-based approaches for robustness certification.
  6. 2.6Semidefinite Relaxations: Lifting Without a Universal RankingSet up a lifted semidefinite relaxation, and separate what a PSD constraint, a moment constraint and a rank-one constraint each say -- because the third is the one that gets dropped.
  7. 2.7SMT and MILP Solvers for VerificationComplete verification using SMT and MILP solvers, including encoding theory, QCQP/SDP formulations, and the exponential complexity of ReLU activation patterns.
  8. 2.8Branch-and-Bound VerificationHow branch-and-bound combines incomplete and complete verification methods for scalable neural network verification, including the alpha-beta-CROWN algorithm.
  9. 2.9Marabou and Reluplex: Extended Simplex for VerificationThe Reluplex algorithm and Marabou verifier for complete neural network verification using extended simplex methods specialized for ReLU networks.
  10. 2.10Single-Neuron, Multivariate, and Multi-Neuron RelaxationsDistinguish the objects being relaxed and understand why exact local hulls can still miss joint neural-network behaviour.