Spectral-Sphere-Constrained Hyper-Connections

Zhaoyi Liu, Haichuan Zhang, Ang LiNeurIPS 2026

TL;DR

Deep networks rely on residual connections like a highway for gradients, and recent "Hyper-Connections" widen that highway into multiple parallel lanes that mix information. Unfortunately, the current math used to keep these multi-lane highways from crashing forces the lanes to barely interact at all—effectively turning them back into boring, single-lane roads. This paper introduces $\mathrm{s}^{2}$HC, a geometric rethink that lets residual streams mix freely and expressively without blowing up training or drowning in extra parameters.

Figure 1: s2HC addresses the identity degeneration, expressivity bottleneck, and parameterization inefficiencies in existing Manifold-Constrained Hyper-Connections (mHC [1]) and its permutation- based variants (mHC-lite [2] and KromHC [3]). Left: Learned residual matrices (4 streams). mHC, mHC-lite, and KromHC degenerate into the identity mapping, whereas s2HC leverages expressive, non-degenerate residual matrices. Middle: Model performance, with each axis scaled to its own range and absolute scores annotated. s2HC improves over baselines across benchmarks. Right: Parameterization overhead, measured by the parameter complexity of the residual parameterization as the number of streams grows. s2HC scales compactly, avoiding both the factorial explosion of mHC-lite and the restriction of KromHC to specific stream counts.

What Problem Does This Paper Address?

Standard residual connections pass features cleanly through a network via identity mappings, keeping gradients stable. Hyper-Connections (HC) expand this single residual stream into $n$ parallel streams, using learnable matrices at each layer to dynamically mix features across streams and boost model capacity.

Left unconstrained, however, these mixing matrices ruin the identity mapping property and cause explosive training instability. To fix this, prior methods like mHC, mHC-lite, and KromHC force the mixing matrices to be doubly stochastic—meaning all entries are non-negative and every row and column sums to 1.

The authors uncover three major flaws with this doubly stochastic straitjacket:

  1. Identity Degeneration: In practice, the learned matrices quietly collapse back into identity matrices (1s on the diagonal, 0s everywhere else), abandoning cross-stream mixing altogether.
  2. Expressivity Bottleneck: Doubly stochastic matrices naturally dampen variations orthogonal to the mean. Faced with losing signal whenever it mixes streams, the network chooses not to mix.
  3. Parameterization Headaches: Enforcing this constraint requires either iterative approximations (Sinkhorn-Knopp) whose errors compound over depth, or permutation-based setups whose parameter counts explode factorially ($n!$) as you add more streams.

Methods

To escape the doubly stochastic trap, the authors propose Spectral-Sphere-Constrained Hyper-Connections ($\mathrm{s}^{2}$HC). They drop the requirement that matrix entries must be non-negative. Instead, they keep the rows and columns summing to 1 (preserving the average signal across streams) while confining the matrix to a spectral norm sphere—ensuring its largest singular value is exactly 1 so signals and gradients never explode.

Directly building a matrix with these exact properties is tricky, so the authors use an elegant mathematical decoupling:

  • Split the space: Any matrix whose rows and columns sum to 1 can be written as $J + \mathcal{H}^{\text{disp}}$, where $J$ is a uniform averaging matrix (all entries are $1/n$) and $\mathcal{H}^{\text{disp}}$ lives in a "zero-marginal" subspace (rows and columns sum to 0) that handles cross-stream variations.
  • Control the spectrum via SVD: Because $J$ and $\mathcal{H}^{\text{disp}}$ act on completely orthogonal subspaces, keeping the total matrix's spectral norm at 1 simply means bounding the singular values of $\mathcal{H}^{\text{disp}}$ to $\le 1$.
  • Closed-form construction: The authors build $\mathcal{H}^{\text{disp}}$ dynamically from layer inputs using a compact Singular Value Decomposition (SVD). They use a fixed orthonormal basis (a truncated Helmert matrix) to guarantee zero-sum rows/columns, the Cayley transform on skew-symmetric matrices to smoothly generate orthogonal rotation matrices, and a simple $\tanh$ activation to bound the singular values between $-1$ and $1$.

Everything else in the network architecture remains identical to standard mHC.

Datasets

  • Training: All models (variants of Qwen3-0.6B, Gemma3-1B, and Qwen2.5-1.5B) are trained from scratch on the FineWebEdu dataset, using compute-optimal budgets of 15B, 20B, and 30B tokens, respectively.
  • Evaluation: Models are tested on eight established benchmarks covering commonsense reasoning, reading comprehension, knowledge, and truthfulness: PIQA, WinoGrande, HellaSwag, BoolQ, ARC-E, ARC-C, MMLU, and TruthfulQA. No new datasets are introduced.

