New Paradigms in Modern Statistics I
Conformal prediction
Why a distribution-free, finite-sample guarantee for a black-box model is worth having.
Conformal prediction itself is not a new idea of the 2020s. It goes back to Vovk, Gammerman, and Shafer around the turn of the millennium.1 However, with the incredible growth of ML and computational resources, and the growing recognition that machines can be badly overconfident, distribution-free prediction has become one of the most important fields in statistics.
The idea starts from a simple wish. For a test input , construct a prediction set that contains the true label with a probability we choose:
And the only thing we assume is that the calibration data and the test point are exchangeable, e.g., i.i.d. No assumption on the model, and none on the data distribution.
What we want from a prediction set
In a more sophisticated sense, we want a CP algorithm to satisfy the three conditions below.
Validity
Efficiency
Adaptivity
Why conformal?
So why is it called conformal prediction? It’s because, when constructing the set, we measure how nonconforming a candidate label is: how strange the pair looks compared with the calibration data and their ground-truth labels. That measure is exactly the score function from the next page, which is why it’s also called a nonconformity score. A candidate label makes it into the set only if it conforms to the calibration data well enough:
Problems & considerations
So, despite its simple and elegant framework, conformal prediction raises a few fundamental questions:
- Does marginal coverage really capture predictive uncertainty? Can prediction sets reflect how difficult or uncertain each individual prediction is?
- How much does CP depend on the underlying model and nonconformity score? Can CP recognize whether the model or score function is actually informative, or does it simply calibrate whatever is given?
- Can we extend the guarantee beyond coverage? What if we want to control other types of prediction errors or risks, rather than just the probability of including the true label?
- How robust are these guarantees in practice? Do they still hold when test data differ from calibration data?
These questions motivate many extensions of conformal prediction, from adaptive prediction sets and improved calibration methods to conformal risk control and distribution-shift-aware inference.
Footnotes
-
Vladimir Vovk, Alex Gammerman, Glenn Shafer. Algorithmic Learning in a Random World. Springer, 2005. ↩