LGSep 21, 2023

Smooth ECE: Principled Reliability Diagrams via Kernel Smoothing

arXiv:2309.12236v163 citationsh-index: 25
Originality Incremental advance
AI Analysis

This work addresses calibration issues for users of probabilistic predictors, offering an incremental improvement over existing methods.

The paper tackles the problem of miscalibration in probabilistic predictors by introducing SmoothECE, a method that fixes flaws like discontinuity in common calibration measures and reliability diagrams through kernel smoothing, resulting in a consistent calibration measure with proven well-behaved properties.

Calibration measures and reliability diagrams are two fundamental tools for measuring and interpreting the calibration of probabilistic predictors. Calibration measures quantify the degree of miscalibration, and reliability diagrams visualize the structure of this miscalibration. However, the most common constructions of reliability diagrams and calibration measures -- binning and ECE -- both suffer from well-known flaws (e.g. discontinuity). We show that a simple modification fixes both constructions: first smooth the observations using an RBF kernel, then compute the Expected Calibration Error (ECE) of this smoothed function. We prove that with a careful choice of bandwidth, this method yields a calibration measure that is well-behaved in the sense of (Błasiok, Gopalan, Hu, and Nakkiran 2023a) -- a consistent calibration measure. We call this measure the SmoothECE. Moreover, the reliability diagram obtained from this smoothed function visually encodes the SmoothECE, just as binned reliability diagrams encode the BinnedECE. We also provide a Python package with simple, hyperparameter-free methods for measuring and plotting calibration: `pip install relplot\`.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes