Balanced Sharpness-Aware Minimization for Imbalanced Regression

Ya-Hao Liu, Qin Wang, Li-Xin Duan, Wen Li
8/1/2025
1 citation

No official code found. Best implementation: manmanjun/BSAM_for_Imbalanced_Regression (1 star, Python, last commit 2025-07-13).

Abstract

Regression is fundamental in computer vision and is widely used in various tasks including age estimation, depth estimation, target localization, etc. However, real-world data often exhibits imbalanced distribution, making regression models perform poorly especially for target values with rare observations (known as the imbalanced regression problem).

Show full abstract

In this paper, we reframe imbalanced regression as an imbalanced generalization problem. To tackle that, we look into the loss sharpness property for measuring the generalization ability of regression models in the observation space. Namely, given a certain perturbation on the model parameters, we check how model performance changes according to the loss values of different target observations. We propose a simple yet effective approach called Balanced Sharpness-Aware Minimization (BSAM) to enforce the uniform generalization ability of regression models for the entire observation space. In particular, we start from the traditional sharpness-aware minimization and then introduce a novel targeted reweighting strategy to homogenize the generalization ability across the observation space, which guarantees a theoretical generalization bound. Extensive experiments on multiple vision regression tasks, including age and depth estimation, demonstrate that our BSAM method consistently outperforms existing approaches. The code is available here.

View on arXivView PDF

Code Implementations(1)

Balanced Sharpness-Aware Minimization for Imbalanced Regression (ICCV 2025)

10PythonJun 26, 20251 years ago

Similar Papers

Cite this paper

@article{liu2025balanced,
  title  = {Balanced Sharpness-Aware Minimization for Imbalanced Regression},
  author = {Ya-Hao Liu and Qin Wang and Li-Xin Duan and Wen Li},
  year   = {2025},
  eprint = {2508.16973},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2508.16973},
  journal = {IEEE International Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.16973.svg)](https://codeofpaper.com/paper/2508.16973)

Discussion