In-context Learning for Mixture of Linear Regressions: Existence, Generalization and Training Dynamics
Not on the map. Why?
Abstract (arXiv)
We investigate the in-context learning capabilities of transformers for the d-dimensional mixture of linear regression model, providing theoretical insights into their existence, generalization bounds, and training dynamics. Specifically, we prove that there exists a transformer capable of achieving a prediction error of order O(√d/n) with high probability, where n represents the training prompt size in the high signal-to-noise ratio (SNR) regime. Moreover, we derive in-context excess risk bounds of order O(L/√B) for the case of two mixtures, where B denotes the number of training prompts, and L represents the number of attention layers. The dependence of L on the SNR is explicitly characterized, differing between low and high SNR settings. We further analyze the training dynamics of transformers with single linear self-attention layers, demonstrating that, with appropriately initialized parameters, gradient flow optimization over the population mean square loss converges to a global optimum. Extensive simulations suggest that transformers perform well on this task, potentially outperforming other baselines, such as the Expectation-Maximization algorithm.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 35 of its 51 references that are in the map. First posted on arXiv 18 Oct 2024.
Builds on
35 of 51 references.
References · 35
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2020An Efficient Framework for Clustered Federated Learningcited by 505
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2022cosFormer: Rethinking Softmax in Attentioncited by 212
- 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 138
- 2014Statistical guarantees for the EM algorithm: From population to sample-based analysiscited by 131
23 more
- 2023In-Context Convergence of Transformerscited by 112
- 2023Uncovering mesa-optimization algorithms in Transformerscited by 94
- 2024Training Dynamics of Multi-Head Softmax Attention for In-Context Learning: Emergence, Convergence, and Optimalitycited by 71
- 2014Spectral Methods meet EM: A Provably Optimal Algorithm for Crowdsourcingcited by 63
- 2023A Study on ReLU and Softmax in Transformercited by 53
- 2021Stable, Fast and Accurate: Kernelized Attention with Relative Positional Encodingcited by 50
- 2020Meta-learning for mixed linear regressioncited by 44
- 2016Ten Steps of EM Suffice for Mixtures of Two Gaussianscited by 40
- 2018Singularity, Misspecification, and the Convergence Rate of EMcited by 38
- 2016Local Maxima in the Likelihood of Gaussian Mixture Models: Structural Results and Algorithmic Consequencescited by 34
- 2016Global analysis of Expectation Maximization for mixtures of two Gaussianscited by 31
- 2024In-Context Learning of a Linear Transformer Block: Benefits of the MLP Component and One-Step GD Initializationcited by 30
- 2019EM Converges for a Mixture of Many Linear Regressionscited by 27
- 2019Randomly initialized EM algorithm for two-component Gaussian mixture achieves near optimality in O(√n) iterationscited by 27
- 2019Learning Mixtures of Linear Regressions in Subexponential Time via Fourier Momentscited by 26
- 2018Global Convergence of EM Algorithm for Mixtures of Two Component Linear Regressioncited by 25
- 2020On the Minimax Optimality of the EM Algorithm for Learning Two-Component Mixed Linear Regressioncited by 24
- 2013Spectral Experts for Estimating Mixtures of Linear Regressionscited by 22
- 2015Regularized EM Algorithms: A Unified Framework and Statistical Guaranteescited by 19
- 2017Estimating the Coefficients of a Mixture of Two Linear Regressions by Expectation Maximizationcited by 19
- 2023Transformers can optimally learn regression mixture modelscited by 15
- 2021The EM Algorithm is Adaptively-Optimal for Unbalanced Symmetric Gaussian Mixturescited by 6
- 2024Toward Global Convergence of Gradient EM for Over-Parameterized Gaussian Mixture Modelscited by 6
Built on by
Citing papers per year: 2026: 1.
1 paper.