mlsanityData to 7 Oct 2026

Understanding Scaling Laws with Statistical and Approximation Theory for Transformer Neural Networks on Intrinsically Low-dimensional Data

arXiv 2411.06646 ↗First posted 11 Nov 2024cs.LG cs.AI cs.CLcited by 30

Not on the map. Why?

Abstract (arXiv)

When training deep neural networks, a model's generalization error is often observed to follow a power scaling law dependent both on the model size and the data size. Perhaps the best known example of such scaling laws are for transformer-based large language models, where networks with billions of parameters are trained on trillions of tokens of text. Yet, despite sustained widespread interest, a rigorous understanding of why transformer scaling laws exist is still missing. To answer this question, we establish novel statistical estimation and mathematical approximation theories for transformers when the input data are concentrated on a low-dimensional manifold. Our theory predicts a power law between the generalization error and both the training data size and the network size for transformers, where the power depends on the intrinsic dimension d of the training data. Notably, the constructed model architecture is shallow, requiring only logarithmic depth in d. By leveraging low-dimensional data structures under a manifold hypothesis, we are able to explain transformer scaling laws in a way which respects the data geometry. Moreover, we test our theory with empirical observation by training LLMs on natural language datasets. We find the observed empirical data scaling laws closely agree with our theoretical predictions. Taken together, these results rigorously show the intrinsic dimension of data to be a crucial quantity affecting transformer scaling laws in both theory and practice.

Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). Builds on 33 of its 58 references that are in the map. First posted on arXiv 11 Nov 2024.

Builds on

33 of 58 references.

References · 33

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  3. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  6. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  7. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  8. 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 732
  9. 2013Speech Recognition with Deep Recurrent Neural Networkscited by 666
  10. 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
  11. 2016Error bounds for approximations with deep ReLU networkscited by 567
  12. 2017Deep Learning Scaling is Predictable, Empiricallycited by 556
21 more
  1. 2017Nonparametric regression using deep neural networks with ReLU activation functioncited by 431
  2. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
  3. 2022The Stack: 3 TB of permissively licensed source codecited by 354
  4. 2021Explaining Neural Scaling Lawscited by 353
  5. 2016Deep Reinforcement Learning for Robotic Manipulation with Asynchronous Off-Policy Updatescited by 342
  6. 2021The Intrinsic Dimension of Images and Its Impact on Learningcited by 307
  7. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
  8. 2019A Constructive Prediction of the Generalization Error Across Scalescited by 202
  9. 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
  10. 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 101
  11. 2022Vision Transformers provably learn spatial structurecited by 92
  12. 2024Transformers, parallel computation, and logarithmic depthcited by 75
  13. 2019Nonparametric Regression on Low-Dimensional Manifolds using Deep ReLU Networks : Function Approximation and Statistical Recoverycited by 73
  14. 2018Fast convergence rates of deep neural networks for classificationcited by 46
  15. 2019Approximation and Non-parametric Estimation of ResNet-type Convolutional Neural Networkscited by 40
  16. 2024On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs)cited by 39
  17. 2023The Shape of Learning: Anisotropy and Intrinsic Dimensions in Transformer-Based Modelscited by 37
  18. 2021Besov Function Approximation and Binary Classification on Low-Dimensional Manifolds Using Convolutional Residual Networkscited by 32
  19. 2023Approximation and Estimation Ability of Transformers for Sequence-to-Sequence Functions with Infinite Dimensional Inputcited by 32
  20. 2022An Analysis of Attention via the Lens of Exchangeability and Latent Variable Modelscited by 15
  21. 2023On Deep Generative Models for Approximation and Estimation of Distributions on Manifoldscited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 18; 2026: 11.

30 papers.

Sort:

By area:

  1. 2025Distillation Scaling Lawscited by 59
  2. 2024Surveying the Effects of Quality, Diversity, and Complexity in Synthetic Data From Large Language Modelscited by 31
  3. 2025Intrinsic Entropy of Context Length Scaling in LLMscited by 14
  4. 2025Understanding In-Context Learning on Structured Manifolds: Bridging Attention to Kernel Methodscited by 13
  5. 2025Transformer learns the cross-task prior and regularization for in-context learningcited by 7
  6. 2025Transformers Can Overcome the Curse of Dimensionality: A Theoretical Study from an Approximation Perspectivecited by 5
  7. 2025Predictable Scale: Part II, Farseer: A Refined Scaling Law in Large Language Modelscited by 5
  8. 2026Large Vision-Language Models Get Lost in Attentioncited by 5
  9. 2025Approximation Bounds for Transformer Networks with Application to Regressioncited by 4
  10. 2025Coefficient-to-Basis Network: A Fine-Tunable Operator Learning Framework for Inverse Problems with Adaptive Discretizations and Theoretical Guaranteescited by 3
  11. 2025Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Modelscited by 3
  12. 2025Transformers for Learning on Noisy and Task-Level Manifolds: Approximation and Generalization Insightscited by 3
18 more
  1. 2025A Mathematical Explanation of Transformerscited by 2
  2. 2025On Conditional Stochastic Interpolation for Generative Nonlinear Sufficient Dimension Reductioncited by 2
  3. 2026Sharper Generalization Bounds for Transformercited by 2
  4. 2026Understanding In-Context Learning for Nonlinear Regression with Transformers: Attention as Featurizercited by 2
  5. 2025SkewRoute: Training-Free LLM Routing for Knowledge Graph Retrieval-Augmented Generation via Score Skewness of Retrieved Contextcited by 1
  6. 2025Scaling Laws and In-Context Learning: A Unified Theoretical Frameworkcited by 1
  7. 2025Unveiling Intrinsic Dimension of Texts: from Academic Abstract to Creative Storycited by 1
  8. 2026Learning Theory of Transformers: Local-to-Global Approximation via Softmax Partition of Unitycited by 1
  9. 2026Training-Free Universal Approximation by Prompting Random Transformerscited by 1
  10. 2025Deep Causal Behavioral Policy Learning: Applications to Healthcarecited by 0
  11. 2025Learning Guarantee of Reward Modeling Using Deep Neural Networkscited by 0
  12. 2025Axial Neural Networks for Dimension-Free Foundation Modelscited by 0
  13. 2026Generalization and Scaling Laws for Mixture-of-Experts Transformerscited by 0
  14. 2026Limits of Reliability and Scaling in Language Modelscited by 0
  15. 2026Vector Search As Nearest Neighbor Matching: RAG-based Policy Learning in Causal Inferencecited by 0
  16. 2026Neural Scaling Laws of Transformer Operator Networkcited by 0
  17. 2026Universal Approximation of Measure-to-Measure Operators by Pushforwardscited by 0
  18. 2026Effective Does Not Mean Useful: Conditional Functional Substitutability for Redundancy and Scaling in Transformerscited by 0