mlsanityData to 14 Oct 2026

Convexifying Transformers: Improving optimization and understanding of transformer networks

arXiv 2211.11052 ↗First posted 20 Nov 2022cs.LG cs.AI cs.CLcited by 12

Not on the map. Why?

Abstract (arXiv)

Understanding the fundamental mechanism behind the success of transformer networks is still an open problem in the deep learning literature. Although their remarkable performance has been mostly attributed to the self-attention mechanism, the literature still lacks a solid analysis of these networks and interpretation of the functions learned by them. To this end, we study the training problem of attention/transformer networks and introduce a novel convex analytic approach to improve the understanding and optimization of these networks. Particularly, we first introduce a convex alternative to the self-attention mechanism and reformulate the regularized training problem of transformer networks with our alternative convex attention. Then, we cast the reformulation as a convex optimization problem that is interpretable and easier to optimize. Moreover, as a byproduct of our convex analysis, we reveal an implicit regularization mechanism, which promotes sparsity across tokens. Therefore, we not only improve the optimization of attention/transformer networks but also provide a solid theoretical understanding of the functions learned by them. We also demonstrate the effectiveness of our theory through several numerical experiments.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 31 of its 41 references that are in the map. First posted on arXiv 20 Nov 2022.

Builds on

31 of 41 references.

References · 31

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  4. 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,908
  5. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  6. 2021Convex optimizationcited by 2,515
  7. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
  8. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  9. 2018Neural Network Acceptability Judgmentscited by 958
  10. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  11. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
  12. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
19 more
  1. 2021MetaFormer Is Actually What You Need for Visioncited by 524
  2. 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
  3. 2021Pay Attention to MLPscited by 368
  4. 2021FNet: Mixing Tokens with Fourier Transformscited by 347
  5. 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 342
  6. 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 339
  7. 2014Breaking the Curse of Dimensionality with Convex Neural Networkscited by 331
  8. 2021Global Filter Networks for Image Classificationcited by 260
  9. 2021Adaptive Fourier Neural Operators: Efficient Token Mixers for Transformerscited by 248
  10. 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 187
  11. 2019How do infinite width bounded norm networks look in function space?cited by 106
  12. 2020Neural Networks are Convex Regularizers: Exact Polynomial-time Convex Optimization Formulations for Two-layer Networkscited by 98
  13. 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 94
  14. 2021Is Attention Better Than Matrix Decomposition?cited by 77
  15. 2019Attention Interpretability Across NLP Taskscited by 71
  16. 2020Convex Geometry and Duality of Over-parameterized Neural Networkscited by 49
  17. 2022Fast Convex Optimization for Two-Layer ReLU Networks: Equivalent Model Classes and Cone Decompositionscited by 31
  18. 2022Unraveling Attention via Convex Duality: Analysis and Interpretations of Vision Transformerscited by 30
  19. 2022LM-Debugger: An Interactive Tool for Inspection and Intervention in Transformer-Based Language Modelscited by 28

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 7; 2024: 3; 2025: 1; 2026: 1.

12 papers.