Soft Labels for Ordinal Regression

Abstract

Ordinal regression attempts to solve classification problems in which categories are not independent, but rather follow a natural order. It is crucial to classify each class correctly while learning adequate interclass ordinal relationships. We present a simple and effective method that constrains these relationships among categories by seamlessly incorporating metric penalties into ground truth label representations. This encoding allows deep neural networks to automatically learn intraclass and interclass relationships without any explicit modification of the network architecture. Our method converts data labels into soft probability distributions that pair well with common categorical loss functions such as cross-entropy. We show that this approach is effective by using off-the-shelf classification and segmentation networks in four wildly different scenarios: image quality ranking, age estimation, horizon line regression, and monocular depth estimation. We demonstrate that our general-purpose method is very competitive with respect to specialized approaches, and adapts well to a variety of different network architectures and metrics.

Cite

Text

Diaz and Marathe. "Soft Labels for Ordinal Regression." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019. doi:10.1109/CVPR.2019.00487

Markdown

[Diaz and Marathe. "Soft Labels for Ordinal Regression." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019.](https://mlanthology.org/cvpr/2019/diaz2019cvpr-soft/) doi:10.1109/CVPR.2019.00487

BibTeX

@inproceedings{diaz2019cvpr-soft,
  title     = {{Soft Labels for Ordinal Regression}},
  author    = {Diaz, Raul and Marathe, Amit},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year      = {2019},
  doi       = {10.1109/CVPR.2019.00487},
  url       = {https://mlanthology.org/cvpr/2019/diaz2019cvpr-soft/}
}