atlas

Research map / Architectures and efficiency / RNNs and normalization

Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problems

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Theory of depth and width · 1 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 SAM implicitly drives balancedness (squared-norm difference between two factor groups) toward zero in scale-invariant NOP/OP problems, more strongly with noisy data, and derives BAR, a cheap norm-based regularizer that replaces SAM's second gradient for LoRA finetuning.

Problem

Understanding global implicit regularization of sharpness-aware minimization (SAM) for scale-invariant two-group problems (e.g., LoRA, softmax attention), and why SAM helps under data anomalies, while making SAM's benefit available at low cost.

Approach

Replaces sharpness with balancedness (half the difference of squared norms of the two variable groups) as the implicit-regularization metric; shows SAM's balancedness dynamics are driven by gradient-norm differences and are data-responsive; converts this into an explicit, second-gradient-free regularizer (BAR) applied per LoRA layer.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add nBAR balancedness regularization to LoRALoRA on RoBERTa-large · RoBERTa-large few-shot averageaccuracy: 80.0 -> 81.2Helped
Add oBAR balancedness regularization to LoRALoRA on RoBERTa-large · RoBERTa-large few-shot averageaccuracy: 80.0 -> 80.9Helped
Add nBAR balancedness regularization to LoRALoRA on OPT-1.3B · OPT-1.3B few-shot averageaccuracy: 77.6 -> 79.2Helped
Add oBAR balancedness regularization to LoRALoRA on OPT-1.3B · OPT-1.3B few-shot averageaccuracy: 77.6 -> 78.5Helped
Add nBAR balancedness regularization to LoRALoRA on RoBERTa-large · RoBERTa-large finetuning averageaccuracy: 85.3 -> 85.9Helped
Add oBAR balancedness regularization to LoRALoRA on RoBERTa-large · RoBERTa-large finetuning averageaccuracy: 85.3 -> 85.7Helped
Add nBAR balancedness regularization to LoRALoRA on GPT2-medium · WebNLGBLEU: 54.99±{0.24} -> 55.20±{0.16}Helped
Add oBAR balancedness regularization to LoRALoRA on GPT2-medium · WebNLGBLEU: 54.99±{0.24} -> 55.15±{0.19}Helped
Use BAR instead of SAMLoRA on OPT-1.3B · OPT-1.3B runtimeruntime: 4.43x -> 1.05xHelped
Use BAR instead of SAMLoRA on OPT-1.3B · OPT-1.3B runtime on CBruntime: 3.34x -> 1.03xHelped

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 SST-5 SNLI MNLI RTE TREC CB COPA ReCoRD SQuAD STS-B WebNLG

Benchmarks: SST-2 SST-5 SNLI MNLI RTE TREC CB COPA ReCoRD SQuAD STS-B WebNLG

Metrics: accuracy F1 BLEU runtime overhead

Baselines: SGD LoRA LoRA-SAM prefix tuning full finetuning adapter

Builds on: SAM LoRA AdamW prefix tuning

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