Robust Conformal Outlier Detection under Contaminated Reference Data

Meshi Bashari, Matteo Sesia, Yaniv Romano
2/14/2026

No official code found. Best implementation: Meshiba/robust-conformal-od (5 stars, last commit 2025-06-26).

Abstract

Conformal prediction is a flexible framework for calibrating machine learning predictions, providing distribution-free statistical guarantees. In outlier detection, this calibration relies on a reference set of labeled inlier data to control the type-I error rate. However, obtaining a perfectly labeled inlier reference set is often unrealistic, and a more practical scenario involves access to a contaminated reference set containing a small fraction of outliers. This paper analyzes the impact of such contamination on the validity of conformal methods. We prove that under realistic, non-adversarial settings, calibration on contaminated data yields conservative type-I error control, shedding light on the inherent robustness of conformal methods. This conservativeness, however, typically results in a loss of power. To alleviate this limitation, we propose a novel, active data-cleaning framework that leverages a limited labeling budget and an outlier detection model to selectively annotate data points in the contaminated reference set that are suspected as outliers. By removing only the annotated outliers in this ``suspicious'' subset, we can effectively enhance power while mitigating the risk of inflating the type-I error rate, as supported by our theoretical analysis. Experiments on real datasets validate the conservative behavior of conformal methods under contamination and show that the proposed data-cleaning strategy improves power without sacrificing validity.

View on arXivView PDF

Code Implementations(1)

51Shell, PythonFeb 2, 20251 years ago

Similar Papers

Cite this paper

@article{bashari2026robust,
  title  = {Robust Conformal Outlier Detection under Contaminated Reference Data},
  author = {Meshi Bashari and Matteo Sesia and Yaniv Romano},
  year   = {2026},
  eprint = {2502.04807},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.04807},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.04807.svg)](https://codeofpaper.com/paper/2502.04807)

Discussion