[Paper Review] A Neural Scaling Law from the Dimension of the Data Manifold
This paper proposes a theoretical explanation for the observed neural scaling law—where model loss scales as a power law with parameter count—by linking the scaling exponent α to the intrinsic dimension d of the data manifold. Using a teacher/student framework and empirical tests on image and language models, it demonstrates that α ≈ 4/d, confirming that data manifold dimensionality fundamentally governs generalization scaling across modalities.
When data is plentiful, the loss achieved by well-trained neural networks scales as a power-law $L \propto N^{-α}$ in the number of network parameters $N$. This empirical scaling law holds for a wide variety of data modalities, and may persist over many orders of magnitude. The scaling law can be explained if neural models are effectively just performing regression on a data manifold of intrinsic dimension $d$. This simple theory predicts that the scaling exponents $α\approx 4/d$ for cross-entropy and mean-squared error losses. We confirm the theory by independently measuring the intrinsic dimension and the scaling exponents in a teacher/student framework, where we can study a variety of $d$ and $α$ by dialing the properties of random teacher networks. We also test the theory with CNN image classifiers on several datasets and with GPT-type language models.
Motivation & Objective
- Explain why neural network loss scales as a power law with model size across diverse data modalities.
- Address why scaling exponents are largely independent of model architecture despite architectural differences.
- Investigate the role of data manifold intrinsic dimension d in determining the scaling exponent α.
- Test the hypothesis that neural networks perform regression on a low-dimensional data manifold, with scaling governed by sub-region size reduction.
- Validate the theoretical prediction α ≈ 4/d empirically across multiple model types and data distributions.
Proposed method
- Propose a conjectural theory where neural networks partition a data manifold of intrinsic dimension d into smaller sub-regions, with loss decreasing as sub-region size shrinks.
- Derive the theoretical prediction that the scaling exponent α satisfies α ≈ 4/d for both cross-entropy and mean-squared error losses.
- Implement a teacher/student framework using random teacher networks to independently control d and α, enabling systematic testing of the theory.
- Measure intrinsic dimension d using nearest-neighbor distance methods (TwoNN and MLE) on final-layer activations of trained models.
- Train simple CNNs on image datasets (CIFAR10, MNIST, etc.) and GPT-type models to test scaling laws and measure d in real-world settings.
- Use statistical validation to assess robustness of ID estimates under variations in data density, number of neighbors, and model initialization.
Experimental results
Research questions
- RQ1Does the intrinsic dimension d of the data manifold predict the scaling exponent α in neural network loss scaling?
- RQ2Why is the scaling exponent α approximately independent of model architecture across different architectures like LSTMs and Transformers?
- RQ3How does the power-law scaling behavior persist over many orders of magnitude in model size?
- RQ4To what extent do ID estimation methods accurately reflect true manifold dimensionality, especially at high d?
- RQ5Can the theoretical prediction α ≈ 4/d be empirically validated across diverse data modalities, including image and language data?
Key findings
- The paper confirms that the scaling exponent α satisfies α ≈ 4/d across multiple datasets and model types, including image classifiers and GPT-style language models.
- In teacher/student experiments, the measured α values align closely with predictions from independently estimated intrinsic dimensions d, validating the theoretical model.
- ID measurements on trained CNNs show minimal variation with model size N, indicating that d is a stable property of the data manifold rather than a function of model capacity.
- For GPT-type models, the intrinsic dimension of the final layer activations correlates with the observed scaling exponent, supporting the theory in autoregressive language modeling.
- ID estimation methods are reliable for d ≤ 20, but tend to underestimate d at higher dimensions, though this systematic bias may not invalidate the d–α relationship.
- The theory explains the architectural invariance of α: since scaling depends only on d, not on model structure, different architectures scale similarly when d is fixed.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.