LGAIOct 12, 2024

ReLU's Revival: On the Entropic Overload in Normalization-Free Large Language Models

arXiv:2410.09637v33 citationsh-index: 9Has Code
Originality Incremental advance
AI Analysis

This work addresses optimization challenges for researchers and practitioners in transformer architectures where LayerNorm is problematic, offering incremental insights for domain-specific improvements.

The study tackled the problem of activation function selection in normalization-free large language models, finding that ReLU outperforms GELU with an 8.2% perplexity improvement due to better handling of entropic overload and representational capacity.

LayerNorm is a critical component in modern large language models (LLMs) for stabilizing training and ensuring smooth optimization. However, it introduces significant challenges in mechanistic interpretability, outlier feature suppression, faithful signal propagation, and computational and communication complexity of private inference. This work explores desirable activation functions in normalization-free decoder-only LLMs. Contrary to the conventional preference for the GELU in transformer-based models, our empirical findings demonstrate an {\em opposite trend} -- ReLU significantly outperforms GELU in LayerNorm-free models, leading to an {\bf 8.2\%} perplexity improvement. We discover a key issue with GELU, where early layers experience entropic overload, leading to the under-utilization of the representational capacity of attention heads. This highlights that smoother activations like GELU are {\em ill-suited} for LayerNorm-free architectures, whereas ReLU's geometrical properties -- specialization in input space and intra-class selectivity -- lead to improved learning dynamics and better information retention in the absence of LayerNorm. This study offers key insights for optimizing transformer architectures where LayerNorm introduces significant challenges. The code and implementation are available at https://github.com/Nandan91/relu-revival-normfree

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes