Skip to main content
QUICK REVIEW

[논문 리뷰] Post-LayerNorm Is Back: Stable, ExpressivE, and Deep

Chen Chen, Lai Wei|arXiv (Cornell University)|2026. 01. 27.
Generative Adversarial Networks and Image SynthesisComputer Science인용 수 0
한 줄 요약

Keel을 도입한 Post-LN Transformer로, Highway-style 잔여 경로와 잔류 정규화를 통해 안정적이고 표현력 있으며 ultra-deep LLM(1000+ 계층)을 구현하고 Pre-LN 대비 깊이 확장성을 개선한다.

ABSTRACT

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.

연구 동기 및 목표

  • LLMs의 표현성을 높이기 위한 깊이 확장을 너비와 컨텍스트 길이보다 우선하는 방향으로 제시한다.
  • 대규모에서의 Post-LN의 불안정성 원인을 분석하고 그래디언트 소실을 핵심 실패 모드로 식별한다.
  • 극심한 깊이에서의 학습 안정화를 위해 Post-LN에 필요한 최소한의 아키텍처 변경을 제안한다.
  • Keel 아키텍처가 안정적 학습, 깊이 확장성 개선, 여러 태스크에서의 성능 향상을 보임을 입증한다.

제안 방법

  • 잔류 경로가 Post-LN에서 그래디언트 소실을 일으킨다는 것을 보이는 그래디언트 흐름 분석을 형식화한다.
  • 알파와 추가 잔여 분기 정규화를 갖는 Highway-style 잔여 확장으로 제안한다.
  • Keel: x_{l+1}=LN(alpha*x_l + F_l(LN(x_l))) with alpha set to total depth L.
  • 초기화를 안정시키기 위해 첫 번째 어텐션 레이어와 첫 번째 FFN 레이어에서 Post-LN 스케일링을 비활성화하는 엣지 케이스를 제시한다.
  • 편향 없는 학습 가능한 Affine LN gamma를 채택하고 구현의 안정성에 대한 통찰을 공유한다.
  • Keel을 Post-LN, Pre-LN, 그리고 안정성 강화 베이스라인(DeepNorm, HybridNorm, Mix-LN)과 비교하며 Max LR 및 다운스트림 태스크 지표를 사용한다.

실험 결과

연구 질문

  • RQ1Post-LN 학습이 일반적인 LLM 규모를 초과하는 깊이에서도 특수한 트릭 없이 안정적으로 유지될 수 있는가?
  • RQ2잔여 경로를 Highway-style 연결로 교체하면 극심한 깊이의 Post-LN에서 그래디언트 흐름의 안정화를 달성하는가?
  • RQ3Keel이 Pre-LN 및 이전 Post-LN 변형에 비해 표현력과 깊이 확장 이점을 유지하거나 향상시키는가?
  • RQ4Keel의 실용적 초기화 및 학습 이점(예: 더 높은 학습률, 더 나은 수렴)을 깊이 구간에 따라 보여줄 수 있는가?

주요 결과

  • Keel은 1000층 이상 깊이에서 안정적인 학습을 가능하게 하며 깊이 확장성에서 Pre-LN보다 우수하다.
  • Keel은 Post-LN 및 다른 베이스라인이 수렴하지 않는 공격적인 학습률에서도 매끄러운 수렴을 유지한다.
  • Keel은 특히 Math & Code에서 깊은 레짐에서 표현력이 향상되며(+16.5% 대 Pre-LN)
  • Keel은 더 높은 최대 허용 학습률을 가능하게 하여 더 로버스트한 최적화 지형을 시사한다.
  • Keel은 태스크 전반에서 학습률 상승에 따라 일관되고 단조로운 이익을 보이며, 특히 추론 중심 벤치마크에서 두드러진다.
  • Keel 깊이 확장 실험(64–1024 계층)에서 Pre-LN 대비 다양한 깊이에서 우수한 성능을 보인다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.