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

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.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-22
DOI
https://doi.org/10.5281/zenodo.24432727
Primary Topic
Neural Networks and Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

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

Yeon
Zenodo (CERN European Organization for Nuclear Research)
Neural Networks and Applications
preprint

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

Yeon
preprint en

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.

Zenodo (CERN European Organization for Nuclear Research)
Neural Networks and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon