Skip to main content
QUICK REVIEW

[Paper Review] Gradient Methods Provably Converge to Non-Robust Networks

Gal Vardi, Gilad Yehudai|arXiv (Cornell University)|Feb 9, 2022
Adversarial Robustness in Machine LearningComputer Science6 citations
TL;DR

This paper proves that gradient flow in depth-2 ReLU networks trained with logistic or exponential loss converges to non-robust models—even when robust classifiers exist for the same training data. The key result shows that the implicit bias toward margin maximization in these networks inherently leads to adversarial vulnerability, with perturbations of size O(1) or Õ(d¹ /  4) sufficient to flip all predictions, even under mild data assumptions like near-orthogonality of inputs.

ABSTRACT

Despite a great deal of research, it is still unclear why neural networks are so susceptible to adversarial examples. In this work, we identify natural settings where depth-$2$ ReLU networks trained with gradient flow are provably non-robust (susceptible to small adversarial $\ell_2$-perturbations), even when robust networks that classify the training dataset correctly exist. Perhaps surprisingly, we show that the well-known implicit bias towards margin maximization induces bias towards non-robust networks, by proving that every network which satisfies the KKT conditions of the max-margin problem is non-robust.

Motivation & Objective

  • To explain why gradient-based training of ReLU networks yields non-robust models despite the existence of robust classifiers.
  • To investigate whether the implicit bias of gradient flow—specifically toward margin maximization—leads to adversarial vulnerability in depth-2 ReLU networks.
  • To establish theoretical conditions under which gradient flow converges to non-robust solutions, even when robust solutions are feasible.
  • To analyze the size of adversarial perturbations required to flip predictions across the training dataset under various data configurations.
  • To extend theoretical results beyond small datasets by bounding the size of the margin-attaining subset rather than the full dataset.

Proposed method

  • Theoretical analysis of gradient flow in depth-2 ReLU networks trained with exponential or logistic loss.
  • Leveraging known results that gradient flow in homogeneous models converges to a KKT point of the max-margin problem in parameter space.
  • Proving that every KKT solution of the max-margin problem under the given data assumptions is inherently non-robust.
  • Analyzing adversarial robustness by constructing a single perturbation vector aligned with the sum of margin-supporting examples.
  • Using geometric arguments based on inner product structure and norm scaling to bound the minimal perturbation size required to flip labels.
  • Extending results to larger datasets by assuming a bounded size of the subset of examples achieving the maximum margin, rather than bounding the full dataset size.

Experimental results

Research questions

  • RQ1Does gradient flow in depth-2 ReLU networks trained with standard losses converge to non-robust models even when robust classifiers exist for the training data?
  • RQ2Is the implicit bias toward margin maximization in gradient flow a root cause of adversarial vulnerability in these networks?
  • RQ3What is the minimal size of an adversarial perturbation required to flip the predictions of all training examples in such networks?
  • RQ4How does the robustness of trained networks scale with data dimension and number of samples under near-orthogonal input assumptions?
  • RQ5Can the theoretical results be extended beyond small datasets by focusing on the size of the margin-attaining subset rather than the full dataset?

Key findings

  • For datasets with m = Θ(d) examples and max_i≠j |⟨xi,xj⟩| = O(1), gradient flow converges to networks with adversarial perturbations of size O(1) that flip all predictions.
  • When m = Õ(√d) examples are i.i.d. from the uniform distribution on the sphere of radius √d, adversarial perturbations of size Õ(d¹ /  4) suffice to flip all labels.
  • The same single perturbation vector can flip the labels of all margin-supporting examples, demonstrating a universal adversarial attack on the training set.
  • The minimal perturbation size is significantly smaller than √d, which is the threshold needed to trivially flip labels, indicating non-trivial robustness failure.
  • Network width has negligible impact on adversarial robustness, as perturbation size remains nearly constant across widths from 100 to 8000.
  • Theoretical results hold even when the full dataset is large, provided the size of the subset of examples achieving the maximum margin is bounded.

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.