English

A step towards understanding why classification helps regression

Computer Vision and Pattern Recognition 2023-08-22 v1

Abstract

A number of computer vision deep regression approaches report improved results when adding a classification loss to the regression loss. Here, we explore why this is useful in practice and when it is beneficial. To do so, we start from precisely controlled dataset variations and data samplings and find that the effect of adding a classification loss is the most pronounced for regression with imbalanced data. We explain these empirical findings by formalizing the relation between the balanced and imbalanced regression losses. Finally, we show that our findings hold on two real imbalanced image datasets for depth estimation (NYUD2-DIR), and age estimation (IMDB-WIKI-DIR), and on the problem of imbalanced video progress prediction (Breakfast). Our main takeaway is: for a regression task, if the data sampling is imbalanced, then add a classification loss.

Keywords

Cite

@article{arxiv.2308.10603,
  title  = {A step towards understanding why classification helps regression},
  author = {Silvia L. Pintea and Yancong Lin and Jouke Dijkstra and Jan C. van Gemert},
  journal= {arXiv preprint arXiv:2308.10603},
  year   = {2023}
}

Comments

Accepted at ICCV-2023

R2 v1 2026-06-28T12:00:16.802Z