mlsanityData to 7 Oct 2026

Understanding Optimization of Deep Learning via Jacobian Matrix and Lipschitz Constant

arXiv 2306.09338 ↗First posted 15 Jun 2023cs.LG cs.CV math.OCcited by 0

Not on the map. Why?

Abstract (arXiv)

This article provides a comprehensive understanding of optimization in deep learning, with a primary focus on the challenges of gradient vanishing and gradient exploding, which normally lead to diminished model representational ability and training instability, respectively. We analyze these two challenges through several strategic measures, including the improvement of gradient flow and the imposition of constraints on a network's Lipschitz constant. To help understand the current optimization methodologies, we categorize them into two classes: explicit optimization and implicit optimization. Explicit optimization methods involve direct manipulation of optimizer parameters, including weight, gradient, learning rate, and weight decay. Implicit optimization methods, by contrast, focus on improving the overall landscape of a network by enhancing its modules, such as residual shortcuts, normalization methods, attention mechanisms, and activations. In this article, we provide an in-depth analysis of these two optimization classes and undertake a thorough examination of the Jacobian matrices and the Lipschitz constants of many widely used deep learning modules, highlighting existing issues as well as potential improvements. Moreover, we also conduct a series of analytical experiments to substantiate our theoretical discussions. This article does not aim to propose a new optimizer or network. Rather, our intention is to present a comprehensive understanding of optimization in deep learning. We hope that this article will assist readers in gaining a deeper insight in this field and encourages the development of more robust, efficient, and high-performing models.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 63 of its 100 references that are in the map. First posted on arXiv 15 Jun 2023.

Builds on

63 of 100 references.

References · 63

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  6. 2023GPT-4 Technical Reportcited by 18,132
  7. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  8. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  9. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  10. 2020End-to-End Object Detection with Transformerscited by 7,384
  11. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  12. 2016Densely Connected Convolutional Networkscited by 6,691
38 more
  1. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  2. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  3. 2016Layer Normalizationcited by 5,579
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  5. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  6. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  7. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  8. 2014Going Deeper with Convolutionscited by 4,231
  9. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
  10. 2022A ConvNet for the 2020scited by 3,545
  11. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  12. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  13. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  14. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  15. 2022Emergent Abilities of Large Language Modelscited by 2,483
  16. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  17. 2016Identity Mappings in Deep Residual Networkscited by 1,960
  18. 2020GLU Variants Improve Transformercited by 1,724
  19. 2018Group Normalizationcited by 1,514
  20. 2019Root Mean Square Layer Normalizationcited by 1,425
  21. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
  22. 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,187
  23. 2016Optimization Methods for Large-Scale Machine Learningcited by 1,140
  24. 2017Mixed Precision Trainingcited by 1,135
  25. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  26. 2020On Layer Normalization in the Transformer Architecturecited by 906
  27. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
  28. 2019On the Convergence of Adam and Beyondcited by 834
  29. 2020Efficient Transformers: A Surveycited by 784
  30. 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 748
  31. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
  32. 2014Convex Optimization: Algorithms and Complexitycited by 569
  33. 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 561
  34. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
  35. 2016Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networkscited by 541
  36. 2021A Survey of Transformerscited by 399
  37. 2018How Does Batch Normalization Help Optimization?cited by 355
  38. 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 260

50 most cited of 63 All 63 (JSON)

Built on by

Not cited yet.