arXiv Machine Learning

xHC: Expanded Hyper-Connections

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.

arXiv Machine Learning
Nov 5

On the Design of Hyper-Connections: Simplification, Stability, and Scalability

The paper introduces SimpleHC, a streamlined version of Hyper-Connections (HC) architectures used in large language models. By removing residual mixing and employing shared memory access with layer‑specific gates, SimpleHC reduces training overhead while maintaining performance comparable to the more complex mHC design. Experiments show only a 2.4% increase in training time and stable, smooth gradient dynamics across 15B to 30B MoE models.

By Xiangdong Zhang, Xiaohan Qin, Sunan Zou, Tuo Dai, Bizhao Shi, Zhuo Xia, Yebin Yang, Yizhou Chen, Yuliang Liu, Yu Cheng, Junchi Yan
arXiv Computation and Language
5d ago

TPHC: Improving Hyper-Connections with Tensor-Parallel Grouped Updates

TPHC improves Hyper-Connections (HC) in Transformers by integrating tensor-parallel shards with HC streams, allowing each stream to receive a distinct mixture of residual updates. This design increases the expressiveness of residual-stream updates without adding parameters or FLOPs to attention or FFN sublayers. Experiments show that TPHC achieves lower validation loss and higher zero-shot accuracy on commonsense benchmarks compared to manifold-constrained HC, while adding only modest training time overhead.

By Xinying Hu, You Wu, Haoyi Wu, Jianchao Tan, Kefeng Zhang, Yuchen Xie, Kewei Tu
arXiv Computation and Language
Oct 12

Multi-Stream Attention Residuals

The paper introduces Multi-Stream Attention Residuals (MSAR), an extension of Attention Residuals that applies multi-head depth attention inspired by multi-head sequence attention. MSAR uses multi-scale causal convolutions to provide diverse contextual views for each head, then adaptively mixes the retrieved streams into a single-stream input, avoiding persistent multi-stream storage. Across 12 downstream benchmarks at 18B and 28B MoE scales, MSAR outperforms prior residual variants and achieves a 1.58× compute speedup over the standard residual baseline.

By Xiaohan Qin, Xiangdong Zhang, Tuo Dai, Sunan Zou, Huaijin Wu, Yebin Yang, Zhuo Xia, Lin Yao, Yuliang Liu, Junchi Yan
Hugging Face Trending Papers
Oct 9

Multi-Stream Attention Residuals

Multi-Stream Attention Residuals (MSAR) extends the Attention Residuals (AttnRes) mechanism by introducing multi-head depth attention, inspired by multi-head attention along the sequence axis. MSAR generates diverse streams from sequence context via multi-scale causal convolutions, then adaptively mixes them to produce a single-stream layer input, enabling multi-stream computation without extra storage or communication. Across 12 downstream benchmarks at 18B and 28B MoE scales, MSAR consistently outperforms prior residual variants and achieves a 1.58× iso-loss compute speedup over the standard residual baseline.

arXiv AI
Sep 7

How Does mHC Use Its Residual Streams? Selective Routing and Near-Identity Mixing

The paper investigates how the four‑stream manifold‑constrained hyper‑connection (mHC) residual pathway in DeepSeek‑V4‑Flash is actually used. It finds that read/write routing is concentrated, typically involving only two streams per block, and that the dominant stream shifts across layers while representations stay directionally distinct. Residual mixing is modest, mainly in early layers, and late mixing contributes little to performance, whereas early mixing is crucial for perplexity and task scores.

By Pengxiang Zhao, Xing Li, Xianzhi Yu, Wei Guo, Zhenhua Dong
arXiv Machine Learning
Sep 3

oHC: Orthogonal Hyper-Connections on SO(4) via Quaternions

arXiv:2609. 02672v1 Announce Type: cross Abstract: Hyper-Connections (HC) replace the single residual stream of a Transformer with $n$ parallel ones, mixing them at every layer with a learned $n \times n$ residual matrix.

By Haoqiang Guo, Xuyi Chen, Bo Ke, Yishu Lei, Ziyang Xu, Shikun Feng, Ximen, Wenhan Luo