Robust Conformal Prediction with a Single Binary Certificate

Soroush H. Zargarbashi, Aleksandar Bojchevski
3/7/2025
cs.LGcs.AI

No official code found. Best implementation: soroushzargar/BinCP (1 star, last commit 2025-03-18).

Abstract

Conformal prediction (CP) converts any model's output to prediction sets with a guarantee to cover the true label with (adjustable) high probability. Robust CP extends this guarantee to worst-case (adversarial) inputs. Existing baselines achieve robustness by bounding randomly smoothed conformity scores. In practice, they need expensive Monte-Carlo (MC) sampling (e.g. $\sim10^4$ samples per point) to maintain an acceptable set size. We propose a robust conformal prediction that produces smaller sets even with significantly lower MC samples (e.g. 150 for CIFAR10). Our approach binarizes samples with an adjustable (or automatically adjusted) threshold selected to preserve the coverage guarantee. Remarkably, we prove that robustness can be achieved by computing only one binary certificate, unlike previous methods that certify each calibration (or test) point. Thus, our method is faster and returns smaller robust sets. We also eliminate a previous limitation that requires a bounded score function.

View on arXivView PDF

Code Implementations(1)

Implementation of the paper “Robust Conformal Prediction with a Single Binary Certificate”.

10Shell, PythonFeb 27, 20251 years ago

Similar Papers

Cite this paper

@article{zargarbashi2025robust,
  title  = {Robust Conformal Prediction with a Single Binary Certificate},
  author = {Soroush H. Zargarbashi and Aleksandar Bojchevski},
  year   = {2025},
  eprint = {2503.05239},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.05239v1},
  journal = {ICLR 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/2503.05239.svg)](https://codeofpaper.com/paper/2503.05239)

Discussion