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
@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.
Multi-Head Attention Residuals
Introduces Multi-Head Attention Residuals (MHAR), which reshapes the routing query into per-subspace heads so each feature subspace reads depth history via its own softmax. Trained from scratch on a Nemotron-based corpus, MHAR consistently improves validation loss over standard Transformers from 100M to 1B scale and also boosts mid-training downstream accuracy.
Parallel Manifold Steering: Efficient Adaptation of Large Associative Memories via Residual Energy Shaping
This paper proposes H-Res, a method to adapt large transformer models by shaping the energy landscape of associative memories without modifying weights or adding prompts, preserving memory capacity and outperforming LoRA.
Understanding Is Done Early: A Depth Division of Labor in Large Language Models and Its Use for Unbounded-Context Memory
This paper introduces CoMem, a method that exploits the depth-wise division of labor in LLMs to cache intermediate residual tensors and recompute only upper layers for retrieval, enabling bounded read compute and memory independent of stored-context length. Evaluated on Qwen3-8B, CoMem achieves strong long-context performance with significant memory savings and prefill speedups.
TBP-mHC: full expressivity for manifold-constrained hyper connections through transportation polytopes
TBP-mHC introduces a novel parameterization for manifold-constrained hyper connections in residual networks, achieving full expressivity of the Birkhoff polytope with O(n^2) degrees of freedom and improved stability and scalability.