English

Sparse Activations as Conformal Predictors

Machine Learning 2025-02-25 v2

Abstract

Conformal prediction is a distribution-free framework for uncertainty quantification that replaces point predictions with sets, offering marginal coverage guarantees (i.e., ensuring that the prediction sets contain the true label with a specified probability, in expectation). In this paper, we uncover a novel connection between conformal prediction and sparse softmax-like transformations, such as sparsemax and γ\gamma-entmax (with γ>1\gamma > 1), which may assign nonzero probability only to a subset of labels. We introduce new non-conformity scores for classification that make the calibration process correspond to the widely used temperature scaling method. At test time, applying these sparse transformations with the calibrated temperature leads to a support set (i.e., the set of labels with nonzero probability) that automatically inherits the coverage guarantees of conformal prediction. Through experiments on computer vision and text classification benchmarks, we demonstrate that the proposed method achieves competitive results in terms of coverage, efficiency, and adaptiveness compared to standard non-conformity scores based on softmax.

Keywords

Cite

@article{arxiv.2502.14773,
  title  = {Sparse Activations as Conformal Predictors},
  author = {Margarida M. Campos and João Calém and Sophia Sklaviadis and Mário A. T. Figueiredo and André F. T. Martins},
  journal= {arXiv preprint arXiv:2502.14773},
  year   = {2025}
}

Comments

Accepted at AISTATS 2025

R2 v1 2026-06-28T21:51:42.206Z