GHC:Expanding Residual Interfaces in Hyper-Connections

Tianyu Li, Hongtao Zhang, Dongchen Han, Jingshu Liu, Bojun Wang, Chen Jiang, Yulong Huang, Wei Chen, Tianyu He, Xiangyu Zhang, Gao HuangarXiv 2026

TL;DR

Modern LLMs rely on residual connections to pass information down through layers, and recent upgrades like "Hyper-Connections" widen this single lane into a multi-lane highway. However, every layer still accesses this highway through a single-lane on-ramp and off-ramp—a hidden bottleneck that causes diminishing returns when adding more lanes. Grouped Hyper-Connections (GHC) splits each layer into parallel mini-groups, giving each its own custom read/write ramps so models train up to 35% more efficiently without adding extra compute or memory traffic.

What Problem Does This Paper Address?

In standard Transformers ("Pre-Norm"), a single residual stream acts as the model's shared memory across depth: each Attention or Feed-Forward Network (FFN) branch reads from this vector of width $c$ and adds its $c$-dimensional output right back in. As models get deeper, cramming outputs from dozens of layers into one fixed-width vector creates an information bottleneck.

Recent architectures like Hyper-Connections (HC) and Identity Hyper-Connections (IHC) alleviate this by expanding that single stream into $n$ parallel streams (say, $n=4$), giving the model $4c$ capacity. Yet when researchers tried scaling beyond four streams, performance stagnated while memory traffic soared.

Why? The authors trace the culprit to the residual interfaces—how a branch actually talks to the streams. Even with four streams available, an IHC branch collapses all four streams into one $c$-dimensional vector at the input ($4 \to 1$ bottleneck), processes it monolithically, and writes scaled copies of one $c$-dimensional output vector back to all streams ($1 \to 4$ bottleneck). Widening the highway doesn't help much if every tollbooth squeezes traffic back into a single lane.

Figure 1. Residual branch reads and writes in Pre-Norm, IHC, and GHC. In IHC, all computation groups read the same c-dimensional mixture of residual streams, and their outputs are summed before being written back. In GHC, each group reads its own mixture, and each stream combines the group outputs with its own weights. The top row shows each stream’s update from the residual branch.

Methods

To widen the tollbooths without building a heavier model, the authors introduce Grouped Hyper-Connections (GHC) alongside calibrated gating mechanics:

  • Grouped Read, Compute, and Write: Instead of treating an Attention or FFN layer as one giant block, GHC partitions its existing input and output projections into $r$ parallel groups (e.g., $r=8$) along attention heads or FFN intermediate channels. Because attention heads and elementwise FFN activations already operate independently, this preserves all nonlinearities and keeps total projection FLOPs identical. Each group reads its own learned mixture of the $n$ streams, and each stream combines the $r$ distinct group outputs using its own learned weights—expanding the interface from $c$ to $rc$.
  • Signed TanhSiLU Gating: Standard HC uses sigmoid gates (strictly positive between $0$ and $1$) to mix streams. GHC introduces a composite activation, $\text{TanhSiLU}(t) = \tanh(\text{SiLU}(t))$, spanning roughly $[-0.27, 1)$. To prevent discontinuous sign-flip instabilities in the very first layer (where all streams are identical copies of token embeddings), GHC freezes the first-layer read map.
  • Width Calibration: Because gate predictors take flattened multi-stream states as input, unscaled predictors suffer gradient spikes as width $c$ grows. GHC introduces entry-wise learnable scales divided explicitly by $\sqrt{c}$ to keep gradient norms stable.
  • MoE Adaptation & Kernel Fusion: For Mixture-of-Experts (MoE), splitting the router hurts global top-$k$ competition. Instead, GHC feeds all $nc$ streams into one unified router while giving each expert $2n$ static learnable read/write parameters. For hardware efficiency, fusing stream reading/writing directly into the adjacent matrix multiplications keeps the $rc$ intermediate states in fast on-chip SRAM, adding zero extra forward global-memory traffic over IHC.

Datasets

  • Training: Pre-training datasets are referenced as being detailed in Appendix C (not included in the main text), covering a 50B-token run for 430M dense models, a compute-matched scaling ladder, and 4B/13B MoE runs. No new benchmarks are introduced.
  • Evaluation: Models are evaluated on validation loss plus seven established downstream benchmarks: HellaSwag and PIQA (commonsense reasoning), TriviaQA (factual knowledge), MATH and GSM8K (math reasoning), HumanEval (code generation), and LAMBADA (final-word perplexity).

