AIAny
Icon for item

xHC: Expanded Hyper-Connections

Expands a Transformer’s residual stream into many parallel streams and introduces xHC to scale Hyper-Connections beyond N=4. Combines temporal feature augmentation with sparse residual updates (update k=4 of N=16) and xHC-Flash memory optimizations to raise downstream scores while cutting effective compute and memory traffic.

Introduction

Residual-stream expansion is a promising new scaling axis for Transformers, but prior Hyper-Connection (HC) designs stall at N=4 because of write-back starvation and cubic residual-mixing costs. xHC shows that enriching write-back signals and sparsifying per-step updates lets you scale to much larger N with practical compute and memory footprints — producing consistent downstream gains for MoE LLMs.

Key Findings
  • Meaningful large-N scaling: xHC enables expansion beyond N=4 (example setup: N=16, update k=4) while preserving dense access to the full residual state. So what? It unlocks residual-stream scaling as a viable axis for LLM pretraining rather than a curiosity limited to small N.

  • Downstream improvements: on an 18B MoE model, xHC raises the average downstream score by 4.0 points over mHC. So what? This is a measurable, task-agnostic gain across downstream evaluations rather than a narrow benchmark win.

  • Compute efficiency: scaling-law experiments report that vanilla and mHC require about 1.50× and 1.19× the compute of xHC, respectively, to reach the same training loss. So what? xHC can reduce overall pretraining FLOPs to reach parity in loss, improving cost-effectiveness at scale.

  • Memory traffic engineering: xHC-Flash lowers per-sublayer memory traffic from 73.5C to ~40C, comparable to mHC at N=4 (34C) while keeping xHC’s gains. So what? Large-N designs become practical on existing hardware when memory traffic is controlled.

Who It's For and Trade-offs

Great fit if you: build or research LLM pretraining strategies (especially MoE models) and are exploring new scaling axes beyond depth/width; need tangible downstream gains per compute budget; can modify model internals and training pipelines.

Look elsewhere if you: target small models where N expansion yields limited returns, lack the engineering bandwidth to implement sparse residual scheduling and memory-traffic optimizations, or cannot afford modest increases in implementation complexity.

Trade-offs: xHC adds architectural and implementation complexity (temporal feature paths, sparse update routing, xHC-Flash I/O patterns). Benefits scale with model size and training budget; for very small-scale experiments the overhead may outweigh gains.

How It Works (short)

xHC combines two complementary ideas: (1) temporal feature augmentation to provide richer write-back information to many parallel residual streams, addressing write-back starvation as N grows; (2) a sparse residual-stream architecture that updates only a small subset k of the N streams per step while preserving dense read access, avoiding the cubic cost of dense residual-mixing. xHC-Flash is a memory-traffic-aware implementation that reorders and streams residual-state accesses to cut per-sublayer traffic and make large-N training practical.

Information

  • Websitearxiv.org
  • AuthorsXiangdong Zhang, Xiaohan Qin, Sunan Zou, Tuo Dai, Xiaoming Shi, Huaijin Wu, Yebin Yang, Zhuo Xia, Shaofeng Zhang, Lin Yao …
  • Published date2026/07/16

More Items

Internalizes context-induced performance gains into model parameters by generating prospective queries and distilling context-conditioned outputs into mergeable low-rank or structural feed-forward updates, balancing consolidation and retention across 4B–120B dense and MoE models.

Restores recoverability in on-policy distillation by having the teacher generate critiques of incorrect student rollouts, guide a critique-free student rewrite, and score the revised solution as privileged context; yields improved math-reasoning performance, largest gains on competition problems.

Explores asymmetric compute allocation in looped Mixture-of-Experts models by compressing the first loop visit's sequence and reallocating saved compute to enlarge hidden size, yielding consistent NLL reductions and predicted compute savings across 1.3B–7B configurations.