Key Insights and Ideas

  • The "Apparent Stability" Illusion: Why were prior doubly stochastic hyper-connections so stable during training? Because over 99% of their matrices in variants like mHC-lite and KromHC had their maximum values sitting right on the diagonal near 1.0! They achieved stability by refusing to mix streams, quietly reverting to standard residual connections.
Stream cosine similarity across layers showing baselines mimicking an identity matrix.
  • The Mixing Dilemma: Doubly stochastic operators have a mathematical bias toward uniformity—repeatedly applying them washes out differences between streams. Because the network gets penalized with signal attenuation whenever it tries to mix features, staying near the identity initialization is its safest bet.
  • Selective Attenuation: By allowing negative entries and freeing the subdominant singular values inside the spectral sphere, $\mathrm{s}^{2}$HC lets the model preserve primary variations (keeping top singular values near 1) while selectively attenuating noisy ones (letting smaller singular values dip to ~0.77). Stream similarity drops near zero in early/middle layers—proving active, diverse mixing is finally happening.

Key Results

  • Consistent Benchmark Gains: With $n=4$ streams, $\mathrm{s}^{2}$HC achieves the highest average accuracy across all three base architectures (47.1% on Qwen3, 50.2% on Gemma3, and 50.7% on Qwen2.5). On reasoning tasks, it beats the strongest hyper-connection baselines by up to +3.2% on ARC-E and +1.7% on ARC-C. Notably, the performance jump $\mathrm{s}^{2}$HC achieves over prior hyper-connections is roughly equal to the jump those methods achieved over standard residual connections.
  • Exact Stability Across Depth: Even with 20 Sinkhorn-Knopp iterations, standard mHC suffers from approximation drift: across 28 layers, its composite column sums spike up to 3.6 instead of staying at 1.0, and its cumulative spectral norm creeps upward. $\mathrm{s}^{2}$HC maintains exact unit column sums and a flat spectral norm of 1.0 across all layers.
  • Compact Scaling: Parameter complexity in $\mathrm{s}^{2}$HC grows cubically with stream count $n$, avoiding mHC-lite's factorial explosion and KromHC's restriction to power-of-two stream counts. At $n=7$ streams on a 0.75B model, mHC-lite balloons to 2 billion auxiliary parameters and crashes with an Out-Of-Memory error; $\mathrm{s}^{2}$HC adds just 20 million parameters and maintains high training throughput.

Limitations and Future Work

In the main text, the authors note that specific discussions regarding broader impacts and limitations are placed in Appendix C (which is not included in the provided 10-page main paper). However, they frame $\mathrm{s}^{2}$HC as a foundational reference paradigm aimed at sparking future exploration into diverse, multi-stream network topologies beyond traditional single-lane residual architectures.

Summary updated

Abstract

Hyper-Connections (HC) extend residual connections into multiple streams, employing residual matrices for cross-stream mixing to enrich model expressivity. However, unconstrained mixing disrupts the identity mapping property intrinsic to the residual connection, causing unstable training. To address this, Manifold-Constrained Hyper-Connections (mHC) and its variants restrict these matrices to be doubly stochastic via Sinkhorn-Knopp (SK) algorithm or permutation-based parameterizations. We reveal three limitations of this doubly stochastic constraint: (1) identity degeneration, where learned matrices collapse around the identity initialization and diminish cross-stream interactions, (2) a expressivity bottleneck, where the doubly stochastic constraint restricts the freedom of the subdominant spectrum of the residual matrices, preventing the model from selectively preserving or attenuating cross-stream variations, and (3) parameterization inefficiencies, manifesting as unstable SK iterations or the factorial-scaling overhead of permutation-based parameterizations. To overcome these flaws, we propose Spectral-Sphere-Constrained Hyper-Connections ($\mathrm{s}^{2}$HC). By confining residual matrices to a spectral norm sphere, $\mathrm{s}^{2}$HC restores free control over the subdominant spectrum, enabling the model to selectively preserve or attenuate cross-stream variations. This shift eliminates unstable SK iterations and factorial parameterization, enabling expressive, non-degenerate residual matrices while preserving training stability.
BibTeX
@inproceedings{liu2026spectral,
  author = {Zhaoyi Liu and Haichuan Zhang and Ang Li},
  title = {{Spectral-Sphere-Constrained Hyper-Connections}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=fdD9ZLPpxL},
}
Figure