This paper introduces the Explainable Ordinal Factorization Model (XOFM), a novel approach to ordinal regression that moves beyond simple linear coefficients. By combining piece-wise linear approximations with Factorization Machines, the authors provide a model that not only achieves state-of-the-art accuracy but also allows users to visualize exactly how different attribute scales and their interactions drive predictions.
TL;DR
XOFM improves ordinal regression by using piece-wise linear functions to capture non-linear attribute effects and Factorization Machines to handle the resulting data sparsity. It replaces rigid classification boundaries with a flexible, interval-based transformation process, offering both high predictive performance and intuitive visualizations of model behavior.
What Problem Does This Paper Address?
Ordinal regression is used when target labels have a natural order (e.g., "poor," "average," "good," "excellent"), but the "distance" between these labels is unknown. Standard approaches often treat these labels as either categorical (ignoring the order) or numerical (assuming arbitrary distances).
Existing state-of-the-art models typically use constant coefficients to represent an attribute's importance. However, in fields like clinical diagnosis or credit scoring, an attribute's impact might change depending on its value—for example, a small increase in blood pressure might matter much more at high levels than at low levels. Current models fail to capture these "scale-specific" contributions and often rely on fixed, brittle thresholds to separate classes, which perform poorly when data points are clustered near boundaries.
Methods
The authors propose three key innovations:
- Piece-wise Linear Score Functions: Instead of a single coefficient per attribute, XOFM discretizes each attribute into intervals. It uses piece-wise linear functions to approximate the "preference" contribution of each interval. This allows the model to capture non-linear relationships between inputs and the ordinal output.
- Factorization Machine (FM) Integration: Discretizing attributes leads to high-dimensional, sparse feature vectors. XOFM adopts the FM scheme to model pairwise interactions between these discretized attributes efficiently, preventing the "curse of dimensionality" while maintaining explainability.
- Interval-based Ordinal Transformation: Rather than learning fixed scalar thresholds to separate classes, XOFM determines a "class interval" for each object by comparing its predicted preference value against the training set. It then assigns labels based on the probability of belonging to relevant classes within that interval.
The model also includes regularization terms ($\lambda_1, \lambda_2$) that allow users to control the smoothness of the score functions and the intensity of attribute interactions based on domain expertise.
Datasets
The model was evaluated on seven benchmark datasets representing various domains:
- Abalone (AO): Predicting the age of abalone.
- Auto Riskiness (AR): Insurance risk levels.
- Breast (BR): Classification of tissue samples based on electrical impedance.
- Boston Housing (BHO): Housing price tiers.
- Chinese University (CU): University rankings.
- Stock (SO): Stock price movements.
- Skill (SK): Professional skill levels.
Key Insights and Ideas
- Visualizing "Importance" Across Scales: By plotting the piece-wise linear functions, researchers can see where an attribute is most influential. For instance, in the Breast dataset, the attribute $I0$ (impedivity at zero frequency) shows a sharp decrease in preference score as its value increases, identifying it as a critical risk factor for malignancy.
- Interaction Heat-maps: The model can generate heat-maps to show how two attributes interact. This is far more descriptive than a single interaction coefficient, as it reveals specific combinations of attribute values that significantly shift the prediction.
- Flexibility via Regularization: The authors demonstrate that by increasing $\lambda_1$, the score functions become smoother and flatter, which can help prevent overfitting or align the model with a physician's prior knowledge that certain risks should change gradually.
Key Results
- Accuracy: XOFM achieved the best or near-best accuracy on five out of seven datasets, performing particularly well on small-to-medium-sized datasets (AR, BR, CU, SO).
- Mean Absolute Error (MAE): XOFM consistently produced the lowest MAE across five datasets. This suggests that when XOFM does make a mistake, the predicted label is usually very close to the true label (e.g., predicting "good" instead of "excellent"), which is a vital property in ordinal tasks.
- Explainability vs. Performance: Unlike "black-box" neural networks (like CNNOR), XOFM provides competitive accuracy while remaining fully interpretable through its score functions and interaction maps.
Limitations and Future Work
- Preprocessing Complexity: The authors note that the computational complexity for preprocessing data is $O(N^2)$, which may become a bottleneck for extremely large datasets.
- Discretization Sensitivity: The performance of the model depends on the number of sub-intervals ($\gamma$) chosen for discretization. While FMs help mitigate sparsity, choosing an optimal $\gamma$ still requires tuning.
- Future Directions: The authors suggest that this framework could be extended to other types of prediction problems beyond ordinal regression where explainability is paramount.
Summary updated