paper-with-me

홈 › Papers

Implicit Bias and Fast Convergence Rates for Self-attention

2024-02-08 · Bhavya Vasudeva, Puneesh Deora, Christos Thrampoulidis

We study the fundamental optimization principles of self-attention, the defining mechanism of transformers, by analyzing the implicit bias of gradient-based optimizers in training a self-attention layer with a linear decoder in binary classification. Building on prior studies in linear logistic regression, recent findings demonstrate that the key-query matrix $W_t$ from gradient-descent (GD) converges in direction towards $W_{mm}$, which maximizes the margin between optimal and non-optimal tokens across sequences. However, this convergence is local, dependent on initial conditions, only holds asymptotically as the number of iterations increases, and leaves questions about the potential benefits of adaptive step-size rules unaddressed. To bridge this gap, we first establish scenarios for which convergence is provably \emph{global}. We then analyze two adaptive step-size strategies: normalized GD and Polyak step-size, demonstrating \emph{finite-time} convergence rates for $W_t$ to $W_{mm}$, and quantifying the sparsification rate of the attention map. These findings not only show that these strategies can accelerate parameter convergence over standard GD in a non-convex setting but also deepen the understanding of the implicit bias in self-attention, linking it more closely to the phenomena observed in linear logistic regression despite its intricate non-convex nature.

📄 PDF Abstract BibTeX arXiv:2402.05738

Code (0)

등록된 구현이 없습니다.

Tasks

Binary ClassificationDecoderregression

Methods 이 논문이 사용한 방법론

SVM A Support Vector Machine, or SVM, is a non-parametric supervised learning model. For non-linear classification and regression, they utilise the kernel trick to map inputs…
Logistic Regression Logistic Regression, despite its name, is a linear model for classification rather than regression. Logistic regression is also known in the literature as logit regression,…

Similar Papers 제목 키워드 기반

Faster Margin Maximization Rates for Generic and Adversarially Robust Optimization Methods

2023-05-27 · NeurIPS 2023 11 · Guanghui Wang, Zihao Hu, Claudio Gentile, Vidya Muthukumar 외

First-order optimization methods tend to inherently favor certain solutions over others when minimizing an underdetermined training objective that has multiple global optima. This phenomenon, known as implicit bias, play…

Binary Classification

Beyond Least-Squares: Fast Rates for Regularized Empirical Risk Minimization through Self-Concordance

2019-02-08 · Ulysse Marteau-Ferey, Dmitrii Ostrovskii, Francis Bach, Alessandro Rudi

We consider learning methods based on the regularization of a convex empirical risk by a squared Hilbertian norm, a setting that includes linear predictors and non-linear predictors through positive-definite kernels. In …

regression

Conflicting Biases at the Edge of Stability: Norm versus Sharpness Regularization

2025-05-27 · Vit Fojtik, Maria Matveev, Hung-Hsu Chou, Gitta Kutyniok 외

A widely believed explanation for the remarkable generalization capacities of overparameterized neural networks is that the optimization algorithms used for training induce an implicit bias towards benign solutions. To g…

Characterizing the implicit bias via a primal-dual analysis

2019-06-11 · Ziwei Ji, Matus Telgarsky

This paper shows that the implicit bias of gradient descent on linearly separable data is exactly characterized by the optimal solution of a dual optimization problem given by a smoothed margin, even for general losses. …

Implicit Regularization Effects of Unbiased Random Label Noises with SGD

2021-01-01 · Haoyi Xiong, Xuhong LI, Boyang Yu, Dejing Dou 외

Random label noises (or observational noises) widely exist in practical machinelearning settings. we analyze the learning dynamics of stochastic gradient descent(SGD) over the quadratic loss with unbiased label noises, a…