Intrinsic Dimensionality as a Model-Free Measure of Class Imbalance
Çağrı Eser, Zeynep Sonat Baltacı, Emre Akbaş, Sinan Kalkan
TL;DR
The paper tackles class imbalance by introducing data Intrinsic Dimensionality (ID), a model-free, training-free measure estimated per class with FisherS that yields normalized per-class scores $\hat{d}_c$. ID captures intrinsic data complexity beyond cardinality and redundancy, and its estimates are robust to sample size, extrinsic dimension, and noise. The authors show how to integrate $\hat{d}_c$ into resampling, loss reweighting, and margin-based methods, and they demonstrate substantial gains across CIFAR-LT, Places-LT, ImageNet-LT, and semantic-imbalance datasets like SVCI-20. Across five datasets, ID-based mitigation outperforms cardinality-based baselines and is competitive with state-of-the-art approaches, with the added advantages of being model-free and scalable.
Abstract
Imbalance in classification tasks is commonly quantified by the cardinalities of examples across classes. This, however, disregards the presence of redundant examples and inherent differences in the learning difficulties of classes. Alternatively, one can use complex measures such as training loss and uncertainty, which, however, depend on training a machine learning model. Our paper proposes using data Intrinsic Dimensionality (ID) as an easy-to-compute, model-free measure of imbalance that can be seamlessly incorporated into various imbalance mitigation methods. Our results across five different datasets with a diverse range of imbalance ratios show that ID consistently outperforms cardinality-based re-weighting and re-sampling techniques used in the literature. Moreover, we show that combining ID with cardinality can further improve performance. Code: https://github.com/cagries/IDIM.
