Contrastive Order Learning: A General Framework for Ordinal Regression

Chaewon Lee, BeomJun Shim, Kwang Pyo Choi, Chang-Su Kim
7/9/2026
cs.LG

Official code: cwlee00/ConOrd (0 stars, Apache-2.0, last commit 2026-06-11).

Abstract

We propose contrastive order learning (ConOrd), a contrastive learning framework for ordinal regression that integrates the strengths of contrastive learning and order learning. While contrastive learning effectively leverages all samples in a batch, it typically ignores the inherent ordering among rank labels. Conversely, order learning explicitly models label ordinality but often relies on local, margin-based comparisons, limiting its ability to capture global ordinal structure. ConOrd addresses these limitations by introducing a contrastive order loss with soft affinity and disparity weights based on rank differences, enabling fine-grained modeling of ordinal relationships across all sample pairs within a batch. Extensive experiments on a range of ordinal regression tasks, including facial age estimation, blind image quality assessment, and blind video quality assessment, demonstrate that ConOrd consistently achieves state-of-the-art performance and generalizes well across diverse ordinal regression scenarios. The source code is available at https://github.com/cwlee00/ConOrd.

View on arXivView PDF

Code Implementations(1)

cwlee00/ConOrdOfficial100%
Apache-2.0
00PythonJun 11, 20264 months agoApache-2.0

Similar Papers

Cite this paper

@article{lee2026contrastive,
  title  = {Contrastive Order Learning: A General Framework for Ordinal Regression},
  author = {Chaewon Lee and BeomJun Shim and Kwang Pyo Choi and Chang-Su Kim},
  year   = {2026},
  eprint = {2607.08109},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.08109v1}
}

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/2607.08109.svg)](https://codeofpaper.com/paper/2607.08109)

Discussion