Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Defense by Stratified Convolutional Sparse Coding

Bo Sun, Nian-hsuan Tsai|arXiv (Cornell University)|Nov 30, 2018
Adversarial Robustness in Machine LearningComputer Science53 references5 citations
TL;DR

This paper proposes a novel, attack-agnostic adversarial defense using stratified convolutional sparse coding to project inputs into a low-dimensional quasi-natural image space, where clean and adversarial examples are close in feature space. The method introduces a Sparse Transformation Layer (STL) for efficient projection and achieves state-of-the-art robustness across diverse perturbation scales, input resolutions, and dataset sizes, outperforming prior input-transformation defenses in both accuracy and image quality preservation.

ABSTRACT

We propose an adversarial defense method that achieves state-of-the-art performance among attack-agnostic adversarial defense methods while also maintaining robustness to input resolution, scale of adversarial perturbation, and scale of dataset size. Based on convolutional sparse coding, we construct a stratified low-dimensional quasi-natural image space that faithfully approximates the natural image space while also removing adversarial perturbations. We introduce a novel Sparse Transformation Layer (STL) in between the input image and the first layer of the neural network to efficiently project images into our quasi-natural image space. Our experiments show state-of-the-art performance of our method compared to other attack-agnostic adversarial defense methods in various adversarial settings.

Motivation & Objective

  • To develop an attack-agnostic and model-agnostic defense that maintains robustness across varying input resolutions, perturbation scales, and dataset sizes.
  • To construct a low-dimensional quasi-natural image space that faithfully approximates the natural image manifold while removing adversarial perturbations.
  • To design an efficient, differentiable Sparse Transformation Layer (STL) that projects inputs into the quasi-natural space before classification.
  • To achieve a superior balance between image detail preservation and adversarial perturbation removal compared to existing input-transformation defenses.
  • To demonstrate state-of-the-art performance on standard benchmarks like CIFAR-10 and ImageNet under multiple adversarial attacks.

Proposed method

  • The method constructs a quasi-natural image space via unsupervised convolutional dictionary learning, approximating the natural image manifold in a low-dimensional space.
  • A novel Sparse Transformation Layer (STL) is introduced to project input images into the quasi-natural space using sparse coding with a learned convolutional dictionary.
  • The STL operates as a differentiable, end-to-end layer between input and first network layer, enabling joint training with the classifier.
  • The defense leverages the property that adversarial examples and their clean counterparts are pulled closer in feature space after projection into the quasi-natural space.
  • Robustness is further enhanced by fine-tuning the classifier on the projected quasi-natural images.
  • The method uses a sparsity constraint weight $\lambda$ to control the trade-off between image reconstruction quality and robustness.

Experimental results

Research questions

  • RQ1Can a defense method achieve state-of-the-art robustness across diverse adversarial attacks while remaining attack-agnostic and model-agnostic?
  • RQ2Can a low-dimensional quasi-natural image space be constructed to preserve natural image structure while removing adversarial perturbations?
  • RQ3Does a differentiable Sparse Transformation Layer (STL) enable effective and efficient projection into the quasi-natural space without requiring model retraining?
  • RQ4How does the proposed method compare to existing input-transformation defenses in balancing image quality and robustness?
  • RQ5Can the defense maintain high performance across varying input resolutions, perturbation magnitudes, and large-scale datasets?

Key findings

  • The proposed method achieves state-of-the-art top-1 accuracy on ImageNet under multiple attacks, including FGSM-0.08 (0.8654), BIM (0.7332), and CW (0.7212), outperforming prior attack-agnostic defenses.
  • On CIFAR-10, the method achieves 0.8654 top-1 accuracy under FGSM-0.08, surpassing the next best method (TVM at 0.8591) and significantly outperforming others like Quilting (0.8149) and Crop-Ens (0.7730).
  • The method demonstrates superior robustness in the trade-off between image quality and defense performance, achieving the highest PSNR and most favorable prediction quality interval in comparison to existing methods.
  • The method maintains high robustness across varying input resolutions and perturbation scales, with accuracy on the vanilla ResNet-50 model remaining above 0.61 for FGSM-0.08 and 0.63 for CW when using the STL defense.
  • The characteristic interval of prediction accuracy between clean and adversarial examples is minimized in the proposed method, indicating that clean and adversarial images are consistently close in feature space after transformation.
  • The ablation study confirms that increasing the sparsity constraint weight $\lambda$ improves robustness at the cost of image quality, and the optimal $\lambda$ balances both metrics effectively.

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.