LipsFormer: Introducing Lipschitz Continuity to Vision Transformers
Not on the map. Why?
Abstract (arXiv)
We present a Lipschitz continuous Transformer, called LipsFormer, to pursue training stability both theoretically and empirically for Transformer-based models. In contrast to previous practical tricks that address training instability by learning rate warmup, layer normalization, attention formulation, and weight initialization, we show that Lipschitz continuity is a more essential property to ensure training stability. In LipsFormer, we replace unstable Transformer component modules with Lipschitz continuous counterparts: CenterNorm instead of LayerNorm, spectral initialization instead of Xavier initialization, scaled cosine similarity attention instead of dot-product attention, and weighted residual shortcut. We prove that these introduced modules are Lipschitz continuous and derive an upper bound on the Lipschitz constant of LipsFormer. Our experiments show that LipsFormer allows stable training of deep Transformer architectures without the need of careful learning rate tuning such as warmup, yielding a faster convergence and better generalization. As a result, on the ImageNet 1K dataset, LipsFormer-Swin-Tiny based on Swin Transformer training for 300 epochs can obtain 82.7% without any learning rate warmup. Moreover, LipsFormer-CSwin-Tiny, based on CSwin, training for 300 epochs achieves a top-1 accuracy of 83.5% with 4.7G FLOPs and 24M parameters. The code will be released at urlhttps://github.com/IDEA-Research/LipsFormer.
Key facts. Cited by 33 papers in the map (data through 7 Oct 2026). Builds on 58 of its 63 references that are in the map. First posted on arXiv 19 Apr 2023.
Builds on
58 of 63 references.
References · 58
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2016Layer Normalizationcited by 5,579
38 more
- 2013Intriguing properties of neural networkscited by 5,114
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2022A ConvNet for the 2020scited by 3,545
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2021Grounded Language-Image Pre-trainingcited by 1,147
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2020Designing Network Design Spacescited by 954
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021Florence: A New Foundation Model for Computer Visioncited by 802
- 2021Transformer in Transformercited by 632
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2022DeiT III: Revenge of the ViTcited by 417
- 2018Lipschitz regularity of deep neural networks: analysis and efficient estimationcited by 413
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2020Are we done with ImageNet?cited by 329
- 2019Efficient and Accurate Estimation of Lipschitz Constants for Deep Neural Networkscited by 290
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
- 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 260
- 2022Neighborhood Attention Transformercited by 235
- 2016FractalNet: Ultra-Deep Neural Networks without Residualscited by 216
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2019Fixing the train-test resolution discrepancycited by 209
- 2019Fixup Initialization: Residual Learning Without Normalizationcited by 194
- 2017Spectral Norm Regularization for Improving the Generalizability of Deep Learningcited by 178
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2020The Lipschitz Constant of Self-Attentioncited by 171
- 2021Mask2Former for Video Instance Segmentationcited by 169
- 2021A Universal Law of Robustness via Isoperimetrycited by 150
50 most cited of 58 All 58 (JSON)
Built on by
Citing papers per year: 2023: 2; 2024: 5; 2025: 19; 2026: 7.
33 papers.
Sort:
By area:
- 2024AZ-NAS: Assembling Zero-Cost Proxies for Network Architecture Searchcited by 25
- 2025Training Transformers with Enforced Lipschitz Constantscited by 18
- 2025Softmax is 1/2-Lipschitz: A tight bound across all ℓp normscited by 18
- 2025Terminal Velocity Matchingcited by 17
- 2023Mitigating Transformer Overconfidence via Lipschitz Regularizationcited by 15
- 2025Pay Attention to Attention Distribution: A New Local Lipschitz Bound for Transformerscited by 10
- 2025Taming Transformer Without Using Learning Rate Warmupcited by 8
- 2025Approximation theory for 1-Lipschitz ResNetscited by 7
- 2025Pool Me Wisely: On the Effect of Pooling in Transformer-Based Modelscited by 6
- 2024SpecFormer: Guarding Vision Transformer Robustness via Maximum Singular Value Penalizationcited by 5
- 2026Approximation Theory for Lipschitz Continuous Transformerscited by 5
- 2024OCCAM: Towards Cost-Efficient and Accuracy-Aware Classification Inferencecited by 3
21 more
- 2024Achieving Domain-Independent Certified Robustness via Knowledge Continuitycited by 3
- 2025LipShiFT: A Certifiably Robust Shift-based Vision Transformercited by 3
- 2025Controlling changes to attention logitscited by 3
- 2026Exact Attention Sensitivity and the Geometry of Transformer Stabilitycited by 3
- 2024Length independent generalization bounds for deep SSM architectures via Rademacher contraction and stability constraintscited by 2
- 2025R2DN: Scalable Parameterization of Contracting and Lipschitz Recurrent Deep Networkscited by 2
- 2025Distributionally robust minimization in meta-learning for system identificationcited by 2
- 2025Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyondcited by 2
- 2026Sinkhorn doubly stochastic attention rank decay analysiscited by 2
- 2025Adversarial Examples in Environment Perception for Automated Driving (Review)cited by 1
- 2025TTrace: Lightweight Error Checking and Diagnosis for Distributed Trainingcited by 1
- 2025DNT: a Deeply Normalized Transformer that can be trained by Momentum SGDcited by 1
- 2025ModHiFi: Identifying High Fidelity predictive components for Model Modificationcited by 1
- 2026LipsAM: Lipschitz-Continuous Amplitude Modifier for Audio Signal Processing and its Application to Plug-and-Play Dereverberationcited by 1
- 2026Fitting Is Not Enough: Smoothness in Extremely Quantized LLMscited by 1
- 2023Understanding Optimization of Deep Learning via Jacobian Matrix and Lipschitz Constantcited by 0
- 2025SoftSignSGD(S3): An Enhanced Optimizer for Practical DNN Training and Loss Spikes Minimization Beyond Adamcited by 0
- 2025Delving into Cascaded Instability: A Lipschitz Continuity View on Image Restoration and Object Detection Synergycited by 0
- 2025ODE-ViT: Plug & Play Attention Layer from the Generalization of the ViT as an Ordinary Differential Equationcited by 0
- 2026LLM-Inspired Pretrain-Then-Finetune for Small-Data, Large-Scale Optimizationcited by 0
- 2026Reversible Residual Normalization Alleviates Spatio-Temporal Distribution Shiftcited by 0
- 2026Fitting Is Not Enough: Smoothness in Extremely Quantized LLMs9 May 2026
- 2026Reversible Residual Normalization Alleviates Spatio-Temporal Distribution Shift17 Apr 2026
- 2026Sinkhorn doubly stochastic attention rank decay analysis9 Apr 2026
- 2026LipsAM: Lipschitz-Continuous Amplitude Modifier for Audio Signal Processing and its Application to Plug-and-Play Dereverberation23 Mar 2026
- 2026Exact Attention Sensitivity and the Geometry of Transformer Stability21 Feb 2026
- 2026Approximation Theory for Lipschitz Continuous Transformers17 Feb 2026
- 2026LLM-Inspired Pretrain-Then-Finetune for Small-Data, Large-Scale Optimization3 Feb 2026
- 2025Controlling changes to attention logits26 Nov 2025
- 2025Terminal Velocity Matching24 Nov 2025
- 2025ModHiFi: Identifying High Fidelity predictive components for Model Modification24 Nov 2025
- 2025ODE-ViT: Plug & Play Attention Layer from the Generalization of the ViT as an Ordinary Differential Equation20 Nov 2025
- 2025Delving into Cascaded Instability: A Lipschitz Continuity View on Image Restoration and Object Detection Synergy28 Oct 2025
21 more
- 2025Softmax is 1/2-Lipschitz: A tight bound across all ℓp norms27 Oct 2025
- 2025Pool Me Wisely: On the Effect of Pooling in Transformer-Based Models2 Oct 2025
- 2025Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyond25 Sep 2025
- 2025DNT: a Deeply Normalized Transformer that can be trained by Momentum SGD23 Jul 2025
- 2025Training Transformers with Enforced Lipschitz Constants17 Jul 2025
- 2025Pay Attention to Attention Distribution: A New Local Lipschitz Bound for Transformers10 Jul 2025
- 2025SoftSignSGD(S3): An Enhanced Optimizer for Practical DNN Training and Loss Spikes Minimization Beyond Adam9 Jul 2025
- 2025Distributionally robust minimization in meta-learning for system identification22 Jun 2025
- 2025TTrace: Lightweight Error Checking and Diagnosis for Distributed Training10 Jun 2025
- 2025Taming Transformer Without Using Learning Rate Warmup28 May 2025
- 2025Approximation theory for 1-Lipschitz ResNets17 May 2025
- 2025Adversarial Examples in Environment Perception for Automated Driving (Review)11 Apr 2025
- 2025R2DN: Scalable Parameterization of Contracting and Lipschitz Recurrent Deep Networks1 Apr 2025
- 2025LipShiFT: A Certifiably Robust Shift-based Vision Transformer18 Mar 2025
- 2024Achieving Domain-Independent Certified Robustness via Knowledge Continuity3 Nov 2024
- 2024OCCAM: Towards Cost-Efficient and Accuracy-Aware Classification Inference6 Jun 2024
- 2024Length independent generalization bounds for deep SSM architectures via Rademacher contraction and stability constraints30 May 2024
- 2024AZ-NAS: Assembling Zero-Cost Proxies for Network Architecture Search28 Mar 2024
- 2024SpecFormer: Guarding Vision Transformer Robustness via Maximum Singular Value Penalization2 Jan 2024
- 2023Understanding Optimization of Deep Learning via Jacobian Matrix and Lipschitz Constant15 Jun 2023
- 2023Mitigating Transformer Overconfidence via Lipschitz Regularization12 Jun 2023
- 2025Terminal Velocity Matchingcited by 17
- 2025Terminal Velocity Matching24 Nov 2025
- 2024AZ-NAS: Assembling Zero-Cost Proxies for Network Architecture Searchcited by 25
- 2025Training Transformers with Enforced Lipschitz Constantscited by 18
- 2025Softmax is 1/2-Lipschitz: A tight bound across all ℓp normscited by 18
- 2023Mitigating Transformer Overconfidence via Lipschitz Regularizationcited by 15
- 2025Pay Attention to Attention Distribution: A New Local Lipschitz Bound for Transformerscited by 10
- 2025Taming Transformer Without Using Learning Rate Warmupcited by 8
- 2025Approximation theory for 1-Lipschitz ResNetscited by 7
- 2025Pool Me Wisely: On the Effect of Pooling in Transformer-Based Modelscited by 6
- 2024SpecFormer: Guarding Vision Transformer Robustness via Maximum Singular Value Penalizationcited by 5
- 2026Approximation Theory for Lipschitz Continuous Transformerscited by 5
- 2024OCCAM: Towards Cost-Efficient and Accuracy-Aware Classification Inferencecited by 3
- 2024Achieving Domain-Independent Certified Robustness via Knowledge Continuitycited by 3
12 most cited of 30 All 30 (JSON)
- 2026Fitting Is Not Enough: Smoothness in Extremely Quantized LLMs9 May 2026
- 2026Reversible Residual Normalization Alleviates Spatio-Temporal Distribution Shift17 Apr 2026
- 2026Sinkhorn doubly stochastic attention rank decay analysis9 Apr 2026
- 2026LipsAM: Lipschitz-Continuous Amplitude Modifier for Audio Signal Processing and its Application to Plug-and-Play Dereverberation23 Mar 2026
- 2026Exact Attention Sensitivity and the Geometry of Transformer Stability21 Feb 2026
- 2026Approximation Theory for Lipschitz Continuous Transformers17 Feb 2026
- 2026LLM-Inspired Pretrain-Then-Finetune for Small-Data, Large-Scale Optimization3 Feb 2026
- 2025Controlling changes to attention logits26 Nov 2025
- 2025ODE-ViT: Plug & Play Attention Layer from the Generalization of the ViT as an Ordinary Differential Equation20 Nov 2025
- 2025Delving into Cascaded Instability: A Lipschitz Continuity View on Image Restoration and Object Detection Synergy28 Oct 2025
- 2025Softmax is 1/2-Lipschitz: A tight bound across all ℓp norms27 Oct 2025
- 2025Pool Me Wisely: On the Effect of Pooling in Transformer-Based Models2 Oct 2025
12 newest of 30 All 30 (JSON)