mlsanityData to 7 Oct 2026

In-context Learning for Mixture of Linear Regressions: Existence, Generalization and Training Dynamics

arXiv 2410.14183 ↗First posted 18 Oct 2024stat.ML cs.LGcited by 1

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

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
  3. 2022Transformers learn in-context by gradient descentcited by 714
  4. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  5. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
  6. 2020An Efficient Framework for Clustered Federated Learningcited by 505
  7. 2023Trained Transformers Learn Linear Models In-Contextcited by 331
  8. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
  9. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
  10. 2022cosFormer: Rethinking Softmax in Attentioncited by 212
  11. 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 138
  12. 2014Statistical guarantees for the EM algorithm: From population to sample-based analysiscited by 131
23 more
  1. 2023In-Context Convergence of Transformerscited by 112
  2. 2023Uncovering mesa-optimization algorithms in Transformerscited by 94
  3. 2024Training Dynamics of Multi-Head Softmax Attention for In-Context Learning: Emergence, Convergence, and Optimalitycited by 71
  4. 2014Spectral Methods meet EM: A Provably Optimal Algorithm for Crowdsourcingcited by 63
  5. 2023A Study on ReLU and Softmax in Transformercited by 53
  6. 2021Stable, Fast and Accurate: Kernelized Attention with Relative Positional Encodingcited by 50
  7. 2020Meta-learning for mixed linear regressioncited by 44
  8. 2016Ten Steps of EM Suffice for Mixtures of Two Gaussianscited by 40
  9. 2018Singularity, Misspecification, and the Convergence Rate of EMcited by 38
  10. 2016Local Maxima in the Likelihood of Gaussian Mixture Models: Structural Results and Algorithmic Consequencescited by 34
  11. 2016Global analysis of Expectation Maximization for mixtures of two Gaussianscited by 31
  12. 2024In-Context Learning of a Linear Transformer Block: Benefits of the MLP Component and One-Step GD Initializationcited by 30
  13. 2019EM Converges for a Mixture of Many Linear Regressionscited by 27
  14. 2019Randomly initialized EM algorithm for two-component Gaussian mixture achieves near optimality in O(√n) iterationscited by 27
  15. 2019Learning Mixtures of Linear Regressions in Subexponential Time via Fourier Momentscited by 26
  16. 2018Global Convergence of EM Algorithm for Mixtures of Two Component Linear Regressioncited by 25
  17. 2020On the Minimax Optimality of the EM Algorithm for Learning Two-Component Mixed Linear Regressioncited by 24
  18. 2013Spectral Experts for Estimating Mixtures of Linear Regressionscited by 22
  19. 2015Regularized EM Algorithms: A Unified Framework and Statistical Guaranteescited by 19
  20. 2017Estimating the Coefficients of a Mixture of Two Linear Regressions by Expectation Maximizationcited by 19
  21. 2023Transformers can optimally learn regression mixture modelscited by 15
  22. 2021The EM Algorithm is Adaptively-Optimal for Unbalanced Symmetric Gaussian Mixturescited by 6
  23. 2024Toward Global Convergence of Gradient EM for Over-Parameterized Gaussian Mixture Modelscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.