TL;DR
This paper introduces a framework for Conformal Risk Control (CRC) specifically tailored for ordinal classification—tasks where labels have a natural ordering, such as age groups or disease severity. By moving beyond simple "coverage" to more nuanced loss functions (weight-based and divergence-based), the authors provide a method to generate prediction sets that are statistically guaranteed to keep expected risk below a user-defined threshold while respecting the ordinal nature of the data.
What Problem Does This Paper Address?
In high-stakes fields like medical diagnosis or autonomous driving, "black box" predictions aren't enough; we need to quantify uncertainty. Conformal Prediction is a popular tool for this, generating a set of possible labels that is guaranteed to contain the true label with high probability (e.g., 95% coverage).
However, standard conformal prediction treats all errors as equal. In ordinal classification, this is a problem. If a patient has "Severe" retinopathy, misclassifying them as "Moderate" is a mistake, but misclassifying them as "Healthy" is a catastrophe. Standard methods don't distinguish between these. Furthermore, an ideal prediction set for an ordinal task should be contiguous (e.g., predicting "Stages 2, 3, and 4" makes sense, but "Stage 1 or Stage 4" does not).
The authors bridge this gap by applying Conformal Risk Control (CRC)—a recent generalization of conformal prediction—to the ordinal setting, allowing practitioners to define custom "risks" they want to minimize.
Methods
The authors propose a framework to control the expected loss ($E[L] \leq \alpha$) rather than just the miscoverage rate. They introduce two specific types of loss functions for ordinal data:
- Weight-based Risk: Assigns different "costs" to different classes. This is useful when certain classes (like severe diseases) are more critical to catch than others.
- Divergence-based Risk: The loss is proportional to the distance between the true label and the prediction set. This penalizes "far away" errors more heavily than "near misses."
To make these sets practical, they enforce three "ideal" conditions:
- Contiguity: Prediction sets must be a continuous range $[l, u]$.
- Consistency: The set must include the model's top point prediction.
- Nestedness: As you allow for more risk (higher $\alpha$), the prediction set should shrink smoothly.
They provide greedy algorithms (Algorithms 1 and 3) to construct these sets efficiently and use a binary search (Algorithm 2) to find the optimal threshold ($\lambda$) that satisfies the risk requirement on a calibration dataset.
Datasets
The researchers evaluated their approach on three distinct tasks:
- Simulated Data: A 10-class synthetic dataset generated from Gaussian distributions to provide a controlled environment for testing.
- UTKFace Dataset: A large-scale face dataset where the task is to predict age. The authors discretized ages into 20 groups (e.g., 0–4, 5–9, etc.).
- Diabetic Retinopathy (DR) Detection: A medical imaging dataset with 5 severity levels (0 to 4). This represents a classic high-stakes ordinal task where misdiagnosis costs vary wildly.
Key Insights and Ideas
- The "Centripetal" Effect of Divergence: One of the most interesting findings is that divergence-based loss is "centripetal." Because it punishes extreme errors (labels on the opposite end of the spectrum) so heavily, the resulting prediction sets tend to cluster toward the center of the label range to hedge their bets.
- Weighting the Ends: Conversely, weight-based risk allows practitioners to "push" the prediction sets toward specific ends of the spectrum. For example, in age recognition, if you double the weights for older age groups, the algorithm produces sets that are more cautious (larger) when dealing with older faces.
- Contiguity is Key: By forcing the sets to be contiguous, the authors ensure the output remains interpretable for humans. A doctor wants to see a range of possible stages, not a fragmented list of disconnected possibilities.
Key Results
- Reliable Risk Control: Across all datasets, the actual measured risk on test data closely matched the desired $\alpha$ level. For example, in the DR dataset, when setting $\alpha = 0.08$, the actual risk for the weight-based scenarios was almost exactly $0.08$.
- Saturation Points: The authors noted that for divergence-based risk, the risk sometimes "saturates." Once the prediction set shrinks to a single class, the risk can't go any lower even if you increase the allowed $\alpha$, because you've reached the maximum possible precision for a single-label prediction.
- Trade-offs: The paper quantifies the trade-off between set size and risk. To achieve lower risk or handle higher weights on certain classes, the prediction sets naturally become larger.
Limitations and Future Work
- Marginal vs. Conditional Risk: The current method guarantees risk control on average across the whole dataset (marginal). However, it doesn't guarantee the risk is controlled for every specific class (conditional). The authors acknowledge that the choice of weight function significantly impacts this and plan to investigate it further.
- Weight Selection: While the framework allows for custom weights, choosing the "optimal" weights for a specific real-world application remains a subjective design choice for the practitioner.
- Distance Metrics: This work focused on $p=1$ (absolute distance) for divergence risk. Exploring other distance metrics (like squared error) could be a future direction.
Summary updated