Scale Residual Streams Wider · Push Model Intelligence Further
xHC expands the residual state to N=16 streams, reads all streams, and sparsely updates only k=4 active streams.
Hyper-Connections (HC) expand the Transformer residual stream into
We show that directly scaling mHC beyond
- Information supply: one write-back vector must provide new information to an increasing number of streams, making additional streams progressively redundant.
-
Residual-mapping cost: generating a dense
$N\times N$ mapping from an$NC$ -dimensional state scales as$O(N^3C)$ .
Scaling mHC from N=4 to N=16 brings diminishing gains at rapidly increasing cost; xHC changes this trade-off.
xHC (Expanded Hyper-Connections) is the first HC-family method to achieve meaningful expansion beyond
xHC combines two complementary designs:
- Temporal feature augmentation enriches MLP write-back with multi-scale local features produced by causal depthwise convolutions over neighboring tokens. This supplies a more diverse information basis as the number of residual streams grows.
-
Sparse residual-stream updates preserve dense read access to all
$N$ streams while routing residual mixing and write-back through only$k$ active streams. The dominant residual-mapping generation cost is reduced from$O(N^3C)$ to$O(k^3C)$ .
For practical deployment, xHC-Flash shares full-state operations across consecutive sublayers and reconstructs later sublayer inputs with lightweight corrections. It substantially reduces memory traffic while preserving nearly all of the performance gains of full xHC.
| Training loss | Average downstream score | Benchmark-level gains |
Across 12 language understanding, reasoning, code, and Chinese benchmarks, xHC improves the average score over mHC by 4.0 points at 18B and 3.1 points at 28B. At 28B, xHC outperforms mHC on 11 of the 12 evaluated benchmarks.
xHC traces a consistently lower loss curve than mHC and the vanilla residual baseline across training compute.
- On the 18B MoE model, xHC reaches a final training loss of 1.758, compared with 1.776 for mHC and 1.799 for the vanilla baseline.
- To reach the same loss as xHC, the vanilla and mHC baselines require
$1.50\times$ and$1.19\times$ as much training compute, respectively. - Increasing
$N$ from 4 to 16 improves loss by 0.012 in xHC with only 4% additional training FLOPs. The same expansion in mHC improves loss by only 0.006 while increasing training FLOPs by 32%. - xHC remains effective under Muon, indicating that its gains are not specific to AdamW.
Estimated per-token memory traffic, amortized per Transformer sublayer. Here,
| Method | I/O per sublayer | Validation loss |
|---|---|---|
| mHC ( |
2.004 | |
| xHC | 1.983 | |
| xHC-Flash | 1.983 | |
| xHC-Flash-4sub | 1.984 |
xHC-Flash-4sub approaches the memory traffic of mHC at
Our implementation uses fused forward and backward kernels to reduce intermediate tensor materialization and kernel-launch overhead.
- On the 18B MoE model, our fused mHC implementation adds approximately 15% training overhead over the vanilla baseline, while xHC-Flash-4sub adds approximately 11% on top of mHC. Pipeline-communication overlap is disabled in these measurements to isolate the computational overhead of residual-stream operations.
- For inference prefill at 2K tokens, mHC and xHC-Flash-4sub add 11.4% and 12.9% overhead over the vanilla baseline, respectively. The total prefill latency of xHC-Flash-4sub is only 1.3% higher than that of mHC.
Default xHC configuration
| Setting | Value |
|---|---|
| Expansion streams | |
| Active streams | |
| Fixed / routed active streams | 2 / 2 |
| Temporal augmentation | MLP side only |
| Causal convolution kernels | |
| Residual mixing | Sinkhorn-normalized over active streams |
@misc{zhang2026xhcexpandedhyperconnections,
title = {xHC: Expanded Hyper-Connections},
author = {Xiangdong Zhang and Xiaohan Qin and Sunan Zou and Tuo Dai and
Xiaoming Shi and Huaijin Wu and Yebin Yang and Zhuo Xia and
Shaofeng Zhang and Lin Yao and Yuliang Liu and Yu Cheng and
Junchi Yan},
year = {2026},
eprint = {2607.14530},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2607.14530}
}For questions about the paper, please contact zhangxiangdong@sjtu.edu.cn.