xHC: Expanded Hyper-Connections
Abstract
Hyper-Connections (HC) extend the single residual stream of Transformers into $N$ parallel streams, improving language model pre-training with modest additional FLOPs. Manifold-Constrained HC (mHC) stabilizes this formulation at scale by constraining residual mixing to doubly stochastic matrices. Large gains from $N{=}1$ to $N{=}4$ suggest residual-stream expansion as a promising scaling axis, yet existing HC-family methods typically stop at $N{=}4$. Our experiments on mHC reveal why: directly scaling $N$ beyond 4 yields rapidly diminishing returns, as gains saturate while training compute grows sharply. We trace this to two bottlenecks: fixed-dimensional layer outputs cannot supply enough write-back information for more streams; meanwhile, generating the residual-mixing matrix makes the dominant cost scale cubically with $N$. To address both bottlenecks, we propose **xHC** (E**x**panded **H**yper-**C**onnections), the first HC-family method to achieve meaningful expansion beyond $N{=}4$. xHC enriches write-back signals with local contextual features along the token sequence and uses a sparse residual-stream architecture that updates only $k$ out of $N$ streams while preserving dense access to all streams. In language model pre-training, xHC with $N{=}16$ and $k{=}4$ substantially outperforms both mHC and the vanilla residual baseline. On a 28B MoE model, **xHC improves the average downstream score by 3.1 points over mHC** (vs. +2.7 for mHC over vanilla) with only 3.0% additional training FLOPs over the vanilla baseline. Scaling law experiments show that xHC matches the loss of a vanilla baseline trained with $1.50\times$ the compute, and its continued improvement with larger $N$ makes expansion rate a practical scaling axis for HC-family models. Code is available at [https://github.com/aHapBean/xHC](https://github.com/aHapBean/xHC).
BibTeX
@inproceedings{zhang2026xhc,
author = {Xiangdong Zhang and Xiaohan Qin and Tuo Dai and Xiaoming Shi and Huaijin Wu and Yebin Yang and Zhuo Xia and Shaofeng Zhang and Yu Wang and Yu Cheng and Junchi Yan},
title = {{xHC: Expanded Hyper-Connections}},
booktitle = {Advances in Neural Information Processing Systems},
year = {2026},
url = {https://openreview.net/forum?id=HdK3mMYusI},
}Ask Althea to put this paper to the test.