atlas

Research map / Optimization / Optimizers

When Will Gradient Regularization Be Harmful?

ICML 2024 · Optimization › Optimizers · approach: Memory-efficient LLM optimizers · 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 gradient regularization (GR) harms adaptive optimizers (Adam, RMSProp) when combined with learning rate warmup on ViTs, and proposes three GR warmup strategies (r-warmup, λ-warmup, zero-warmup) that fix it.

Problem

Gradient regularization penalizes gradient norm, but when combined with learning rate warmup under adaptive optimizers (Adam, RMSProp) it can degrade performance, especially for larger models trained from scratch.

Approach

Attribute the degradation to GR causing a decreasing gradient norm early in training, which inflates the variance of the adaptive learning rate; then ramp or delay GR during warmup (r-warmup, λ-warmup, or zero-warmup where GR is off during warmup) so gradient second-moment statistics accumulate accurately.</303>

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add zero-warmup GR instead of standard GR (ablation)ViT-B with Adam · Cifar-10test error rate: 12.36_{ \pm 0.33} -> 9.42_{ \pm 0.15}Helped
Add r-warmup GR instead of standard GR (ablation)ViT-B with Adam · Cifar-10test error rate: 12.36_{ \pm 0.33} -> 10.22_{ \pm 0.26}Helped
Add λ-warmup GR instead of standard GR (ablation)ViT-B with Adam · Cifar-10test error rate: 12.36_{ \pm 0.33} -> 9.98_{ \pm 0.23}Helped
Add zero-warmup GR instead of standard GR (ablation)ViT-B with Adam · Cifar-100test error rate: 36.65_{ \pm 0.26} -> 35.75_{ \pm 0.20}Helped
Add GR while using LR warmupViT-B with Adam · Cifar-10test error rate: 10.83_{ \pm 0.28} -> 12.36_{ \pm 0.33}Hurt
Add standard GR without LR warmupViT models with Adam and RMSProp · Cifar-10 and Cifar-100test error rateHelped
Add LR warmupViT models with Adam and RMSProp · Cifar-10 and Cifar-100test error rateHelped
Use r-warmup rather than standard GR (ablation)ViT models with Adam and RMSProp · Cifar-10 and Cifar-100test error rateHelped
Use λ-warmup rather than standard GR (ablation)ViT models with Adam and RMSProp · Cifar-10 and Cifar-100test error rateHelped
Use zero-warmup rather than standard GR (ablation)ViT, Swin, and CaiT models · Cifar-10 and Cifar-100test error rateHelped
Use zero-warmup instead of vanilla GR (ablation)ViT models with Adam · TinyImageNettest error rateHelped
Use zero-warmup instead of vanilla GR (ablation)Swin-Tiny with Adam · ImageNettest error rate: 22.34_{ \pm 0.15} -> 21.58_{ \pm 0.34}Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 TinyImageNet ImageNet

Benchmarks: CIFAR-10 CIFAR-100 TinyImageNet ImageNet

Metrics: test error rate [%]

Baselines: Vanilla GR No GR Adam RMSProp

Builds on: Sharpness-Aware Minimization Adam RMSProp Vision Transformer learning rate warmup

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