xHC: Expanded Hyper-Connections
Summary
This paper introduces xHC (Expanded Hyper-Connections), a method that enables meaningful expansion of residual streams in Transformers beyond the previous N=4 limit, achieving consistent improvements on 18B and 28B MoE models while adding only modest training FLOPs. It also presents xHC-Flash to reduce memory traffic, making large-N residual-stream expansion practical for LLM pre-training.
View Cached Full Text
Cached at: 07/20/26, 09:40 AM
Paper page - xHC: Expanded Hyper-Connections
Source: https://huggingface.co/papers/2607.14530 Published on Jul 16
#1 Paper of the day Authors:
,
,
,
,
,
,
,
,
,
,
,
Abstract
Hyper-Connections(HC)expandtheresidualstreamofTransformersintoNparallelstreams,providingaformofmemoryscalingbeyondmodelwidthanddepth.Manifold-ConstrainedHC(mHC)stabilizesthisformulationatscale.ThelargegainsfromN{=}1toN{=}4suggestresidual-streamexpansionasapromisingscalingaxis.However,existingHC-familymethodstypicallystopatN{=}4.Ourexperimentsrevealwhy:scalingmHCbeyondthispointyieldsdiminishingperformancegainsandrapidlyincreasingtrainingcost.Weattributethislimitationtotwobottlenecks:insufficientwrite-backinformationforanexpandingnumberofstreamsandresidual-mixinggenerationwhosecostscalescubicallywithN.Toaddressbothbottlenecks,weproposexHC(ExpandedHyper-Connections),thefirstHC-familymethodtoachievemeaningfulexpansionbeyondN{=}4.xHCcombinestemporalfeatureaugmentationforricherwrite-backwithasparseresidual-streamarchitecturethatupdatesonlyk=4oftheN=16streamswhileretainingdenseaccesstothefullresidualstate.Across18Band28BMoEmodels,xHCdeliversstrongandconsistentdownstreamimprovements.Onan18BMoEmodel,xHCimprovestheaveragedownstreamscoreby4.0pointsovermHC,whileaddingonlymodesttrainingFLOPsoverthevanillabaseline.Scaling-lawexperimentsshowthatthevanillaandmHCrequire1.50timesand1.19timesthecomputeofxHC,respectively,toreachthesameloss.Practicallarge-Ntrainingalsorequirescontrollingmemorytrafficfromtheexpandedresidualstate.WethereforeintroducexHC-Flash,whichreducestheper-sublayermemorytrafficfrom73.5Cto40C,comparabletothe34CrequiredbymHCatN{=}4,whileretainingthegainsoffullxHC.Together,xHCandxHC-Flashmakelarge-Nresidual-streamexpansioneffectiveandpracticalforLLMpre-training.
View arXiv pageView PDFGitHub21Add to collection
Get this paper in your agent:
hf papers read 2607\.14530
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2607.14530 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2607.14530 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2607.14530 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
oHC: Orthogonal Hyper-Connections on SO(4) via Quaternions
This paper proposes Orthogonal Hyper-Connections (oHC), which restricts the residual mixing matrix to the rotation group SO(n) to maintain training stability and prevent stream homogenization. Evaluated on downstream tasks, oHC outperforms baselines like single-stream residuals and manifold-constrained hyper-connections.
cmHC: Balancing Stream Mixing in Hyper-Connections via Geometric Contraction
The paper studies how to balance residual stream mixing within the Birkhoff polytope for manifold-constrained Hyper-Connections, proposing cmHC, a geometric contraction method with provable mixing bounds that improves training stability and scalability, along with fused operators on Ascend NPUs reducing latency by up to 44.8%.
@simplifyinAI: DeepSeek has dropped a fundamental rewrite of the Transformer architecture. And it solves the "identity crisis" that br…
DeepSeek has published a paper introducing mHC (Manifold-Constrained Hyper-Connections), a fundamental rewrite of the Transformer architecture that stabilizes large models by replacing standard residual connections with mathematically constrained multi-stream pathways.
cmHC: Balancing Stream Mixing in Hyper-Connections via Geometric Contraction
该论文提出 cmHC(几何收缩的流形约束超连接),通过在 Birkhoff 多胞形内对流混合残差矩阵进行几何收缩,缓解欠混合与过混合的权衡问题,并在大规模稠密与 MoE 模型预训练中验证了其稳定性与可扩展性。
TPHC: Improving Hyper-Connections with Tensor-Parallel Grouped Updates
TPHC 将张量并行分片与超连接残差流结合,使各流获得更独立的更新,在不增加参数和FLOPs的情况下以较低训练开销提升了语言模型损失与零样本推理性能。