atlas

Research map / Architectures and efficiency / RNNs and normalization

$\boldsymbol{\mu}\mathbf{P^2}$: Effective Sharpness Aware Minimization Requires Layerwise Perturbation Scaling

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Theory of depth and width · 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.

Derives an infinite-width (Tensor Programs) theory of SAM showing standard SAM only effectively perturbs the last layer, and proposes µP2, a layerwise perturbation scaling that makes all layers effectively perturbed and enables joint transfer of learning rate and perturbation radius.

Problem

Standard SAM's scaling behaviour with network width is not understood; under global perturbation scaling it is unclear which layers are effectively perturbed and whether optimal learning rate and perturbation radius transfer across widths.

Approach

Introduces bcd-parameterizations that add layerwise perturbation-radius scalings to abc-parameterizations, characterizes perturbation regimes (unstable, vanishing, nontrivial, effective), and derives the unique layerwise perturbation scaling µP2 that effectively perturbs all layers under µP.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace global perturbation scaling with layerwise µP2 scalingSAM in µP · CIFAR10, ResNet-18 width multiplier 4test accuracy: 97.19±0.05 -> 97.23±0.08Helped
replace global perturbation scaling with layerwise µP2 scalingSAM in SP · CIFAR10, ResNet-18 width multiplier 4test accuracy: 97.00±0.03 -> 97.00±0.03No clear effect
use SAM-ON instead of standard SAM with µP2 scalingSAM µP2 · CIFAR10, ResNet-18 width multiplier 4, SPtest accuracy: 97.00±0.03 -> 97.29±0.06Helped
use elementwise ASAM instead of standard SAM with µP2 scalingSAM µP2 · CIFAR10, ResNet-18 width multiplier 4, SPtest accuracy: 97.00±0.03 -> 97.15±0.01Helped
use SAM-ON instead of standard SAM with µP2 scalingSAM µP2 · CIFAR10, ResNet-18 width multiplier 4, µPtest accuracy: 97.23±0.08 -> 97.34±0.08Helped
use elementwise ASAM instead of standard SAM with µP2 scalingSAM µP2 · CIFAR10, ResNet-18 width multiplier 4, µPtest accuracy: 97.23±0.08 -> 97.32±0.05Helped
apply global perturbation scaling ρ · n−1/2 instead of µP2 layerwise scaling (ablation)SAM in µP · CIFAR10, 3-layer MLP across widthstest accuracyHurt
use standard SAM perturbations across layers instead of perturbing only the last layer (ablation)SAM in µP with global scaling ρ · n−1/2 · CIFAR10, 3-layer MLP across widthsactivation updatesNo clear effect
use µP2 layerwise perturbation scaling instead of global perturbation scaling (ablation)SAM in µP · CIFAR10, 3-layer MLP across widthstest accuracyHelped
use µP2 instead of µP-global perturbation scaling (ablation)SAM · ImageNet1K, ViT-S/16 across widthsTop 1 accuracyHelped
use µP2 instead of global perturbation scaling (ablation)SAM variants · CIFAR10, ResNet-18 across widthstest accuracyHelped
use layerwise gradient normalization instead of the paper's perturbation normalization (ablation)SAM µP2 · Supplemental experimentsgeneralization performanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 ImageNet1K

Benchmarks: CIFAR10 ImageNet1K

Metrics: test accuracy top-1 accuracy

Baselines: SGD in µP SAM with global perturbation scaling (µP-global) SP SAM-ON Elementwise ASAM Layerwise ASAM AdamW in µP

Builds on: Tensor Programs maximal update parameterization (µP) Sharpness Aware Minimization Adaptive SAM SAM-ON

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