Mathematical foundations of machine learning最新文献

筛选
英文 中文
Exact sequence interpolation with transformers. 精确序列插值与变压器。
Mathematical foundations of machine learning Pub Date : 2026-01-01 Epub Date: 2026-05-11 DOI: 10.1007/s44439-026-00005-y
Albert Alcalde, Giovanni Fantuzzi, Enrique Zuazua
{"title":"Exact sequence interpolation with transformers.","authors":"Albert Alcalde, Giovanni Fantuzzi, Enrique Zuazua","doi":"10.1007/s44439-026-00005-y","DOIUrl":"10.1007/s44439-026-00005-y","url":null,"abstract":"<p><p>We prove that transformers can exactly interpolate datasets of finite input sequences in <math> <msup><mrow><mi>R</mi></mrow> <mi>d</mi></msup> </math> , <math><mrow><mi>d</mi> <mo>≥</mo> <mn>2</mn></mrow> </math> , with corresponding output sequences of smaller or equal length. Specifically, given <i>N</i> sequences of arbitrary but finite lengths in <math> <msup><mrow><mi>R</mi></mrow> <mi>d</mi></msup> </math> and output sequences of lengths <math> <mrow><msup><mi>m</mi> <mn>1</mn></msup> <mo>,</mo> <mo>⋯</mo> <mo>,</mo> <msup><mi>m</mi> <mi>N</mi></msup> <mo>∈</mo> <mi>N</mi></mrow> </math> , we construct a transformer with <math><mrow><mi>O</mi> <mo>(</mo> <msubsup><mo>∑</mo> <mrow><mi>j</mi> <mo>=</mo> <mn>1</mn></mrow> <mi>N</mi></msubsup> <msup><mi>m</mi> <mi>j</mi></msup> <mo>)</mo></mrow> </math> blocks and <math><mpadded><mi>O</mi> <mo>(</mo> <mi>d</mi> <msubsup><mo>∑</mo> <mrow><mi>j</mi> <mo>=</mo> <mn>1</mn></mrow> <mi>N</mi></msubsup> <msup><mi>m</mi> <mi>j</mi></msup> <mo>)</mo></mpadded> </math> parameters that exactly interpolates the dataset. Our construction provides complexity estimates that are independent of the input sequence length, by alternating feed-forward and self-attention layers and by capitalizing on the clustering effect inherent to the latter. Our novel constructive method also uses low-rank parameter matrices in the self-attention mechanism, a common feature of practical transformer implementations. These results are first established in the hardmax self-attention setting, where the geometric structure permits an explicit and quantitative analysis, and are then extended to the softmax setting. Finally, we demonstrate the applicability of our exact interpolation construction to learning problems, in particular by providing convergence guarantees to a global minimizer under regularized training strategies. Our analysis contributes to the theoretical understanding of transformer models, offering an explanation for their excellent performance in exact sequence-to-sequence interpolation tasks.</p>","PeriodicalId":523866,"journal":{"name":"Mathematical foundations of machine learning","volume":"2 1","pages":"2"},"PeriodicalIF":0.0,"publicationDate":"2026-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13192370/pdf/","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"148020562","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书