atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

CLOC: Contrastive Learning for Ordinal Classification with Multi-Margin N-pair Loss

CVPR 2025 · Label-efficient and robust learning › Recognition and long-tail · approach: Group-robust classification · 15 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CLOC, a contrastive ordinal classification method with learnable cumulative class-pair margins trained via a multi-margin n-pair loss, evaluated on five real image datasets and one synthetic biased dataset.

Problem

Ordinal classification treats all adjacent-rank errors as equally costly, ignoring that some class boundaries (e.g., pre-cancerous vs cancerous, minor vs adult) matter more.

Approach

A multi-margin n-pair contrastive loss with C-1 learnable (optionally constrained) cumulative margins between consecutive ranks, jointly with cross-entropy and trained in two phases (learn margins, then freeze them), giving flexible, controllable decision boundaries.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CLOC with separately learned margins instead of the strongest listed baselineOrdinal classification with ResNet-50 · Adience, HID, KOA, IDRiD, and BRACS test setsaccuracy: Adience: 0.6250 -> 0.6302; HID: 0.5780 -> 0.6208; KOA: 0.6439 -> 0.6673; IDRiD: 0.6408 -> 0.7379; BRACS: 0.5754 -> 0.603Helped
Use CLOC instead of the strongest listed baselineOrdinal classification with ResNet-50 · Adience, HID, KOA, IDRiD, and BRACS test setsmean absolute error: Adience: 0.4300 -> 0.4100; HID: 0.5500 -> 0.5534; KOA: 0.4330 -> 0.4167; IDRiD: 0.5972 -> 0.4078; BRACS: 0.7060 -> 0.705Mixed
Set all margins to 1 instead of learning separate margins (ablation)CLOC · Adience and KOA test setsaccuracy: Adience: 0.6302 -> 0.6306; KOA: 0.6673 -> 0.6612No clear effect
Set all margins to 1 instead of learning separate margins (ablation)CLOC · HID, IDRiD, and BRACS test setsaccuracy: HID: 0.6208 -> 0.6492; IDRiD: 0.7379 -> 0.7184; BRACS: 0.6035 -> 0.5912Hurt
Use one shared learnable value for all C − 1 margins instead of separate learnable margins (ablation)CLOC · Adience, HID, KOA, IDRiD, and BRACS test setsaccuracy: Adience: 0.6302 -> 0.5939; HID: 0.6208 -> 0.5944; KOA: 0.6673 -> 0.6594; IDRiD: 0.7379 -> 0.7184; BRACS: 0.6035 -> 0.586Hurt
Add the second phase, freezing learned margins while refining the representation (ablation)CLOC with C − 1 separately learned margins · Adience, HID, KOA, IDRiD, and BRACS test setsaccuracy: Adience: 0.5852 -> 0.6302; HID: 0.6028 -> 0.6208; KOA: 0.6600 -> 0.6673; IDRiD: 0.7282 -> 0.7379; BRACS: 0.5930 -> 0.603Helped
Fix the critical margin between grades 1 and 2 to a larger valueCLOC on biased IDRiD training data · IDRiD testaccuracy: 0.6602 -> 0.7087Helped
Fix the critical margin between grades 1 and 2 to a larger valueCLOC on biased IDRiD training data · IDRiD testmean absolute error: 0.5340 -> 0.4272Helped

Surprising findings

Limitations

Experimental setup

Datasets: Adience Historical Colour Image Dating (HID) Knee Osteoarthritis (KOA) IDRiD BRACS

Benchmarks: Adience HID KOA IDRiD BRACS

Metrics: accuracy mean absolute error

Baselines: ORCNN POE GOL MWR RnC SimCLR SupCon DINO

Builds on: SupCon Rank-N-Contrast n-pair loss cross-entropy

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy