Benign or Not-Benign Overfitting in Token Selection of Attention Mechanism

Modern over-parameterized neural networks can be trained to fit the training data perfectly while still maintaining a high generalization performance. This "benign overfitting" phenomenon has been studied in a surge of recent theoretical work; however, most of these studies have been limit...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Sakamoto, Keitaro, Sato, Issei
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Sakamoto, Keitaro
Sato, Issei
description Modern over-parameterized neural networks can be trained to fit the training data perfectly while still maintaining a high generalization performance. This "benign overfitting" phenomenon has been studied in a surge of recent theoretical work; however, most of these studies have been limited to linear models or two-layer neural networks. In this work, we analyze benign overfitting in the token selection mechanism of the attention architecture, which characterizes the success of transformer models. We first show the existence of a benign overfitting solution and explain its mechanism in the attention architecture. Next, we discuss whether the model converges to such a solution, raising the difficulties specific to the attention architecture. We then present benign overfitting cases and not-benign overfitting cases by conditioning different scenarios based on the behavior of attention probabilities during training. To the best of our knowledge, this is the first study to characterize benign overfitting for the attention mechanism.
doi_str_mv 10.48550/arxiv.2409.17625
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2409_17625</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2409_17625</sourcerecordid><originalsourceid>FETCH-arxiv_primary_2409_176253</originalsourceid><addsrcrecordid>eNpjYJA0NNAzsTA1NdBPLKrILNMzMjGw1DM0NzMy5WTwckrNy0zPU8gvUvDLL9GF8vzLUovSMktKMvPSFTLzFELys1PzFIJTc1KTSzLzgYrTFBxLSlLzwBzf1OSMxLzM4lweBta0xJziVF4ozc0g7-Ya4uyhC7Y1vqAoMzexqDIeZHs82HZjwioAO486Hg</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Benign or Not-Benign Overfitting in Token Selection of Attention Mechanism</title><source>arXiv.org</source><creator>Sakamoto, Keitaro ; Sato, Issei</creator><creatorcontrib>Sakamoto, Keitaro ; Sato, Issei</creatorcontrib><description>Modern over-parameterized neural networks can be trained to fit the training data perfectly while still maintaining a high generalization performance. This "benign overfitting" phenomenon has been studied in a surge of recent theoretical work; however, most of these studies have been limited to linear models or two-layer neural networks. In this work, we analyze benign overfitting in the token selection mechanism of the attention architecture, which characterizes the success of transformer models. We first show the existence of a benign overfitting solution and explain its mechanism in the attention architecture. Next, we discuss whether the model converges to such a solution, raising the difficulties specific to the attention architecture. We then present benign overfitting cases and not-benign overfitting cases by conditioning different scenarios based on the behavior of attention probabilities during training. To the best of our knowledge, this is the first study to characterize benign overfitting for the attention mechanism.</description><identifier>DOI: 10.48550/arxiv.2409.17625</identifier><language>eng</language><subject>Computer Science - Learning</subject><creationdate>2024-09</creationdate><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,777,882</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2409.17625$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2409.17625$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Sakamoto, Keitaro</creatorcontrib><creatorcontrib>Sato, Issei</creatorcontrib><title>Benign or Not-Benign Overfitting in Token Selection of Attention Mechanism</title><description>Modern over-parameterized neural networks can be trained to fit the training data perfectly while still maintaining a high generalization performance. This "benign overfitting" phenomenon has been studied in a surge of recent theoretical work; however, most of these studies have been limited to linear models or two-layer neural networks. In this work, we analyze benign overfitting in the token selection mechanism of the attention architecture, which characterizes the success of transformer models. We first show the existence of a benign overfitting solution and explain its mechanism in the attention architecture. Next, we discuss whether the model converges to such a solution, raising the difficulties specific to the attention architecture. We then present benign overfitting cases and not-benign overfitting cases by conditioning different scenarios based on the behavior of attention probabilities during training. To the best of our knowledge, this is the first study to characterize benign overfitting for the attention mechanism.</description><subject>Computer Science - Learning</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNpjYJA0NNAzsTA1NdBPLKrILNMzMjGw1DM0NzMy5WTwckrNy0zPU8gvUvDLL9GF8vzLUovSMktKMvPSFTLzFELys1PzFIJTc1KTSzLzgYrTFBxLSlLzwBzf1OSMxLzM4lweBta0xJziVF4ozc0g7-Ya4uyhC7Y1vqAoMzexqDIeZHs82HZjwioAO486Hg</recordid><startdate>20240926</startdate><enddate>20240926</enddate><creator>Sakamoto, Keitaro</creator><creator>Sato, Issei</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240926</creationdate><title>Benign or Not-Benign Overfitting in Token Selection of Attention Mechanism</title><author>Sakamoto, Keitaro ; Sato, Issei</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-arxiv_primary_2409_176253</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Learning</topic><toplevel>online_resources</toplevel><creatorcontrib>Sakamoto, Keitaro</creatorcontrib><creatorcontrib>Sato, Issei</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Sakamoto, Keitaro</au><au>Sato, Issei</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Benign or Not-Benign Overfitting in Token Selection of Attention Mechanism</atitle><date>2024-09-26</date><risdate>2024</risdate><abstract>Modern over-parameterized neural networks can be trained to fit the training data perfectly while still maintaining a high generalization performance. This "benign overfitting" phenomenon has been studied in a surge of recent theoretical work; however, most of these studies have been limited to linear models or two-layer neural networks. In this work, we analyze benign overfitting in the token selection mechanism of the attention architecture, which characterizes the success of transformer models. We first show the existence of a benign overfitting solution and explain its mechanism in the attention architecture. Next, we discuss whether the model converges to such a solution, raising the difficulties specific to the attention architecture. We then present benign overfitting cases and not-benign overfitting cases by conditioning different scenarios based on the behavior of attention probabilities during training. To the best of our knowledge, this is the first study to characterize benign overfitting for the attention mechanism.</abstract><doi>10.48550/arxiv.2409.17625</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2409.17625
ispartof
issn
language eng
recordid cdi_arxiv_primary_2409_17625
source arXiv.org
subjects Computer Science - Learning
title Benign or Not-Benign Overfitting in Token Selection of Attention Mechanism
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-18T02%3A37%3A06IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Benign%20or%20Not-Benign%20Overfitting%20in%20Token%20Selection%20of%20Attention%20Mechanism&rft.au=Sakamoto,%20Keitaro&rft.date=2024-09-26&rft_id=info:doi/10.48550/arxiv.2409.17625&rft_dat=%3Carxiv_GOX%3E2409_17625%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true