Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Robustness of Supervised Sparse Coding

Jeremias Sulam, Ramchandran Muthukumar|arXiv (Cornell University)|Oct 22, 2020
Adversarial Robustness in Machine LearningComputer Science69 references6 citations
TL;DR

This paper proposes a theoretical framework for adversarial robustness in supervised sparse coding, where a sparsity-promoting encoder maps inputs to sparse features followed by a linear classifier. It establishes a robustness certificate based on encoder gap and dictionary incoherence, proving that predictions remain unchanged under ℓ2-bounded perturbations when the gap exceeds a threshold related to adversarial norm and classifier margin.

ABSTRACT

Several recent results provide theoretical insights into the phenomena of adversarial examples. Existing results, however, are often limited due to a gap between the simplicity of the models studied and the complexity of those deployed in practice. In this work, we strike a better balance by considering a model that involves learning a representation while at the same time giving a precise generalization bound and a robustness certificate. We focus on the hypothesis class obtained by combining a sparsity-promoting encoder coupled with a linear classifier, and show an interesting interplay between the expressivity and stability of the (supervised) representation map and a notion of margin in the feature space. We bound the robust risk (to $\ell_2$-bounded perturbations) of hypotheses parameterized by dictionaries that achieve a mild encoder gap on training data. Furthermore, we provide a robustness certificate for end-to-end classification. We demonstrate the applicability of our analysis by computing certified accuracy on real data, and compare with other alternatives for certified robustness.

Motivation & Objective

  • To close the gap between theoretical robustness analysis and practical models by studying a learned representation with provable generalization and robustness.
  • To provide a precise generalization bound for hypotheses in supervised sparse coding under ℓ2-bounded adversarial perturbations.
  • To derive a robustness certificate that guarantees prediction stability under adversarial attacks, based on encoder gap and model properties.
  • To validate the theoretical findings empirically on MNIST and CIFAR-10 using certified accuracy under adversarial perturbations.

Proposed method

  • Proposes a hypothesis class combining a supervised sparse encoder with a linear classifier, using dictionary learning to represent data.
  • Introduces a robustness certificate based on the encoder gap τs, dictionary restricted isometry property (RIP) constant ηs, and classifier margin.
  • Uses a minimal ϵ-cover argument to bound the robust risk, with sample complexity increase of order O((1+ν)²/m) under ℓ2 perturbations of size ν.
  • Employs FISTA for differentiable feature computation during training and exact solution computation at inference to ensure encoder gap validity.
  • Derives stability bounds showing that representation perturbation is bounded by ν/√(1−ηs) under adversarial attacks.
  • Validates results via end-to-end training on MNIST and CIFAR-10 using FISTA-based optimization and Adam with batch normalization.

Experimental results

Research questions

  • RQ1Can a supervised sparse coding model achieve provable robustness against ℓ2-bounded adversarial perturbations?
  • RQ2How does the encoder gap τs relate to robustness in the presence of adversarial noise?
  • RQ3What conditions on the dictionary (e.g., RIP, incoherence) and classifier margin ensure robustness certification?
  • RQ4How does the sample complexity scale under adversarial corruption compared to standard learning?
  • RQ5Can the theoretical robustness certificate be practically verified and outperform other certified robustness methods?

Key findings

  • The robust risk is bounded under ℓ2 perturbations of size ν, with a mild increase in sample complexity of order O((1+ν)²/m).
  • A robustness certificate is established: if the encoder gap τs > 2ν and the dictionary is ηs-RIP, then the prediction remains unchanged for all ∥v∥₂ ≤ ν.
  • The representation stability is bounded by ∥ϕD(x₀) − ϕD(x₀ + v)∥₂ ≤ ν/√(1−ηs), ensuring small feature shifts under perturbations.
  • For multiclass classification, robustness holds when ν ≤ min{τs(x)/2, ρx√(1−ηs)/cW}, where ρx is the margin and cW is the maximum pairwise distance between class weight vectors.
  • Empirical results on MNIST and CIFAR-10 show that the proposed method achieves certified accuracy under adversarial perturbations, outperforming baseline methods in robustness guarantees.
  • Pre-training the dictionary in an unsupervised manner improves convergence and enables stable computation of the exact encoder gap at inference.

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.