English

Benchmarking non-conformity score functions in conformal prediction

Machine Learning 2026-05-26 v1

Abstract

Conformal prediction is a useful and versatile alternative to model calibration in machine learning classification. It replaces single-class prediction with prediction sets, guaranteeing that the \textit{a priori} probability of the prediction sets containing the true class is larger than or equal to a pre-specified rate. The size and usefulness of the prediction sets relies heavily on the choice of the non-conformity score function. The scientific literature contains many examples of non-conformity score functions but there is an absence of studies examining their properties and effectiveness. In this paper, we give an overview of properties of non-conformity score functions. We give examples of non-conformity score functions in the existing literature and introduce original modifications. We introduce an original method of evaluating the prediction set sizes of conformal predictors and use it to provide a comparison between non-conformity score functions. We also examine efficacy of different non-conformity score functions for class-conditional conformal prediction in a setting with imbalanced classes.

Keywords

Cite

@article{arxiv.2605.24983,
  title  = {Benchmarking non-conformity score functions in conformal prediction},
  author = {Sol Erika Boman},
  journal= {arXiv preprint arXiv:2605.24983},
  year   = {2026}
}

Comments

3 tables, 1 supplementary table, 1 supplementary figure