Introduction
Ensuring the reliability of neural networks in real-world environments requires robustness not just against infinitesimal pixel noise ($\ell_p$ perturbations), but also against common geometric transformations such as rotation, scaling, and shearing. While linear perturbations are relatively straightforward to verify, geometric transformations are inherently non-linear. As an image rotates, individual pixel values follow complex, non-monotonic paths due to interpolation, creating "kinks" that traditional verification tools struggle to bound tightly.
Researchers have addressed this by developing a novel verification framework that approximates these complex transformations using piecewise linear (PWL) constraints. By fitting multiple flat planes to the curved transformation surface, this method achieves significantly tighter bounds, enabling the verification of up to 32% more cases on standard benchmarks compared to previous state-of-the-art linear approaches.
Methodology
The proposed pipeline creates a provably sound "envelope" around all possible transformed images through a three-step process:
- Sampling and Piecewise Linear (PWL) Fitting: Rather than fitting a single linear bound across the entire transformation range (e.g., 0° to 20°), the range is partitioned into segments. Linear Programming is used to find optimal fitting planes for samples within these segments.
- Lipschitz Optimisation for Soundness: To ensure the approximation is sound (i.e., it accounts for the function's behavior between samples), the authors employ Branch-and-Bound Lipschitz Optimisation. By calculating the Lipschitz constant—the maximum possible rate of change of the transformation—they determine a "safety margin" to shift the planes, ensuring the true function never exceeds the bounds.
- Integration with Verifiers: These tighter PWL constraints are integrated into high-performance verifiers like VENUS. The reduced approximation error allows the verifier to prove stability in cases where looser bounds would result in an inconclusive result.
Experimental Setup
The method was evaluated on standard computer vision datasets, including MNIST (handwritten digits) and CIFAR10 (object classification). Testing was performed across several architectures:
- MLP2 and MLP6: Small and medium fully-connected networks.
- CONV: Convolutional networks typically used in VNN-COMP verification competitions.
Key Results and Insights
The primary advantage of the PWL approach is its ability to "bend" around the non-smooth corners of transformation functions. Even with a small number of segments (e.g., $q=2$), the method provides a substantial boost in verification power without a prohibitive increase in computational overhead.
As shown in the experimental data, the PWL method consistently outperforms standard linear bounds:
- Higher Verification Rates: On the CONV network for MNIST, the PWL method resolved 32% more cases than the linear approach for translation attacks ($T(0.15)$).
- Outperforming State-of-the-Art: Compared to DeepG, a prominent geometric verifier, the proposed method achieved higher certification percentages. For a combined rotation and shearing task on CIFAR10, certified accuracy improved from 54.2% to 66.0%.
- Tighter Bounds: The PWL approach consistently produced smaller volumes of possible pixel values, particularly for larger transformation ranges like 15-degree rotations.
Limitations and Future Work
While highly effective, the current method relies on heuristic splitting to determine where the "pieces" of the linear approximation should begin and end. Finding mathematically optimal split points remains an open challenge. Additionally, while the method scales well for 1D and 2D transformations, extending it to high-dimensional simultaneous transformations (such as complex 3D pose changes) may require further optimization of the Lipschitz calculation step to maintain computational efficiency.
Summary updated