Conformal Prediction with Cellwise Outliers: A Detect-then-Impute Approach
Qian Peng, Yajie Bao, Haojie Ren, Zhaojun Wang, Changliang Zou
TL;DR
This work extends conformal prediction to settings with cellwise test-time outliers by introducing a detect-then-impute framework that restores exchangeability for calibrated prediction intervals. It develops two practical algorithms, PDI-CP and JDI-CP, and analyzes their distribution-free coverage properties, including a finite-sample $1-2\alpha$ guarantee for JDI-CP under a sure-detection assumption. The ODI-CP baseline establishes the theoretical benchmark, while PDI-CP and JDI-CP provide robust, flexible alternatives that wrap around common detection and imputation methods. Empirical results on synthetic and real data demonstrate robust coverage and competitive efficiency, with SCP and WCP failing under cellwise contamination. The approach offers a practical solution for reliable predictive uncertainty quantification in the presence of cellwise outliers across diverse domains.
Abstract
Conformal prediction is a powerful tool for constructing prediction intervals for black-box models, providing a finite sample coverage guarantee for exchangeable data. However, this exchangeability is compromised when some entries of the test feature are contaminated, such as in the case of cellwise outliers. To address this issue, this paper introduces a novel framework called detect-then-impute conformal prediction. This framework first employs an outlier detection procedure on the test feature and then utilizes an imputation method to fill in those cells identified as outliers. To quantify the uncertainty in the processed test feature, we adaptively apply the detection and imputation procedures to the calibration set, thereby constructing exchangeable features for the conformal prediction interval of the test label. We develop two practical algorithms, PDI-CP and JDI-CP, and provide a distribution-free coverage analysis under some commonly used detection and imputation procedures. Notably, JDI-CP achieves a finite sample $1-2α$ coverage guarantee. Numerical experiments on both synthetic and real datasets demonstrate that our proposed algorithms exhibit robust coverage properties and comparable efficiency to the oracle baseline.
