Onboard Out-of-Calibration Detection of Deep Learning Models using Conformal Prediction
Protim Bhattacharjee, Peter Jung
TL;DR
This work addresses trusted DL deployment in remote sensing by leveraging conformal prediction (CP) to obtain prediction sets with coverage guarantees $P(Y_{test}\in \mathcal{C}(X_{test})) \ge 1 - \epsilon$ under data exchangeability. The authors relate CP uncertainty to ordinary model uncertainty via normalized softmax entropy and propose using the average conformal prediction set size as a practical, onboard detector for out-of-calibration under sensor noise. Through experiments on EuroSAT with ResNet50, InceptionV3, DenseNet161, and MobileNetV2 under AWGN, shot, and impulse noise, they show that uncertain models exhibit increasing CP set sizes as noise grows, while overconfident models do not provide reliable detection. The work suggests deploying uncertain yet well-calibrated networks for onboard health monitoring and discusses extending CP with other uncertainty estimators and noise/intrinsic factors, with code to be released in MAPIE-based implementation.
Abstract
The black box nature of deep learning models complicate their usage in critical applications such as remote sensing. Conformal prediction is a method to ensure trust in such scenarios. Subject to data exchangeability, conformal prediction provides finite sample coverage guarantees in the form of a prediction set that is guaranteed to contain the true class within a user defined error rate. In this letter we show that conformal prediction algorithms are related to the uncertainty of the deep learning model and that this relation can be used to detect if the deep learning model is out-of-calibration. Popular classification models like Resnet50, Densenet161, InceptionV3, and MobileNetV2 are applied on remote sensing datasets such as the EuroSAT to demonstrate how under noisy scenarios the model outputs become untrustworthy. Furthermore an out-of-calibration detection procedure relating the model uncertainty and the average size of the conformal prediction set is presented.
