Skip to main content
QUICK REVIEW

[Paper Review] Harnessing the Vulnerability of Latent Layers in Adversarially Trained Models

Mayank Singh, Abhishek Sinha|arXiv (Cornell University)|May 13, 2019
Adversarial Robustness in Machine LearningComputer Science34 references23 citations
TL;DR

This paper identifies that latent layers in adversarially trained models remain highly vulnerable to adversarial attacks despite robustness at the input layer. It proposes Latent Adversarial Training (LAT), a fine-tuning method that improves robustness by adversarially training intermediate feature layers, achieving state-of-the-art adversarial accuracy on MNIST, CIFAR-10, CIFAR-100, SVHN, and Restricted ImageNet with a 4–6% boost in adversarial accuracy and a 1% gain in test accuracy.

ABSTRACT

Neural networks are vulnerable to adversarial attacks -- small visually imperceptible crafted noise which when added to the input drastically changes the output. The most effective method of defending against these adversarial attacks is to use the methodology of adversarial training. We analyze the adversarially trained robust models to study their vulnerability against adversarial attacks at the level of the latent layers. Our analysis reveals that contrary to the input layer which is robust to adversarial attack, the latent layer of these robust models are highly susceptible to adversarial perturbations of small magnitude. Leveraging this information, we introduce a new technique Latent Adversarial Training (LAT) which comprises of fine-tuning the adversarially trained models to ensure the robustness at the feature layers. We also propose Latent Attack (LA), a novel algorithm for construction of adversarial examples. LAT results in minor improvement in test accuracy and leads to a state-of-the-art adversarial accuracy against the universal first-order adversarial PGD attack which is shown for the MNIST, CIFAR-10, CIFAR-100 datasets.

Motivation & Objective

  • To investigate the vulnerability of latent layers in adversarially trained deep neural networks.
  • To improve the robustness of state-of-the-art adversarially trained models by targeting intermediate feature representations.
  • To develop a new training technique that enhances adversarial robustness without sacrificing test accuracy.
  • To propose a novel latent-layer-based adversarial attack (LA) that exploits sub-network vulnerabilities.

Proposed method

  • LAT fine-tunes adversarially trained models by applying adversarial training to a selected latent layer $g_i$, using a weighted loss combining classification loss for the full network $f$ and the sub-network $g_i$.
  • The method uses a hyperparameter $\omega$ to balance the loss contribution from the full network and the latent layer during fine-tuning.
  • Latent Attack (LA) constructs $l_\infty$-bounded adversarial examples by targeting the most vulnerable latent layer, using gradient-based optimization on the feature representation.
  • The approach evaluates robustness under both white-box and black-box attack settings, including transfer attacks and bandit/SPSA attacks.
  • Experiments include ablation studies on layer depth, $\omega$, and random layer selection to assess sensitivity and generalization.
  • LAT is evaluated using PGD, FGSM, and $l_2$-bounded PGD attacks during fine-tuning to compare robustness gains across different attack types.

Experimental results

Research questions

  • RQ1Are latent layers in adversarially trained models still vulnerable to small adversarial perturbations despite input-layer robustness?
  • RQ2Can improving the robustness of intermediate feature layers significantly enhance the overall adversarial robustness of a deep neural network?
  • RQ3How does the choice of latent layer depth and hyperparameter $\omega$ affect the performance of the LAT fine-tuning procedure?
  • RQ4Can a new adversarial attack that targets latent layers outperform standard attacks like PGD in crafting effective adversarial examples?
  • RQ5Does LAT improve robustness under both white-box and black-box attack scenarios, including transfer-based attacks?

Key findings

  • Latent layers in adversarially trained models exhibit high vulnerability to $l_\infty$-bounded adversarial perturbations, even when the input layer is robust.
  • LAT improves adversarial accuracy by approximately 4–6% and test accuracy by about 1% on CIFAR-10 and CIFAR-100 compared to standard adversarial training.
  • The best performance is achieved when fine-tuning the $g_{11}$ layer in ResNet-18, with $\omega = 0.2$, and adversarial training using PGD.
  • LAT-trained models show higher robustness under black-box attacks, including transfer attacks from secret models and bandit/SPSA attacks, outperforming standard adversarial training.
  • Latent Attack (LA) achieves adversarial attack performance comparable to PGD, demonstrating that latent-layer vulnerabilities can be effectively exploited.
  • Randomly selecting from multiple latent layers (e.g., $g_5$, $g_7$, $g_9$, $g_{11}$) during training yields comparable performance to fixed-layer fine-tuning, indicating robustness to layer choice.

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.