Unimodal, Calibrated, and Order-Aware: A Deep Architecture for Reliable Ordinal Regression

Guy Ben Razon, Daniel Bazar, Jonathan Svirsky, Uri ShahamarXiv 2026

TL;DR

If you're predicting an ordered outcome—like tumor severity or age—you want your model's probabilities to be unimodal (a single clear peak, not "maybe 1 or 4, but definitely not 2 or 3"), order-aware (missing by 1 is better than missing by 4), and calibrated (an 80% confidence means it's right 80% of the time). UnicornNet is the first deep learning approach to guarantee all three at once: it uses a truncated normal distribution to enforce unimodality by design, trains with Optimal Transport (OT) to respect class order, and applies a clever post-hoc calibration step that fixes OT's notorious overconfidence without changing a single predicted class.

What Problem Does This Paper Address?

Ordinal regression sits between classification and regression: the labels are discrete categories, but they have a natural order (e.g., disease grades 1 through 5). Standard deep learning approaches run into a frustrating three-way tug-of-war:

  1. Lack of unimodality: Many models can output bizarre, multi-peaked distributions—assigning high probability to grades 1 and 4 while ignoring 2 and 3. Existing fixes often just encourage unimodality using soft target labels rather than guaranteeing it.
  2. Order-blindness: Models trained with standard cross-entropy or maximum likelihood (like the classic Proportional Odds Model) only care about the probability assigned to the true class. They treat predicting "1" when the truth is "4" the same as predicting "3".
  3. Miscalibration: To respect class order, researchers often turn to Optimal Transport (OT) loss, which penalizes errors based on ordinal distance. The catch? OT-trained models tend to be wildly overconfident.

Methods

UnicornNet resolves these tensions with a two-part architectural and training design:

  • Unimodal by Construction: Instead of learning arbitrary class probabilities, UnicornNet's neural network backbone outputs just two parameters for each input $x$: a location $\mu(x)$ and a scale $\sigma(x)$. These define a truncated normal distribution on the interval $[-1, 1]$, which is sliced into $k$ equal-length bins—one per class. The probability of class $i$ is simply the area under the curve in bin $i$. Because a truncated normal has a single peak, the resulting class probabilities are mathematically guaranteed to be unimodal.
UnicornNet's unimodal output mechanism
  • Two-Stage Training & Accuracy-Preserving Calibration:
  • Phase 1 (Order-Aware Training): The backbone, $\mu(\cdot)$, and $\sigma(\cdot)$ are trained jointly using an Optimal Transport loss. This puts the peak $\mu(x)$ in the right place to minimize Mean Absolute Error (MAE).
  • Phase 2 ($\sigma$-Scaling Calibration): The backbone and $\mu(\cdot)$ are frozen, and only $\sigma(\cdot)$ is retrained using the Brier Score (squared error against one-hot labels). Because $\mu(x)$ dictates which bin has the highest probability, changing $\sigma(x)$ only adjusts how sharply or widely the probability mass spreads around that peak. The predicted class (the argmax) never changes, meaning accuracy and MAE are 100% preserved while calibration is repaired.

Datasets

The authors evaluate UnicornNet on six real-world image benchmarks and one tabular dataset:

  • Age Estimation: Adience, FG-Net, and AAF.
  • Facial Beauty Prediction: SCUT-FBP5500.
  • Biomedical Imaging: RetinaMNIST.
  • Image Aesthetics: EVA.
  • Tabular Data: Fireman (16 ordinal classes), used to test performance outside the image domain.

Key Insights and Ideas

  • Why OT is Overconfident: The authors prove (Proposition 2) that Optimal Transport is not a "proper scoring rule." Minimizing expected OT loss pushes a model to collapse all its probability mass into a one-hot spike at the median of the true distribution. So OT puts the peak in the right place for MAE, but ruins calibration by making the model 100% sure of itself.
  • Why Two Stages Beat One: You might wonder why not just train with a combined loss ($\mathcal{L}_{\text{OT}} + \lambda \mathcal{L}_{\text{BS}}$). The authors note that OT and Brier Score pull $\sigma$ in opposite directions—OT wants a tiny $\sigma$ (a sharp spike), while Brier Score wants a larger $\sigma$ (a calibrated spread). Joint training proved sensitive to $\lambda$ and underperformed the clean two-stage approach.

Key Results

Across all six image benchmarks, UnicornNet consistently matches or outperforms eight recent baselines (including ORCU, SORD, POM, DLDL, and UnimodalNet):

Table 1: Summary Table Reporting the Average Performance Across Six Image Datasets. The Full Per- Dataset Results Are Provided in Table 2. Lower MAE/ECE is Better; Higher Unimodality is Better.
  • Best Overall Trade-off: UnicornNet achieves the lowest average MAE (0.483), 100.0% unimodality, and the lowest average Expected Calibration Error (ECE of 0.073, compared to 0.095 for the next-best baseline, ORCU).
  • Calibration Impact: In ablation studies, skipping Phase 2 ($\sigma$-scaling) causes ECE to spike—for example, jumping from 0.06 to 0.38 on RetinaMNIST. Furthermore, $\sigma$-scaling outperforms standard global Temperature Scaling on 5 out of 6 image datasets.
  • Tabular Performance: On the Fireman dataset, UnicornNet achieves an MAE of 0.75 ± 0.04, 100% unimodality, and an ECE of 0.06 ± 0.01, matching the best baseline (UnimodalNet) while remaining far more consistent across image domains.

Limitations and Future Work

  • When Unimodality Doesn't Fit: Unimodality is an inductive bias, not a universal law. In tasks with genuine multi-modal distributions—such as strong disagreement among human raters or ratings clustered at the extremes—forcing a single peak is inappropriate.
  • Distributional Constraints: A truncated normal distribution can only capture symmetric or moderately skewed shapes. Extending the architecture to richer families, such as mixtures or asymmetric distributions, is a natural next step.
  • Subgroup Fairness: As the authors note in their broader impact statement, being well-calibrated on average does not guarantee calibration for every demographic subgroup under distribution shift.

Summary updated

BibTeX
@misc{razon2026unimodal,
  author = {Guy Ben Razon and Daniel Bazar and Jonathan Svirsky and Uri Shaham},
  title = {{Unimodal, Calibrated, and Order-Aware: A Deep Architecture for Reliable Ordinal Regression}},
  year = {2026},
  eprint = {2612.05653},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.05653},
}
Figure