Tightening Robustness Verification of MaxPool-based Neural Networks via Minimizing the Over-Approximation Zone

Yuan Xiao, Tongtong Bai, Mingzheng Gu, Chunrong Fang, Zhenyu Chen, Gu, Mingzheng, Cheng, Yuxin, Chen, Yanwei, Chen, Zhenyu

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.

  1. 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.
  2. 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.
  3. 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.
Visual representation of the neuron-wise tightest linear approximation for the MaxPool function.

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.
Experimental results comparing Ti-Lin against DeepPoly and 3DCertify across MNIST, CIFAR-10, and ModelNet40.

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

Abstract

The robustness of neural network classifiers is important in the safety-critical domain and can be quantified by robustness verification. At present, efficient and scalable verification techniques are always sound but incomplete, and thus, the improvement of verified robustness results is the key criterion to evaluate the performance of incomplete verification approaches. The multi-variate function MaxPool is widely adopted yet challenging to verify. In this paper, we present Ti-Lin, a robustness verifier for MaxPool-based CNNs with Tight Linear Approximation. Following the sequel of minimizing the over-approximation zone of the non-linear function of CNNs, we are the first to propose the provably neuron-wise tightest linear bounds for the MaxPool function. By our proposed linear bounds, we can certify larger robustness results for CNNs. We evaluate the effectiveness of Ti-Lin on different verification frameworks with open-sourced benchmarks, including LeNet, PointNet, and networks trained on the MNIST, CIFAR-10, Tiny ImageNet and ModelNet40 datasets. Experimental results show that Ti-Lin significantly outperforms the state-of-the-art methods across all networks with up to 78.6% improvement in terms of the certified accuracy with almost the same time consumption as the fastest tool. Our code is available at https://github.com/xiaoyuanpigo/Ti-Lin-Hybrid-Lin.
BibTeX
@inproceedings{xiao2025tightening,
  author = {Yuan Xiao and Tongtong Bai and Mingzheng Gu and Chunrong Fang and Zhenyu Chen and Gu, Mingzheng and Cheng, Yuxin and Chen, Yanwei and Chen, Zhenyu},
  title = {{Tightening Robustness Verification of MaxPool-based Neural Networks via Minimizing the Over-Approximation Zone}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01927},
}
Figure