论文

cmHC:基于几何收缩优化 Birkhoff polytope 内残差流混合的 Hyper-Connections 方法

cmHC: Balancing Stream Mixing in Hyper-Connections via Geometric Contraction

精选理由

做预训练或架构研究的值得看看:它在 mHC 的双随机约束里找出了欠混合和过混合的平衡点,用几何收缩解决,不用加参数。昇腾 NPU 上还有融合算子,延迟最高降 44.8%,用国产芯片跑大规模训练的团队尤其该关注。

一篇新论文提出 cmHC(Contraction for Manifold-Constrained Hyper-Connections),针对 mHC(Manifold-constrained Hyper-Connections)中残差流混合的两难问题给出解决方案。mHC 将残差连接扩展为多流,并把流间混合矩阵约束在 Birkhoff polytope(双随机矩阵集合)内以稳定残差传播。

正文

论文揭示了混合权衡:欠混合时矩阵停留在 polytope 顶点附近,hyper-connections 退化为近似独立的流;过混合时矩阵集中于均匀重心,流之间失去区分度。作者通过理论上界化了逐层的累积残差混合、流差异与混合系数的梯度差异,并提出向 polytope 内部做几何收缩的 cmHC 方法,带可证的流混合上界且无需新增参数化,同时在浅层施加适度收缩以支持超大规模预训练下的稳定梯度传播。

实验覆盖稠密与 MoE 架构、多种参数规模,验证了方法的有效性与可扩展性。团队还在昇腾(Ascend)NPU 上开发了融合算子,将 hyper-connection 执行延迟降低最多 44.8%。

原文 · arXiv cs.LG

cmHC: Balancing Stream Mixing in Hyper-Connections via Geometric Contraction

Manifold-constrained Hyper-Connections (mHC) extends residual connections to multiple streams and stabilizes residual propagation by constraining stream-mixing residual matrices to the Birkhoff polytope, the set of doubly stochastic matrices. In this work, we investigate how to effectively mix residual streams within the Birkhoff polytope. We reveal a mixing trade-off: when under-mixed residual matrices stay close to the vertices of the Birkhoff polytope, hyper-connections will degenerate into a set of nearly independent streams; when over-mixed residual matrices are concentrated around the uniform barycenter of the polytope, streams will become less distinguishable from each other. We theoretically validate our findings by bounding the cumulative residual mixing, stream difference and gradient difference of mixing coefficients across layers. Motivated by these findings, we propose Contraction for Manifold-Constrained Hyper-Connections (cmHC), an exact doubly stochastic method which geometrically contracts the Birkhoff polytope toward its interior. This contraction mitigates under-mixing by forcing the residual matrices to explore deeper into the polytope, with a provable stream mixing bound and no new parameterization. Moreover, we apply a moderate contraction at the shallow layers to prevent over-mixing, enabling stable gradient propagation on extremely large-scale model pretraining. Extensive experiments across dense and mixture-of-experts models at various parameter scales demonstrate the effectiveness and scalability of cmHC. We also develop fused operators for cmHC on Ascend NPUs, reducing hyper-connection execution latency by up to 44.8%.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦中国 AI 产业与国产大模型生态。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:mHC、cmHC、MoE、昇腾NPU,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Haowei He, Ziwen Zhao, Chenshuo Pan, Gang Lin, Zhihao Yang, Chao Wang, Xinzhang Liu, Kaidong Yu, Han Gao, Dongfang Li, Menglin Yang, Shuangyong Song, Yongxiang Li),经 AITOP 多维评分管线结构化提炼。截至目前,全网已有 2 家独立信源对该事件进行交叉印证与跟进报道(含 pandaily 等),属于近期高关注度行业信号。