The Hidden Influence of Latent Feature Magnitude When Learning with Imbalanced Data
Damien A. Dablain, Nitesh V. Chawla
TL;DR
The paper investigates how latent feature magnitudes in the final inference layer influence generalization under class imbalance. By analyzing Classification Embeddings ($CE$) across CNN, SVM, and LG classifiers, it shows that predictions are driven by the sum of a small set of high-magnitude features, limiting minority-class generalization even when data augmentation is used. The study demonstrates that only a minority of $CE$ are needed to predict individual instances, that top-$k$ features disproportionately drive decisions, and that frequency of feature usage correlates with magnitude in image tasks. These findings reveal a hidden bottleneck in imbalanced learning and suggest that improving generalization requires addressing the embedding and inference dynamics, not just data augmentation. The results have practical implications for designing more robust representations and inference mechanisms in imbalanced settings.
Abstract
Machine learning (ML) models have difficulty generalizing when the number of training class instances are numerically imbalanced. The problem of generalization in the face of data imbalance has largely been attributed to the lack of training data for under-represented classes and to feature overlap. The typical remedy is to implement data augmentation for classes with fewer instances or to assign a higher cost to minority class prediction errors or to undersample the prevalent class. However, we show that one of the central causes of impaired generalization when learning with imbalanced data is the inherent manner in which ML models perform inference. These models have difficulty generalizing due to their heavy reliance on the magnitude of encoded signals. During inference, the models predict classes based on a combination of encoded signal magnitudes that linearly sum to the largest scalar. We demonstrate that even with aggressive data augmentation, which generally improves minority class prediction accuracy, parametric ML models still associate a class label with a limited number of feature combinations that sum to a prediction, which can affect generalization.
