Skip to main content
QUICK REVIEW

[Paper Review] ScaleCert: Scalable Certified Defense against Adversarial Patches with Sparse Superficial Layers

Husheng Han, Kaidi Xu|arXiv (Cornell University)|Oct 27, 2021
Adversarial Robustness in Machine LearningComputer Science32 references13 citations
TL;DR

ScaleCert proposes a scalable certified defense against adversarial patches in high-resolution images by leveraging Sparse Superficial Layers (SIN-based pruning) to reduce adversarial region search overhead and filter prediction noise. It achieves 60.4% certified accuracy on ImageNet, significantly improving upon the prior state-of-the-art of 36.3%.

ABSTRACT

Adversarial patch attacks that craft the pixels in a confined region of the input images show their powerful attack effectiveness in physical environments even with noises or deformations. Existing certified defenses towards adversarial patch attacks work well on small images like MNIST and CIFAR-10 datasets, but achieve very poor certified accuracy on higher-resolution images like ImageNet. It is urgent to design both robust and effective defenses against such a practical and harmful attack in industry-level larger images. In this work, we propose the certified defense methodology that achieves high provable robustness for high-resolution images and largely improves the practicality for real adoption of the certified defense. The basic insight of our work is that the adversarial patch intends to leverage localized superficial important neurons (SIN) to manipulate the prediction results. Hence, we leverage the SIN-based DNN compression techniques to significantly improve the certified accuracy, by reducing the adversarial region searching overhead and filtering the prediction noises. Our experimental results show that the certified accuracy is increased from 36.3% (the state-of-the-art certified detection) to 60.4% on the ImageNet dataset, largely pushing the certified defenses for practical use.

Motivation & Objective

  • Address the critical gap in certified defenses for high-resolution datasets like ImageNet, where existing methods achieve low certified accuracy.
  • Develop a practical, scalable certified defense that maintains high robustness and inference efficiency for real-world deployment.
  • Leverage the insight that adversarial patches exploit localized superficial important neurons (SINs) to manipulate predictions.
  • Reduce computational overhead in certified defense by minimizing candidate adversarial region search through SIN-based pruning.
  • Achieve high certified accuracy while preserving natural accuracy through structured neural network sparsity.

Proposed method

  • Identify localized superficial important neurons (SINs) in shallow layers using activation statistics and top-k selection (winner rate k).
  • Apply SIN-based pruning to sparsify the activation map, reducing noise and filtering irrelevant features in adversarial region detection.
  • Use a sliding occluding window mechanism with overlap threshold τ to merge candidate windows and reduce search space.
  • Apply a structured ablation strategy based on SIN masks to detect and occlude adversarial patches during inference.
  • Integrate the defense into a certified robustness framework using randomized smoothing principles with provable guarantees.
  • Optimize hyperparameters (k, τ, l) to balance certified accuracy, clean accuracy, and inference latency.

Experimental results

Research questions

  • RQ1Can SIN-based sparsity reduce the adversarial region search space and improve certified accuracy on high-resolution images?
  • RQ2How does the choice of winner rate (k) in SIN masking affect the trade-off between certified accuracy and model efficiency?
  • RQ3What is the optimal overlap ratio (τ) for merging occluding windows to minimize latency without sacrificing detection accuracy?
  • RQ4Can the proposed method achieve both high certified accuracy and low computational overhead compared to prior certified defenses?
  • RQ5To what extent can ScaleCert recover the true label from adversarial patch attacks in real-world scenarios?

Key findings

  • ScaleCert achieves 60.4% certified accuracy on ImageNet for 1%-pixel adversarial patches, a significant improvement over the prior state-of-the-art of 36.3%.
  • With a 2% patch, ScaleCert maintains 56.6% certified accuracy when using an overlap ratio threshold τ = 0.3, balancing efficiency and robustness.
  • The method achieves over 100× speedup compared to MRD and comparable latency to PG-Mask-DS, demonstrating strong computational efficiency.
  • Empirical recovery shows that after patch occlusion, classification accuracy recovers from 14.0% to 85.8% on 10,000 ImageNet images, confirming effective label recovery.
  • The clean accuracy remains high (62.5%) under optimal hyperparameter settings, indicating minimal performance drop on clean inputs.
  • Pruning with k = 10% maintains 73.6% vanilla model accuracy and achieves the highest certified accuracy, showing optimal trade-off between sparsity and performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.