REVIEW 19 cited by
On Layer Normalization in the Transformer Architecture
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
Signed reviews
read the original abstract
The Transformer is widely used in natural language processing tasks. To train a Transformer however, one usually needs a carefully designed learning rate warm-up stage, which is shown to be crucial to the final performance but will slow down the optimization and bring more hyper-parameter tunings. In this paper, we first study theoretically why the learning rate warm-up stage is essential and show that the location of layer normalization matters. Specifically, we prove with mean field theory that at initialization, for the original-designed Post-LN Transformer, which places the layer normalization between the residual blocks, the expected gradients of the parameters near the output layer are large. Therefore, using a large learning rate on those gradients makes the training unstable. The warm-up stage is practically helpful for avoiding this problem. On the other hand, our theory also shows that if the layer normalization is put inside the residual blocks (recently proposed as Pre-LN Transformer), the gradients are well-behaved at initialization. This motivates us to remove the warm-up stage for the training of Pre-LN Transformers. We show in our experiments that Pre-LN Transformers without the warm-up stage can reach comparable results with baselines while requiring significantly less training time and hyper-parameter tuning on a wide range of applications.
Forward citations
Cited by 19 Pith papers
-
Detangled: A Framework for Creating, Editing, and Inferencing Feature Rich Hair Strands
A 5D texture parameterization plus centerline-based canonical space and supervised diffusion enables generation and texture transfer of feature-rich hair strands independent of style.
-
NAE: Normalizing AutoEncoder
A conditional surrogate loss that always picks the gradient estimate aligned with the reconstruction loss improves flow autoencoder training and reaches state-of-the-art generative performance on molecules, tabular da...
-
TauPolaris: reconstructing tau lepton polarimetric vectors with conditional normalizing flows
A conditional normalizing flow reconstructs tau polarimetric vectors from simulated LHC events, improving spin-observable resolution by about 40% over a regression baseline and projecting >4.3 sigma entanglement separ...
-
AGNFormer I: Reconstruction of AGN spectra using a probabilistic transformer model
An uncertainty-aware transformer reconstructs masked AGN broad lines and spectral halves with 4-16% flux errors and beats eleven purpose-built Lyα-reconstruction algorithms on a blind benchmark.
-
D$e^+e^-$ffusion: Capturing the Beam-Beam Physics of $e^+e^-$ Collisions with Diffusion Models
A diffusion model trained on GuineaPig++ reproduces FCC-ee beam-induced pair-production distributions at particle and detector level, about 10^4 times faster.
-
Transformer-based machine learning using low-level calorimeter signals for collimated photon identification at collider experiments
Cell-level Transformers classify collimated ALP photon-jets versus single photons with AUC 0.98 and regress diphoton mass to ~64 MeV, beating shower-shape and other ML baselines in an ATLAS-like GEANT4 simulation.
-
Improving Neural Network Training by Decoupling the Magnitude and Direction of Weight Vectors
Splitting weight matrices into a fixed-norm direction and learnable per-row/column magnitudes improves LLM training over AdamW/Muon, removes weight decay and warmup, and transfers the optimal LR across width.
-
Numerical Fragility in Transformers: A Layer-wise Theory for Risk Estimation and Selective Stabilization
Layer-wise first-order diagnostics (κsoftmax, κscore, κ(V), ρLN) forecast and localize low-precision forward mismatch in a Tiny-ViT, with a modest LayerNorm-ε stabilization effect.
-
Guard Vector: Beyond English LLM Guardrails with Task-Vector Composition and Streaming-Aware Prefix SFT
A task vector from an English guard model transfers safety classification to Korean, Chinese, and Japanese models, and a prefix-SFT variant maintains accuracy under streaming with a single-token classifier.
-
Layerwise Importance Analysis of Feed-Forward Networks in Transformer-based Language Models
Concentrating all feed-forward-network capacity into the middle 70% of a Transformer's layers, at fixed total parameter count, outperforms the standard uniform layout across model sizes and language tasks.
-
A CNN-Transformer for Classification of Longitudinal 3D MRI Images -- A Case Study on Hepatocellular Carcinoma Prediction
A CNN-Transformer trained on longitudinal 3D MRIs claims high accuracy for predicting next-scan hepatocellular carcinoma, but its time-aware positional encoding reveals the future diagnosis date to the model.
-
STST-JEPA: Shallow-Target Spatio-Temporal Joint Embedding Prediction Architecture For EEG Self-Supervised Learning
A JEPA-style EEG foundation model with shallow EMA targets plus light reconstruction reaches strong multi-task transfer and 3.06-year validation age MAE on a large multi-site corpus.
-
CLEAR: Continuous Latent Autoregressive Modeling for High-quality and Low-latency Speech Synthesis
CLEAR is a zero-shot TTS model that autoregressively predicts compact continuous audio latents with a per-token rectified flow head, reaching 1.88% WER on LibriSpeech Subset-B with an RTF of 0.29 and a 96 ms streaming delay.
-
A Multimodal Architecture for Endpoint Position Prediction in Team-based Multiplayer Games
A U-Net++ with multimodal encoders and agent attention improves World of Tanks endpoint prediction, with KL divergence loss and rendered icons giving the best relative FDE at 1.78.
-
PyViT-FUSE: A Foundation Model for Multi-Sensor Earth Observation Data
PyViT-FUSE is a self-supervised vision transformer that fuses an arbitrary set of heterogeneous-resolution satellite bands via attention, and shows promise on a solar-panel segmentation task.
-
CLIP-UP: A Simple and Efficient Mixture-of-Experts CLIP Training Recipe with Sparse Upcycling
CLIP-UP converts a pre-trained dense CLIP into an MoE model and improves zero-shot text-image retrieval beyond dense baselines at lower inference cost.
-
Vision Transformers for Weakly-Supervised Microorganism Enumeration
Vision transformers are competitive but not superior to ResNets for weakly-supervised microorganism counting when trained from scratch.
-
Theoretical Analysis of Positional Encodings in Transformer Models: Impact on Expressiveness and Generalization
Wavelet-based positional encodings are claimed to improve how transformers extrapolate to longer sequences, with a toy experiment supporting the claim but with weak theory.
-
Technical Report: Small Language Model for Japanese Clinical and Medicine
Fine-tuned 1.2B Japanese medical SLM tops 6 of 8 JMED-LLM tasks against larger models, but the comparison is confounded by benchmark-specific fine-tuning.
Discussion (0). Continue with ORCID to comment.