Abstract
The robustness of neural network classifiers is critical in safety-sensitive domains. Robustness verification aims to quantify this, but current efficient techniques are often sound but incomplete. Improving verified robustness results is a key metric for these approaches. The multivariate MaxPool function, while widely used, is particularly challenging to verify. This paper presents Ti-Lin, a robustness verifier for MaxPool-based CNNs using Tight Linear Approximation. We propose the first provably neuron-wise tightest linear bounds for the MaxPool function. Our method allows for certifying larger robustness results across various benchmarks, including LeNet, PointNet, and networks trained on MNIST, CIFAR-10, and ModelNet40. Experimental results show that Ti-Lin significantly outperforms state-of-the-art methods, achieving up to a 78.6% improvement in certified accuracy with minimal computational overhead.
Introduction
In safety-critical AI applications like autonomous driving or medical diagnostics, models must be provably robust against adversarial perturbations—small, often invisible changes to input data that can lead to incorrect classifications. Robustness verification provides mathematical guarantees that no such perturbation within a defined radius can alter the model's output.
The Challenge of MaxPool Layers
Neural networks are non-linear, making exact verification computationally expensive. To scale, researchers use linear relaxation, which "sandwiches" non-linear functions like ReLU or MaxPool between linear upper and lower bounds. The volume between these bounds is known as the over-approximation zone. If this zone is too large, the verifier may fail to prove robustness even when the model is safe. While tight bounds for ReLU are well-established, MaxPool is a multivariate function that has remained difficult to bound tightly without sacrificing speed.
Methodology: The Ti-Lin Approach
Ti-Lin introduces a method to minimize the over-approximation zone for MaxPool layers by deriving the mathematically tightest possible linear planes for a single neuron.
- Neuron-wise Tightness: The authors prove their linear bounds are the tightest possible, meaning no other linear planes can create a smaller volume while safely bounding the function.
- Four-Case Geometric Logic: The upper linear bound is determined by one of four distinct geometric cases based on the relationship between the input's upper and lower bounds. This logic uses the "space diagonal" of the input region to anchor the planes.
- Computational Efficiency: The algorithm maintains a low time complexity of $O(pool\_size \times \log 3)$, allowing it to integrate seamlessly into high-performance frameworks like $\alpha,\beta$-CROWN and DeepPoly.
Experimental Results
Ti-Lin was evaluated against state-of-the-art verifiers like DeepPoly and 3DCertify across multiple datasets and architectures. The results demonstrate a significant leap in both accuracy and efficiency.
- Certified Accuracy: Ti-Lin consistently achieved higher certified accuracy than existing tools. For instance, on 8-layer CNNs trained on MNIST, it improved certified accuracy from 38.4% (DeepPoly) to 77.8%.
- Speed and Scalability: Despite its mathematical rigor, Ti-Lin is remarkably fast. It achieved up to a 5.3x speedup over 3DCertify on ModelNet40 benchmarks while providing tighter bounds.
- Versatility: The method proved effective not only for 2D image classification but also for 3D point cloud processing with PointNet, highlighting its universal applicability to MaxPool operations.
Conclusion
Ti-Lin represents a major advancement in the formal verification of CNNs. By providing the tightest possible linear bounds for the MaxPool function, it narrows the gap between sound-but-incomplete verification and exact robustness. Future work may explore multi-neuron relaxation to further shrink the over-approximation zone by accounting for correlations between neurons.
Code Availability: The implementation of Ti-Lin is available at https://github.com/xiaoyuanpigo/Ti-Lin-Hybrid-Lin.
Summary updated