[論文レビュー] Post-LayerNorm Is Back: Stable, ExpressivE, and Deep
Introduces Keel, a Post-LN Transformer with a Highway-style residual path and residual normalization, enabling stable, expressive, and ultra-deep LLMs (1000+ layers) with improved depth scaling over Pre-LN.
Large language model (LLM) scaling is hitting a wall. Widening models yields diminishing returns, and extending context length does not improve fundamental expressivity. In contrast, depth scaling offers theoretically superior expressivity, yet current Transformer architectures struggle to train reliably at extreme depths. We revisit the Post-LayerNorm (Post-LN) formulation, whose instability at scale caused its replacement by Pre-LN in modern LLMs. We show that the central failure mode of Post-LN arises from the ResNet-style residual pathway, which introduces gradient vanishing in deep networks. We present Keel, a Post-LN Transformer that replaces this residual path with a Highway-style connection. This modification preserves the gradient flow through the residual branch, preventing signal vanishing from the top layers to the bottom. Unlike prior methods, Keel enables stable training at extreme depths without requiring specialized initialization or complex optimization tricks. Keel trains robustly at depths exceeding 1000 layers and consistently improves perplexity and depth-scaling characteristics over Pre-LN. These findings indicate that Post-LN, when paired with a Highway-style connection, provides a simple and effective foundation for building deeply scalable LLMs, opening the possibility for future infinite-depth architectures.
研究の動機と目的
- Motivate depth scaling as a path to greater expressivity for LLMs beyond width and context length.
- Analyze instability causes of Post-LN at scale and identify gradient vanishing as a key failure mode.
- Propose a minimal architectural change to Post-LN that stabilizes training at extreme depths.
- Demonstrate that the Keel architecture yields stable training, better depth scalability, and enhanced performance across tasks.
提案手法
- Formulate gradient-flow analysis showing residual path in Post-LN causes vanishing gradients.
- Propose Highway-style residual scaling with alpha and an additional residual branch normalization.
- Develop Keel: x_{l+1}=LN(alpha*x_l + F_l(LN(x_l))) with alpha set to total depth L.
- Edge case: disable Post-LN scaling for the first attention layer and first FFN layer to stabilize initialization.
- Adopt learnable affine LN gamma without bias, and share insights on implementation stability.
- Compare Keel against Post-LN, Pre-LN, and stability-enhancing baselines (DeepNorm, HybridNorm, Mix-LN) using Max LR and downstream task metrics.
実験結果
リサーチクエスチョン
- RQ1Can Post-LN training remain stable at depths exceeding typical LLM scales without specialized tricks?
- RQ2Does replacing the residual path with a Highway-style connection stabilize gradient flow in Post-LN at extreme depths?
- RQ3Does Keel retain or enhance expressivity and depth-scaling benefits compared to Pre-LN and prior Post-LN variants?
- RQ4What are the practical initialization and training benefits of Keel (e.g., higher learning rates, better convergence) across depth regimes?
主な発見
- Keel enables stable training at depths over 1000 layers, outperforming Pre-LN in depth scaling.
- Keel maintains smooth convergence at aggressive learning rates where Post-LN and other baselines diverge.
- Keel yields improved expressiveness across deep regimes, notably in Math & Code (+16.5% versus Pre-LN).
- Keel permits higher maximum tolerable learning rates, indicating a more robust optimization landscape.
- Keel shows consistent, monotonic gains with increasing learning rates across tasks, especially in reasoning-intensive benchmarks.
- Keel depth-scaling experiments (64–1024 layers) indicate superior performance over Pre-LN across depths.
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。