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

Introduces Declarative Attention (DA), a zero-shot protocol that has LMs declare which parts of long context to attend to during chain-of-thought, letting the runtime build dynamic attention masks and skip most KV-cache reads. Produces large token savings (up to ~52% on Gemma-4-31B) with modest accuracy loss.

Generates compact keyword sets for both queries and items with LLMs and matches them directly via an inverted index. Uses supervised fine-tuning to align keyword spaces, then alternates GRPO-based reinforcement learning on query- and item-side generators to co-evolve representations and maximize retrieval F1 while staying compatible with keyword-based infrastructure.

Studies looping shared transformer layers in Mixture-of-Experts models under matched budgets and proposes SMELT: loop the middle half twice while matching per-token FLOPs, non-embedding parameters, and KV cache. Shows 6.8–18.0% training-FLOPs savings on the compute-optimal frontier, stronger downstream gains on code and long-context tasks.