oHC: Orthogonal Hyper-Connections on SO(4) via Quaternions
cs.CL, cs.LG
Submitted: 2026-09-02
Updated: 2026-09-02
License: http://creativecommons.org/licenses/by/4.0/
The gist: Hyper-Connections (HC) replace the single residual stream of a Transformer with n parallel ones, mixing them at every layer with a learned n times n residual matrix.
Terminology
Abstract
Hyper-Connections (HC) replace the single residual stream of a Transformer with n parallel ones, mixing them at every layer with a learned n times n residual matrix. Leaving that matrix unconstrained places no limit on the factor by which the mixing step rescales the residual streams, and that factor compounds across layers, which destabilizes training. Manifold-constrained Hyper-Connections (mHC) address this by restricting the matrix to the doubly stochastic matrices. That caps the factor at one, so the mixing can no longer amplify any direction, but nothing bounds it from below. We prove that inside this set the mixing step can reduce the norm of the residual streams only by shrinking the differences between the streams, while their mean is left unchanged; and since the reduction accumulates over layers, the streams grow more alike and their diversity is spent with depth. We therefore propose Orthogonal Hyper-Connections (oHC), restricting the residual matrix to the rotation group SO(n), so that the mixing step can neither amplify nor attenuate the residual streams in any direction, which keeps training stable and no longer forces the differences between the streams to contract. Specifically, at the four streams used by recent HC models we parameterize the group in closed form by a pair of unit quaternions, which adds no parameters, replaces the iterative projection with a fixed pattern of signed additions, and can be constructed faster than mHC. We evaluate oHC across a comprehensive set of downstream tasks, where it outperforms the single-stream residual baseline, mHC and iHC, which fixes the residual matrix to the identity.
Sources
- mHC: Manifold-Constrained Hyper-Connections
- Frac-Connections: Fractional Extension of Hyper-Connections
- xHC: Expanded Hyper-Connections
- KromHC: Manifold-Constrained Hyper-Connections with Kronecker-Product Residual Matrices
- go-$m$HC: Direct Parameterization of Manifold-Constrained Hyper-Connections via Generalized Orthostochastic Matrices
- TBP-mHC: full expressivity for manifold-constrained hyper connections through transportation polytopes
- Accelerating Birkhoff Projection for Manifold-Constrained Hyper-Connections
- mHC-lite: You Don't Need 20 Sinkhorn-Knopp Iterations
- Sinkhorn doubly stochastic attention rank decay analysis
- Spectral-Sphere-Constrained Hyper-Connections
- JPmHC Dynamical Isometry via Orthogonal Hyper-Connections
- Training Compute-Optimal Large Language Models
- Scaling Laws for Fine-Grained Mixture of Experts
- Measuring Massive Multitask Language Understanding
- MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark
- Are We Done with MMLU?
- CMMLU: Measuring massive multitask language understanding in Chinese
- C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Models
- SuperGPQA: Scaling LLM Evaluation across 285 Graduate Disciplines
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering