计算机科学 > 机器学习
[提交于 2026年11月29日]
标题:Spreading a Shortcut Can Reverse AdamW's Advantage over L2
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Two shortcuts can carry exactly the same signal and still mean different things to an optimiser. I study a two-layer ReLU network on MNIST with a spurious shortcut that agrees with the label with probability 0.95 and has the same $\ell_2$ norm whether it occupies 4 or 196 extra input coordinates. For SGD with coupled $\ell_2$ regularisation the two cases are the same problem in different orthonormal bases, and with transported initial weights its predictions coincide. For AdamW they are different problems. At matched training loss, AdamW is 29.9 percentage points more accurate than SGD+L2 when the four-coordinate shortcut is reversed at test time, and 22.9 points less accurate when the shortcut is spread over 196 coordinates. Replacing the $\ell_2$-ball projection of plain SGD with the $\ell_\infty$ box that Xie and Li identified for full-batch AdamW reproduces both signs, and a two-feature linear model shows the same reversal exactly. The sign changes near the support at which the hidden units' mean alignment with the shortcut matches its $\ell_2$ value, and Adam with coupled $\ell_2$ shows no reversal that my sweep can resolve. The effect replicates on fresh digit splits and under sign descent with decoupled decay, and fades when the shortcut is much stronger or less reliable.
提交历史
来自:Alejandro Treny Ortega[v1] 2026年11月29日 星期日 17:47:47 UTC (103 KB)