A Theoretical-Empirical Approach to Estimating Sample Complexity of DNNs
Not on the map. Why?
Abstract (arXiv)
This paper focuses on understanding how the generalization error scales with the amount of the training data for deep neural networks (DNNs). Existing techniques in statistical learning require computation of capacity measures, such as VC dimension, to provably bound this error. It is however unclear how to extend these measures to DNNs and therefore the existing analyses are applicable to simple neural networks, which are not used in practice, e.g., linear or shallow ones or otherwise multi-layer perceptrons. Moreover, many theoretical error bounds are not empirically verifiable. We derive estimates of the generalization error that hold for deep networks and do not rely on unattainable capacity measures. The enabling technique in our approach hinges on two major assumptions: i) the network achieves zero training error, ii) the probability of making an error on a test point is proportional to the distance between this point and its nearest training point in the feature space and at a certain maximal distance (that we call radius) it saturates. Based on these assumptions we estimate the generalization error of DNNs. The obtained estimate scales as O(1/(δ N1/d)), where N is the size of the training data and is parameterized by two quantities, the effective dimensionality of the data as perceived by the network (d) and the aforementioned radius (δ), both of which we find empirically. We show that our estimates match with the experimentally obtained behavior of the error on multiple learning tasks using benchmark data-sets and realistic models. Estimating training data requirements is essential for deployment of safety critical applications such as autonomous driving etc. Furthermore, collecting and annotating training data requires a huge amount of financial, computational and human resources. Our empirical estimates will help to efficiently allocate resources.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 28 of its 66 references that are in the map. First posted on arXiv 5 May 2021.
Builds on
28 of 66 references.
References · 28
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2016Understanding deep learning requires rethinking generalizationcited by 1,674
- 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 919
- 2013Speech Recognition with Deep Recurrent Neural Networkscited by 669
- 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 603
- 2017Deep Learning Scaling is Predictable, Empiricallycited by 582
16 more
- 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 533
- 2019Fantastic Generalization Measures and Where to Find Themcited by 513
- 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 342
- 2017Nearly-tight VC-dimension and pseudodimension bounds for piecewise linear neural networkscited by 311
- 2018Stronger generalization bounds for deep nets via a compression approachcited by 307
- 2014Exploiting Linear Structure Within Convolutional Networks for Efficient Evaluationcited by 306
- 2019Intrinsic dimension of data representations in deep neural networkscited by 282
- 2018Estimating the intrinsic dimension of datasets by a minimal neighborhood informationcited by 250
- 2016Joint Unsupervised Learning of Deep Representations and Image Clusterscited by 205
- 2017State-of-the-art Speech Recognition With Sequence-to-Sequence Modelscited by 196
- 2018Towards Understanding the Role of Over-Parametrization in Generalization of Neural Networkscited by 142
- 2018Non-Vacuous Generalization Bounds at the ImageNet Scale: A PAC-Bayesian Compression Approachcited by 126
- 2018Learning Representations for Neural Network-Based Classification Using the Information Bottleneck Principlecited by 70
- 2019Dimensionality compression and expansion in Deep Neural Networkscited by 38
- 2019Asymptotic learning curves of kernel methods: empirical data v.s. Teacher-Student paradigmcited by 20
- 2019Learning Curves for Deep Neural Networks: A Gaussian Field Theory Perspectivecited by 11
Built on by
Citing papers per year: 2022: 3; 2023: 1; 2024: 0; 2025: 2.
6 papers.
- 2022Scaling Laws Under the Microscope: Predicting Transformer Performance from Small Scale Experimentscited by 23
- 2022How Much More Data Do I Need? Estimating Requirements for Downstream Taskscited by 23
- 2022Optimizing Data Collection for Machine Learningcited by 15
- 2025Data Scaling Laws for End-to-End Autonomous Drivingcited by 15
- 2023Delegated Classificationcited by 10
- 2025A Step Toward Interpretability: Smearing the Likelihoodcited by 1
- 2025Data Scaling Laws for End-to-End Autonomous Driving6 Apr 2025
- 2025A Step Toward Interpretability: Smearing the Likelihood13 Jan 2025
- 2023Delegated Classification20 Jun 2023
- 2022Optimizing Data Collection for Machine Learning3 Oct 2022
- 2022How Much More Data Do I Need? Estimating Requirements for Downstream Tasks4 Jul 2022
- 2022Scaling Laws Under the Microscope: Predicting Transformer Performance from Small Scale Experiments13 Feb 2022