Every prediction model gives you a number. A neural network says a patient's risk score is 0.73. A random forest says a house will sell for $312,000. But how confident should you be? And what does "confident" even mean when you only have a finite dataset?
Conformal prediction — developed by Vladimir Vovk, Alexander Gammerman, and Glenn Shafer in the late 1990s — solves this without assuming anything about the data distribution. Instead of a point estimate, it produces a prediction set (or interval) that is guaranteed to contain the true label at least a fraction of the time, for any you choose.
The guarantee is not asymptotic, not approximate, not model-dependent. It holds for any model, any data distribution, in finite samples — as long as the calibration data and the new point are exchangeable (a mild assumption weaker than i.i.d.).
The key insight is beautifully simple: use a held-out calibration set to measure how "surprising" new predictions are compared to past errors, then set a threshold that controls how often you are wrong.
Comments
Loading comments...