Convergent Stochastic Training of Multi-Headed Attention and Understanding LoRA

Zhengkai Sun, Dibyakanti Kumar, Alejandro F Frangi, Anirbit Mukherjee, Mingfei Sun
5/8/2026
cs.LGmath.FAmath.PR
transformer-attentionlora-peft-merging

No confident code implementation found for this paper.

Abstract

Transformers have revolutionized machine learning and deploying attention layers in the model is increasingly standard across a myriad of applications. Further, for large models, it is common to implement Low Rank Adaptation (LoRA), whereby a factorized parameterization of them is trained, to achieve a surprisingly beneficial accuracy-size trade-off.

Show full abstract

In this work, via a unified framework we rigorously establish trainability of such models under stochastic methods. We prove that for a class of mild regularizations, the empirical regression loss on a attention layer and LoRA on a shallow neural net, both induce Poincaré inequality for the corresponding Gibbs' measure. Crucially, we show that the Poincaré constant is free of the data dimension for LoRA and for multi-head attention it is free of the head dimensions, Then it follows, via invoking recent results, that a certain SDE, which mimics the SGD, minimizes the corresponding losses. In both the cases, our first-of-its-kind results of trainability on attention and nets, do not use any assumptions on the data or the model size.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sun2026convergent,
  title  = {Convergent Stochastic Training of Multi-Headed Attention and Understanding LoRA},
  author = {Zhengkai Sun and Dibyakanti Kumar and Alejandro F Frangi and Anirbit Mukherjee and Mingfei Sun},
  year   = {2026},
  eprint = {2605.07959},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.07959v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.07959.svg)](https://codeofpaper.com/paper/2605.07959)

Discussion