Akyürek, Schuurmans, Andreas, Ma and Zhou (2022) — ARXIV-2211.15661, ICLR 2023. Read as NOTE-277.
Key takeaways
- Two constructions, not one. Theorem 1: a transformer computes the
prediction of a single gradient step with constant layers and
O(d)hidden space. Theorem 2: it computes a single Sherman–Morrison ridge update with constant layers andO(d²). Both extend tonsteps by stackingngroups of layers. - On noiseless data the trained learner matches ordinary least squares, including the minimum-norm solution in the underdetermined region where many linear models fit the context exactly.
- On noisy data it matches the minimum-Bayes-risk ridge predictor. Sweeping
data noise
σ²and prior varianceτ², the best-fitting ridge parameter moves withσ²/τ²— which is the Bayes-optimal regularizer, not a fitted constant. - The algorithm depends on the model’s size. Varying depth with hidden size and heads tuned, the learner passes through three regimes: closest to gradient descent when shallow, then ridge, then OLS.
- Preliminary probing evidence that late layers non-linearly encode weight vectors and moment matrices.
Standing in the anthology
It is the second, independent arrival at the same construction, and the one whose empirical section is least well summarized by the gradient-descent reading. Its own strongest result is Bayes-optimality, which a closed-form estimator satisfies and a fixed number of gradient steps generally does not; the gradient-descent phase is the one it reports for the smallest models.
Active. Nothing has overturned either theorem or the phase measurement.
What ARXIV-2310.17086 and ARXIV-2310.08540 contest is the identification the
field read into this line of work, not these results.