Skip to main content
QUICK REVIEW

[Paper Review] A single gradient step finds adversarial examples on random two-layers neural networks

Sébastien Bubeck, Yeshwanth Cherapanamjeri|arXiv (Cornell University)|Apr 8, 2021
Stochastic Gradient Optimization TechniquesComputer Science5 citations
TL;DR

This paper proves that a single gradient step suffices to generate adversarial examples in random two-layer ReLU and smooth-activation neural networks, even when the network width is overcomplete (k > d) and subexponential in input dimension d. The key result shows that with high probability, a perturbation δ = η∇f(x) with |η| ≈ √log(1/γ) flips the network’s output sign, demonstrating that adversarial examples arise naturally in wide random networks due to their local linearity.

ABSTRACT

Daniely and Schacham recently showed that gradient descent finds adversarial examples on random undercomplete two-layers ReLU neural networks. The term "undercomplete" refers to the fact that their proof only holds when the number of neurons is a vanishing fraction of the ambient dimension. We extend their result to the overcomplete case, where the number of neurons is larger than the dimension (yet also subexponential in the dimension). In fact we prove that a single step of gradient descent suffices. We also show this result for any subexponential width random neural network with smooth activation function.

Motivation & Objective

  • To theoretically confirm that adversarial examples can be found via a single gradient step in random two-layer neural networks.
  • To extend prior results from undercomplete (k = o(d)) to overcomplete (k > d) settings with subexponential width.
  • To analyze the robustness of random neural networks with smooth and ReLU activation functions under gradient-based attacks.
  • To establish probabilistic bounds on the success of gradient-based adversarial attacks in high-dimensional random architectures.

Proposed method

  • Uses a random two-layer network model with i.i.d. Gaussian weights wℓ ∼ N(0, I/d) and random signs aℓ ∈ {−1, +1}.
  • Applies concentration inequalities and Gaussian tail bounds to control the norm of the gradient and perturbation size.
  • Employs union bounds over finite nets to control suprema of functionals over input perturbations.
  • Leverages Lipschitz concentration of measure to bound deviations in gradient and function behavior over small perturbations.
  • Uses a chaining argument with ε-nets to control the oscillation of the network output under small input changes.
  • Derives explicit constants in high-probability bounds via moment and tail estimates on Gaussian chaos.

Experimental results

Research questions

  • RQ1Can a single gradient step generate adversarial examples in overcomplete random two-layer ReLU networks?
  • RQ2Does the phenomenon of adversarial examples persist in random networks when the number of neurons exceeds the input dimension?
  • RQ3How does the width of the network affect the likelihood of finding adversarial examples via gradient descent?
  • RQ4Is the success of the fast gradient sign method (FGSM) theoretically grounded in the local linearity of random neural networks?

Key findings

  • For smooth activation functions, a single gradient step with |η| ≈ C₃√log(1/γ) flips the sign of f(x) with probability at least 1−γ, provided k ≥ C₁log³(1/γ) and d ≥ C₂log(k/γ)log(1/γ).
  • For ReLU networks, the same result holds under the conditions k ≥ C₁d log²(d) and d/log(d) ≥ C₂log⁴(k)log(1/γ), with |η| ≈ C₃√log(1/γ).
  • The perturbation norm ∥η∇f(x)∥ is bounded by C₄√log(1/γ), implying small, targeted adversarial perturbations.
  • Empirical results confirm that the minimal η required to flip the sign remains approximately constant across d and k, and 100% of samples are adversarial under |η| < 20 for d, k > 50.
  • The phenomenon holds for deeper networks (L = 1 to 6), though the threshold for 100% success increases with depth due to memory constraints.
  • The theoretical framework confirms that the fast gradient sign method (FGSM) succeeds because most random networks are locally linear over vast input regions.

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.