TL;DR
This paper introduces Ti-Lin, a novel robustness verifier for MaxPool-based Convolutional Neural Networks (CNNs) that provides the provably neuron-wise tightest linear bounds for the MaxPool function. By minimizing the over-approximation zone, Ti-Lin significantly improves certified accuracy (by up to 78.6%) across multiple standard benchmarks while maintaining the high speed of the fastest existing verifiers.
What Problem Does This Paper Address?
Deep neural networks are highly vulnerable to adversarial attacks—small, imperceptible perturbations to inputs that cause incorrect classifications. To deploy these models safely in critical domains like autonomous driving or facial recognition, we need formal robustness verification to mathematically prove a network's resistance to such attacks.
"Complete" verifiers guarantee exact answers but are computationally intractable (NP-complete) for large networks. To scale, "incomplete" verifiers use linear relaxation, approximating complex non-linear functions with simpler upper and lower linear bounds. However, this introduces an over-approximation zone (precision loss) that propagates through the network, often leading to overly conservative or inconclusive results. While univariate functions like ReLU have been heavily optimized, the multi-variate MaxPool function remains a major bottleneck. Existing MaxPool verifiers either produce loose bounds or require slow, complex layer transformations.
Methods
The authors propose Ti-Lin (Tight Linear Approximation), a framework-agnostic approach that derives the mathematically tightest possible upper and lower linear bounds for a MaxPool neuron given its input intervals.
- Four-Case Bounding Strategy: Based on the geometric relationships between the upper and lower bounds of the pooled inputs, the algorithm splits the problem into four distinct cases to construct optimal bounding hyperplanes.
- Low Computational Complexity: Instead of using expensive geometric optimization algorithms (like the double description method), Ti-Lin computes bounds directly by identifying the top three largest upper bounds and the single largest lower bound. This results in an incredibly efficient time complexity of just $O(\text{pool\_size} \times \log 3)$.
- Framework Integration: Ti-Lin can be easily dropped into popular existing verification frameworks, including DeepPoly, ERAN, and $\alpha,\beta$-CROWN.
- Hybrid-Lin: The authors also introduce a hybrid approach that switches between Ti-Lin and another recent method (MaxLin) depending on whether the preceding ReLU layers introduce precision loss, maximizing overall bounding tightness.
Datasets
The authors evaluated Ti-Lin on widely accepted computer vision and 3D point cloud benchmarks:
- MNIST and CIFAR-10 (for standard CNNs)
- Tiny ImageNet (for larger-scale image classification)
- ModelNet40 (using PointNet architectures for 3D data)
Key Insights and Ideas
- Exploiting Piece-wise Linearity: MaxPool is inherently piece-wise linear. By carefully selecting the endpoints of the input space diagonal, the authors ensure that the upper linear bounding plane perfectly touches the true MaxPool function at key vertices, minimizing the volume of the over-approximation zone.
- Granularity Matters in Branch-and-Bound: Previous state-of-the-art methods like MaxLin focused on block-wise tightness (combining ReLU + MaxPool). However, Ti-Lin demonstrates that focusing on neuron-wise tightness pays off significantly when paired with advanced Branch-and-Bound (BaB) techniques. Once BaB splits and resolves ReLU precision loss, Ti-Lin’s finer granularity yields much tighter global bounds in later verification rounds.
Key Results
- Higher Certified Accuracy: Ti-Lin dramatically outperforms existing verifiers. For instance, on an 8-layer MNIST CNN, it improved certified accuracy by up to 78.6% compared to standard $\alpha,\beta$-CROWN and 28.6% over MaxLin.
- Massive Speedups: Compared to tools that rely on heavy geometric machinery or layer transformations, Ti-Lin achieved a 5.3× speedup over 3DCertify, 1.7× over ERAN, and up to 420.9× over OSIP.
- Zero Overhead vs. Baselines: Because it relies on simple sorting and case checks, it shares almost the exact same runtime efficiency as standard, looser linear verifiers like DeepPoly.
Limitations and Future Work
While Ti-Lin provides the tightest possible neuron-wise bounds, it treats each MaxPool neuron independently. This means it ignores potential interdependencies between multiple neurons within the same layer (multi-neuron relaxation). The authors note that a promising future direction would be combining Ti-Lin's tight single-neuron linear bounds with multi-neuron convex hull approximations (like PRIMA) to further reduce over-approximation, albeit at the cost of higher computational overhead.
Summary updated