Cautious Deep Learning
Yotam Hechtlinger, Barnabás Póczos, Larry Wasserman
TL;DR
This paper replaces single-label decisions with conformal prediction sets C(x) based on class-conditional densities p(x|y), achieving distribution-free coverage guarantees while allowing empty sets to signal out-of-distribution inputs. By estimating p(x|y) per class and thresholding via empirical quantiles, the method yields cautious, adaptable predictions that gracefully handle outliers and adversarial inputs. The authors demonstrate scalability to large, high-dimensional data (ImageNet, CelebA, IMDB-Wiki) and show advantages in robustness, class adaptivity, and interpretability over traditional p(y|x)-based approaches. Limitations include computational overhead for density estimation in high dimensions, motivating future work on ordering-consistent approximations and GPU-accelerated implementations. Overall, the approach provides a principled framework for uncertainty-aware multiclass classification with controllable coverage and flexible class management.
Abstract
Most classifiers operate by selecting the maximum of an estimate of the conditional distribution $p(y|x)$ where $x$ stands for the features of the instance to be classified and $y$ denotes its label. This often results in a {\em hubristic bias}: overconfidence in the assignment of a definite label. Usually, the observations are concentrated on a small volume but the classifier provides definite predictions for the entire space. We propose constructing conformal prediction sets which contain a set of labels rather than a single label. These conformal prediction sets contain the true label with probability $1-α$. Our construction is based on $p(x|y)$ rather than $p(y|x)$ which results in a classifier that is very cautious: it outputs the null set --- meaning "I don't know" --- when the object does not resemble the training examples. An important property of our approach is that adversarial attacks are likely to be predicted as the null set or would also include the true label. We demonstrate the performance on the ImageNet ILSVRC dataset and the CelebA and IMDB-Wiki facial datasets using high dimensional features obtained from state of the art convolutional neural networks.
