On the combined effect of class imbalance and concept complexity in deep learning

Kushankur Ghosh, Colin Bellinger, Roberto Corizzo, Bartosz Krawczyk, Nathalie Japkowicz

Introduction

Class imbalance remains a fundamental challenge in machine learning, often exacerbated by data-level issues such as class overlap and structural complexity. While Deep Learning (DL) has demonstrated remarkable representational power, it is unclear whether increasing architectural depth inherently mitigates these classic hurdles. This paper investigates the combined effect of class imbalance and concept complexity, questioning if deeper networks are a sufficient solution for imbalanced domains.

Problem Definition: Complexity and Imbalance

The difficulty of imbalanced learning is frequently tied to the underlying structure of the data. The authors focus on three primary aggravators:

  1. Structural Concept Complexity (SCC): The presence of multiple sub-concepts within a class that are interleaved with the opposing class.
  2. Class Overlap: The degree to which feature distributions of different classes occupy the same region of the input space.
  3. Data Scarcity: The limited availability of training examples, particularly for the minority class.
Visual representation of Structural Concept Complexity (SCC) in a 1D domain where classes are interleaved.

Methodology

The study employs a multi-stage experimental approach using synthetic 1D and 5D datasets to isolate SCC and overlap, alongside real-world benchmarks including MNIST Fashion and CIFAR-10. Architectures such as Feedforward Multi-Layer Perceptrons (MLPs) and Convolutional Neural Networks (CNNs) were tested with depths ranging from 1 to 5 layers or blocks.

Performance was evaluated using the G-Mean (geometric mean of sensitivity and specificity). Unlike standard accuracy, G-Mean provides a balanced view of performance across both majority and minority classes, preventing the model from appearing successful by simply ignoring the minority class.

Results and Analysis

The experimental results highlight a nuanced relationship between depth and performance in imbalanced scenarios.

The Depth Trade-off and Overfitting

Increased depth allows networks to learn more complex decision boundaries, which can improve performance on moderately complex tasks. However, in highly imbalanced settings, this increased capacity often leads to overfitting on the sparse minority class. Instead of learning generalizable features, the model may memorize noise, leading to significant performance degradation in test scenarios.

The Impact of Complexity

As concept complexity increases, even deep models struggle to maintain high performance.

Performance (G-Mean) of a 5-layer model (Model 5) across varying levels of concept complexity (C1-C5).

As shown in Figure 5, while a deeper model (Model 5) can handle moderate complexity (C1-C3) relatively well, performance drops significantly at higher complexity levels (C4-C5). Furthermore, the study found that depth provides minimal relief for class overlap; if classes are fundamentally inseparable in the feature space, architectural depth does not resolve the ambiguity.

On real-world tasks like CIFAR-10, the researchers observed a "sweet spot" for depth, typically around 2 or 3 layers. Beyond this point, the benefits of improved feature extraction were often negated by the increased variance and overfitting caused by the imbalance. In complex CIFAR-10 tasks with high imbalance ratios, G-Mean scores frequently plateaued around 30%, regardless of the model's depth.

Representational Collapse

T-SNE analysis revealed a striking phenomenon: in cases of extreme imbalance, deeper layers can cause the minority class representation to "collapse" into the majority class space. This results in the classes becoming less separable in the deep feature space than they were in the original input data.

Conclusion

Architectural depth is not a "silver bullet" for class imbalance. While it can help mitigate structural complexity to a degree, it does not solve fundamental class overlap and can increase the risk of overfitting in data-scarce scenarios. Effective imbalanced learning requires a holistic approach that addresses data distribution challenges directly—through techniques like resampling, cost-sensitive loss functions, or specialized regularizers—rather than relying solely on the representational capacity of deep networks.

Summary updated

BibTeX
@inproceedings{ghosh2021combined,
  author = {Kushankur Ghosh and Colin Bellinger and Roberto Corizzo and Bartosz Krawczyk and Nathalie Japkowicz},
  title = {{On the combined effect of class imbalance and concept complexity in deep learning}},
  booktitle = {IEEE BigData},
  year = {2021},
  doi = {10.1109/bigdata52589.2021.9672056},
}
Figure