Training Transformers with Enforced Lipschitz Constants
Not on the map. Why?
Abstract (arXiv)
Neural networks are often highly sensitive to input and weight perturbations. This sensitivity has been linked to pathologies such as vulnerability to adversarial examples, divergent training, and overfitting. To combat these problems, past research has looked at building neural networks entirely from Lipschitz components. However, these techniques have not matured to the point where researchers have trained a modern architecture such as a transformer with a Lipschitz certificate enforced beyond initialization. To explore this gap, we begin by developing and benchmarking novel, computationally-efficient tools for maintaining norm-constrained weight matrices. Applying these tools, we are able to train transformer models with Lipschitz bounds enforced throughout training. We find that optimizer dynamics matter: switching from AdamW to Muon improves standard methods -- weight decay and spectral normalization -- allowing models to reach equal performance with a lower Lipschitz bound. Inspired by Muon's update having a fixed spectral norm, we co-design a weight constraint method that improves the Lipschitz vs. performance tradeoff on MLPs and 2M parameter transformers. Our 2-Lipschitz transformer on Shakespeare text reaches validation accuracy 60%. Scaling to 145M parameters, our 10-Lipschitz transformer reaches 21% accuracy on internet text. However, to match the NanoGPT baseline validation accuracy of 39.4%, our Lipschitz upper bound increases to 10^264. Nonetheless, our Lipschitz transformers train without stability measures such as layer norm, QK norm, and logit tanh softcapping.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 40 of its 56 references that are in the map. First posted on arXiv 17 Jul 2025.
Builds on
40 of 56 references.
References · 40
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2016Layer Normalizationcited by 5,669
- 2013Intriguing properties of neural networkscited by 5,155
- 2018Spectral Normalization for Generative Adversarial Networkscited by 1,636
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 744
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
- 2017Spectrally-normalized margin bounds for neural networkscited by 686
- 2018Lipschitz regularity of deep neural networks: analysis and efficient estimationcited by 415
- 2017A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networkscited by 314
- 2018Regularisation of Neural Networks by Enforcing Lipschitz Continuitycited by 314
28 more
- 2015Unitary Evolution Recurrent Neural Networkscited by 294
- 2017Parseval Networks: Improving Robustness to Adversarial Examplescited by 293
- 2019Efficient and Accurate Estimation of Lipschitz Constants for Deep Neural Networkscited by 293
- 2020Query-Key Normalization for Transformerscited by 280
- 2018Towards Fast Computation of Certified Robustness for ReLU Networkscited by 255
- 2018Sorting out Lipschitz function approximationcited by 213
- 2018Lipschitz-Margin Training: Scalable Certification of Perturbation Invariance for Deep Neural Networkscited by 195
- 2025Training Deep Learning Models with Norm-Constrained LMOscited by 192
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 183
- 2017Spectral Norm Regularization for Improving the Generalizability of Deep Learningcited by 182
- 2020The Lipschitz Constant of Self-Attentioncited by 174
- 2023A Spectral Condition for Feature Learningcited by 109
- 2022Neural-Fly Enables Rapid Learning for Agile Flight in Strong Windscited by 85
- 2024Modular Duality in Deep Learningcited by 77
- 2024Scalable Optimization in the Modular Normcited by 68
- 2021Spectral Normalisation for Deep Reinforcement Learning: an Optimisation Perspectivecited by 65
- 2021Training Certifiably Robust Neural Networks with Efficient Local Lipschitz Boundscited by 65
- 2023Scalable AI Safety via Doubly-Efficient Debatecited by 57
- 2020A case for new neural network smoothness constraintscited by 43
- 2022Why neural networks find simple solutions: the many regularizers of geometric complexitycited by 39
- 2023LipsFormer: Introducing Lipschitz Continuity to Vision Transformerscited by 34
- 2020Temperature check: theory and practice for training models with softmax-cross-entropy lossescited by 31
- 2021Pay attention to your loss: understanding misconceptions about 1-Lipschitz neural networkscited by 30
- 2023DP-SGD Without Clipping: The Lipschitz Neural Network Waycited by 11
- 2017The duality structure gradient descent algorithm: analysis and applications to neural networkscited by 8
- 2024Adapprox: Adaptive Approximation in Adam Optimization via Randomized Low-Rank Matricescited by 8
- 2019Divide and Conquer: Leveraging Intermediate Feature Representations for Quantized Training of Neural Networkscited by 5
- 2019Verification of Neural Network Control Policy Under Persistent Adversarial Perturbationcited by 5
Built on by
Citing papers per year: 2025: 2; 2026: 18.
20 papers.
Sort:
By area:
- 2026Fantastic Pretraining Optimizers and Where to Find Them II: Hyperball Optimizationcited by 16
- 2025Optimal Scaling Needs Optimal Normcited by 8
- 2026Muown: Row-Norm Control for Muon Optimizationcited by 6
- 2026Approximation Theory for Lipschitz Continuous Transformerscited by 5
- 2026Disentangling Geometry, Performance, and Training in Language Modelscited by 3
- 2026Improving Neural Network Training by Decoupling the Magnitude and Direction of Weight Vectorscited by 3
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Taskscited by 2
- 2025Fast and Flexible Robustness Certificates for Semantic Segmentationcited by 1
- 2026Demystifying Manifold Constraints in LLM Pre-trainingcited by 1
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Studycited by 1
- 2026PC Layer: Polynomial Weight Preconditioning for Improving LLM Pre-Trainingcited by 1
- 2026Understanding Rate-Distortion Performance in Distributed Transformer Inferencecited by 0
8 more
- 2026Monotonicity as an Architectural Bias for Robust Language Modelscited by 0
- 2026The Geometric Alignment Tax: Tokenization vs. Continuous Geometry in Scientific Foundation Modelscited by 0
- 2026Constrained Stochastic Spectral Preconditioning Converges for Nonconvex Objectivescited by 0
- 2026Can Entry-Wise Clipping Give Spectral Control of Stochastic Gradients?cited by 0
- 2026Multi-Horizon Consistency as Geometry: When Latent Dynamics Contract, and When They Do Notcited by 0
- 2026ST-LoRA: Single Trajectory LoRA Ensemble for Uncertainty Aware Agricultural Segmentationcited by 0
- 2026SingularClip: Preventing Spectral Collapse to Maintain Plasticity in Continual and Reinforcement Learningcited by 0
- 2026From Transformers to Weighted Automata: Towards the Verification of Large Language Modelscited by 0
- 2026From Transformers to Weighted Automata: Towards the Verification of Large Language Models3 Oct 2026
- 2026SingularClip: Preventing Spectral Collapse to Maintain Plasticity in Continual and Reinforcement Learning18 Aug 2026
- 2026ST-LoRA: Single Trajectory LoRA Ensemble for Uncertainty Aware Agricultural Segmentation2 Aug 2026
- 2026Multi-Horizon Consistency as Geometry: When Latent Dynamics Contract, and When They Do Not21 Jul 2026
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Tasks20 Jul 2026
- 2026Improving Neural Network Training by Decoupling the Magnitude and Direction of Weight Vectors24 Jun 2026
- 2026Fantastic Pretraining Optimizers and Where to Find Them II: Hyperball Optimization15 Jun 2026
- 2026PC Layer: Polynomial Weight Preconditioning for Improving LLM Pre-Training4 Jun 2026
- 2026Can Entry-Wise Clipping Give Spectral Control of Stochastic Gradients?26 May 2026
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study26 May 2026
- 2026Constrained Stochastic Spectral Preconditioning Converges for Nonconvex Objectives12 May 2026
- 2026Muown: Row-Norm Control for Muon Optimization11 May 2026
8 more
- 2026Demystifying Manifold Constraints in LLM Pre-training6 May 2026
- 2026The Geometric Alignment Tax: Tokenization vs. Continuous Geometry in Scientific Foundation Models5 Apr 2026
- 2026Disentangling Geometry, Performance, and Training in Language Models24 Feb 2026
- 2026Approximation Theory for Lipschitz Continuous Transformers17 Feb 2026
- 2026Monotonicity as an Architectural Bias for Robust Language Models2 Feb 2026
- 2026Understanding Rate-Distortion Performance in Distributed Transformer Inference29 Jan 2026
- 2025Fast and Flexible Robustness Certificates for Semantic Segmentation3 Dec 2025
- 2025Optimal Scaling Needs Optimal Norm4 Oct 2025
- 2026Fantastic Pretraining Optimizers and Where to Find Them II: Hyperball Optimizationcited by 16
- 2025Optimal Scaling Needs Optimal Normcited by 8
- 2026Muown: Row-Norm Control for Muon Optimizationcited by 6
- 2026Approximation Theory for Lipschitz Continuous Transformerscited by 5
- 2026Disentangling Geometry, Performance, and Training in Language Modelscited by 3
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Taskscited by 2
- 2025Fast and Flexible Robustness Certificates for Semantic Segmentationcited by 1
- 2026Demystifying Manifold Constraints in LLM Pre-trainingcited by 1
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Studycited by 1
- 2026PC Layer: Polynomial Weight Preconditioning for Improving LLM Pre-Trainingcited by 1
- 2026Understanding Rate-Distortion Performance in Distributed Transformer Inferencecited by 0
- 2026Constrained Stochastic Spectral Preconditioning Converges for Nonconvex Objectivescited by 0
12 most cited of 15 All 15 (JSON)
- 2026From Transformers to Weighted Automata: Towards the Verification of Large Language Models3 Oct 2026
- 2026ST-LoRA: Single Trajectory LoRA Ensemble for Uncertainty Aware Agricultural Segmentation2 Aug 2026
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Tasks20 Jul 2026
- 2026Fantastic Pretraining Optimizers and Where to Find Them II: Hyperball Optimization15 Jun 2026
- 2026PC Layer: Polynomial Weight Preconditioning for Improving LLM Pre-Training4 Jun 2026
- 2026Can Entry-Wise Clipping Give Spectral Control of Stochastic Gradients?26 May 2026
- 2026When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study26 May 2026
- 2026Constrained Stochastic Spectral Preconditioning Converges for Nonconvex Objectives12 May 2026
- 2026Muown: Row-Norm Control for Muon Optimization11 May 2026
- 2026Demystifying Manifold Constraints in LLM Pre-training6 May 2026
- 2026Disentangling Geometry, Performance, and Training in Language Models24 Feb 2026
- 2026Approximation Theory for Lipschitz Continuous Transformers17 Feb 2026
12 newest of 15 All 15 (JSON)