Abstract
Neural network verification is essential for ensuring robustness against adversarial attacks. However, existing methods often struggle to balance computational scalability with the ability to capture complex neuron interactions. This paper introduces ZonoDual, an algorithm that combines primal zonotope bounds with dual Lagrangian optimization. By partitioning high-dimensional zonotopes into tractable 2D subspaces, ZonoDual achieves tighter verification bounds more efficiently than traditional linear programming and Lagrangian-based techniques.
Bridging the Gap in Verification
Deep neural networks are notoriously brittle; small, adversarial perturbations to an input can lead to incorrect outputs. Neural network verification aims to mathematically prove that a network's output remains within safe bounds for a given range of inputs. Historically, this has been approached through two distinct lenses:
- Primal views: These methods push geometric shapes (like hyperboxes or polytopes) through the network. While they capture dependencies between neurons, they often do not optimize well for specific verification objectives.
- Dual views: These frame verification as a massive optimization problem using Lagrangian relaxation. While highly scalable, they typically treat neurons independently, leading to overly conservative bounds.
ZonoDual addresses this gap by injecting dependency-aware zonotope geometry into a scalable dual optimization framework.
The ZonoDual Methodology
The core innovation of ZonoDual is replacing simple hyperboxes in dual methods with zonotopes—expressive geometric shapes capable of capturing correlations between neurons. To overcome the NP-hardness of solving high-dimensional ReLU programs, the authors introduce Zonotope Partitioning. By projecting high-dimensional zonotopes into 2D chunks, the problem becomes computationally tractable ($O(m \log m)$ complexity) while retaining crucial pairwise dependencies.
The algorithm proceeds in three phases:
- Initialization: Generating baseline zonotope bounds for the network.
- Iteration: Partitioning zonotopes into 2D chunks and performing fast, GPU-accelerated dual ascent to optimize bounds.
- Evaluation: Merging chunks into higher-dimensional zonotopes (e.g., 20D) for a final Mixed-Integer Programming (MIP) evaluation to maximize bound tightness.
Experimental Results
The authors evaluated ZonoDual on MNIST and CIFAR-10 benchmarks across various architectures. As shown in the performance distribution below, ZonoDual (specifically the ZD-MIP variant) consistently provides tighter bounds than standard Linear Programming (LP) and prior dual approaches like BDD+ and Anderson relaxations.
In terms of efficiency, the ZD-2D phase offers a highly competitive balance between speed and accuracy. Even without the final MIP evaluation, the fast 2D iteration phase provides competitive bounds in seconds, outperforming heavier state-of-the-art dual methods in runtime efficiency.
Discussion and Future Directions
While ZonoDual significantly improves bound tightness and scalability, it currently relies on the piecewise linear nature of ReLU activations and faces a CPU-bound bottleneck during the final MIP evaluation phase. Future work may involve implementing order reduction techniques for complex zonotopes and exploring approximate solvers to replace exact MIP evaluations, potentially enabling further GPU acceleration and scaling to larger vision models.
Summary updated