paper-with-me

Papers

Benign Overfitting in Token Selection of Attention Mechanism

2024-09-26 · Keitaro Sakamoto, Issei Sato

Attention mechanism is a fundamental component of the transformer model and plays a significant role in its success. However, the theoretical understanding of how attention learns to select tokens is still an emerging area of research. In this work, we study the training dynamics and generalization ability of the attention mechanism under classification problems with label noise. We show that, with the characterization of signal-to-noise ratio (SNR), the token selection of attention mechanism achieves benign overfitting, i.e., maintaining high generalization performance despite fitting label noise. Our work also demonstrates an interesting delayed acquisition of generalization after an initial phase of overfitting. Finally, we provide experiments to support our theoretical analysis using both synthetic and real-world datasets.

📄 PDF Abstract BibTeX arXiv:2409.17625

Code (1)

keitaroskmt/benign-attention 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Benign Overfitting in Single-Head Attention

2024-10-10 · Roey Magen, Shuning Shang, Zhiwei Xu, Spencer Frei 외

The phenomenon of benign overfitting, where a trained neural network perfectly fits noisy training data but still achieves near-optimal test performance, has been extensively studied in recent years for linear models and…

Implicit Regularization Leads to Benign Overfitting for Sparse Linear Regression

2023-02-01 · Mo Zhou, Rong Ge

In deep learning, often the training process finds an interpolator (a solution with 0 training loss), but the test loss is still low. This phenomenon, known as benign overfitting, is a major mystery that received a lot o…

regression

Benign-Overfitting in Conditional Average Treatment Effect Prediction with Linear Regression

2022-02-10 · Masahiro Kato, Masaaki Imaizumi

We study the benign overfitting theory in the prediction of the conditional average treatment effect (CATE), with linear regression models. As the development of machine learning for causal inference, a wide range of lar…

Causal Inferenceregression

The Implicit Bias of Benign Overfitting

2022-01-27 · Ohad Shamir

The phenomenon of benign overfitting, where a predictor perfectly fits noisy training data while attaining near-optimal expected loss, has received much attention in recent years, but still remains not fully understood b…

regression

Universality of Benign Overfitting in Binary Linear Classification

2025-01-17 · Ichiro Hashimoto, Stanislav Volgushev, Piotr Zwiernik

The practical success of deep learning has led to the discovery of several surprising phenomena. One of these phenomena, that has spurred intense theoretical research, is ``benign overfitting'': deep neural networks seem…

Classification