mlsanityData to 14 Oct 2026

Implicit Optimization Bias of Next-Token Prediction in Linear Models

arXiv 2402.18551 ↗First posted 28 Feb 2024cs.LG cs.CL stat.MLcited by 14

Not on the map. Why?

Abstract (arXiv)

We initiate an investigation into the optimization properties of next-token prediction (NTP), the dominant training paradigm for modern language models. Specifically, we study the structural properties of the solutions selected by gradient-based optimizers among the many possible minimizers of the NTP objective. By framing NTP as cross-entropy minimization across distinct contexts, each tied with a sparse conditional probability distribution across a finite vocabulary of tokens, we introduce "NTP-separability conditions" that enable reaching the data-entropy lower bound. With this setup, and focusing on linear models with fixed context embeddings, we characterize the optimization bias of gradient descent (GD): Within the data subspace defined by the sparsity patterns of distinct contexts, GD selects parameters that equate the logits' differences of in-support tokens to their log-odds. In the orthogonal subspace, the GD parameters diverge in norm and select the direction that maximizes a margin specific to NTP. These findings extend previous research on implicit bias in one-hot classification to the NTP setting, highlighting key differences and prompting further research into the optimization and generalization properties of NTP, irrespective of the specific architecture used to generate the context embeddings.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 72 of its 103 references that are in the map. First posted on arXiv 28 Feb 2024.

Builds on

72 of 103 references.

References · 72

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  4. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  5. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  7. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  8. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  9. 2016Understanding deep learning requires rethinking generalizationcited by 1,674
  10. 2022Transformers learn in-context by gradient descentcited by 732
  11. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  12. 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
38 more
  1. 2019Benign Overfitting in Linear Regressioncited by 549
  2. 2019Surprises in High-Dimensional Ridgeless Least Squares Interpolationcited by 513
  3. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
  4. 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 342
  5. 2019Gradient Descent Maximizes the Margin of Homogeneous Neural Networkscited by 320
  6. 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
  7. 2018Characterizing Implicit Bias in Terms of Optimization Geometrycited by 266
  8. 2018Implicit Bias of Gradient Descent on Linear Convolutional Networkscited by 251
  9. 2019Human uncertainty makes classification more robustcited by 235
  10. 2020Directional convergence and alignment in deep learningcited by 178
  11. 2023A mathematical perspective on Transformerscited by 164
  12. 2022Towards Understanding Sharpness-Aware Minimizationcited by 146
  13. 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
  14. 2018Fast and Faster Convergence of SGD for Over-Parameterized Models and an Accelerated Perceptroncited by 143
  15. 2020Neural collapse with unconstrained featurescited by 142
  16. 2021Label Noise SGD Provably Prefers Flat Global Minimizerscited by 121
  17. 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 118
  18. 2018Convergence of Gradient Descent on Separable Datacited by 110
  19. 2021Implicit Bias of SGD for Diagonal Linear Networks: a Provable Benefit of Stochasticitycited by 110
  20. 2021What Happens after SGD Reaches Zero Loss? --A Mathematical Frameworkcited by 107
  21. 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 102
  22. 2020Classification vs regression in overparameterized regimes: Does the loss function matter?cited by 97
  23. 2018Does data interpolation contradict statistical optimality?cited by 95
  24. 2018Risk and parameter convergence of logistic regressioncited by 85
  25. 2022Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Modelscited by 84
  26. 2018A modern maximum-likelihood theory for high-dimensional logistic regressioncited by 81
  27. 2019A Model of Double Descent for High-dimensional Binary Linear Classificationcited by 81
  28. 2021Label-Imbalanced and Group-Sensitive Classification under Overparameterizationcited by 74
  29. 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 67
  30. 2018Stochastic Gradient Descent on Separable Data: Exact Convergence with a Fixed Learning Ratecited by 64
  31. 2020The role of regularization in classification of high-dimensional noisy Gaussian mixturecited by 63
  32. 2020Gradient descent follows the regularization path for general lossescited by 59
  33. 2021Uniform Convergence of Interpolators: Gaussian Width, Norm Bounds, and Benign Overfittingcited by 54
  34. 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
  35. 2020Precise Statistical Analysis of Classification Accuracies for Adversarial Trainingcited by 50
  36. 2023On the Role of Attention in Prompt-tuningcited by 50
  37. 2021Risk Bounds for Over-parameterized Maximum Margin Classification on Sub-Gaussian Mixturescited by 49
  38. 2021On the Expressive Power of Self-Attention Matricescited by 47

50 most cited of 72 All 72 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 6; 2026: 3.

14 papers.

Sort:

By area: