Lower bounds for one-layer transformers that compute parity
Machine Learning
2026-05-13 v1
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.
Keywords
Cite
@article{arxiv.2605.12171,
title = {Lower bounds for one-layer transformers that compute parity},
author = {Daniel Hsu},
journal= {arXiv preprint arXiv:2605.12171},
year = {2026}
}