The compositionality argument for universal and looped transformers, illustrated

ChrisGPotts · x · 2026-12-03

A teaching artifact (shared with slides) motivating universal/looped transformers via Csordás et al.'s (2021/2022) compositionality argument: if multiplication is only learned in Layer 1 and addition only in Layer 2, the model can't generalize when test time requires a different composition — so all programs/functions must be available at every layer, supporting recurrence in depth. The course also frames thinking/reasoning as sequence processing.

Original post →

More from Research

Research channel →