arXiv Machine Learning

LayerNorm as Implicit Gain Control in Looped Transformers

arXiv:2607. 10681v1 Announce Type: new Abstract: In pre-LayerNorm looped transformers, LayerNorm inside the recurrent block acts as an implicit gain controller: by coupling the block's local Lipschitz constant inversely to the activation scale, it renders the recurrence Jacobian non-normal -- asymptotically contractive at every verified fixed point even where its operator norm exceeds 1 -- so the true stability budget is the spectral margin, not an operator-norm bound.

arXiv AI
Jul 16

DeepLoop: Depth Scaling for Looped Transformers

arXiv:2607. 13491v1 Announce Type: cross Abstract: Looped Transformers scale sequential computation by applying a compact stack of physical blocks for multiple rounds, increasing unrolled depth without increasing stored parameters.

By Shuzhen Li, Yifan Zhang, Jiacheng Guo, Quanquan Gu, Mengdi Wang
arXiv AI
Nov 6

Stability and Generalization in Looped Transformers

The paper introduces a fixed‑point framework to analyze looped transformer architectures, focusing on stability properties such as local attractivity, input‑dependence, and geometry. It shows theoretically that looped networks lacking recall have only countable fixed points and cannot achieve strong input‑dependence, whereas adding recall with outer normalization yields locally‑attractive, smoothly input‑dependent fixed points that support stable backpropagation. Empirical experiments on chess, sudoku, and prefix‑sums confirm that performance aligns with the framework’s predictions, and a new internal‑recall variant further validates the theory.

By Asher Labovich
arXiv Machine Learning
Oct 8

LayerRoPE: Dynamic Depth-wise Magnitude & Angular Superposition

LayerRoPE introduces a depth‑wise magnitude and angular superposition mechanism that replaces per‑layer normalization gains with a single shared vector and depth‑conditioned scalars, reducing parameters and computational cost. Across 16 pre‑trained large language models and a 100B+ token model ladder, LayerRoPE outperforms traditional Pre‑, Post‑, and Peri‑Norm schemes, achieving comparable or better performance with significantly less compute and improved convergence up to 512 layers. The method demonstrates that widening the residual stream, rather than shrinking it, enhances depth stability and learning‑rate sensitivity, and it transfers effectively to latent and vision transformer architectures.

By Shikhar Srivastava, Christopher Kanan
Hugging Face Trending Papers
Nov 9

KiteNorm: Variance Regularisation for Stable and Scalable Post-LN Transformers

KiteNorm is a post‑LayerNorm training method that stabilises decoder‑only Transformers by constraining hidden‑state variance through residual scaling and variance regularisation. It addresses the instability of existing post‑norm approaches, especially at large learning rates, and outperforms strong Pre‑LayerNorm baselines on models up to 1.3 B parameters. Ablation studies confirm that each component of KiteNorm is essential for its full stability and performance gains.

arXiv Machine Learning
Sep 10

When Does Scale-Invariant Optimization Become Unstable? An Exact Schedule Law with Weight Decay

The paper derives an exact discrete‑time law that captures how learning‑rate schedules and weight decay interact in scale‑invariant neural networks, showing that a single scalar quantity governs the effective step size. It demonstrates that the balance point between contraction and expansion is intrinsically unstable, leading to recurrent dynamics when using constant learning rates with weight decay. The authors extend this analysis to various optimizers and datasets, confirming the law’s precision and showing that performance peaks sharply at the predicted boundary.

By Hasan Amin, Wei-Kai Chang, Rajiv Khanna