Explore the research collection
1 entry · Follow this search
- Paper
LayerRoPE: Dynamic Depth-wise Magnitude & Angular Superposition
LayerRoPE replaces the per-layer learned normalization gain gamma with a depth-conditioned encoding that mimics RoPE along the depth axis. Observing that hidden-state norm growth with depth ('curse of depth') is an emergent depth-positional encoding carried by gamma itself - across 16 pre-trained LLMs from 9 families (dense, MoE, hybrid; Pre-, Peri-, Post-Norm) gamma grows in magnitude and rotates in direction with depth - the authors make this explicit: all layerwise gamma vectors are replaced with a single shared vector plus depth-conditioned scalars, at a net parameter reduction and <0.02% FLOPs change. Across a model ladder scaled to 100B+ tokens, LayerRoPE beats Pre-, Post- and Peri-Norm and Layer-Norm Scaling, reaching Pre-Norm's 1.3B loss with 3.4x less compute; it is the only approach converging strongly and improving near-monotonically as depth scales to 512 layers. It improves learning-rate sensitivity by 3-10x and transfers naively to looped latent models and Vision Transformers. The learned schedule inverts the standard premise: LayerRoPE does not shrink the residual stream but widens it, damping what each block reads while amplifying what it writes - depth stability comes from depth-conditioned regulation of the computational blocks, not suppression of the residual stream.