Interpretable and specialized conformal predictors

Ulf Johansson, Tuwe Löfström, Henrik Boström, Cecilia Sönströd

Introduction

In high-stakes domains such as medicine, law, and finance, the deployment of machine learning models is often hindered by a fundamental "transparency-accuracy" trade-off. While complex "black-box" models like Random Forests or Deep Neural Networks offer high predictive accuracy, their internal logic remains opaque. Conversely, interpretable models like Decision Trees are easily understood by humans but frequently suffer from lower precision. Furthermore, standard point-prediction models rarely provide a rigorous measure of confidence.

This paper addresses these challenges by introducing a framework that produces decision trees that are both highly accurate for specific tasks and mathematically "trustworthy." By integrating oracle coaching—a form of model distillation—with conformal prediction, the authors develop specialized models that provide prediction sets with guaranteed error rates, significantly outperforming standard interpretable models.

The Conformal Prediction Framework

Conformal Prediction (CP) is a framework that shifts the focus from single-label predictions to prediction sets. Instead of outputting a single class, a CP model outputs a set of possible labels that is guaranteed to contain the true label with a user-defined probability (e.g., 95%).

However, the utility of CP is intrinsically linked to the quality of the underlying heuristic model. If the model is weak, the resulting prediction sets become excessively large to maintain the required coverage, rendering them useless for decision-making. The authors seek to improve this "efficiency" (set size) without sacrificing the interpretability of the final model.

Methodology: Oracle Coaching and Specialized Induction

The core of the proposed approach is Oracle Coaching. In this setup, a high-performing "oracle" (a Random Forest consisting of 300 trees) generates labels for a specific batch of data. A simpler, transparent model (a CART decision tree) is then trained to mimic the behavior of the oracle on that specific data.

To ensure that the mathematical guarantees of Conformal Prediction remain valid, the authors propose two specific configurations:

  1. Explanation (X): The decision tree is trained exclusively on the oracle's predictions for both the calibration and test sets.
  2. Indanation (IX): The tree is trained on a combination of the original training data and the oracle's predictions for the calibration and test sets.

Preserving Exchangeability

A critical requirement for Conformal Prediction is exchangeability—the assumption that the calibration and test data are statistically interchangeable. The authors demonstrate that by treating the calibration and test data identically during the coaching process (i.e., the model "sees" the features of both during the specialized training phase), the exchangeability property is preserved. This allows the model to specialize its logic for a specific population while maintaining rigorous statistical validity.

Experimental Evaluation

The methods were evaluated across two extensive experiments:

  • Binary Classification: 24 datasets from the UCI and PROMISE repositories, covering domains like healthcare (diabetes, liver) and finance (creditA).
  • Multi-class Classification: 19 datasets from the UCI repository (e.g., glass, iris, wine).

The study also explored different nonconformity measures for multi-class problems, specifically comparing Hinge Error and Margin Error.

Key Insights and Results

The experimental results highlight several advantages of the specialized conformal approach:

  • Enhanced Accuracy: The coached trees (IX setup) demonstrated significantly higher accuracy than standard decision trees, often approaching the performance levels of the Random Forest oracle.
  • Improved Efficiency: In binary classification tasks, the IX setup produced smaller average prediction sets (AvgC) and a higher frequency of single-label predictions (OneC) compared to standard induction across various significance levels.
  • Reliable Singletons: When the specialized tree produced a "singleton" set (a single label), the accuracy of that prediction was notably higher than the model's overall average. This provides a clear signal to users regarding when the model’s output is most dependable.
  • Empirical Validity: Across all experiments, the empirical error rates closely matched the preset significance levels (ε), confirming that the specialized coaching process does not compromise the conformal guarantees.

Limitations and Future Directions

While the results are promising, the authors note certain limitations. The method is inherently transductive, meaning it requires a batch of test instances to be available upfront for the coaching process. Consequently, it is not currently suitable for streaming scenarios where data points arrive one by one.

Additionally, while the resulting models are decision trees, the "coached" versions tend to be more complex (having more nodes) than standard trees to capture the nuances of the oracle. Future research will explore applying these specialized setups to regression problems and investigating different combinations of oracles and transparent models.

Conclusion

This research provides a robust pathway for deploying interpretable models in high-stakes environments. By specializing decision trees through oracle coaching and wrapping them in a conformal prediction framework, practitioners can achieve a rare combination of transparency, high accuracy, and rigorous uncertainty quantification.

Summary updated

BibTeX
@inproceedings{johansson2019interpretable,
  author = {Ulf Johansson and Tuwe Löfström and Henrik Boström and Cecilia Sönströd},
  title = {{Interpretable and specialized conformal predictors}},
  booktitle = {COPA},
  year = {2019},
}
Figure