Implicit Optimization Bias of Next-Token Prediction in Linear Models
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
- 2017Attention Is All You Needcited by 60,361
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2016Understanding deep learning requires rethinking generalizationcited by 1,674
- 2022Transformers learn in-context by gradient descentcited by 732
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
38 more
- 2019Benign Overfitting in Linear Regressioncited by 549
- 2019Surprises in High-Dimensional Ridgeless Least Squares Interpolationcited by 513
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
- 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 342
- 2019Gradient Descent Maximizes the Margin of Homogeneous Neural Networkscited by 320
- 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
- 2018Characterizing Implicit Bias in Terms of Optimization Geometrycited by 266
- 2018Implicit Bias of Gradient Descent on Linear Convolutional Networkscited by 251
- 2019Human uncertainty makes classification more robustcited by 235
- 2020Directional convergence and alignment in deep learningcited by 178
- 2023A mathematical perspective on Transformerscited by 164
- 2022Towards Understanding Sharpness-Aware Minimizationcited by 146
- 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
- 2018Fast and Faster Convergence of SGD for Over-Parameterized Models and an Accelerated Perceptroncited by 143
- 2020Neural collapse with unconstrained featurescited by 142
- 2021Label Noise SGD Provably Prefers Flat Global Minimizerscited by 121
- 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 118
- 2018Convergence of Gradient Descent on Separable Datacited by 110
- 2021Implicit Bias of SGD for Diagonal Linear Networks: a Provable Benefit of Stochasticitycited by 110
- 2021What Happens after SGD Reaches Zero Loss? --A Mathematical Frameworkcited by 107
- 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 102
- 2020Classification vs regression in overparameterized regimes: Does the loss function matter?cited by 97
- 2018Does data interpolation contradict statistical optimality?cited by 95
- 2018Risk and parameter convergence of logistic regressioncited by 85
- 2022Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Modelscited by 84
- 2018A modern maximum-likelihood theory for high-dimensional logistic regressioncited by 81
- 2019A Model of Double Descent for High-dimensional Binary Linear Classificationcited by 81
- 2021Label-Imbalanced and Group-Sensitive Classification under Overparameterizationcited by 74
- 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 67
- 2018Stochastic Gradient Descent on Separable Data: Exact Convergence with a Fixed Learning Ratecited by 64
- 2020The role of regularization in classification of high-dimensional noisy Gaussian mixturecited by 63
- 2020Gradient descent follows the regularization path for general lossescited by 59
- 2021Uniform Convergence of Interpolators: Gaussian Width, Norm Bounds, and Benign Overfittingcited by 54
- 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
- 2020Precise Statistical Analysis of Classification Accuracies for Adversarial Trainingcited by 50
- 2023On the Role of Attention in Prompt-tuningcited by 50
- 2021Risk Bounds for Over-parameterized Maximum Margin Classification on Sub-Gaussian Mixturescited by 49
- 2021On the Expressive Power of Self-Attention Matricescited by 47
50 most cited of 72 All 72 (JSON)
Built on by
Citing papers per year: 2024: 5; 2025: 6; 2026: 3.
14 papers.
Sort:
By area:
- 2025Implicit Bias of Spectral Descent and Muon on Multiclass Separable Datacited by 41
- 2024Implicit Geometry of Next-token Prediction: From Language Sparsity Patterns to Model Representationscited by 24
- 2024Trained Transformer Classifiers Generalize and Exhibit Benign Overfitting In-Contextcited by 15
- 2024Unifying Low Dimensional Spectra in Deep Learningcited by 11
- 2025Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformerscited by 10
- 2024Training Dynamics of Transformers to Recognize Word Co-occurrence via Gradient Flow Analysiscited by 9
- 2024Optimizing Attention with Mirror Descent: Generalized Max-Margin Token Selectioncited by 9
- 2026Towards Understanding Steering Strengthcited by 3
- 2025Towards Understanding Transformers in Learning Random Walkscited by 2
- 2026Structure Before Collapse: Transient semantic geometry in next-token predictioncited by 2
- 2025Ensemble Debiasing Across Class and Sample Levels for Fairer Prompting Accuracycited by 1
- 2025On Next-Token Prediction in LLMs: How End Goals Determine the Consistency of Decoding Algorithmscited by 1
- 2026Self-Improving is Often Sudden: Enlightenment-style Finetuning for Large-Scale Models15 Jul 2026
- 2026Structure Before Collapse: Transient semantic geometry in next-token prediction25 Jun 2026
- 2026Towards Understanding Steering Strength2 Feb 2026
- 2025Towards Understanding Transformers in Learning Random Walks28 Nov 2025
- 2025Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformers21 May 2025
- 2025How Transformers Learn In-Context Recall Tasks? Optimality, Training Dynamics and Generalization21 May 2025
- 2025On Next-Token Prediction in LLMs: How End Goals Determine the Consistency of Decoding Algorithms16 May 2025
- 2025Ensemble Debiasing Across Class and Sample Levels for Fairer Prompting Accuracy7 Mar 2025
- 2025Implicit Bias of Spectral Descent and Muon on Multiclass Separable Data7 Feb 2025
- 2024Optimizing Attention with Mirror Descent: Generalized Max-Margin Token Selection18 Oct 2024
- 2024Training Dynamics of Transformers to Recognize Word Co-occurrence via Gradient Flow Analysis12 Oct 2024
- 2024Trained Transformer Classifiers Generalize and Exhibit Benign Overfitting In-Context2 Oct 2024
- 2025Implicit Bias of Spectral Descent and Muon on Multiclass Separable Datacited by 41
- 2024Implicit Geometry of Next-token Prediction: From Language Sparsity Patterns to Model Representationscited by 24
- 2024Trained Transformer Classifiers Generalize and Exhibit Benign Overfitting In-Contextcited by 15
- 2024Unifying Low Dimensional Spectra in Deep Learningcited by 11
- 2025Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformerscited by 10
- 2024Training Dynamics of Transformers to Recognize Word Co-occurrence via Gradient Flow Analysiscited by 9
- 2024Optimizing Attention with Mirror Descent: Generalized Max-Margin Token Selectioncited by 9
- 2026Towards Understanding Steering Strengthcited by 3
- 2025Towards Understanding Transformers in Learning Random Walkscited by 2
- 2026Structure Before Collapse: Transient semantic geometry in next-token predictioncited by 2
- 2025Ensemble Debiasing Across Class and Sample Levels for Fairer Prompting Accuracycited by 1
- 2025On Next-Token Prediction in LLMs: How End Goals Determine the Consistency of Decoding Algorithmscited by 1
12 most cited of 13 All 13 (JSON)
- 2026Structure Before Collapse: Transient semantic geometry in next-token prediction25 Jun 2026
- 2026Towards Understanding Steering Strength2 Feb 2026
- 2025Towards Understanding Transformers in Learning Random Walks28 Nov 2025
- 2025Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformers21 May 2025
- 2025How Transformers Learn In-Context Recall Tasks? Optimality, Training Dynamics and Generalization21 May 2025
- 2025On Next-Token Prediction in LLMs: How End Goals Determine the Consistency of Decoding Algorithms16 May 2025
- 2025Ensemble Debiasing Across Class and Sample Levels for Fairer Prompting Accuracy7 Mar 2025
- 2025Implicit Bias of Spectral Descent and Muon on Multiclass Separable Data7 Feb 2025
- 2024Optimizing Attention with Mirror Descent: Generalized Max-Margin Token Selection18 Oct 2024
- 2024Training Dynamics of Transformers to Recognize Word Co-occurrence via Gradient Flow Analysis12 Oct 2024
- 2024Trained Transformer Classifiers Generalize and Exhibit Benign Overfitting In-Context2 Oct 2024
- 2024Implicit Geometry of Next-token Prediction: From Language Sparsity Patterns to Model Representations27 Aug 2024
12 newest of 13 All 13 (JSON)