arXiv AI By Pengxiang Zhao, Xing Li, Xianzhi Yu, Wei Guo, Zhenhua Dong

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

Read the original on arXiv AI →

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.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

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
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
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 Machine Learning
Jul 17

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.

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 AI
Sep 28

Attention Sinks and Outliers in Attention Residuals

The paper introduces OASIS, a method designed to stabilize dual‑normalized attention‑residual architectures by employing explicit null routing and token‑to‑depth null coupling. OASIS mitigates attention sinks and activation outliers, improving low‑bit quantization performance across several language‑model backbones. Empirical results show significant reductions in attention norms and perplexity, with notable gains on long‑context benchmarks.

By Haozheng Luo, Haoran Dai, Jingyuan Huang, Shaoyang Zhang, Xi Chen, Eric Hanchen Jiang, Yijiang Li, Chenghao Qiu, Chenwei Xu, Zhenyu Pan, Haotian Zhang, Binghui Wang, Yan Chen