Paper Overview
Field: Machine Learning Authors: Alexander Hsu, Zhaiming Shen, Wenjing Liao, Rongjie Lai Published: 2026-05-06 arXiv: 2605.05176Abstract
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, the authors study ICL in the nonlinear regression setting.Key Contributions
- Explicitly construct transformer networks that, through the interaction mechanism in attention, realize nonlinear features such as polynomial or spline bases, which span a wide class of functions.
- Establish a framework to analyze end-to-end in-context nonlinear regression using the constructed features.
- Provide finite-sample generalization error bounds in terms of context length and training set size.
- Numerically validate the theory on synthetic regression tasks.
Significance
This work extends ICL theory beyond linear models, offering a constructive perspective on how attention can act as a featurizer for nonlinear regression tasks.--- *Auto-collected on 2026-05-08*