Causal masks break positional symmetry in Transformers, no PE needed

CatAstro_Piyush · x · 2026-12-03

kzkirie pushes back on the mantra "Transformers are set processors": with a causal mask and 2+ layers, they are not permutation-equivariant. Pre-2020 LM researchers knew this well, but the insight got lost in the LLM boom.

promptTunes adds supporting math and simulations: even a parameter-free Transformer with no positional encodings develops position-dependent normalized inner products ⟨yi, yj⟩ across query-key indices — meaning the causal mask itself acts as a positional encoding mechanism, with attention patterns differentiating layer by layer.

Original post →

More from Research

Research channel →