Skip to main content
QUICK REVIEW

[Paper Review] Unimodal probability distributions for deep ordinal classification

Christopher Beckham, Christopher Pal|arXiv (Cornell University)|May 15, 2017
Explainable Artificial Intelligence (XAI)Computer Science12 references14 citations
TL;DR

This paper proposes enforcing unimodal probability distributions in deep ordinal classification using Poisson and binomial distributions to improve model interpretability and performance. By constraining predictions to peak at a single class and decay monotonically on either side, the method achieves competitive or superior performance on two large image datasets, particularly in top-k accuracy and quadratic weighted kappa (QWK), with the binomial formulation outperforming Poisson and showing gains when combined with the Earth Mover's Distance (EMD) loss.

ABSTRACT

Probability distributions produced by the cross-entropy loss for ordinal classification problems can possess undesired properties. We propose a straightforward technique to constrain discrete ordinal probability distributions to be unimodal via the use of the Poisson and binomial probability distributions. We evaluate this approach in the context of deep learning on two large ordinal image datasets, obtaining promising results.

Motivation & Objective

  • To address the issue that standard cross-entropy loss produces probability distributions that may be multimodal and counterintuitive despite identical loss values.
  • To improve model behavior in ordinal classification by enforcing unimodal distributions that reflect the natural ordering of classes.
  • To evaluate whether unimodal constraints via Poisson and binomial distributions lead to more sensible and effective probability predictions in deep learning.
  • To compare the performance of unimodal formulations against standard cross-entropy and EMD losses on large-scale ordinal image datasets.
  • To investigate whether unimodal constraints act as a form of regularization, especially beneficial for top-k accuracy metrics.

Proposed method

  • Uses the probability mass function (PMF) of the Poisson and binomial distributions to parameterize the predicted probability distribution over ordinal classes.
  • Imposes a unimodal constraint by ensuring the predicted distribution peaks at a central class and decays monotonically on both sides.
  • Applies a learnable temperature parameter τ to control the variance of the Poisson distribution, mitigating issues in high-K settings.
  • Employs the Earth Mover’s Distance (EMD) loss as a baseline comparison, which accounts for class ordering and distances.
  • Trains deep neural networks with the unimodal distribution parameterization using cross-entropy or EMD loss.
  • Uses the expectation trick to stabilize training by learning a mean value τ that controls the location and spread of the unimodal distribution.

Experimental results

Research questions

  • RQ1Can enforcing unimodal probability distributions improve the quality and interpretability of predictions in deep ordinal classification?
  • RQ2How do Poisson and binomial distributions compare in their ability to model unimodal ordinal predictions in deep learning?
  • RQ3Does the use of unimodal constraints lead to better performance on top-k accuracy and quadratic weighted kappa (QWK) compared to standard cross-entropy?
  • RQ4Is the unimodal constraint more effective when combined with the Earth Mover’s Distance (EMD) loss?
  • RQ5In high-cardinality ordinal problems (e.g., many age classes), does the variance of the Poisson distribution degrade performance, and can temperature scaling mitigate this?

Key findings

  • The binomial formulation consistently outperformed the Poisson formulation in terms of both QWK and top-k accuracy across both the Adience and diabetic retinopathy datasets.
  • Even with the worst-performing configuration (Poisson with τ=1), the model achieved better top-3 accuracy than the cross-entropy baseline on the Adience dataset.
  • The EMD loss provided a performance boost when used with the Poisson distribution, but not with the binomial, suggesting different loss-distribution interactions.
  • The unimodal constraint acted as a form of regularization, particularly benefiting top-k accuracy by ensuring neighboring classes receive high probability mass when the true class is adjacent to the mode.
  • Temperature scaling (τ) significantly improved performance, especially for the Poisson distribution, by controlling variance and preventing mass from spreading too widely.
  • On the larger diabetic retinopathy dataset, deep networks learned unimodal-like distributions naturally, reducing the need for explicit unimodal constraints, though performance gains were still observed with the binomial formulation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.