Classification Imbalance as Transfer Learning

Eric Xia, Jason M. Klusowski

TL;DR

This paper reframes the classic problem of imbalanced classification as a transfer learning task, where models are trained on an imbalanced "source" distribution but evaluated on a balanced "target" distribution. By analyzing oversampling methods through this lens, the authors prove that the popular SMOTE algorithm suffers from a severe curse of dimensionality compared to simple random oversampling (bootstrapping). Ultimately, the theory suggests practitioners should generally prefer bootstrapping over SMOTE, especially for high-dimensional data.

What Problem Does This Paper Address?

In many real-world machine learning applications—like detecting credit card fraud, identifying rare diseases, or predicting ad clicks—one class is vastly outnumbered by the other. If you naively train a standard classifier on this imbalanced data, it will often just predict the majority class every time, leading to unacceptably high false-negative rates for the rare class.

To fix this, practitioners typically use rebalancing strategies: they either undersample the majority class or oversample the minority class using techniques like random bootstrapping or SMOTE (Synthetic Minority Over-sampling Technique). Despite the massive popularity of SMOTE and its variants, empirical studies often show mixed results, with simple baselines sometimes outperforming it. This paper addresses the lack of a unified theoretical understanding of why and when specific rebalancing methods work by casting the entire problem as a transfer learning problem under label shift.

Methods

The authors introduce a theoretical framework that evaluates rebalancing algorithms based on how well they transfer knowledge from the observed imbalanced data to a hypothetical balanced target distribution.

Their main technical contribution is a general excess-risk decomposition. They prove that the error of a classifier trained on rebalanced data breaks down into two parts:

  1. Oracle Accuracy: The error you would get if you actually had perfectly balanced, real data (measured using Rademacher complexity).
  2. Cost of Transfer: The penalty paid for using synthetic or resampled data instead of real minority-class data (measured via total-variation distance or $\chi^2$-divergence between the true minority distribution and the synthetic generator's distribution).

Using this meta-theorem, they analyze specific data generation methods:

  • Continuous generators: Kernel density estimation and diffusion models.
  • Discrete generators: Bootstrapping (random oversampling) and SMOTE.
  • Alternative baselines: Undersampling and a "plug-in" estimator (which trains on the raw imbalanced data and mathematically reweights the output probabilities post-hoc).

They use advanced statistical learning theory, including localized empirical processes, to derive both "slow" and "fast" convergence rates for these methods.

Datasets

The paper is primarily theoretical, so it does not evaluate on standard real-world benchmark datasets (like ImageNet or tabular UCI datasets). However, the authors validate their theoretical bounds using synthetic datasets generated from a Gaussian Mixture Model (GMM). This allowed them to precisely control the ambient dimension ($d$) and the sample size ($N$) to observe how the algorithms scale.

Key Insights and Ideas

  • SMOTE's Curse of Dimensionality: The theoretical bounds reveal that SMOTE incurs a transfer cost that scales with $(k/N_1)^{1/d}$, where $d$ is the number of features and $N_1$ is the minority sample size. This means as the number of features grows, SMOTE's ability to accurately approximate the true minority distribution degrades exponentially.
  • Bootstrapping is Surprisingly Strong: Unlike SMOTE, simple random oversampling (bootstrapping) does not suffer from this dimension-dependent penalty. Up to logarithmic factors, bootstrapping behaves like having access to $2N_1$ real minority samples.
  • When to use what: The theory provides concrete guidance. Use bootstrapping for general high-dimensional data. Use density estimation if you have strong prior knowledge about the data's structure. Use diffusion models if you have highly complex data (like images) and good score function estimates. Avoid SMOTE unless the data is very low-dimensional.
  • The Plug-in Alternative: If generating synthetic data is too computationally expensive or difficult (e.g., with text or images), you can simply train a classifier on the imbalanced data and adjust the final predicted probabilities using the known class ratios.

Key Results

  • Theoretical bounds: The authors successfully derived non-asymptotic excess risk bounds for SMOTE, bootstrapping, undersampling, and density estimation within a single, unified transfer-learning framework.
  • Empirical validation: In the synthetic GMM experiments, the authors tracked the ratio of SMOTE's excess risk to Bootstrapping's excess risk. Exactly as the theory predicted, increasing the dimension $d$ drastically worsened SMOTE's performance relative to bootstrapping. In virtually all simulation runs, SMOTE had a larger excess risk than simple bootstrapping.

Limitations and Future Work

  • Limitations: The theoretical guarantees for SMOTE require a global Lipschitz assumption on the predictors. This assumption is often violated by discontinuous models commonly used for tabular data, such as decision trees and random forests.
  • Future Work: The authors suggest that future research could incorporate more modern transfer learning techniques into the classification imbalance problem. Additionally, developing adaptive methods that can estimate the "cost of transfer" on the fly would be highly valuable, as it would allow practitioners to automatically select the best rebalancing strategy for their specific dataset without trial and error.

Summary updated

BibTeX
@misc{xia2026classification,
  author = {Eric Xia and Jason M. Klusowski},
  title = {{Classification Imbalance as Transfer Learning}},
  year = {2026},
  eprint = {2601.10630},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.10630},
}
Figure