LAMB is an optimizer that normalizes the Adam update to unit size per layer and then scales it by the size of that layer's weights. You et al. (Google) published it in 2019 (ICLR 2020). It is known for scaling BERT pre-training up to a batch size of 32K (about 30,000) without losing accuracy, cutting training time from 3 days to 76 minutes.
To train large models quickly, more machines are added for data-parallel training, and the batch used for each update is made larger. But when the batch is enlarged and the learning rate is raised along with it, training tends to become unstable. One answer to this problem was LARS, which sets the learning rate per layer from the ratio of the norms (sizes) of the weights and the gradients, making it possible to train ResNet-50 in minutes. According to the paper, however, LARS does not work well on models that use attention, such as BERT, and its effectiveness varies by task.
LAMB applies LARS's idea of "matching each layer's update size to its weight size" to Adam instead of SGD with momentum (SGD). It therefore adjusts the update size in two stages.
- Per-element adjustment (same as Adam): divide by the average of squared gradients, varying the step size for each parameter element.
- Per-layer adjustment (same idea as LARS): match the size of the whole layer's update to the size of that layer's weights.
As an analogy, it is like setting the same cap for every layer on "what fraction of the current weights may move in one update". Layers with very large gradients and layers with small ones move by the same proportion, so no single layer runs wild even with a large learning rate.

