Skip to main content
QUICK REVIEW

[Paper Review] Fortified Networks: Improving the Robustness of Deep Networks by Modeling the Manifold of Hidden Representations

Alex Lamb, Jonathan Binas|arXiv (Cornell University)|Apr 7, 2018
Adversarial Robustness in Machine LearningComputer Science18 references29 citations
TL;DR

Fortified Networks improve deep network robustness by using denoising autoencoders (DAEs) to project hidden representations back onto the data manifold when they deviate, significantly enhancing defense against both white-box and black-box adversarial attacks without requiring architectural overhaul. The method achieves state-of-the-art robustness on MNIST and improvements on CIFAR-10 and Fashion-MNIST, with reconstruction error serving as a reliable indicator of distribution shift.

ABSTRACT

Deep networks have achieved impressive results across a variety of important tasks. However a known weakness is a failure to perform well when evaluated on data which differ from the training distribution, even if these differences are very small, as is the case with adversarial examples. We propose Fortified Networks, a simple transformation of existing networks, which fortifies the hidden layers in a deep network by identifying when the hidden states are off of the data manifold, and maps these hidden states back to parts of the data manifold where the network performs well. Our principal contribution is to show that fortifying these hidden states improves the robustness of deep networks and our experiments (i) demonstrate improved robustness to standard adversarial attacks in both black-box and white-box threat models; (ii) suggest that our improvements are not primarily due to the gradient masking problem and (iii) show the advantage of doing this fortification in the hidden layers instead of the input space.

Motivation & Objective

  • To address the vulnerability of deep networks to adversarial examples that lie close to the data manifold but cause misclassification.
  • To develop a practical, plug-and-play defense that can be applied to existing networks without retraining from scratch.
  • To improve robustness in both white-box and black-box threat models while avoiding gradient masking.
  • To demonstrate that robustification in hidden representation space is more effective than in input space.
  • To provide a reliable signal of distribution shift via DAE reconstruction error at inference time.

Proposed method

  • Introduce denoising autoencoders (DAEs) as 'decorations' between hidden layers of a pre-trained network to fortify its representations.
  • Train the DAEs to reconstruct clean hidden states from corrupted versions, learning the intrinsic structure of the data manifold in representation space.
  • Use the DAE's decoder to project any off-manifold hidden states (evident in adversarial examples) back toward the nearest point on the data manifold.
  • Apply a combined loss: reconstruction loss on clean data and adversarial loss on perturbed inputs to encourage robustness.
  • Integrate the fortified layers into the network during inference, using the DAE to denoise hidden activations before final classification.
  • Use reconstruction error at test time as a reliable indicator of out-of-distribution or adversarial inputs.

Experimental results

Research questions

  • RQ1Can fortifying hidden representations using denoising autoencoders improve robustness against adversarial attacks more effectively than input-space defenses?
  • RQ2Does the proposed method avoid the gradient masking problem common in prior defenses?
  • RQ3Can the DAE's reconstruction error serve as a reliable signal for detecting distribution shift or adversarial inputs?
  • RQ4Is robustification in the hidden representation space more effective than in the input space for defending against adversarial examples?
  • RQ5Can the method be applied generically to existing networks without architectural changes or extensive retraining?

Key findings

  • Fortified Networks achieve state-of-the-art robustness on MNIST, outperforming prior defenses in both white-box and black-box attack scenarios.
  • The method shows consistent improvements on CIFAR-10 and Fashion-MNIST, demonstrating generalization beyond MNIST.
  • The defense remains effective under both white-box and black-box attacks, indicating it is not vulnerable to gradient masking.
  • Reconstruction error in the DAE acts as a reliable indicator of distribution shift, detecting both adversarial examples and domain shift.
  • The approach is practical and composable: it can be added to existing networks, including ResNets, with minimal computational overhead.
  • The method is most effective when combined with adversarial training, suggesting synergy between data augmentation and representation-level robustification.

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.