Key Insights and Ideas

  • Narrow interfaces—not stream capacity—caused multi-stream stagnation: When doubling streams from $n=4$ to $n=8$, IHC's validation loss barely budges ($-0.0028$). With GHC's expanded interfaces ($r=8$), going from $4$ to $8$ streams drops loss by $-0.0195$—nearly $7\times$ the gain. The extra lanes were always useful; layers just couldn't access them independently.
  • Subtraction is a superpower for residual streams: Allowing negative gate weights via TanhSiLU lets groups compute differences between streams to cancel out redundant noise. Furthermore, unlike sigmoid (whose gradient dies near zero), TanhSiLU has a healthy slope of $0.5$ at zero, letting groups cleanly mute streams without getting stuck. Bonus effect: signed gating dramatically flattens the "residual outlier" magnitude surges typically seen across Transformer depth.
  • Having more groups than streams still helps: Even with $n=4$ streams, scaling groups from $r=4$ to $r=8$ continues to reduce loss, because finer groups allow smaller subsets of heads/channels to specialize on bespoke stream mixtures.

Key Results

  • Training Efficiency: Across a compute-matched scaling ladder, power-law fits show GHC improves net training FLOP efficiency by 35.7% over Pre-Norm and 10.1% over IHC (even accounting for minor gating overhead).
  • 430M Dense (50B tokens): GHC ($n=4, r=8$) achieves 2.0161 validation loss and 25.80% average downstream score, beating Pre-Norm (2.0713 / 23.68%), IHC (2.0351 / 25.09%), and even high-I/O Full Attention Residuals (2.0322).
  • Sparse MoE Scaling: On 4BA0.2B MoE, GHC lifts average downstream score to 31.28% (vs. 28.85% Pre-Norm, 29.70% IHC). On 13BA0.6B MoE, GHC reaches 43.96% (vs. 41.33% Pre-Norm, 42.59% IHC), with standout gains on TriviaQA (+3.11 points over IHC) and GSM8K (+2.04 points over IHC).

Limitations and Future Work

  • Group Count Trade-offs: Choosing an overly large group count $r$ increases gating and normalization overhead and slices per-group matrices ($M_1/r, M_2/r$) too thinly, which can hurt GPU GEMM (matrix multiplication) utilization. $r=8$ is chosen as a sweet spot.
  • Reliance on Operator Fusion: Without custom kernel fusion, a naive PyTorch implementation materializes the expanded $rc$-dimensional inputs and outputs in global GPU memory, incurring extra memory I/O.
  • Static Gating in MoE: To avoid cross-device communication overhead during distributed MoE training, GHC drops dynamic token-dependent gating at the expert level in favor of static learnable per-expert weights. Future architectural or systems directions beyond this are not explicitly discussed in the main text.

Summary updated

Abstract

Hyper-Connections expand residual capacity across parallel streams, yet restrict every branch to narrow read and write interfaces: each branch still reads a single stream mixture and writes scaled copies of one output vector to all streams. To lift this bottleneck, we propose Grouped Hyper-Connections (GHC). By partitioning each branch into parallel groups along attention heads or FFN channels, GHC supplies each group with a distinct stream mixture and aggregates their separate outputs into each stream with learned weights. Extensive experiments across dense and Mixture-of-Experts (MoE) models show that GHC consistently improves upon Identity Hyper-Connections (IHC) with negligible parameter and memory-access overhead, increasing training efficiency by 35% over Pre-Norm and 10% over IHC. Moreover, expanding residual interfaces overcomes the diminishing returns of adding streams, allowing wider residual states to yield further gains.
BibTeX
@misc{li2026ghc,
  author = {Tianyu Li and Hongtao Zhang and Dongchen Han and Jingshu Liu and Bojun Wang and Chen Jiang and Yulong Huang and Wei Chen and Tianyu He and Xiangyu Zhang and Gao Huang},
  title = {{GHC:Expanding Residual Interfaces in Hyper-Connections}},
  year = {2026},
  eprint = {2611.31350},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31350},
}
Figure