Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Defense via Data Dependent Activation Function and Total Variation Minimization

Bao Wang, A. T. Lin|arXiv (Cornell University)|Sep 23, 2018
Adversarial Robustness in Machine LearningComputer Science41 references16 citations
TL;DR

This paper proposes a data-dependent activation function—specifically, a manifold-interpolating function (WNLL)—to enhance adversarial robustness in deep neural networks. By replacing standard softmax with this geometrically informed activation and combining it with total variation minimization and PGD adversarial training, the method improves robust accuracy on CIFAR-10 by up to 38.9% under strong IFGSM attacks, achieving ~69% robust accuracy on ResNet20 and significantly outperforming standard models.

ABSTRACT

We improve the robustness of Deep Neural Net (DNN) to adversarial attacks by using an interpolating function as the output activation. This data-dependent activation remarkably improves both the generalization and robustness of DNN. In the CIFAR10 benchmark, we raise the robust accuracy of the adversarially trained ResNet20 from $\sim 46\%$ to $\sim 69\%$ under the state-of-the-art Iterative Fast Gradient Sign Method (IFGSM) based adversarial attack. When we combine this data-dependent activation with total variation minimization on adversarial images and training data augmentation, we achieve an improvement in robust accuracy by 38.9$\%$ for ResNet56 under the strongest IFGSM attack. Furthermore, We provide an intuitive explanation of our defense by analyzing the geometry of the feature space.

Motivation & Objective

  • To address the vulnerability of deep neural networks (DNNs) to adversarial attacks, especially in safety-critical applications like autonomous vehicles and malware detection.
  • To improve generalization and robustness of DNNs by replacing standard softmax output activation with a data-dependent, manifold-interpolating function.
  • To develop a defense framework that is robust to both white-box and black-box adversarial attacks, including transferable and universal perturbations.
  • To demonstrate that geometric structure in feature space can be leveraged to enhance robustness through activation design and post-processing.

Proposed method

  • Replace the standard softmax output activation in DNNs with a data-dependent, manifold-interpolating activation function (WNLL) that leverages geometric information from training data.
  • Apply total variation minimization (TVM) to adversarial images and training data to simplify perturbations and reduce noise.
  • Integrate the WNLL activation with PGD adversarial training to improve robustness during model optimization.
  • Use projected gradient descent (PGD) to solve the inner maximization problem in adversarial training, approximating the strongest possible attack.
  • Combine WNLL activation with data augmentation and TVM to create a multi-pronged defense strategy.
  • Leverage the approximated gradient of the WNLL function to enable end-to-end backpropagation during adversarial training.

Experimental results

Research questions

  • RQ1Can a data-dependent, manifold-interpolating activation function improve both generalization and robustness in DNNs compared to standard softmax?
  • RQ2How does the geometric structure of features in the latent space change under adversarial perturbations, and can this be exploited for defense?
  • RQ3To what extent does combining WNLL activation with total variation minimization and adversarial training enhance robustness against strong IFGSM attacks?
  • RQ4Is the proposed defense effective against transferable and universal adversarial perturbations?
  • RQ5Can the WNLL-based defense be combined additively with other defenses like data augmentation and TVM to yield further robustness gains?

Key findings

  • On CIFAR-10, the proposed method increases the robust accuracy of PGD-adversarially trained ResNet20 from ~46% to ~69% under the strongest IFGSM attack.
  • When combined with TVM and data augmentation, the method improves robust accuracy by 38.9% for ResNet56 under the strongest IFGSM attack.
  • The WNLL activation reduces the decay in accuracy under increasing IFGSM iterations, showing a ~23% performance gap advantage over standard ResNet20 at 10 iterations.
  • Visualization of feature spaces shows that WNLL preserves meaningful geometric structure in both clean and adversarial images, unlike softmax which distorts feature distributions.
  • The defense remains effective even when adversarial attacks are applied in a black-box setting, due to the geometric stability of the WNLL function.
  • The method is compatible with existing defenses such as PGD training and TVM, enabling additive robustness improvements.

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.