Statistical Undersampling with Mutual Information and Support Points

Alex Mak, Shubham Sahoo, Shivani Pandey, Yidan Yue, Linglong KongarXiv 2024 · DOI

Abstract

Class imbalance remains a significant challenge in machine learning, often leading to biased models that favor the majority class. Traditional undersampling techniques frequently discard critical structural information. This paper presents two informed undersampling strategies: Mutual Information (MI)-based stratified sampling and Support Points optimization. By preserving the underlying statistical distribution of the majority class, these methods enhance classification performance across diverse datasets, including breast cancer diagnosis and credit card fraud detection.

Introduction

In domains such as fraud detection or medical diagnostics, the "minority" class—representing rare but critical events—is often overwhelmed by the "majority" class. Standard machine learning models, optimized for overall accuracy, may fail to capture the nuances of the minority class. While undersampling the majority class is a common remedy, "naive" random sampling can lead to the loss of essential data structure or the removal of informative points near decision boundaries. This research explores "informed" undersampling techniques designed to maintain the statistical integrity, or the "soul," of the original dataset while achieving class balance.

Methodology

The authors propose two distinct approaches to intelligent data reduction:

1. Mutual Information (MI)-Based Stratified Sampling

This method moves beyond random selection by quantifying the shared information between data points. By calculating Mutual Information, the majority class is partitioned into "strata" or clusters of similar points. Stratified Simple Random Sampling (SRS) is then applied across these groups, ensuring the resulting subset is a diverse and representative distillation of the original population.

2. Support Points Optimization

Support points are a set of representative points designed to minimize the energy distance between the subset and the original distribution. To handle large-scale data, the authors employ a two-stage process: an initial proportional subsetting via MiniBatchKMeans followed by gradient-based optimization. This "wiggles" the points to align their statistical properties (such as mean and variance) with the full majority class.

Experimental Results

The proposed methods were evaluated against traditional random undersampling using several classifiers, including Logistic Regression, Random Forest, XGBoost, and Support Vector Classifiers (SVC).

Performance on Breast Cancer Dataset

On a dataset of 272 samples, the MI-based approach demonstrated substantial improvements in balanced accuracy. For instance, Logistic Regression accuracy rose from 0.5455 with naive sampling to 0.8485 using MI-based stratification.

Table 1: Accuracy comparison for the Breast Cancer dataset using Mutual Information vs. Random Undersampling.

Performance on Credit Card Fraud Detection

In a high-stakes "needle in a haystack" scenario involving over 284,000 samples, the Support Points method provided a measurable edge. Even in a highly optimized environment, Logistic Regression accuracy improved from 0.9261 to 0.9401.

Table 2: Accuracy comparison for the Credit Card Fraud dataset using Support Points vs. Random Undersampling.

Statistical Fidelity and Discussion

Beyond raw accuracy, the authors emphasize "dataset distillation." Kolmogorov-Smirnov (KS) tests confirmed that subsets generated via Support Points were statistically indistinguishable from the original majority class. This preservation of distribution prevents the subset from collapsing into narrow clusters, ensuring broad coverage of the feature space.

While effective, these methods face computational hurdles. The $O(n^2)$ complexity of pairwise MI calculations limits scalability for massive datasets. Future work will focus on parallelization and accelerated gradient methods to bring these sophisticated statistical tools to high-dimensional, "Big Data" applications.

Conclusion

Informed undersampling via Mutual Information and Support Points offers a robust alternative to random sampling. By prioritizing the preservation of the majority class's statistical distribution, these techniques enable models to learn from balanced data without sacrificing the structural information necessary for accurate classification.

Summary updated

BibTeX
@misc{mak2024statistical,
  author = {Alex Mak and Shubham Sahoo and Shivani Pandey and Yidan Yue and Linglong Kong},
  title = {{Statistical Undersampling with Mutual Information and Support Points}},
  year = {2024},
  eprint = {2412.14527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.14527},
}
Figure