[Paper Review] Comment on "Biologically inspired protection of deep networks from adversarial attacks"
This paper challenges the claim that highly saturated deep neural networks are inherently robust to gradient-based adversarial attacks. It demonstrates that apparent robustness stems from numerical instabilities in gradient computation, not true resilience, as a simple gradient stabilization technique restores successful adversarial attacks on such networks.
A recent paper suggests that Deep Neural Networks can be protected from gradient-based adversarial perturbations by driving the network activations into a highly saturated regime. Here we analyse such saturated networks and show that the attacks fail due to numerical limitations in the gradient computations. A simple stabilisation of the gradient estimates enables successful and efficient attacks. Thus, it has yet to be shown that the robustness observed in highly saturated networks is not simply due to numerical limitations.
Motivation & Objective
- To investigate whether highly saturated deep neural networks are truly robust against gradient-based adversarial attacks.
- To examine whether the observed robustness in prior work is due to numerical limitations in gradient computation.
- To develop and test a stable gradient estimation method that can successfully attack saturated networks.
- To highlight the risk of conflating numerical instability with genuine robustness in adversarial machine learning evaluation.
Proposed method
- Training a three-layer Multi-layer Perceptron (MLP) with and without a saturation penalty to drive activations into saturated non-linear regions (sigmoid and ReLU).
- Applying the Fast Gradient Sign Method (FGSM) using both naive and stabilized gradient estimates to generate adversarial examples.
- Using a modified FGSM with reduced gain in the sigmoid non-linearity to improve gradient stability while preserving activation saturation.
- Analyzing the distribution of gradient elements to quantify the proportion of zero and numerically unstable gradients in saturated networks.
- Evaluating attack success rates based on the ratio of non-zero gradients, correlating performance with numerical stability.
- Extending the attack to ReLU networks by down-scaling readout layer activations to achieve similar stabilization.
Experimental results
Research questions
- RQ1Does the robustness of saturated deep neural networks against FGSM attacks stem from numerical instability in gradient computation?
- RQ2Can a stabilized gradient estimate successfully generate adversarial examples for highly saturated networks?
- RQ3To what extent does the proportion of zero-valued gradients correlate with FGSM attack success rate in saturated networks?
- RQ4Is the observed robustness in prior work (e.g., [1]) an artifact of implementation-specific numerical limitations?
- RQ5Can gradient-based attacks be reliably applied to networks with saturated activations when gradient estimates are stabilized?
Key findings
- In saturated sigmoid networks, over 98.2% of gradient elements are exactly zero, with the remainder being 16 orders of magnitude smaller than in vanilla networks, indicating severe numerical instability.
- The naive FGSM attack fails on saturated networks because it relies on unstable or zero gradients, resulting in a 96.6% robustness rate on the sigmoid MLP.
- A stabilized gradient estimate—achieved by reducing the sigmoid gain—restores the FGSM attack, reducing robustness to only 1.7% on the same saturated sigmoid MLP.
- For ReLU-based saturated networks, a similar attack via readout layer activation down-scaling reduces robustness from 98.0% to 8.4%.
- Attack success rate strongly correlates with the ratio of non-zero gradients, dropping significantly as more gradients become zero due to high saturation.
- The results suggest that the robustness observed in prior work is likely due to numerical limitations, not inherent protection, and thus cannot be considered a valid measure of true robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.