A Theoretical Analysis of the Learning Dynamics under Class Imbalance
Not on the map. Why?
Abstract (arXiv)
Data imbalance is a common problem in machine learning that can have a critical effect on the performance of a model. Various solutions exist but their impact on the convergence of the learning dynamics is not understood. Here, we elucidate the significant negative impact of data imbalance on learning, showing that the learning curves for minority and majority classes follow sub-optimal trajectories when training with a gradient-based optimizer. This slowdown is related to the imbalance ratio and can be traced back to a competition between the optimization of different classes. Our main contribution is the analysis of the convergence of full-batch (GD) and stochastic gradient descent (SGD), and of variants that renormalize the contribution of each per-class gradient. We find that GD is not guaranteed to decrease the loss for each class but that this problem can be addressed by performing a per-class normalization of the gradient. With SGD, class imbalance has an additional effect on the direction of the gradients: the minority class suffers from a higher directional noise, which reduces the effectiveness of the per-class gradient normalization. Our findings not only allow us to understand the potential and limitations of strategies involving the per-class gradients, but also the reason for the effectiveness of previously used solutions for class imbalance such as oversampling.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 30 of its 56 references that are in the map. First posted on arXiv 1 Jul 2022.
Builds on
30 of 56 references.
References · 30
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2019A Survey on Bias and Fairness in Machine Learningcited by 1,917
- 2018Group Normalizationcited by 1,524
- 2020Gradient Surgery for Multi-Task Learningcited by 1,256
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
- 2017GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networkscited by 834
- 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 724
- 2018Learning to Reweight Examples for Robust Deep Learningcited by 675
- 2020Long-tail learning via logit adjustmentcited by 618
18 more
- 2016Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Lojasiewicz Conditioncited by 539
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
- 2019Using Pre-Training Can Improve Model Robustness and Uncertaintycited by 373
- 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
- 2017How to Escape Saddle Points Efficientlycited by 285
- 2020Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal Effectcited by 256
- 2020Loss landscapes and optimization in over-parameterized non-linear systems and neural networkscited by 233
- 2019Does Object Recognition Work for Everyone?cited by 151
- 2020Remix: Rebalanced Mixupcited by 144
- 2022Long-Tailed Recognition via Weight Balancingcited by 107
- 2017The Devil is in the Tails: Fine-grained Classification in the Wildcited by 89
- 2018Escaping Saddles with Stochastic Gradientscited by 66
- 2018Imbalanced Deep Learning by Minority Class Incremental Rectificationcited by 65
- 2022PolyLoss: A Polynomial Expansion Perspective of Classification Loss Functionscited by 63
- 2020Why resampling outperforms reweighting for correcting sampling bias with stochastic gradientscited by 34
- 2021Procrustean Training for Imbalanced Deep Learningcited by 24
- 2021A Tale Of Two Long Tailscited by 19
- 2021Deep Learning Classification of Lake Zooplanktoncited by 9
Built on by
Citing papers per year: 2023: 3; 2024: 8; 2025: 4; 2026: 5.
20 papers.
Sort:
By area:
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 80
- 2024Gradient Reweighting: Towards Imbalanced Class-Incremental Learningcited by 37
- 2024Restoring balance: principled under/oversampling of data for optimal classificationcited by 6
- 2023Initial Guessing Bias: How Untrained Networks Favor Some Classescited by 5
- 2024Early learning of the optimal constant solution in neural networks and humanscited by 3
- 2024Neuron Abandoning Attention Flow: Visual Explanation of Dynamics inside CNN Modelscited by 3
- 2024GradStop: Exploring Training Dynamics in Unsupervised Outlier Detection through Gradientcited by 3
- 2025Imbalanced Classification through the Lens of Spurious Correlationscited by 3
- 2023Understanding the Role of Layer Normalization in Label-Skewed Federated Learningcited by 2
- 2025GRASP: Guided Residual Adapters with Sample-wise Partitioningcited by 2
- 2023On The Relationship Between Continual Learning and Long-Tailed Recognitioncited by 1
- 2024When resampling/reweighting improves feature learning in imbalanced classification?: A toy-model studycited by 1
8 more
- 2025Class Imbalance in Anomaly Detection: Learning from an Exactly Solvable Modelcited by 1
- 2025When majority rules, minority loses: bias amplification of gradient descentcited by 1
- 2024Minimizing Energy Costs in Deep Learning Model Training: The Gaussian Sampling Approachcited by 0
- 2026A Theoretical and Empirical Taxonomy of Imbalance in Binary Classificationcited by 0
- 2026Visibility nowcasting in South Korea: a machine learning approach to class imbalance and distribution shiftcited by 0
- 2026SEED: Semi-supervised Continual MalwarE Detection for Tackling ConcEpt Drift on a BuDgetcited by 0
- 2026Class-Grouped Normalized Momentum and Faster Hyperparameter Exploration to Tackle Class Imbalance in Federated Learningcited by 0
- 2026Bounded Adjustment with Reliability-Guided Embedding for Imbalanced Learning with Noisy Labelscited by 0
- 2026Bounded Adjustment with Reliability-Guided Embedding for Imbalanced Learning with Noisy Labels14 Sep 2026
- 2026Class-Grouped Normalized Momentum and Faster Hyperparameter Exploration to Tackle Class Imbalance in Federated Learning1 Jul 2026
- 2026SEED: Semi-supervised Continual MalwarE Detection for Tackling ConcEpt Drift on a BuDget24 May 2026
- 2026Visibility nowcasting in South Korea: a machine learning approach to class imbalance and distribution shift9 May 2026
- 2026A Theoretical and Empirical Taxonomy of Imbalance in Binary Classification7 Jan 2026
- 2025GRASP: Guided Residual Adapters with Sample-wise Partitioning1 Dec 2025
- 2025Imbalanced Classification through the Lens of Spurious Correlations31 Oct 2025
- 2025When majority rules, minority loses: bias amplification of gradient descent19 May 2025
- 2025Class Imbalance in Anomaly Detection: Learning from an Exactly Solvable Model20 Jan 2025
- 2024GradStop: Exploring Training Dynamics in Unsupervised Outlier Detection through Gradient11 Dec 2024
- 2024Neuron Abandoning Attention Flow: Visual Explanation of Dynamics inside CNN Models2 Dec 2024
- 2024When resampling/reweighting improves feature learning in imbalanced classification?: A toy-model study9 Sep 2024
8 more
- 2024Early learning of the optimal constant solution in neural networks and humans25 Jun 2024
- 2024Minimizing Energy Costs in Deep Learning Model Training: The Gaussian Sampling Approach11 Jun 2024
- 2024Restoring balance: principled under/oversampling of data for optimal classification15 May 2024
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Models29 Feb 2024
- 2024Gradient Reweighting: Towards Imbalanced Class-Incremental Learning28 Feb 2024
- 2023Understanding the Role of Layer Normalization in Label-Skewed Federated Learning18 Aug 2023
- 2023On The Relationship Between Continual Learning and Long-Tailed Recognition23 Jun 2023
- 2023Initial Guessing Bias: How Untrained Networks Favor Some Classes1 Jun 2023
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 80
- 2024Gradient Reweighting: Towards Imbalanced Class-Incremental Learningcited by 37
- 2024Restoring balance: principled under/oversampling of data for optimal classificationcited by 6
- 2023Initial Guessing Bias: How Untrained Networks Favor Some Classescited by 5
- 2024Early learning of the optimal constant solution in neural networks and humanscited by 3
- 2024Neuron Abandoning Attention Flow: Visual Explanation of Dynamics inside CNN Modelscited by 3
- 2024GradStop: Exploring Training Dynamics in Unsupervised Outlier Detection through Gradientcited by 3
- 2025Imbalanced Classification through the Lens of Spurious Correlationscited by 3
- 2023Understanding the Role of Layer Normalization in Label-Skewed Federated Learningcited by 2
- 2023On The Relationship Between Continual Learning and Long-Tailed Recognitioncited by 1
- 2024When resampling/reweighting improves feature learning in imbalanced classification?: A toy-model studycited by 1
- 2025Class Imbalance in Anomaly Detection: Learning from an Exactly Solvable Modelcited by 1
12 most cited of 19 All 19 (JSON)
- 2026Bounded Adjustment with Reliability-Guided Embedding for Imbalanced Learning with Noisy Labels14 Sep 2026
- 2026Class-Grouped Normalized Momentum and Faster Hyperparameter Exploration to Tackle Class Imbalance in Federated Learning1 Jul 2026
- 2026SEED: Semi-supervised Continual MalwarE Detection for Tackling ConcEpt Drift on a BuDget24 May 2026
- 2026Visibility nowcasting in South Korea: a machine learning approach to class imbalance and distribution shift9 May 2026
- 2026A Theoretical and Empirical Taxonomy of Imbalance in Binary Classification7 Jan 2026
- 2025Imbalanced Classification through the Lens of Spurious Correlations31 Oct 2025
- 2025When majority rules, minority loses: bias amplification of gradient descent19 May 2025
- 2025Class Imbalance in Anomaly Detection: Learning from an Exactly Solvable Model20 Jan 2025
- 2024GradStop: Exploring Training Dynamics in Unsupervised Outlier Detection through Gradient11 Dec 2024
- 2024Neuron Abandoning Attention Flow: Visual Explanation of Dynamics inside CNN Models2 Dec 2024
- 2024When resampling/reweighting improves feature learning in imbalanced classification?: A toy-model study9 Sep 2024
- 2024Early learning of the optimal constant solution in neural networks and humans25 Jun 2024
12 newest of 19 All 19 (JSON)