Work

One Minus Sign Is All You Need: Learning the Commutator for Order-Sensitive State Tracking

Year: 2026
Type: preprint
Abstract: Negative eigenvalues let linear RNNs track parity, a task that defeats Transformers at unseen lengths. But many state-tracking problems depend on the order of events, not only on how many sign flips occurred. We make this distinction precise with the Yeon algebra Ym(λ,ε), in which generators satisfy x2 i = λi and xixj= εxj xi: one scalar, ε, is the commutator of any two state transitions. We prove that prefix products of generators carry the sign (−1)inv(w) of a word exactly at every length whenever ε<0, and that no commutative choice (ε= +1) can, whatever the eigenvalues. We then give a causal Transformer one Yeon prefix-product mixer with λ and ε learned from a commutative start (YeonFormer). Trained on lengths 8–20, it moves ε to ≈−0.96, the Clifford corner, on inversion parity in 3 of 5 seeds and then keeps 78–87% accuracy at length 160, while a plain Transformer, the commutative ablation, and negative-eigenvalue DeltaNet and DeltaProduct mixers in the same slot are at chance there. On parity, where order is irrelevant, ε stays commutative and the model is still exact at length 160. On Dyck-1, a counting task, DeltaNet is the better mixer, and on character-level language modelling the Yeon mixer changes nothing. The results suggest that sign and order are separate capabilities, and that the commutator is worth learning explicitly. All experiments are small and synthetic.
Author: Yeon
Language: English
Open Access status: green
OpenAlex ID: W7237790171
Cites:
Cited by:
Related to: