Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Defense by Restricting the Hidden Space of Deep Neural Networks

Aamir Mustafa, Salman Khan|arXiv (Cornell University)|Apr 1, 2019
Adversarial Robustness in Machine LearningComputer Science41 references28 citations
TL;DR

This paper proposes a proactive defense that enhances deep neural network robustness by enforcing class-wise disentanglement of intermediate feature representations through convex polytope constraints, ensuring maximal separation between class-specific feature manifolds. The method achieves state-of-the-art robustness—46.7% and 36.1% against PGD attacks on CIFAR-10 and CIFAR-100—without adversarial training and without gradient obfuscation.

ABSTRACT

Deep neural networks are vulnerable to adversarial attacks, which can fool them by adding minuscule perturbations to the input images. The robustness of existing defenses suffers greatly under white-box attack settings, where an adversary has full knowledge about the network and can iterate several times to find strong perturbations. We observe that the main reason for the existence of such perturbations is the close proximity of different class samples in the learned feature space. This allows model decisions to be totally changed by adding an imperceptible perturbation in the inputs. To counter this, we propose to class-wise disentangle the intermediate feature representations of deep networks. Specifically, we force the features for each class to lie inside a convex polytope that is maximally separated from the polytopes of other classes. In this manner, the network is forced to learn distinct and distant decision regions for each class. We observe that this simple constraint on the features greatly enhances the robustness of learned models, even against the strongest white-box attacks, without degrading the classification performance on clean images. We report extensive evaluations in both black-box and whitebox attack scenarios and show significant gains in comparison to state-of-the art defenses1. 1Code and and models are available at: https://github.com/ aamir-mustafa/pcl-adversarial-defense Code and and models are available at: https://github.com/ aamir-mustafa/pcl-adversarial-defense

Motivation & Objective

  • To address the vulnerability of deep neural networks to adversarial attacks, especially under white-box settings where adversaries have full model access.
  • To investigate whether enforcing geometric separation in the hidden feature space can improve robustness against adversarial perturbations.
  • To develop a defense mechanism that enhances decision boundary robustness without relying on adversarial training or gradient obfuscation.
  • To validate the method’s effectiveness across diverse datasets and attack types, including strong iterative attacks.

Proposed method

  • The method enforces each class's intermediate features to lie within a convex polytope that is maximally separated from polytopes of other classes.
  • It introduces a multi-level, deeply supervised loss function that optimizes feature representations at multiple layers of the network.
  • The loss function enhances within-class compactness and between-class separation in the feature space, reducing overlap between class manifolds.
  • The approach uses a geometric constraint to ensure that adversarial perturbations cannot easily push features across decision boundaries.
  • The defense is implemented via a modified training objective that does not require adversarial data during training.
  • The method avoids gradient masking by ensuring consistent robustness trends under increasing perturbation budgets and consistent performance across attack types.

Experimental results

Research questions

  • RQ1Can enforcing geometric separation in the hidden feature space improve robustness against strong white-box adversarial attacks?
  • RQ2Does a polytope-based constraint on feature manifolds prevent adversarial perturbations from crossing decision boundaries?
  • RQ3How does the proposed method compare to state-of-the-art defenses under both black-box and white-box attack scenarios?
  • RQ4Does the defense suffer from gradient obfuscation, a common flaw in prior defenses?
  • RQ5Can the method maintain high clean accuracy while achieving superior robustness without adversarial training?

Key findings

  • The proposed defense achieves 46.7% robust accuracy against PGD attacks with ϵ = 0.03 on CIFAR-10, significantly outperforming prior state-of-the-art defenses.
  • On CIFAR-100, the method achieves 36.1% robust accuracy under the same PGD attack, demonstrating strong generalization across datasets.
  • The model maintains high clean accuracy (90.8% on CIFAR-10) while achieving robustness without adversarial training.
  • The defense shows consistent robustness across all attack types, including iterative methods like PGD, BIM, MIM, and C&W, with no degradation under increasing perturbation budgets.
  • The method does not exhibit gradient masking, as evidenced by monotonic robustness decay with increasing ϵ and consistent performance across attack types.
  • Empirical results show that feature representations under the proposed method are well-separated in the penultimate layer, making them resistant to adversarial perturbations.

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.