arXiv(opens in a new tab)cs.CLSep 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2609.02672

oHC: Orthogonal Hyper-Connections on SO(4) via Quaternions

Haoqiang Guo, Xuyi Chen, Bo Ke, Yishu Lei, Ziyang Xu, Shikun Feng, Ximen, Wenhan Luo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

香港科技大學 THE HONG KONG UNIVERSITY OF SCIENCE AND TECHNOLOGY

Creative, Controllable & Cognitive Computing Group

Baidu 百度

oHC: Orthogonal Hyper-Connections

on SO(4) via Quaternions

Haoqiang Guo¹,² Xuyi Chen² Bo Ke² Yishu Lei² Ziyang Xu² Shikun Feng² Ximen² Wenhan Luo†¹

¹The Hong Kong University of Science and Technology ²Baidu Inc.

Abstract

Hyper-Connections (HC) replace the single residual stream of a Transformer with nn parallel ones, mixing them at every layer with a learned n×nn \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(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.

Figure

Figure 1 The doubly stochastic constraint leaves the mixing factor unbounded from below, and the streams homogenize with depth. (a) On the left axis the smallest singular value of mHC's mixer per sublayer, and on the right axis the similarity between streams. (b) That similarity over training, averaged over the 23 logged sublayer outputs. (c) Training loss and downstream performance against single-stream residual connection (RC) baseline. Section 4 reads (a) and (b).

†Corresponding author.

Figure

(a) mHC

Figure

(b) iHC

(c) oHC

Figure 2 Illustration of how each constraint on HresH_{res} affects the streams with depth. The four streams are drawn as a four-strand braid: the strands wind around each other when the mixer mixes across streams, and how spread apart they are means how much the streams differ. (a) mHC mixes, but the spread narrows at every sublayer, meaning the streams grow increasingly alike. (b) iHC keeps the streams spread apart but the strands do not wind, meaning it does not mix at all. (c) oHC mixes and keeps them apart.

References (41)