AI RESEARCH

Finite-Time Analysis of Gradient Descent for Shallow Transformers

arXiv CS.LG

ArXi:2601.16514v2 Announce Type: replace Understanding why Transformers perform so well remains challenging due to their non-convex optimization landscape. In this work, we analyze a shallow Transformer with $m$ independent heads trained by projected gradient descent in the kernel regime. Our analysis reveals two main findings: (i) the width required for nonasymptotic guarantees scales only logarithmically with the sample size $n$, and (ii) the optimization error is independent of the sequence length $T.