[Paper Review] Parallelization Techniques for Verifying Neural Networks
This paper presents a parallelized neural network verification framework using a Split-and-Conquer (S&C) algorithm that partitions the input space or ReLU activation phases to enable scalable verification. By introducing polarity-based heuristics and a highly parallelizable pre-processing step, the approach significantly improves performance on large-scale DNNs, with ultra-scaling experiments showing strong linear speedup on cloud platforms beyond 100 workers.
Inspired by recent successes with parallel optimization techniques for solving Boolean satisfiability, we investigate a set of strategies and heuristics that aim to leverage parallel computing to improve the scalability of neural network verification. We introduce an algorithm based on partitioning the verification problem in an iterative manner and explore two partitioning strategies, that work by partitioning the input space or by case splitting on the phases of the neuron activations, respectively. We also introduce a highly parallelizable pre-processing algorithm that uses the neuron activation phases to simplify the neural network verification problems. An extensive experimental evaluation shows the benefit of these techniques on both existing benchmarks and new benchmarks from the aviation domain. A preliminary experiment with ultra-scaling our algorithm using a large distributed cloud-based platform also shows promising results.
Motivation & Objective
- To address the scalability limitations of neural network verification in safety-critical applications.
- To leverage parallel computing to accelerate formal verification of deep neural networks with ReLU activations.
- To improve the performance of the Marabou verification framework through novel partitioning and heuristic strategies.
- To enable efficient, highly parallelized simplification and solving of complex verification problems.
- To evaluate the approach on real-world benchmarks and demonstrate ultra-scalability on cloud infrastructure.
Proposed method
- The Split-and-Conquer (S&C) algorithm partitions the verification problem by splitting the input domain or the activation phases of ReLU neurons.
- Two novel partitioning strategies are introduced: input-based partitioning and ReLU-phase-based case splitting.
- A polarity-based branching heuristic is used to guide partitioning decisions, improving search efficiency.
- A direction heuristic based on polarity helps prioritize more promising branches during search.
- A highly parallelizable pre-processing algorithm simplifies verification problems by eliminating redundant constraints and neurons.
- The approach is implemented within the Marabou framework and evaluated using both existing and new aviation-domain benchmarks.
Experimental results
Research questions
- RQ1Can input-space or ReLU-activation-phase partitioning improve scalability in neural network verification?
- RQ2How effective are polarity-based heuristics in guiding the search space during verification?
- RQ3Can pre-processing be parallelized to significantly reduce verification problem complexity?
- RQ4To what extent does the S&C approach scale on large distributed cloud platforms?
- RQ5How does the proposed method compare to state-of-the-art tools like Neurify and prior Marabou versions?
Key findings
- The S&C approach with input-based partitioning outperforms the original Marabou on large perception networks with many inputs.
- The polarity-based heuristics reduce search space exploration and improve solving efficiency.
- The pre-processing algorithm significantly simplifies verification problems and is highly parallelizable.
- Ultra-scaling experiments on Amazon Lambda show strong linear speedup with over 100 workers, indicating excellent horizontal scalability.
- The improved Marabou implementation achieves better performance than Neurify on challenging benchmarks, especially for high-input networks.
- The framework demonstrates consistent performance gains across both existing and newly introduced aviation-domain benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.