Depth and Error Correction in Attention
Description
We study causal softmax attention under adversarial Euclidean errors in head outputs. Coded relays give an all-input depth hierarchy, and product-prefix redundancy improves the achievable radius on random inputs. For two layers, approximate intermediate blocks achieve order B N−1/4 error tolerance for MSB-first multiplication. A matching midpoint converse assumes a fixed terminal weight envelope and allows arbitrary first-layer scores and updates. The paper also analyzes efficient terminal decoding and the internal depth of explicit ReLU updates.