AIToday
Large Language ModelsQiita 機械学習Published: Dec 5, 2026, 01:00 JST

ByteDance's Hyper-Connections beat Pre-LN, lands at ICLR 2025

Send on LINE
ByteDance's Hyper-Connections beat Pre-LN, lands at ICLR 2025

3 Key Points

  1. What happened

    Hyper-Connections, by ByteDance's Defa Zhu and co-authors, copies each token embedding into n copies with learned merge and weighted residual weights; at n=4 it exceeded Pre-LN on validation loss and downstream accuracy for both standard and MoE language models.

  2. Why it matters

    Because the learned residual weights let the model combine different connection patterns that Pre-LN and Post-LN each fix in place, the approach appears to ease the trade-off between gradient vanishing and representation power that the authors set out to address.

Ask AI

Ask the AI about this article. Questions and answers are published on this page

Context & Analysis

The paper frames its motivation around a known tension: Post-LN transformers are prone to gradient vanishing, while Pre-LN avoids that but makes adjacent layers' representations increasingly similar toward the output side, so adding layers contributes less (Liu et al., 2020). Hyper-Connections addresses this by learning the weights that combine the sub-layer path and the residual path instead of fixing them at 1:1, and by carrying n copies of each token so different connection patterns can coexist. Appendix F reports that with a single copy, shrinking the residual weight in one layer weakens connections to all earlier layers at once, and a model trained with n=1 lost the input-to-output connection and performed worse than Pre-LN. Weight visualizations at n=4 showed both a Post-LN-style pattern relying on the immediately preceding layers and a Pre-LN-style pattern where early-layer outputs persist into most later layers, which the authors say suggests multiple copies allow different wiring patterns simultaneously. The experiments compared validation loss and downstream accuracy against Pre-LN for both standard and MoE language models, and on MoE models Hyper-Connections reached Pre-LN-level performance with half the training tokens on many metrics. The note also observes that the paper cites Admin (Liu et al., 2020) without saying whether Admin is insufficient, and that its explanation for why a fixed 1:1 ratio produces the trade-off is not fully clear to the note's author.

FAQ
How does Hyper-Connections differ from Pre-LN and Post-LN?
Hyper-Connections copy each token embedding into n copies and learn the weights that merge them into the sub-layer and distribute the output back, rather than fixing the sub-layer-to-residual ratio at 1:1 as Pre-LN and Post-LN do.
Did larger n keep improving results?
Going from n=1 to n=2 or more moved performance above Pre-LN, but increasing n to 8 showed little improvement over n=4.
Was Hyper-Connections tested beyond language models?
Yes. In image generation, models with Hyper-Connections matched the evaluation metrics of normal models with 1.5× the parameters, and in image classification they exceeded Pre-LN accuracy.
Qiita 機械学習Read Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Related Articles

Next articleElex survey: 61.5% of AI users ask needless questions