potentialpaper

Parity Echoes in a Transformer: Predictable Far Length Re-emergence After Single Length Training

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We study how a Transformer trained to solve parity at a single sequence length behaves when evaluated on other lengths

Abstract. We study how a Transformer trained to solve parity at a single sequence length behaves when evaluated on other lengths. Surprisingly, failure is not monotonic: the model can lose measurable parity signal at nearby unseen lengths and partially recover it much farther away in a regular pattern. We show that this behavior is closely related to how the model represents its inputs. Successful models organize sequences mainly by the number of ones they contain, with different counts arranged along an approximately one-dimensional structure. This representation makes the model’s behavior at unseen lengths predictable: we derive where parity signal should reappear and how its strength changes with sequence length, and find close agreement with trained models. We also study how the difficulty of learning parity grows with sequence length. Empirically, the number of optimizer steps required to learn the task scales close to L3/2L^{3/2}, and a simplified spectral model yields the same scaling. These results connect two aspects of parity learning: how a trained model behaves away from its training length, and how the difficulty of learning the task grows as that length increases.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
18 Sep 2026ICLR 2027submittedICLR 2027Desk rejectedreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Desk rejected · OpenReview

Updated 24 Nov 2026, 16:58 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…