Lune

ICML2024Top-tier venue

Restoring balance: principled under/oversampling of data for optimal classification

Emanuele Loffredo, Mauro Pastore, Simona Cocco, Rémi Monasson

Abstract

Class imbalance in real-world data poses a common bottleneck for machine learning tasks, since achieving good generalization on under-represented examples is often challenging. Mitigation strategies, such as under or oversampling the data depending on their abundances, are routinely proposed and tested empirically, but how they should adapt to the data statistics remains poorly understood. In this work, we determine exact analytical expressions of the generalization curves in the high-dimensional regime for linear classifiers (Support Vector Machines). We also provide a sharp prediction of the effects of under/oversampling strategies depending on class imbalance, first and second moments of the data, and the metrics of performance considered. We show that mixed strategies involving under and oversampling of data lead to performance improvement. Through numerical experiments, we show the relevance of our theoretical predictions on real datasets, on deeper architectures and with sampling strategies based on unsupervised probabilistic models.

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.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Learning Gaussian Mixtures with Generalized Linear Models: Precise Asymptotics in High-dimensions cites Generalisation error in learning with random features and the hidden manifold model
  • Learning Gaussian Mixtures with Generalized Linear Models: Precise Asymptotics in High-dimensions cites Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural Networks
  • Improved Balanced Classification with Theoretically Grounded Loss Functions cites Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced Data
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Improved Balanced Classification with Theoretically Grounded Loss FunctionsCorinna Cortes, Mehryar Mohri, Yutao ZhongNeurIPS 2025 · 19 citations
  2. A Theoretical Framework For Overfitting In Energy-based ModelingGiovanni Catania, Aurélien Decelle, Cyril Furtlehner, Beatriz SeoaneICML 2025
  3. Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced DataCorinna Cortes, Anqi Mao, Mehryar Mohri, Yutao ZhongICML 2025

Builds on13

  1. Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural NetworksBlake Bordelon, Abdulkadir Canatar, Cengiz PehlevanICML 2020 · 245 citations
  2. Generalisation error in learning with random features and the hidden manifold modelFederica Gerace, Bruno Loureiro, Florent Krzakala, Marc Mézard et al.ICML 2020 · 184 citations
  3. Long- Tailed Recognition via Weight BalancingShaden Alshammari, Yu-Xiong Wang, Deva Ramanan, Shu KongCVPR 2022 · 133 citations
  4. The Role of Regularization in Classification of High-dimensional Noisy Gaussian MixtureFrancesca Mignacco, Florent Krzakala, Yue M. Lu, Pierfrancesco Urbani et al.ICML 2020 · 98 citations
  5. Learning Gaussian Mixtures with Generalized Linear Models: Precise Asymptotics in High-dimensionsBruno Loureiro, Gabriele Sicuro, Cédric Gerbelot, Alessandro Pacco et al.NeurIPS 2021 · 70 citations

Related papers

  1. A Statistical Theory of Overfitting for Imbalanced ClassificationJingyang Lyu, Kangjie Zhou, Yiqiao ZhongICLR 2026 · 4 citations
  2. On the Error Resistance of Hinge-Loss MinimizationKunal TalwarNeurIPS 2020 · 7 citations
  3. Why does Throwing Away Data Improve Worst-Group Error?Kamalika Chaudhuri, Kartik Ahuja, Martín Arjovsky, David Lopez-PazICML 2023 · 27 citations
  4. Does data sampling improve deep learning-based vulnerability detection? Yeas! and Nays!Xu Yang, Shaowei Wang, Yi Li, Shaohua WangICSE 2023 · 19 citations
  5. Simplifying Neural Network Training Under Class ImbalanceRavid Shwartz-Ziv, Micah Goldblum, Yucen Lily Li, C. Bayan Bruss et al.NeurIPS 2023 · 45 citations
Dusk over the sea between two cliffs drawn in fine vertical lines