paper-with-me

Papers

Decoupled Weight Decay Regularization

2017-11-14 · ICLR 2019 5 · Ilya Loshchilov, Frank Hutter

L$_2$ regularization and weight decay regularization are equivalent for standard stochastic gradient descent (when rescaled by the learning rate), but as we demonstrate this is \emph{not} the case for adaptive gradient algorithms, such as Adam. While common implementations of these algorithms employ L$_2$ regularization (often calling it "weight decay" in what may be misleading due to the inequivalence we expose), we propose a simple modification to recover the original formulation of weight decay regularization by \emph{decoupling} the weight decay from the optimization steps taken w.r.t. the loss function. We provide empirical evidence that our proposed modification (i) decouples the optimal choice of weight decay factor from the setting of the learning rate for both standard SGD and Adam and (ii) substantially improves Adam's generalization performance, allowing it to compete with SGD with momentum on image classification datasets (on which it was previously typically outperformed by the latter). Our proposed decoupled weight decay has already been adopted by many researchers, and the community has implemented it in TensorFlow and PyTorch; the complete source code for our experiments is available at https://github.com/loshchil/AdamW-and-SGDW

📄 PDF Abstract BibTeX arXiv:1711.05101

Code (23)

GLambard/AdamW_Keras 공식 구현 tf
Yagami123/Caffe-AdamW-AdamWR 공식 구현
loshchil/AdamW-and-SGDW 공식 구현 torch
DeadAt0m/adafactor-pytorch pytorch
GPUPhobia/vocal-mask pytorch
JakobHavtorn/nn pytorch
ShikamaruZhang/AdamW tf
albertopolito/CarSNN pytorch
bojone/tiger tf
ceballots/Adam-with-cosine-scheduler-implementation
ethancaballero/Restricted_Boltzmann_Machine__RBM tf
facebookresearch/ClassyVision pytorch
huggingface/pytorch-openai-transformer-lm pytorch
kayuksel/pytorch-adamaio pytorch
mikeedjones/denoising pytorch
mpyrozhok/adamwr pytorch
pityka/lamp pytorch
reeered/AdamAIO mindspore
sajadn/AdamW
sayakpaul/FunMatch-Distillation tf
tristandeleu/pytorch-structured-sparsity pytorch
txping/AEGD pytorch
warner-benjamin/optimi pytorch

Tasks

image-classificationImage Classification

Methods 이 논문이 사용한 방법론

SGDW 설명 없음
AdamW AdamW is a stochastic optimization method that modifies the typical implementation of weight decay in Adam, by decoupling [weight…
SGD with Momentum 설명 없음
Weight Decay 설명 없음
Adam 설명 없음
SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

Stable Weight Decay Regularization

2020-09-28 · Zeke Xie, Issei Sato, Masashi Sugiyama

Weight decay is a popular regularization technique for training of deep neural networks. Modern deep learning libraries mainly use $L_{2}$ regularization as the default implementation of weight decay. \citet{loshchilov20…

Weight Norm Control

2023-11-19 · Ilya Loshchilov

We note that decoupled weight decay regularization is a particular case of weight norm control where the target norm of weights is set to 0. Any optimization method (e.g., Adam) which uses decoupled weight decay regulari…

AdamHD: Decoupled Huber Decay Regularization for Language Model Pre-Training

2025-11-18 · Fu-Ming Guo, Yingfang Fan arxiv

Adaptive optimizers with decoupled weight decay, such as AdamW, are the de facto standard for pre-training large transformer-based generative models. Yet the quadratic nature of the $\ell_2$ penalty embedded in weight de…

Decoupled Weight Decay for Any $p$ Norm

2024-04-16 · Nadav Joseph Outmezguine, Noam Levi

With the success of deep neural networks (NNs) in a variety of domains, the computational and storage requirements for training and deploying large NNs have become a bottleneck for further improvements. Sparsification ha…

Understanding Decoupled and Early Weight Decay

2020-12-27 · Johan Bjorck, Kilian Weinberger, Carla Gomes

Weight decay (WD) is a traditional regularization technique in deep learning, but despite its ubiquity, its behavior is still an area of active research. Golatkar et al. have recently shown that WD only matters at the st…