Introduction
Deep Imbalanced Regression (DIR) presents a unique challenge in machine learning. Unlike classification, where labels are discrete, regression involves continuous and often high-dimensional label spaces. In real-world scenarios, data is frequently imbalanced, leading to a phenomenon known as "feature collapse." When a model is exposed to a vast majority of samples from a specific range (e.g., ages 20-30), it tends to map rare minority samples (e.g., age 80) into the same feature space neighborhood as the majority. This bias results in poor predictive accuracy for minority cases.
The ConR Framework
To address this, the authors propose ConR (Contrastive Regularizer). ConR is designed to ensure that the model's internal feature representations accurately reflect the relationships in the label space. It operates through three core mechanisms:
- Dynamic Anchor Selection: The model identifies "confused" samples—those where the feature space and label space are most misaligned—and treats them as anchors for correction.
- Negative Pair Selection: It targets pairs that have similar model predictions but significantly different ground-truth labels.
- Relative Pushing: This is the central innovation. ConR applies a repulsive force between negative pairs. The strength of this "push" is proportional to the difference in their actual labels and the rarity of the anchor's label, preventing minority samples from being swallowed by majority clusters.
ConR is orthogonal, meaning it can be seamlessly integrated into existing regression architectures or combined with other techniques like Label Distribution Smoothing (LDS) and Feature Distribution Smoothing (FDS).
Experimental Evaluation
The effectiveness of ConR was tested across four diverse benchmarks: facial age estimation (AgeDB-DIR, IMDB-WIKI-DIR), depth map prediction (NYUD2-DIR), and gaze estimation (MPIIGaze-DIR).
A key finding is that ConR significantly boosts performance in "few-shot" regions—the labels with the least amount of training data. Unlike previous methods that rely on a linear ordering of labels, ConR's contrastive approach handles complex multi-dimensional label spaces, such as those found in depth and gaze estimation.
Conclusion
ConR provides a robust solution for Deep Imbalanced Regression by enforcing feature-label correspondence. By dynamically adjusting the feature manifold to respect label similarities and data density, it mitigates majority bias and improves accuracy for rare samples. Its flexibility and performance across 1D, 2D, and high-dimensional tasks make it a powerful tool for real-world regression problems.
Summary updated