Estimating Example Difficulty using Variance of Gradients
Abstract
In machine learning, a question of great interest is understanding what examples are challenging for a model to classify. Identifying atypical examples ensures the safe de-ployment of models, isolates samples that require further human inspection and provides interpretability into model behavior. In this work, we propose Variance of Gradients (VoG) as a valuable and efficient metric to rank data by difficulty and to surface a tractable subset of the most chal-lenging examples for human-in-the-loop auditing. We show that data points with high VoG scores are far more difficult for the model to learn and over-index on corrupted or mem-orized examples. Further, restricting the evaluation to the test set instances with the lowest VoG improves the model's generalization performance. Finally, we show that VoG is a valuable and efficient ranking for out-of-distribution detection.
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.
41 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
- Deep Learning on a Data Diet: Finding Important Examples Early in Training cites Does learning require memorization? a short tale about a long tail
- Deep Learning on a Data Diet: Finding Important Examples Early in Training cites Deep Learning Through the Lens of Example Difficulty
- Trivial or Impossible --- dichotomous data difficulty masks model differences (on ImageNet and beyond) cites Deep Learning on a Data Diet: Finding Important Examples Early in Training
- Trivial or Impossible --- dichotomous data difficulty masks model differences (on ImageNet and beyond) cites Deep Learning Through the Lens of Example Difficulty
- Deep Learning Through the Lens of Example Difficulty cites Characterizing Structural Regularities of Labeled Data in Overparameterized Models
- Characterizing Structural Regularities of Labeled Data in Overparameterized Models cites Does learning require memorization? a short tale about a long tail
Cited by top-tier papers41
- Deep Learning on a Data Diet: Finding Important Examples Early in TrainingMansheej Paul, Surya Ganguli, Gintare Karolina DziugaiteNeurIPS 2021 · 806 citations
- Deep Learning Through the Lens of Example DifficultyRobert J. N. Baldock, Hartmut Maennel, Behnam NeyshaburNeurIPS 2021 · 204 citations
- Combining Ensembles and Data Augmentation Can Harm Your CalibrationYeming Wen, Ghassen Jerfel, Rafael Muller, Michael W. Dusenberry et al.ICLR 2021 · 72 citations
- Trivial or Impossible --- dichotomous data difficulty masks model differences (on ImageNet and beyond)Kristof Meding, Luca M. Schulze Buschoff, Robert Geirhos, Felix A. WichmannICLR 2022 · 47 citations
- Generating High Fidelity Data from Low-density Regions using Diffusion ModelsVikash Sehwag, Caner Hazirbas, Albert Gordo, Firat Ozgenel et al.CVPR 2022 · 38 citations
Builds on7
- Deep Learning on a Data Diet: Finding Important Examples Early in TrainingMansheej Paul, Surya Ganguli, Gintare Karolina DziugaiteNeurIPS 2021 · 806 citations
- Deep Semi-Supervised Anomaly DetectionLukas Ruff, Robert A. Vandermeulen, Nico Görnitz, Alexander Binder et al.ICLR 2020 · 678 citations
- Deep Learning Through the Lens of Example DifficultyRobert J. N. Baldock, Hartmut Maennel, Behnam NeyshaburNeurIPS 2021 · 204 citations
- Characterizing Structural Regularities of Labeled Data in Overparameterized ModelsZiheng Jiang, Chiyuan Zhang, Kunal Talwar, Michael C. MozerICML 2021 · 128 citations
- Does learning require memorization? a short tale about a long tailVitaly FeldmanSTOC 2020 · 28 citations
Related papers
- GAIA: Delving into Gradient-based Attribution Abnormality for Out-of-distribution DetectionJinggang Chen, Junjie Li, Xiaoyang Qu, Jianzong Wang et al.NeurIPS 2023 · 17 citations
- Influence Scores at Scale for Efficient Language Data SamplingNikhil Anand, Joshua Tan, Maria MinakovaEMNLP 2023 · 1 citation
- Out-Of-Distribution Detection with Diversification (Provably)Haiyun Yao, Zongbo Han, Huazhu Fu, Xi Peng et al.NeurIPS 2024 · 9 citations
- GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of GradientsSima Behpour, Thang Long Doan, Xin Li, Wenbin He et al.NeurIPS 2023 · 34 citations
- Leveraging Perturbation Robustness to Enhance Out-of-Distribution DetectionWenxi Chen, Raymond A. Yeh, Shaoshuai Mou, Yan GuCVPR 2025
