Localized Conformal Prediction for Image Classification with Vision-Language Models

Clément Fuchs, Tim Bary, Benoît Macq
6/30/2026
cs.CVcs.LG

Official code: cfuchs2023/lcp-vlm (1 star, MIT, last commit 2025-08-07).

Abstract

Conformal predictions have attracted significant attention in the field of uncertainty quantification, mainly because of their strong marginal coverage guarantees. Full conditional guarantee is not an attainable goal, a well known fact in conformal predictions literature. As a result, several approaches have tried to approximate this behavior by adapting the conformal sets of test-time samples according to their similarity to calibration examples. Although the latter has gained traction and shown impressive performances for regression problems, its application to image classification remains under-explored. We conduct an extensive benchmarking on natural image classification tasks with vision-language models (VLMs), using our open source implementation of a recent localized conformal prediction algorithm. We show that straightforward usage of the cosine similarity between test-time and calibration visual features, an intuitive choice for VLMs, is not sufficient to improve over the non-local baselines. In response, we propose a simple non-linear transformation of the cosine similarities, which conserves marginal coverage guarantees and achieves statistically significant mean set sizes reduction. Code is available at https://github.com/cfuchs2023/lcp-vlm/.

View on arXivView PDF

Code Implementations(1)

cfuchs2023/lcp-vlmOfficial100%
MIT

An implementation of localized conformal prediction, with a wide benchmark using vision-langauge models.

10Shell, PythonAug 7, 20251 years agoMIT

Similar Papers

Cite this paper

@article{fuchs2026localized,
  title  = {Localized Conformal Prediction for Image Classification with Vision-Language Models},
  author = {Clément Fuchs and Tim Bary and Benoît Macq},
  year   = {2026},
  eprint = {2606.31577},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.31577v1}
}

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/2606.31577.svg)](https://codeofpaper.com/paper/2606.31577)

Discussion