Improve Representation for Imbalanced Regression through Geometric Constraints

Zijian Dong, Yilei Wu, Chongyao Chen, Yingtian Zou, Yichi Zhang, Juan Helen Zhou

Abstract

Imbalanced regression, where target values are continuous and non-uniformly distributed, poses a significant challenge for deep learning models. Standard approaches often lead to feature collapse toward majority data, resulting in poor generalization for rare samples. This paper introduces Surrogate-driven Representation Learning (SRL), a framework that imposes geometric constraints—specifically enveloping and homogeneity losses—on the latent space. By treating the latent space as a manifold and ensuring the representation "trace" fills the space uniformly and smoothly, SRL significantly improves performance on few-shot regression tasks.

Introduction

In real-world regression tasks, such as age estimation or scientific computing, target labels are often imbalanced. While imbalanced classification has been extensively studied, regression presents a unique geometric problem: labels are continuous and ordered. Standard models tend to compress representations of rare data points, leading to a "collapsed" latent space. Unlike classification, which seeks well-separated clusters, regression requires a continuous, smooth "trace" in the latent space that follows label progression. The challenge lies in making this trace occupy the available feature space efficiently without losing the smooth, ordered relationship between labels.

Methodology

The proposed Surrogate-driven Representation Learning (SRL) framework introduces two novel geometric losses to regularize the latent space:

  1. Enveloping Loss (L_env): This loss encourages the latent representation trace to "fill" the available feature space (modeled as a hypersphere). By winding the trace around the space, the model is prevented from ignoring rare labels.
  2. Homogeneity Loss (L_homo): This ensures the trace is smooth and that representations are evenly spaced at consistent intervals along the label progression, preventing "bunched up" regions or sudden jumps.

To handle the global nature of these geometric constraints within mini-batch training, the authors utilize a Surrogate mechanism. A memory bank of centroids for every label bin is maintained and updated across epochs, allowing the model to optimize the geometry of the entire label range during every training step.

The SRL framework pipeline showing the surrogate mechanism and loss calculation.

Experiments and Results

The authors evaluated SRL on several benchmarks, including AgeDB-DIR, IMDB-WIKI-DIR, and newly introduced datasets like UCI-DIR and OL-DIR (Operator Learning). SRL consistently outperformed state-of-the-art baselines, particularly in "Few-shot" regions. For instance, on AgeDB-DIR, the Mean Absolute Error (MAE) in few-shot regions was reduced from 12.61 (Vanilla) to 9.81.

Latent space visualization comparing the baseline with SRL and its ablations.

Visualizations confirm that while baseline models collapse features into a thin, messy line, SRL produces a wide, smooth, and "filling" trace that utilizes the latent space much more effectively. The ablation study in the figure above demonstrates how both enveloping and homogeneity losses contribute to a more structured and uniform latent space trace compared to the baseline.

Conclusion

SRL offers a novel geometric perspective on imbalanced regression by focusing on the shape of the latent manifold. By enforcing enveloping and homogeneity, the model becomes robust to data scarcity. While currently designed for 1D target labels, future work includes extending these constraints to multi-dimensional regression targets and further optimizing the computational overhead of the surrogate mechanism.

Summary updated

BibTeX
@inproceedings{dong2025improve,
  author = {Zijian Dong and Yilei Wu and Chongyao Chen and Yingtian Zou and Yichi Zhang and Juan Helen Zhou},
  title = {{Improve Representation for Imbalanced Regression through Geometric Constraints}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00479},
}
Figure