Adam:方向記憶加逐維步幅Adam combines direction and scale
第一矩平滑方向,第二矩調整每個維度的尺度。 / The two moment estimates play different roles.
方向的記憶First moment
m 是梯度指數平均,從 m₀=0 開始。 / Initialize the first moment to zero.
尺度的記憶Second raw moment
v 與權重同維度,從 v₀=0 開始。 / The second moment is a vector.
最終更新Update
先偏差修正,再逐維相除。 / Correct bias, then divide elementwise.