Feature Space Encroachment in Class Imbalanced Learning

44 concepts39 papers1 proposal

When we think about class imbalance, we often frame it as a data scarcity problem: a model simply hasn't seen enough examples of rare classes to learn their underlying features. However, looking closely at the geometry of deep representation learning reveals a more insidious phenomenon. Class imbalance distorts the structure of the latent feature space, turning it into a territory where frequent "majority" classes aggressively conquer space at the expense of "minority" classes.

Instead of forming clean, well-separated clusters, the representations of rare classes are compressed, deformed, and pushed into the margins. Understanding why imbalanced models fail requires looking at how standard optimization objectives interact with the geometry of decision boundaries.

Boundary Drift and Territorial Expansion

In a standard classification network, the final linear layer is responsible for drawing decision boundaries that separate different classes in the feature space. When the training distribution is highly imbalanced, the loss function (such as standard cross-entropy) is overwhelmingly driven by the gradients of majority class samples. To minimize global training error, the optimization process naturally prioritizes expanding the decision regions for these high-frequency categories.

As a result, the decision boundaries undergo a geometric shift, migrating away from majority class centers and contracting tightly around minority class clusters. As Byungju Kim et al. observe, this displacement drastically reduces the effective volume allocated to minority classes in the feature space.

This phenomenon, often described as territorial encroachment, means that common classes over-expand their boundaries into regions that rightfully belong to rare categories. Zichen Tian et al. demonstrate that this expansion causes rare samples to be embedded directly within the clusters of common classes, leading to systematic misclassification even when the underlying visual features are distinct.

Balanced Training:
   [ Class A ]  <====== Decision Boundary ======>  [ Class B ]
                   (Fair, centered midpoint)

Imbalanced Training (Class A dominates):
   [    Class A (Majority)    ]  <== Boundary ==  [ Class B (Minority) ]
                   (Boundary drifts rightward, squeezing Class B)

This spatial competition is an active distortion driven by empirical risk minimization. As Yidong Wang et al. note, decision boundaries are pushed far away from frequent classes to minimize training error, creating an oversized feature space territory for common categories and systematically forcing rare class samples into their domain.

Minority Collapse and the Crowding Problem

What happens to the minority classes when they are squeezed into these narrow spatial corridors? They experience a structural degradation known as minority collapse or crowding.

In an ideal, balanced setting, deep networks tend to reach a state of "neural collapse" during the final stages of training. In this state, intra-class features concentrate into tight clusters, and the classifier vectors maximize their geometric separation to form a highly symmetric structure known as a Simplex Equiangular Tight Frame (ETF). However, as Vignesh Kothapalli explains, the dominant influence of majority classes disrupts this ideal geometry, causing the representations of minority classes to collapse incorrectly.

Instead of maintaining distinct directional vectors in the latent space, the classifier vectors for minority classes tend to collapse toward one another, losing their geometric separation, as shown by Yibo Yang et al.. Xiaoyu Yang describes this as a "crowding problem" within hyperspherical feature spaces: classes with abundant samples expand their boundaries and occupy a disproportionate amount of the available eigenspace, restricting the available space for minority classes and forcing them into narrow regions where they become nearly indistinguishable.

Why This Causes Test-Time Failure

The true danger of this geometric distortion manifests during inference. During training, an over-parameterized model might successfully isolate a minority class within a tiny, highly localized pocket of the feature space, achieving low training error. However, this creates an incredibly fragile decision boundary.

Jie Zhang et al. point out that because the decision boundary is positioned too close to the minority samples, the classification of rare classes becomes highly sensitive to even minor variations in the input data.

Furthermore, Byungju Kim et al. identify a distinct generalization asymmetry between training and testing distributions:

$$\text{Variance}_{\text{test}}(\mathbf{z}_{\text{minority}}) \gg \text{Variance}_{\text{train}}(\mathbf{z}_{\text{minority}})$$

While minority class training features might be tightly clustered, their test-time features are significantly more scattered. Because the majority classes have encroached upon the surrounding space, these scattered test instances of rare classes immediately spill over the contracted boundary, falling directly into the decision regions of frequent classes.

Reclaiming the Latent Space

To fix this issue, modern techniques move away from simple data re-sampling and focus instead on explicitly managing the geometry of the latent space.

One prominent approach is to strip the model of its ability to shrink minority territories by fixing the final classifier's geometry from the start. For instance, Xiong Zhou et al. propose replacing learnable classifier weights with a fixed, geometrically optimal set of anchored prototypes. By forcing the model to maintain maximum class separation from day one, they prevent the feature space from collapsing under majority dominance.

Other methods inject margin-aware regularizers during training or apply post-hoc boundary adjustments (such as weight normalization or logit scaling) to manually push the decision boundaries back toward a fair midpoint. By understanding that class imbalance is fundamentally a spatial allocation problem, these techniques ensure that rare classes retain the geometric breathing room they need to generalize.

Key Foundational Work

Imbalanced Deep Learning by Minority Class Incremental Rectification (2018) — contributed 1 concept elements to this direction.
Fair Loss: Margin-Aware Reinforcement Learning for Deep Face Recognition (2019) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_decision_boundary_bias_1e1a4169,
  title = {decision boundary bias},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/decision-boundary-bias/rdr_1e1a416952e24273b2ec808aa7a9e468},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_decision_boundary_bias_1e1a4169_v1,
  title = {decision boundary bias},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/decision-boundary-bias/rdr_1e1a416952e24273b2ec808aa7a9e468/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake