the.ai

Optimization / Training

verified

AdamW

AdamW is Adam with the weight decay applied separately from the gradient rather than folded into it. That sounds like a detail and is not: under Adam's per-parameter scaling, decay folded into the gradient gets divided differently for every parameter, so it does not do what was configured. Separating it makes the setting mean what it says.

Viz primitive · budget-splitdecay = 0.1

decay holds 9% of the budget; rest holds the remaining 91%.

Share of each step coming from weight decay against the gradient beside it. Drag the coefficient to see how much of the update is regularisation.

0.1

Reviewed by opendroid · 2026-08-04