Continuously Generalized Ordinal Regression for Linear and Deep Models

Fred Lu, Francis Ferraro, Edward Raff

Introduction

Ordinal regression occupies a unique space in machine learning, situated between classification and regression. In tasks such as star ratings or medical dosages, labels possess a natural ordering where the magnitude of error matters—a "near miss" is significantly better than a "far miss." Traditionally, this has been handled by threshold-based models, which assume parallel decision boundaries, or generalized models, which allow for independent boundaries at the cost of high variance and overfitting.

The coGOL Framework

To address the limitations of existing approaches, researchers have introduced coGOL (continuously generalized ordinal logit). This framework bridges the gap between rigid threshold models and overly flexible generalized models by employing a novel weight decomposition strategy.

Comparison of threshold-based, generalized, and continuously generalized ordinal regression models.

In coGOL, the weights for each class boundary ($w_j$) are defined as the sum of a "pooled" global trend ($\bar{w}$) and a class-specific adjustment ($\delta_j$): $$w_j = \bar{w} + \delta_j$$

The model's flexibility is controlled by a deviation penalty parameter, $\beta$. When $\beta$ is large, the adjustments are suppressed, recovering the standard threshold model. When $\beta$ is zero, the model becomes fully generalized. This allows for a "Goldilocks" level of complexity tailored to the specific dataset.

Experimental Evaluation

The coGOL framework was evaluated across 17 linear benchmark datasets and several large-scale deep learning tasks, including facial age estimation (AFAD) and historical image dating (HCID).

Performance comparison of coGOL against state-of-the-art ordinal regression models on deep learning datasets.

As shown in the results, coGOL consistently matches or outperforms specialized state-of-the-art models. In the linear regime, it achieved the lowest Mean Absolute Error (MAE) in 11 out of 17 benchmarks, demonstrating a statistically significant improvement ($p=0.0004$) over standard baselines. In deep learning experiments, coGOL also showed faster and more stable convergence compared to standard ordinal models.

Key Insights

  • Unification: coGOL provides a unifying mathematical framework for existing deep learning methods. Popular models like OR-CNN and CORAL are shown to be special cases of coGOL where the regularization parameter $\beta$ is set to zero or infinity, respectively.
  • Stability through All-Thresholds Loss: The use of an "all-thresholds" loss function is critical. It provides the necessary constraints to stabilize generalized coefficients, which otherwise tend to be erratic when using immediate-threshold losses.
  • Optimal Inductive Bias: The results suggest that while the "parallel hyperplane" assumption is a useful starting point, allowing for controlled deviations significantly enhances predictive performance without succumbing to overfitting.

Conclusion

coGOL offers a robust and flexible solution for ordinal regression tasks. By providing a tunable path between simplicity and complexity, it allows practitioners to optimize models for both linear and deep learning architectures. While it introduces additional hyperparameters for tuning, the performance gains and stability improvements make it a compelling choice for modern ordinal tasks.

Summary updated

BibTeX
@inproceedings{lu2022continuously,
  author = {Fred Lu and Francis Ferraro and Edward Raff},
  title = {{Continuously Generalized Ordinal Regression for Linear and Deep Models}},
  booktitle = {SDM},
  year = {2022},
  url = {https://openreview.net/forum?id=UYNjrO_HoyB},
}
Figure