TL;DR
SimpleGPT introduces SimpleNorm, a normalization strategy that applies RMSNorm immediately after every linear layer in a Transformer block rather than before entire sub-layers. By grounding architectural design in classical second-order optimization theory, the authors demonstrate that SimpleNorm stabilizes activation scales and keeps the loss landscape smooth, enabling stable training with 3x–10x larger learning rates and yielding significantly lower final training losses.
What Problem Does This Paper Address?
Training large language models (LLMs) is notoriously unstable. To keep training from diverging, researchers rely on a delicate cocktail of heuristics: learning rate warmups, residual scaling, and specific normalization placements (like PreNorm or QKNorm).
While these heuristics work well in practice, their relationship with classical optimization theory remains poorly understood. Optimization stability is fundamentally governed by the local curvature of the loss landscape, characterized by the Hessian matrix. In standard Transformers, as weights grow during training, the spectral norm of the Hessian explodes quadratically. This roughens the loss landscape and forces practitioners to use small, conservative learning rates to avoid training divergence.
Methods
The authors bridge this gap with SimpleNorm, a primitive operator that enforces normalization locally and immediately after every single linear mapping:
$$\Psi(x) = \text{Norm}(Wx)$$
In this paper, the authors instantiate Norm using RMSNorm. Instead of placing normalization layers before attention or MLP blocks (the standard PreNorm approach), SimpleGPT systematically injects SimpleNorm after query ($W_q$), key ($W_k$), value ($W_v$), output ($W_o$), and MLP projections ($W_1, W_2$), completely removing the traditional PreNorm layer.
Because adding frequent normalization layers can introduce memory-bound overhead, the authors leverage torch.compile to fuse reduction and pointwise operations, keeping the training time overhead to a negligible ~3%.
Datasets
The authors evaluated SimpleGPT across three distinct Transformer backbones using standard large-scale datasets:
- C4: Used for training the LLaMA2 (1B and 7B) and LLaMA3 (8B) style models.
- OpenWebText: Used for training the nanoGPT (1.4B) baseline.
No new datasets or benchmarks were introduced in this work.
Key Insights and Ideas
- Weight Scale Invariance: In a standard linear projection, local curvature scales quadratically with the weight matrix norm ($\|W\|_2^2$). SimpleNorm mathematically eliminates this dependence. As a result, the Hessian spectral norm remains bounded even as weight norms grow during training.
- Gauss-Newton Dominance: Through second-order geometric analysis, the authors prove that the SimpleNorm Hessian decomposes into a linear (Gauss-Newton) term and a normalization-induced curvature term. In high dimensions, the Gauss-Newton term completely dominates, ensuring a highly predictable and smooth optimization landscape.
- Pervasive Nonlinearity: Beyond pure optimization stability, applying normalization immediately after every linear layer ensures that every layer induces a genuinely nonlinear transformation. This effectively increases the depth of nonlinear interactions, boosting the model's expressivity without increasing its parameter count.
Key Results
- Massive Learning Rates: SimpleGPT safely tolerates learning rates 3x to 10x larger than standard conventions. Stress tests show that while standard PreNorm and QKNorm configurations diverge at a learning rate of $2 \times 10^{-1}$, SimpleGPT converges stably.
- Substantial Loss Reductions: When training a 7B parameter model (LLaMA2 backbone) for 60K steps, SimpleGPT achieved a training loss of 2.208—an absolute reduction of 0.08 compared to LLaMA2 with QKNorm (2.290).
- Favorable Scaling Trends: The performance gains of SimpleGPT become more pronounced as the model scales. The absolute loss improvement over the baseline was ~0.032 at the 1B scale, but grew to 0.082 at the 7B scale.
Limitations and Future Work
- Minor Computational Overhead: Despite optimization, SimpleGPT introduces a ~3% training slowdown due to the frequent execution of normalization layers. The authors suggest this could be resolved by designing more efficient custom CUDA kernels or replacing RMSNorm with fusion-friendly pointwise functions (like Derf).
- Compute Constraints: Due to computational resource limits, the authors were only able to evaluate their largest models (7B and 8B) up to 20K–60K steps. Validating SimpleGPT's stability and performance over a full, multi-trillion-token industrial training run remains an open direction for future work.
Summary updated