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.
Community
TL;DR: We present hyper-connections, a simple yet effective method that can serve as an alternative to residual connections. It addresses issues like gradient vanishing and representation collapse by allowing networks to adjust connection strengths and rearrange layers dynamically. Experiments with LLMs Pre-training and vision tasks show significant performance improvements, suggesting broad applicability in AI.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Optimization Hyper-parameter Laws for Large Language Models (2024)
- Loop-Residual Neural Networks for Iterative Refinement (2024)
- On Effects of Steering Latent Representation for Large Language Model Unlearning (2024)
- Adaptive Large Language Models By Layerwise Attention Shortcuts (2024)
- Routing in Sparsely-gated Language Models responds to Context (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper