TensorX
返回文献探索

Paper · arXiv 2409.19606

Hyper-Connections

Defa Zhu, Hongzhi Huang, Zihao Huang, Yutao Zeng, Yunyao Mao, Banggu Wu, Qiyang Min, Xun Zhou

28 upvotesSeptember 29, 2024arXiv 预印本
AI 摘要

Hyper-connections, an alternative to residual connections, improve performance in pre-training large language models and vision tasks by dynamically adjusting feature connections.

hyper-connectionsresidual connectionsseesaw effectgradient vanishingrepresentation collapsepre-traininglarge language modelsvision tasks

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Hyper-Connections | TensorX