Skip to main content
QUICK REVIEW

[Paper Review] Scaling Polyhedral Neural Network Verification on GPUs

Christoph Müller, François Serre|arXiv (Cornell University)|Jul 20, 2020
Adversarial Robustness in Machine LearningComputer Science15 citations
TL;DR

GPUPoly is a GPU-accelerated neural network verifier that uses custom, sound polyhedral abstract domains to enable scalable and precise robustness certification for large deep neural networks. It achieves up to 68,000× speedup over prior methods and verifies a 1M-neuron ResNet34 in just 34.5 ms, setting a new state of the art in scalability and precision for polyhedral verification on large models.

ABSTRACT

Certifying the robustness of neural networks against adversarial attacks is essential to their reliable adoption in safety-critical systems such as autonomous driving and medical diagnosis. Unfortunately, state-of-the-art verifiers either do not scale to bigger networks or are too imprecise to prove robustness, limiting their practical adoption. In this work, we introduce GPUPoly, a scalable verifier that can prove the robustness of significantly larger deep neural networks than previously possible. The key technical insight behind GPUPoly is the design of custom, sound polyhedra algorithms for neural network verification on a GPU. Our algorithms leverage the available GPU parallelism and inherent sparsity of the underlying verification task. GPUPoly scales to large networks: for example, it can prove the robustness of a 1M neuron, 34-layer deep residual network in approximately 34.5 ms. We believe GPUPoly is a promising step towards practical verification of real-world neural networks.

Motivation & Objective

  • Address the scalability-precision trade-off in neural network verification, particularly for large models with over 1M neurons.
  • Enable sound, floating-point correct verification using polyhedral abstract domains on GPU hardware.
  • Leverage GPU parallelism and sparsity in convolutional and residual networks to accelerate verification beyond CPU-based methods.
  • Achieve practical verification times for real-world deep networks, including large residual architectures.
  • Outperform existing inexact verifiers in both precision and scalability, especially on challenging, large-scale networks.

Proposed method

  • Design custom GPU-optimized polyhedral algorithms that exploit fine-grained data parallelism across neurons and layers.
  • Implement memory-efficient data structures to fit large networks within limited GPU memory, using sparsity-aware representations.
  • Integrate a sound floating-point semantics model that accounts for rounding modes and non-associativity in GPU floating-point operations.
  • Apply early termination during backsubstitution when robustness is confirmed, significantly reducing runtime on easily verifiable cases.
  • Use a polyhedral abstraction to over-approximate ReLU activation outputs, enabling efficient linear programming over convex polyhedra.
  • Leverage sparsity in convolutional and residual connections to reduce computational load and improve GPU occupancy.

Experimental results

Research questions

  • RQ1Can polyhedral verification be scaled to large deep neural networks (e.g., 1M neurons) using GPU acceleration?
  • RQ2How does GPUPoly’s precision and performance compare to state-of-the-art inexact verifiers like CR-IBP and DeepPoly on large networks?
  • RQ3To what extent does GPU parallelism and sparsity exploitation reduce verification time while maintaining soundness?
  • RQ4Can early termination heuristics significantly reduce runtime on robustly trained networks without sacrificing correctness?
  • RQ5Does GPUPoly maintain soundness under floating-point arithmetic, including non-associative operations and different rounding modes?

Key findings

  • GPUPoly verifies a 1M-neuron, 34-layer ResNet34 in approximately 34.5 ms, demonstrating unprecedented scalability for precise polyhedral verification.
  • On PGD-trained CIFAR10 networks, GPUPoly proves 1,299 robustness properties, while CR-IBP fails to prove any due to lack of support for residual connections.
  • For DiffAI-trained networks, GPUPoly proves 420 more properties than CR-IBP, despite CR-IBP being faster on these networks due to their inherent robustness.
  • GPUPoly is up to 68,000× faster than DeepPoly on DiffAI-trained ResNet34s and up to 250× faster on normally trained networks.
  • The runtime distribution for GPUPoly shows a long tail on robustly trained networks due to early termination in most cases, with only a few outliers requiring full computation.
  • GPUPoly maintains soundness under floating-point arithmetic, correctly modeling non-associativity and rounding behavior, unlike some prior unsound verifiers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.