On the Interpretability of Conditional Probability Estimates in the Agnostic Setting

Yihan Gao, Aditya G. Parameswaran, Jian Peng

Introduction

In modern machine learning, binary classifiers are frequently used not just for hard labels, but for the conditional probability estimates they provide. For instance, a medical diagnostic tool might predict a 70% probability of disease. In classical statistics, researchers often operate under the "realizable assumption"—the belief that the true data-generating distribution fits the model's functional form. However, in the "agnostic" setting common to modern practice, we make no such assumptions about the underlying distribution. This paper explores whether these probability estimates can be trusted when the model is potentially misspecified.

The Impossibility of Truth

The authors first establish a fundamental theoretical barrier. Theorem 1 proves that in the agnostic setting, it is impossible to guarantee that an estimated probability is close to the true probability (measured by $l_1$ distance) based solely on finite data. This "reality check" suggests that the intuitive goal of finding the "correct" probability is mathematically unreachable without strong, often unrealistic, assumptions.

Calibration: A Verifiable Alternative

If we cannot guarantee "truth," can we at least guarantee consistency? The authors propose shifting the focus to calibration. A classifier is considered calibrated if, for all instances where it predicts a probability $p$, the actual proportion of positive instances is indeed $p$.

Empirical Calibration and Convergence

To make this concept practical, the authors introduce the Empirical Calibration Measure ($c_{emp}$), which can be computed on finite datasets. Using Rademacher complexity, they derive Theorem 2, which provides uniform convergence bounds. This ensures that a model appearing calibrated on a large training or validation set will likely remain calibrated on unseen data.

Optimization and Decision Theory

The paper provides a formal link between calibration and existing techniques. They show that Isotonic Regression, a popular post-processing method, effectively minimizes the proposed empirical calibration measure. Furthermore, they prove that for a calibrated model, applying the Bayes Decision Rule is the optimal strategy for minimizing expected loss, providing a rigorous justification for using these estimates in cost-sensitive decision-making.

Experimental Results

The theoretical framework was tested on the ADULT and COVTYPE benchmarks using five algorithms: Naive Bayes (NB), Boosted Decision Trees, Support Vector Machines (SVM), Logistic Regression (LR), and Random Forests (RF).

Empirical calibration error across different models and datasets.

As shown in the figure above, Logistic Regression and Random Forests are "naturally" calibrated, exhibiting very low empirical calibration error. In contrast, large-margin methods like SVMs and Boosted Trees show significantly higher calibration error "out of the box."

The practical impact of calibration is most evident when examining the loss ratio—the ratio of loss incurred by a calibrated model versus its uncalibrated counterpart across various cost parameters.

Loss ratio vs loss parameter for the Adult dataset.

For models like SVM, calibration leads to substantial reductions in loss (represented by a loss ratio significantly below 1.0). Conversely, for naturally calibrated models like Logistic Regression, the loss ratio remains near 1.0, indicating that post-processing provides little to no additional benefit.

Conclusion

While the "true" conditional probability may be elusive in agnostic machine learning, calibration offers a mathematically sound and verifiable alternative. By focusing on calibration, practitioners can justify the use of probability estimates in critical decision-making processes and identify which models stand to benefit most from post-processing techniques like Isotonic Regression. Future work may involve extending these results to multi-class settings and developing new learning objectives that minimize calibration error directly during training.

Summary updated

BibTeX
@inproceedings{gao2017interpretability,
  author = {Yihan Gao and Aditya G. Parameswaran and Jian Peng},
  title = {{On the Interpretability of Conditional Probability Estimates in the Agnostic Setting}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2017},
}
Figure