Domingos: An attention head is just a fast-weight MLP

pmddomingos · x · 2026-10-24

Pedro Domingos distills a recent paper into one line: an attention head is a fast-weight MLP. The linked section 3.1 proves scaled dot-product attention is exactly equivalent to a two-layer, N-width MLP whose weights are the scaled keys/values and whose activation is exp(·), recasting efficient attention methods as different ways of scaling fast weights.

Original post →

More from Research

Research channel →