English

A completely uniform transformer for parity

Machine Learning 2025-01-07 v1 Artificial Intelligence

Abstract

We construct a 3-layer constant-dimension transformer, recognizing the parity language, where neither parameter matrices nor the positional encoding depend on the input length. This improves upon a construction of Chiang and Cholak who use a positional encoding, depending on the input length (but their construction has 2 layers).

Cite

@article{arxiv.2501.02535,
  title  = {A completely uniform transformer for parity},
  author = {Alexander Kozachinskiy and Tomasz Steifer},
  journal= {arXiv preprint arXiv:2501.02535},
  year   = {2025}
}

Comments

4 pages

R2 v1 2026-06-28T20:56:45.211Z