We present hyper-connections, a simple yet effective method that can serve as an alternative to residual connections. This approach specifically addresses common drawbacks observed in residual connection variants, such as the seesaw effect between gradient vanishing and representation collapse. Theoretically, hyper-connections allow the network to adjust the strength of connections between features at different depths and dynamically rearrange layers. We conduct experiments focusing on the pre-training of large language models, including dense and sparse models, where hyper-connections show significant performance improvements over residual connections. Additional experiments conducted on vision tasks also demonstrate similar improvements. We anticipate that this method will be broadly applicable and beneficial across a wide range of AI problems.
翻译:本文提出超连接,这是一种简单而有效的替代残差连接的方法。该方法专门针对残差连接变体中常见的缺陷,例如梯度消失与表示崩溃之间的跷跷板效应。理论上,超连接允许网络调整不同深度特征之间的连接强度,并动态重排层。我们聚焦于大型语言模型的预训练进行了实验,包括稠密模型与稀疏模型,其中超连接相较于残差连接展现出显著的性能提升。在视觉任务上进行的补充实验也证明了类似的改进。我们预计该方法将在广泛的人工智能问题中具有普适性和益处。