A completely uniform transformer for parity

Alexander Kozachinskiy, Tomasz Steifer
1/5/2025
cs.LGcs.AI

No confident code implementation found for this paper.

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).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kozachinskiy2025completely,
  title  = {A completely uniform transformer for parity},
  author = {Alexander Kozachinskiy and Tomasz Steifer},
  year   = {2025},
  eprint = {2501.02535},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.02535v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.02535.svg)](https://codeofpaper.com/paper/2501.02535)

Discussion