xHC Boosts Transformer Scaling Beyond Hyper-Connections.

Xiangdong Zhang, Xiaohan Qin, Sunan Zou, Tuo Dai, Xiaoming Shi, Huaijin Wu, Yebin Yang, Zhuo Xia, Shaofeng Zhang, Lin Yao, Yuliang Liu, Yu Cheng, Junchi Yan· July 17, 2026 View original

Summary

This research introduces xHC (Expanded Hyper-Connections), a novel method that significantly enhances Transformer models by expanding their residual stream into 16 parallel streams, overcoming limitations of previous Hyper-Connections (HC) methods. xHC combines temporal feature augmentation and a sparse residual-stream architecture to achieve substantial downstream performance improvements and better compute efficiency for large language models.

Hyper-Connections (HC) have shown promise in scaling Transformers by expanding the residual stream into multiple parallel streams, offering a new dimension for memory scaling beyond traditional width and depth. However, existing HC methods, including Manifold-Constrained HC (mHC), typically hit a performance ceiling around four parallel streams (N=4) due to diminishing returns and rapidly increasing training costs. This research identifies two key bottlenecks: insufficient write-back information for a growing number of streams and a residual-mixing generation cost that scales cubically with N. To overcome these, the authors propose xHC (Expanded Hyper-Connections), which enables effective scaling beyond N=4, specifically demonstrating N=16. xHC integrates temporal feature augmentation to enrich write-back information and employs a sparse residual-stream architecture that updates only a subset (k=4) of the N=16 streams while maintaining dense access to the full residual state. Across 18B and 28B Mixture-of-Experts (MoE) models, xHC delivered consistent and strong downstream performance improvements, enhancing the average score by 4.0 points over mHC with only modest additional training FLOPs. Scaling-law experiments further showed that xHC is more compute-efficient, requiring less compute than vanilla and mHC to reach the same loss. Additionally, xHC-Flash is introduced to reduce memory traffic, making large-N residual-stream expansion practical for LLM pre-training.

Why it matters

For AI architects and engineers developing large language models, xHC offers a new, efficient scaling axis to build more powerful and performant Transformers, potentially leading to breakthroughs in model capabilities and training efficiency.

How to implement this in your domain

  1. 1Evaluate the xHC architecture as a potential upgrade for your Transformer-based large language models, especially when seeking to scale beyond current limitations.
  2. 2Investigate integrating temporal feature augmentation into your model designs to provide richer context for expanded residual streams.
  3. 3Consider adopting sparse residual-stream architectures to manage computational costs while still benefiting from increased parallel processing.
  4. 4Utilize xHC-Flash or similar memory optimization techniques to make large-scale residual-stream expansion practical for LLM pre-training.

Who benefits

AI/ML DevelopmentCloud ComputingSoftware EngineeringResearch & Development

Key takeaways

  • xHC enables effective scaling of Transformer residual streams beyond previous N=4 limitations, reaching N=16.
  • It combines temporal feature augmentation and a sparse residual-stream architecture.
  • xHC significantly improves downstream performance and compute efficiency for large MoE models.
  • xHC-Flash optimizes memory traffic, making large-N expansion practical for LLM pre-training.

Original post by Xiangdong Zhang, Xiaohan Qin, Sunan Zou, Tuo Dai, Xiaoming Shi, Huaijin Wu, Yebin Yang, Zhuo Xia, Shaofeng Zhang, Lin Yao, Yuliang Liu, Yu Cheng, Junchi Yan

"arXiv:2607.14530v1 Announce Type: new Abstract: Hyper-Connections (HC) expand the residual stream of Transformers into $N$ parallel streams, providing a form of memory scaling beyond model width and depth. Manifold-Constrained HC (mHC) stabilizes this formulation at scale. The la…"

View on X

Originally posted by Xiangdong Zhang, Xiaohan Qin, Sunan Zou, Tuo Dai, Xiaoming Shi, Huaijin Wu, Yebin Yang, Zhuo Xia, Shaofeng Zhang, Lin Yao, Yuliang Liu, Yu Cheng, Junchi Yan on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses