atlas

Research map / Adversarial robustness and security / Certified and empirical robustness

Deep Networks Always Grok and Here is Why

ICML 2024 · Adversarial robustness and security › Certified and empirical robustness · approach: Decision-boundary geometry of robustness · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that grokking (delayed generalization and a new "delayed robustness" to adversarial examples) occurs broadly in standard training, and explains it via a spline-based local complexity progress measure whose second descent ("region migration") precedes grokking.

Problem

Grokking (delayed generalization) was thought to occur only in controlled settings such as large-norm initialization or algorithmic transformer tasks; it is unclear how widespread it is and what training dynamics cause it, including whether robustness to adversarial examples can be grokked too.

Approach

Introduces "delayed robustness" (grokking of PGD adversarial examples) and a task-agnostic local complexity measure, counting neuron hyperplanes intersecting a cross-polytope neighborhood around data points in the spline partition view of DNNs. Training shows three phases (descent, ascent, second descent/region migration), with region migration moving linear regions from training points toward the

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase batch size from 64 to 512ResNet18 · CIFAR10adversarial grokking onsetHelped
Increase depth from 2 to 6MLP · MNISTadversarial grokking onsetHelped
Increase layers from 6 to 12GPT · Shakespeare Textadversarial grokking onsetHelped
Increase width from 20 to 2000MLP · MNISTadversarial grokking onsetHelped
Increase width from 16 to 64 filtersResNet18 · CIFAR10adversarial grokking onsetHelped
Increase weight decay from 0 to 1MLP · MNISTadversarial grokking onsetHurt
Increase training data from 1K to 60KMLP · MNISTadversarial grokking onsetHelped
Increase randomly labeled training data from 1K to 60KMLP · MNIST, randomly labeledadversarial grokking onsetHurt
Add BatchNorm after convolutionResNet18 · CIFAR10adversarial grokking occurrenceHurt
Add BatchNorm after convolutionCNN · CIFAR10adversarial grokking occurrenceHurt
Vary weight decay (ablation)CNN, depth 5 and width 32 · CIFAR10region migration onsetMixed
Use GeLU activation instead of ReLU (ablation)MLP and Transformer · MNIST and Shakespeare Textlocal complexity training dynamicsNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: MNIST CIFAR10 CIFAR100 Imagenette Imagenet Shakespeare Text IMDb modular addition

Benchmarks: MNIST CIFAR10 CIFAR100 Imagenette Shakespeare Text

Metrics: test accuracy adversarial accuracy under l_inf PGD local complexity AutoAttack robustness

Baselines: AutoAttack

Builds on: grokking (Power et al.) affine spline view of deep networks (Balestriero & Baraniuk) progress measures for grokking (Nanda et al.) PGD adversarial attacks SplineCam

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy