cs.LGNov 20, 2026

ORION: Exact Canonical-State Supervision for Systematic Generalization in Transformers

Authors: Sibi Gokul, Jyoti Prakash Meher

Organizations: Department of Computational and Data Science, National Institute of Technology Warangal, Telangana, 506004, India

Abstract

Autoregressive Transformers generally fail on out-of-distribution reasoning due to two primary reasons: positional corruption over long sequences and structural state drift across deep execution steps. We introduce ORION, a framework that supervises exact canonical execution states via auxiliary heads to anchor latent trajectories to valid computational manifolds. Across Folding, GridShift, and CLRS-30, a pre-registered 2 x 2 factorial shows that RoPE and ORION address orthogonal axes. RoPE recovers length extrapolation (59.8%), while ORION recovers depth extrapolation (66.7%). Moreover, their combination complementarily achieves strict additive gain in joint length-depth extrapolation, while either method alone offers near satisfactory results. Negative controls confirm that the gain depends strictly on exact canonical alignment; hashed state statistics fail to constrain depth extrapolation.

Figures & tables

Appendix figures & tables16 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Length Generalization Needs Proper Regularization

    Oct 3, 2026Pavlo Vasylenko, Matthias Lindemann, André F. T. Martins +1Length GeneralizationLanguage Model Generalization

  2. On the "Induction Bias" in Sequence Models

    Feb 20, 2026M. Reza Ebrahimi, Michaël Defferrard, Sunny Panchal +1TransformerState Tracking