Deep Learning Through the Lens of Example Difficulty
Abstract
Existing work on understanding deep learning often employs measures that compress all data-dependent information into a few numbers. In this work, we adopt a perspective based on the role of individual examples. We introduce a measure of the computational difficulty of making a prediction for a given input: the (effective) prediction depth. Our extensive investigation reveals surprising yet simple relationships between the prediction depth of a given input and the model's uncertainty, confidence, accuracy and speed of learning for that data point. We further categorize difficult examples into three interpretable groups, demonstrate how these groups are processed differently inside deep models and showcase how this understanding allows us to improve prediction accuracy. Insights from our study lead to a coherent view of a number of separately reported phenomena in the literature: early layers generalize while later layers memorize; early layers converge faster and networks learn easy data and simple functions first.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
66 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Hyperparameter Ensembles for Robustness and Uncertainty Quantification cites BatchEnsemble: an Alternative Approach to Efficient Ensemble and Lifelong Learning
- Deep Learning on a Data Diet: Finding Important Examples Early in Training cites Estimating Example Difficulty using Variance of Gradients
- Estimating Example Difficulty using Variance of Gradients cites Deep Learning on a Data Diet: Finding Important Examples Early in Training
- Deep Learning on a Data Diet: Finding Important Examples Early in Training cites What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
- Can Neural Network Memorization Be Localized? cites What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
- Can Neural Network Memorization Be Localized? cites Early-Learning Regularization Prevents Memorization of Noisy Labels
- What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation cites Fantastic Generalization Measures and Where to Find Them
Cited by top-tier papers66
- Deep Learning on a Data Diet: Finding Important Examples Early in TrainingMansheej Paul, Surya Ganguli, Gintare Karolina DziugaiteNeurIPS 2021 · 806 citations
- Exploring the Limits of Large Scale Pre-trainingSamira Abnar, Mostafa Dehghani, Behnam Neyshabur, Hanie SedghiICLR 2022 · 135 citations
- Head2Toe: Utilizing Intermediate Representations for Better Transfer LearningUtku Evci, Vincent Dumoulin, Hugo Larochelle, Michael C. MozerICML 2022 · 103 citations
- Can Neural Network Memorization Be Localized?Pratyush Maini, Michael Curtis Mozer, Hanie Sedghi, Zachary Chase Lipton et al.ICML 2023 · 82 citations
- Estimating Example Difficulty using Variance of GradientsChirag Agarwal, Daniel D'souza, Sara HookerCVPR 2022 · 57 citations
Builds on18
- Early-Learning Regularization Prevents Memorization of Noisy LabelsSheng Liu, Jonathan Niles-Weed, Narges Razavian, Carlos Fernandez-GrandaNeurIPS 2020 · 798 citations
- Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan et al.ICLR 2020 · 705 citations
- What Neural Networks Memorize and Why: Discovering the Long Tail via Influence EstimationVitaly Feldman, Chiyuan ZhangNeurIPS 2020 · 674 citations
- BatchEnsemble: an Alternative Approach to Efficient Ensemble and Lifelong LearningYeming Wen, Dustin Tran, Jimmy BaICLR 2020 · 569 citations
- Hyperparameter Ensembles for Robustness and Uncertainty QuantificationFlorian Wenzel, Jasper Snoek, Dustin Tran, Rodolphe JenattonNeurIPS 2020 · 263 citations
Related papers
- Uncertainty-Aware CNNs for Depth Completion: Uncertainty from Beginning to EndAbdelrahman Eldesokey, Michael Felsberg, Karl Holmquist, Michael PerssonCVPR 2020
- Deep Frequency Principle Towards Understanding Why Deeper Learning Is FasterZhiqin John Xu, Hanxu ZhouAAAI 2021 · 67 citations
- Neural Complexity MeasuresYoonho Lee, Juho Lee, Sung Ju Hwang, Eunho Yang et al.NeurIPS 2020 · 13 citations
- Deep Double Descent: Where Bigger Models and More Data HurtPreetum Nakkiran, Gal Kaplun, Yamini Bansal, Tristan Yang et al.ICLR 2020 · 1,108 citations
- Depth Uncertainty in Neural NetworksJavier Antorán, James Urquhart Allingham, José Miguel Hernández-LobatoNeurIPS 2020 · 121 citations
