Skip to content
简体中文

切换主题

arXiv 2611.27193 · cs.LG · 2026-11-20

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

Haowei He, Ziwen Zhao, Chenshuo Pan, Gang Lin, Zhihao Yang, Chao Wang, Xinzhang Liu, Kaidong Yu 等 13 人

XingChen-AGI

在最新榜 #61 2026-W48 第 6 名 本站收录于 2026-11-24

一句话要点

流形约束超连接(mHC)将残差连接扩展为多条流,并通过把流混合残差矩阵约束在双随机矩阵构成的 Birkhoff 多面体内,来稳定残差传播。本文研究如何在该多面体内有效混合残差流,并揭示了一种混合权衡:当欠混合的残差矩阵靠近多面体顶点时,超连接会退化为一组近乎独立的流;当过混合的残差矩阵集中在多面体的均匀重心附近时,各流将变得难以区分。作者通过对跨层累积残差混合、流差异以及混合系数梯度差异给出界,从理论上验证了上述发现。据此提出流形约束超连接的收缩方法(cmHC):这是一种精确的双随机方法,在几何上把 Birkhoff 多面体向其内部收缩。该收缩迫使残差矩阵深入多面体内部,从而缓解欠混合,并具有可证明的流混合界,且不引入新的参数化。此外,在浅层采用适度收缩以防止过混合,从而在极大规模模型预训练中实现稳定的梯度传播。在多种参数规模的稠密模型与混合专家模型上的大量实验表明,cmHC 有效且可扩展。作者还在昇腾 NPU 上为 cmHC 开发了融合算子,可将超连接执行时延最多降低 44.8%。

Manifold-constrained Hyper-Connections (mHC) extend residual connections to multiple streams and stabilize residual propagation by constraining stream-mixing residual matrices to the Birkhoff polytope, the set of doubly stochastic matrices. This work investigates how to mix residual streams effectively within that polytope and identifies a mixing trade-off: when under-mixed residual matrices stay close to the vertices, hyper-connections degenerate into nearly independent streams; when over-mixed residual matrices concentrate around the uniform barycenter, the streams become less distinguishable. The authors theoretically validate these findings by bounding cumulative residual mixing, stream difference, and gradient difference of mixing coefficients across layers. Motivated by this, they propose Contraction for Manifold-Constrained Hyper-Connections (cmHC), an exact doubly stochastic method that geometrically contracts the Birkhoff polytope toward its interior. The contraction forces residual matrices deeper into the polytope, mitigating under-mixing, with a provable stream-mixing bound and no new parameterization. A moderate contraction is also applied at shallow layers to prevent over-mixing, enabling stable gradient propagation in extremely large-scale pretraining. Extensive experiments on dense and mixture-of-experts models at various scales demonstrate the effectiveness and scalability of cmHC. The authors further develop fused operators for cmHC on Ascend NPUs, reducing hyper-connection execution latency by up to 44.8%.

要点

  • 在多流残差网络中,过度或不足的混合会导致流间信息丢失或独立性增强,存在显著的混合权衡问题。
  • cmHC 提出一种几何收缩方法,将残差混合矩阵向单纯形内部推进,避免极端混合或分离,实现更稳定的流间交互。
  • 理论分析表明该方法在层间具有可证明的混合边界,且无需引入额外参数化,保证了模型结构简洁性。
  • 在大规模模型预训练中,cmHC 在浅层适度收缩以防止过混,同时通过融合操作在昇腾NPU上将执行延迟降低44.8%。
English overview

The paper identifies a trade-off in residual stream mixing within manifold-constrained hyper-connections. It proposes cmHC, a geometric contraction method that moves mixing matrices toward the interior of the Birktope, balancing under-mixing and over-mixing. The approach is provably stable, parameter-free, and effective across different model scales. A fused operator reduces execution latency on Ascend NPUs by up to 44.8%.

只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。

96HF 点赞
2GitHub stars
1引用(Semantic Scholar)
53.4热度分

阅读 arXiv 原文 PDF Hugging Face 讨论 代码仓库

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)