{"id":"arxiv/2605.05176","url":"https://arxiv.org/abs/2605.05176","tags":["cs.LG","math.NA"],"score":0,"title":"Understanding In-Context Learning for Nonlinear Regression with Transformers: Attention as Featurizer","domain":"cs.LG","source":"arxiv","authors":["Alexander Hsu","Zhaiming Shen","Wenjing Liao","Rongjie Lai"],"reviews":0,"subject":"cs.LG","summary":"Pre-trained transformers are able to learn from examples provided as part of the prompt without any weight updates, a remarkable ability known as in-context learning (ICL). Despite its demonstrated efficacy across various domains, the theoretical understanding of ICL is still developing. Whereas most existing theory has focused on linear models, we study ICL in the nonlinear regression setting. Through the interaction mechanism in attention, we explicitly construct transformer networks to realize nonlinear features, such as polynomial or spline bases, which span a wide class of functions.…","category":"research","comments":0,"disputed":false,"division":"cs","mentions":0,"discussed":0,"published":"2026-05-06","reactions":{}}