Calibration tests in multi-class classification: A unifying framework

In safety-critical applications a probabilistic model is usually required to be calibrated, i.e., to capture the uncertainty of its predictions accurately. In multi-class classification, calibration of the most confident predictions only is often not sufficient. We propose and study calibration measures for multi-class classification that generalize existing measures such as the expected calibration error, the maximum calibration error, and the maximum mean calibration error. We propose and evaluate empirically different consistent and unbiased estimators for a specific class of measures based on matrix-valued kernels. Importantly, these estimators can be interpreted as test statistics associated with well-defined bounds and approximations of the p-value under the null hypothesis that the model is calibrated, significantly improving the interpretability of calibration measures, which otherwise lack any meaningful unit or scale.

[1]  P. Gänssler Weak Convergence and Empirical Processes - A. W. van der Vaart; J. A. Wellner. , 1997 .

[2]  N. Aronszajn Theory of Reproducing Kernels. , 1950 .

[3]  W. Hoeffding A Class of Statistics with Asymptotically Normal Distribution , 1948 .

[4]  Charles A. Micchelli,et al.  On Learning Vector-Valued Functions , 2005, Neural Computation.

[5]  E. Giné,et al.  On the Bootstrap of $U$ and $V$ Statistics , 1992 .

[6]  C. Carmeli,et al.  Vector valued reproducing kernel Hilbert spaces and universality , 2008, 0807.1659.

[7]  Matti Pastell,et al.  Weave.jl: Scientific Reports Using Julia , 2017, J. Open Source Softw..

[8]  Jon A. Wellner,et al.  Weak Convergence and Empirical Processes: With Applications to Statistics , 1996 .

[9]  W. Hoeffding Probability Inequalities for sums of Bounded Random Variables , 1963 .

[10]  Bernhard Schölkopf,et al.  A Kernel Two-Sample Test , 2012, J. Mach. Learn. Res..

[11]  R. Serfling Approximation Theorems of Mathematical Statistics , 1980 .

[12]  Christopher A. T. Ferro,et al.  A bias‐corrected decomposition of the Brier score , 2012 .

[13]  Jochen Bröcker,et al.  Reliability, sufficiency, and the decomposition of proper scores , 2009 .

[14]  Jacob Roll,et al.  Evaluating model calibration in classification , 2019, AISTATS.

[15]  Leonard A. Smith,et al.  Increasing the Reliability of Reliability Diagrams , 2007 .

[16]  Alex Krizhevsky,et al.  Learning Multiple Layers of Features from Tiny Images , 2009 .

[17]  A. Berlinet,et al.  Reproducing kernel Hilbert spaces in probability and statistics , 2004 .

[18]  Jochen Bröcker,et al.  Estimating reliability and resolution of probability forecasts through decomposition of the empirical score , 2012, Climate Dynamics.

[19]  Bianca Zadrozny,et al.  Transforming classifier scores into accurate multiclass probability estimates , 2002, KDD.

[20]  Kilian Q. Weinberger,et al.  On Calibration of Modern Neural Networks , 2017, ICML.

[21]  Tengyu Ma,et al.  Verified Uncertainty Calibration , 2019, NeurIPS.

[22]  Charles A. Micchelli,et al.  Universal Multi-Task Kernels , 2008, J. Mach. Learn. Res..

[23]  A. H. Murphy,et al.  Reliability of Subjective Probability Forecasts of Precipitation and Temperature , 1977 .

[24]  A. Kiureghian,et al.  Aleatory or epistemic? Does it matter? , 2009 .

[25]  Milos Hauskrecht,et al.  Obtaining Well Calibrated Probabilities Using Bayesian Binning , 2015, AAAI.

[26]  Sunita Sarawagi,et al.  Trainable Calibration Measures For Neural Networks From Kernel Mean Embeddings , 2018, ICML.

[27]  W. Rudin Real and complex analysis , 1968 .

[28]  Stephen E. Fienberg,et al.  The Comparison and Evaluation of Forecasters. , 1983 .

[29]  A. V. D. Vaart Asymptotic Statistics: Delta Method , 1998 .

[30]  Peter L. Bartlett,et al.  Rademacher and Gaussian Complexities: Risk Bounds and Structural Results , 2003, J. Mach. Learn. Res..