# xHC: Expanded Hyper-Connections

- **ID:** 1381
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2607.14530
- **Authors:** Xiangdong Zhang, Xiaohan Qin, Sunan Zou, Tuo Dai, Xiaoming Shi, Huaijin Wu, Yebin Yang, Zhuo Xia, Shaofeng Zhang, Lin Yao, Yuliang Liu, Yu Cheng, Junchi Yan
- **Venue:** arXiv 2607.14530 (cs.LG, submitted 16 Jul 2026); NeurIPS 2026 accepted (per GitHub README badge — author-announced, verify in proceedings)
- **Published:** 2026
- **Source:** arxiv
- **Language:** en
- **Access:** free
- **Added:** 2026-10-16
- **Verified:** 2026-10-16
- **Page:** https://papers.projxon.ai/entries/1381

## Summary

xHC (Expanded Hyper-Connections) is the first Hyper-Connections-family method to achieve meaningful residual-stream expansion beyond N=4. Hyper-Connections expand the Transformer residual stream into N parallel streams (memory scaling beyond width and depth); mHC stabilized this at scale but stopped at N=4, where scaling mHC further gives diminishing gains at rising cost. xHC combines (1) temporal feature augmentation — MLP write-back enriched with multi-scale local features from causal depthwise convolutions (kernels {4,8,12}) over neighboring tokens — with (2) sparse residual-stream updates: dense read access to all N=16 streams, but residual mixing/write-back routed through only k=4 active streams (2 fixed + 2 routed), cutting residual-mapping generation cost from O(N³C) to O(k³C); mixing is Sinkhorn-normalized over active streams. On an 18B MoE, xHC improves the average downstream score over mHC by 4.0 points across 12 benchmarks (3.1 points at 28B, winning 11/12), with only modest extra training FLOPs; vanilla and mHC need 1.50× and 1.19× xHC's compute to reach the same loss; expanding N=4→16 improves xHC's loss by 0.012 at +4% FLOPs vs 0.006 at +32% for mHC. xHC-Flash (sharing full-state ops across sublayers) cuts per-sublayer memory traffic from 73.5C to 40C (Flash-4sub), near mHC's 34C at N=4, while retaining the gains. Fused Triton forward/backward kernels: mHC adds ~15% training overhead over baseline, xHC-Flash-4sub ~11% on top of mHC; inference prefill +11.4%/+12.9%. Author-open-sourced the training code (Megatron-LM based; xHC-Flash not included): github.com/aHapBean/xHC (Apache 2.0).

## Research notes

- Discovery: Hudson shared Xiangdong Zhang's (@aHapBean, PhD student @sjtu1896, pre-training @dotsstudioai) X thread 2026-10-16 (2 posts, 546 views) announcing the training-code open-source: "You can train your own xHC (Expanded Hyper-Connections) now!" Relevance: core to his residual-connection line — xHC is the direct descendant of mHC, from the same author group (Zhang, Qin, Dai, Zou also authored MSAR, queued #11). The actionable part is the open-sourced Megatron-LM training code with fused Triton forward/backward kernels, plus baseline and mHC implementations, reference configs, and a public Dolma3 pipeline. The release is independently reproducible at 2.5B on public Dolma3; the 18B result is on private data (author-reported, not reproducible). xHC-Flash is not in the release. Pairs with: mHC (the method it extends), MSAR #11 / MGVR #15 / ScalingDepth #41 / DepthBench #870 (the residual-stream-expansion cluster; teortaxesTex's note on #870 that mHC saturates at 24 layers in a 400M experiment is the small-scale counterpart to this paper's diminishing-gains diagnosis). Caveats: paper license resolved 2026-10-16 as arXiv default nonexclusive-distrib; NeurIPS 2026 acceptance author-announced; release excludes xHC-Flash and uses 1,000-step reference budgets (token budgets undisclosed). Cluster: residual connections (mHC, AttnRes, KEEL, LNS, MoDA, MSAR, MGVR), memory scaling, pretraining efficiency.
- License: paper license arXiv default nonexclusive-distribution (resolved 2026-10-16; abs page shows no CC/custom license marker); code Apache 2.0 (verified in repo README)

## Similar entries

- [Hyper-Connection Factory](https://papers.projxon.ai/entries/1231) (code, #1231)
- [On the Design of Hyper-Connections: Simplification, Stability, and Scalability](https://papers.projxon.ai/entries/1568) (paper, #1568)
- [nanowhale](https://papers.projxon.ai/entries/599) (code, #599)
- [DepthBench: Measuring How Residual Connections Enable More Computational Depth](https://papers.projxon.ai/entries/789) (paper, #789)
- [Hyperloop Transformers](https://papers.projxon.ai/entries/1403) (paper, #1403)
- [Attention Residuals](https://papers.projxon.ai/entries/1254) (paper, #1254)
