NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Ordinal Regression as Structured Classification

Niall Twomey, Rafael Poyiadzi, Callum Mann, Raúl Santos-RodríguezarXiv 2019

TL;DR

This paper introduces STORM, a novel approach to ordinal regression that reframes it as a structured classification problem solvable with Conditional Random Fields (CRFs). STORM effectively captures the inherent ordering of classes, outperforming traditional methods on various datasets, especially those with complex data manifolds.

What Problem Does This Paper Address?

Ordinal Regression (OR) deals with classification tasks where the output classes have a natural order (e.g., "mild," "moderate," "severe"). Standard classification methods often ignore this ordering, treating classes as independent nominal categories, which can lead to suboptimal predictions and higher costs for misclassifications. Similarly, naive regression-based approaches to OR can struggle with the mapping back to discrete ordinal classes. The challenge lies in developing models that can effectively leverage this ordinal information, adapt to complex data structures, and provide a coherent, probabilistic framework for prediction.

Methods

The core of STORM lies in a novel label encoding scheme that transforms the ordinal regression problem into a sequence of binary classification tasks. This encoded representation is then fed into a Conditional Random Field (CRF) model. CRFs are powerful for structured prediction, allowing for the joint learning of all model parameters. Unlike traditional OR methods that might treat each class or transition independently, STORM uses a single, unified CRF model. This approach allows the model to learn complex dependencies and adapt to data manifolds, a key advantage over simpler threshold or decomposition methods. The paper also details the inference (forward-backward algorithm) and learning (gradient descent on negative log-likelihood) procedures for the CRF.

Datasets

The authors evaluated STORM on a diverse set of datasets:

  • Synthetic Datasets: Four synthetic datasets (LINEAR, SINE, CIRCLE, SPIRAL) were generated to test the models' ability to handle different data manifolds, with varying numbers of categories (K=5 and K=10).
  • UCI Datasets: A collection of 19 datasets from the UCI Machine Learning Repository were adapted for ordinal regression by using equal-frequency binning.
  • Large Datasets: A "large" dataset (details not fully specified but implied to be from a previous work) was used to test performance on larger-scale problems.
  • Healthcare Datasets: Two healthcare datasets were used:
  • DEMENTIA BANK: A longitudinal dataset of multimedia interactions for studying cognitive impairment progression.
  • CASAS: A smart-home behavior dataset used to predict activity incompleteness related to Alzheimer's disease.

Key Insights and Ideas

  • Reframing OR as Structured Classification: The most significant insight is the successful transformation of ordinal regression into a structured classification problem solvable by CRFs. This allows for a more principled and unified modeling approach.
  • The Power of Label Encoding: The bespoke label encoding scheme is crucial. It breaks down the ordinal problem into a sequence of binary decisions, enabling CRFs to capture the ordered structure effectively.
  • Adaptability to Data Manifolds: STORM demonstrates a remarkable ability to adapt to non-linear data manifolds (like CIRCLE and SPIRAL), a limitation for many traditional OR methods. This is attributed to the CRF's structured learning capabilities.
  • Unified Probabilistic Model: Unlike decomposition methods that train multiple independent models, STORM uses a single CRF, leading to a coherent and probabilistically sound model where all parameters are jointly learned.
  • "Naïve" vs. "Structured" OR: The paper strongly advocates for structured approaches like STORM, contrasting them with "naïve" methods that ignore ordinality or rely on simplistic mappings.

Key Results

  • Superior Performance: STORM consistently outperformed baseline models (Ordered Logit, Nested Binary Ordinal Regression, Logistic Regression) across synthetic, UCI, and large datasets, often with statistically significant improvements, especially on datasets with complex manifolds.
  • Synthetic Datasets: Visualizations showed STORM effectively capturing the underlying structure of CIRCLE and SPIRAL datasets, while ORDLOG struggled and BINNEST failed to adapt. Critical difference diagrams confirmed STORM's superiority in macro-averaged 0/1 loss and Mean Absolute Error (MAE).
  • UCI and Large Datasets: STORM achieved top rankings on most UCI datasets, particularly with 5 categories. On larger datasets, STORM significantly outperformed baselines, suggesting its scalability and effectiveness with more data.
  • Healthcare Datasets: While performance on healthcare datasets was generally lower (attributed to challenging data and representation issues), STORM still performed best or competitively, demonstrating its robustness.
  • Versatile Queries: The CRF framework allows for flexible querying, such as predicting the probability of transitions between ordinal states, which can be useful for clinical interpretations.

Limitations and Future Work

  • Linear Models: The current STORM implementation focuses on linear models. The authors suggest future work to incorporate non-linear representation methods (e.g., kernel functions, deep networks) to further enhance adaptability.
  • Healthcare Data Challenges: The performance on healthcare datasets, while still leading, highlights ongoing challenges in data representation and the impact of withheld features for anonymity.
  • Forbidden Transitions: The encoding scheme inherently forbids certain transitions (e.g., 0 -> 1). While methods exist to handle this, the authors note that invalid predictions can sometimes correspond to outlying data, suggesting this as an area for further investigation.
  • Implementation Availability: The authors plan to release their implementation and scripts on a public GitHub repository, facilitating reproducibility and further research.

Summary updated

BibTeX
@misc{twomey2019ordinal,
  author = {Niall Twomey and Rafael Poyiadzi and Callum Mann and Raúl Santos-Rodríguez},
  title = {{Ordinal Regression as Structured Classification}},
  year = {2019},
  eprint = {1905.13658},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.13658},
}
Figure