Adam is the default optimiser for almost every transformer, and for years most people used it with weight decay switched on, assuming that was the same as regularisation. It was not. The weight decay in Adam is rescaled by the same adaptive step sizes that make Adam work, so it behaves nothing ...

Source: [Dev.to](https://dev.to/umeshtharukaofficial/adamw-why-decoupling-weight-decay-from-the-gradient-fixes-adam-3i1g)

Sponsored