cs.LGMay 12, 2026

Lower bounds for one-layer transformers that compute parity

Authors: Daniel Hsu

Abstract

This note shows that no self-attention layer post-processed by a rational function can sign-represent the parity function unless the product of the number of heads and the degree of the post-processing function grows linearly with the input length. Combining this lower bound with rational approximation of ReLU networks yields a margin-dependent extension for self-attention layers post-processed by ReLU networks.

Explore similar work

CardsList