GHC:扩展超连接中的残差接口
GHC:Expanding Residual Interfaces in Hyper-Connections
AI总结:
该研究提出分组超连接(GHC)改进超连接的残差接口,在稠密与MoE模型上验证其较IHC训练效率提升10%、较Pre-Norm提升35%,且解决了增加流的收益递减问题。
摘要:
超连接(Hyper-Connections)可扩展并行流间的残差容量,但限制每个分支的读写接口较窄:每个分支仍仅读取单个流混合,并将单个输出向量的缩放副本写入所有流。为突破该瓶颈,我们提出分组超连接(Grouped Hyper-Connections,GHC)。通过沿注意力头或前馈网络(FFN)通道将每个分支划分为并行组,GHC为每组提供不同的流混合,并以学习到的权重将各组的独立输出聚合到每个流。在稠密模型与混合专家(Mixture-of-Experts,MoE)模型上开展的大量实验表明,GHC在参数与内存访问开销可忽略的情况下,始终优于恒等超连接(Identity Hyper-Connections,IHC),较预归一化(Pre-Norm)提升训练效率35%,较IHC提升10%。此外,扩展残差接口可解决增加流带来的收益递减问题,使更宽的残差状态能进一步提升性能。
英文摘要:
Hyper-Connections expand residual capacity across parallel streams, yet restrict every branch to narrow read and write interfaces: each branch still reads a single stream mixture and writes scaled copies of one output vector to all streams. To lift this bottleneck, we propose Grouped Hyper-Connections (GHC). By partitioning each branch into parallel groups along attention heads or FFN channels, GHC supplies each group with a distinct stream mixture and aggregates their separate outputs into each stream with learned weights. Extensive experiments across dense and Mixture-of-Experts (MoE) models show that GHC consistently improves upon Identity Hyper-Connections (IHC) with negligible parameter and memory-access overhead, increasing training efficiency by 35% over Pre-Norm and 10% over IHC. Moreover, expanding residual interfaces overcomes the diminishing returns of adding streams, allowing wider residual states to yield further gains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。