Adam stores one value per parameter.
A full second-moment accumulator has the same shape as the parameter matrix, so optimizer memory grows with rows times columns.
Adafactor approximates a parameter matrix’s second moment from row and column statistics. Change matrix shape, decay, gradient scale, clipping, and step policy to see the memory-quality tradeoff.
A full second-moment accumulator has the same shape as the parameter matrix, so optimizer memory grows with rows times columns.
The outer product of two compact statistics approximates the full matrix of squared-gradient scales.
State size falls from O(rows × columns) to O(rows + columns).
RMS clipping rescales unusually large normalized updates rather than clipping each coordinate independently.
A parameter-relative schedule can adapt the effective step to the RMS magnitude of the weights.