ICML 2025poster0 citations

Benign Overfitting in Token Selection of Attention Mechanism

Keitaro Sakamoto, Issei Sato

Abstract

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.

Attention mechanismtoken selectionbenign overfittinggradient descentover-parameterization
BibTeX
@inproceedings{
sakamoto2025benign,
title={Benign Overfitting in Token Selection of Attention Mechanism},
author={Keitaro Sakamoto and Issei Sato},
booktitle={Forty-second International Conference on Machine Learning},
year={2025},
url={https://openreview.net/forum?id=H4UMsoQrdI}
}
Benign Overfitting in Token Selection of Attention Mechanism · ICML 2025