论超连接的设计:简化、稳定性与可扩展性
研究论文 · 2026/11/13
Hyper-Connections (HC) 架构在前沿语言模型中被越来越多地采用,但其组件仍未被充分理解,并引入了不可忽视的训练开销。本文系统研究了 HC 架构,以理解其组件并识别更简单、更高效的设计。我们发现,不带混合的学习读写门控与固定门控的无约束混合形成了两个有效的交互组:任一单独使用即可达到与 mHC 相当的性能。我们还发现,对扩展残差状态的重复访问是训练开销的主要来源,即使没有混合也是如此。这些发现促成了 SimpleHC,它通过移除残差混合简化了架构,并通过共享内存访问简化了执行,利用了由此产生的加法结构和共享门输入。层特定门共享组入口状态,从而实现批量读取和延迟写入;标量校正精确地保留了前一个子层的输出贡献。我们的分析支持保留的残差结构和共享内存访问的设计。在最大测试规模下,SimpleHC 相比普通残差基线仅增加 2.4% 的端到端训练时间。当从 15B 扩展到 30B MoE 模型时,它保持了与 mHC 相当的性能,在标准训练期间表现出更平滑的梯度动态,并在压力下保持稳定。我们希望 SimpleHC 能鼓励在基础模型设计中更广泛地追求简单性,使性能提升在规模上更易获得且更实用。
该研究深入剖析了 Hyper-Connections 架构,提出了更简单高效的 SimpleHC 设计,在几乎不增加训练开销的情况下保持性能,并提升了训练稳定性和可扩展性,对基础模型设计具有重要实践意义。
Hyper-Connections (HC) architectures are increasingly adopted in frontier language models, yet their components remain insufficiently understood and introduce non-negligible training overhead. In this work, we systematically study the HC architecture to understand its components and identify simpler, more efficient designs. We find that learned read/write gating without mixing and unconstrained mixing with fixed gates form two effective interaction groups: either alone achieves performance comparable to mHC. We also identify repeated access to the expanded residual state as a major source of training overhead, even without mixing. These findings lead to SimpleHC, which simplifies the architecture by removing residual mixing and simplifies execution through shared memory access, using the resulting additive structure and shared gate inputs. Layer-specific gates share a group-entry state, enabling batched reads and deferred writes; scalar corrections exactly preserve preceding sublayer output contributions. Our analyses support both the retained residual structure and the design of shared memory access. SimpleHC incurs only 2.4% extra end-to-end training time over a vanilla residual baseline at the largest tested scale. It maintains performance comparable to mHC when scaling from 15B to 30B MoE models, exhibits smoother gradient dynamics during standard training, and remains stable under stress. We hope SimpleHC will encourage a broader pursuit of simplicity in foundation model design, making performance gains more accessible and practical at scale.