Boosting Verified Training for Robust Image Classifications via Abstraction

Zhaodi Zhang, Zhiyi Xue, Yang Chen, Si Liu, Yueling Zhang, Jing Liu, Min Zhang

TL;DR

This paper introduces ABSCERT, a novel training method that achieves state-of-the-art certified robustness by mapping perturbed images into discrete numerical intervals before they enter the neural network. By discretizing the input space, the authors smooth the model's loss landscape and enable a sound, complete, and architecture-agnostic "black-box" verification process that is up to 602x faster than existing methods.

What Problem Does This Paper Address?

Deep neural networks are notoriously fragile, often failing when faced with tiny, human-imperceptible adversarial perturbations. Certified robustness aims to provide a mathematical guarantee that a model's prediction won't change within a specific "perturbation radius" ($\epsilon$).

Existing approaches for certified training, such as Interval Bound Propagation (IBP) or Symbolic Interval Propagation (SIP), face three major hurdles:

  1. Overestimation: Propagating intervals through non-linear layers often leads to overly conservative bounds, limiting robustness gains.
  2. Computational Complexity: Verification is often NP-complete, making training extremely slow.
  3. Architectural Rigidity: Most methods are tied to specific activation functions (like ReLU) and struggle to scale to large, complex architectures.

Methods

The authors propose an abstraction-based approach. Instead of feeding raw pixel values into the network, they use an abstraction function $\phi$ to map the $\epsilon$-ball around an image into a finite set of training interval vectors.

Key components include:

  • Numerical Interval Input: The input layer of the network is doubled. Instead of one neuron per pixel, two neurons receive the lower and upper bounds of the abstracted interval.
  • Black-Box Training: Because the abstraction happens at the input layer, the rest of the network is treated as a black box. This makes the method agnostic to the specific architecture or activation functions (e.g., it works for Sigmoid and Tanh as easily as ReLU).
  • Sound and Complete Verification: Since the infinite perturbation space is mapped to a finite set of training intervals, verification becomes a straightforward check: does the model produce the correct label for all intervals covering the $\epsilon$-ball?
  • Granularity Tuning: The authors introduce a gradient-descent-based algorithm to optimize the abstraction granularity ($d$), which determines the size of the intervals used during training.
Figure 2. Training on numerical intervals.

Datasets

The researchers evaluated ABSCERT across a variety of standard benchmarks and large-scale architectures:

  • MNIST & CIFAR-10: Used to compare against state-of-the-art methods like LossLandscapeMatters (LLM), LBP&Ramp, and AdvIBP using DM-small, DM-medium, and DM-large architectures.
  • ImageNet: Used to demonstrate scalability on massive models including AlexNet, VGG11, Inception V1, and ResNet18, with up to 138 million trainable parameters.

Key Insights and Ideas

  • Smoothing the Landscape: The core "aha" moment is that training on intervals reduces the variance of the training set. Mathematically, this leads to a smoother loss landscape. A smoother landscape helps the optimizer find better global minima and makes the model less sensitive to small input changes.
  • Dissolving Perturbations: By mapping many perturbed values to the same discrete interval, the perturbation is effectively "dissolved" by the abstraction before it even reaches the hidden layers.
  • Black-Box Scalability: By avoiding complex symbolic propagation (like SIP shown in Figure 1), the method scales to models that were previously considered too large for formal verification.
Figure 3. Visualization of DM-small’s loss landscape [63] trained when d = 0 and d = 0.025.

Key Results

ABSCERT significantly outperforms existing certified training methods:

  • Robustness: Reduced verified errors by up to 95.64% compared to competitors on MNIST and achieved over 80% improvement on CIFAR-10.
  • Efficiency: Achieved a total speedup (training + verification) of up to 602.50x. While competitors might require thousands of epochs for CIFAR-10, ABSCERT converges in just 30.
  • Scalability: Successfully trained and verified robust models on ImageNet, a feat that remains a significant challenge for traditional symbolic propagation methods.
  • Accuracy: Unlike many robust training methods that suffer a large "robustness-accuracy trade-off," ABSCERT maintained higher standard accuracy than its competitors across all tested datasets.

Limitations and Future Work

  • Granularity Constraints: The mapping function requires the abstraction granularity ($d$) to be at least twice the perturbation size ($2\epsilon$) to ensure a perturbation interval intersects at most two training intervals. This might limit the "fineness" of the abstraction for very large $\epsilon$.
  • Verification of Massive Models: While ABSCERT enables black-box verification, the authors note that for the largest ImageNet models, they reported testing errors rather than full formal verification due to the sheer scale, though they emphasize that ABSCERT's approach makes such verification theoretically possible where others fail.
  • Future Directions: The authors suggest investigating new automated mechanisms for finding the absolute optimal abstraction granularity for different tasks.

Summary updated

BibTeX
@misc{zhang2023boosting,
  author = {Zhaodi Zhang and Zhiyi Xue and Yang Chen and Si Liu and Yueling Zhang and Jing Liu and Min Zhang},
  title = {{Boosting Verified Training for Robust Image Classifications via Abstraction}},
  year = {2023},
  eprint = {2303.11552},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.11552},
}
Figure