arXiv AI

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.

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
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
Hugging Face Trending Papers
Oct 8

TraceRelay: Attention-Aligned Recurrence over Rolling Traces

TraceRelay is an attention‑aligned recurrent architecture that spreads persistent representations across a rolling sequence of low‑dimensional traces. It uses right‑looking attention to build increments, delays their delivery until all attended inputs are in the causal past, and then applies a fixed additive phase recurrence to accumulate them; left‑looking attention reads the resulting residual‑augmented stream. Experiments on 36 small models across tasks such as Equal Repeats, bounded Dyck closing‑type prediction, and causal Most‑Freq generation show that models with recurrent phase inheritance achieve high accuracy within the trained length, while performance drops sharply beyond that range, and that the optimal size of recurrent traces varies by task.

arXiv AI
Aug 19

Where a New Concept Must Enter: Entry Point Gates Cross-Task Usability in Unified Multimodal Models

The paper investigates how new concepts can be integrated into unified multimodal models (UMMs) by separating generation and understanding objectives through a novel visual entity bound to a single task direction. Experiments show that the effectiveness of cross‑task usability depends on where the concept is injected into the shared computation, with a mid‑stack alignment objective achieving high concept acquisition with minimal loss to overall performance. The study highlights that unified weights alone are insufficient; the two directions must share a semantic format at the entry point for efficient concept integration.

By Zongyang Qiu, Yihan Wu, Kaixuan Fan, Bo Li, Hui Xiong