Semi-Supervised Conformal Prediction With Unlabeled Nonconformity Score

Xuan-Ning Zhou, Zi-Hao Shi, Hao Zeng, Xiaobo Xia, Bing-Yi Jing +1 more
5/1/2025
3 citations

No official code found. Best implementation: Shinning-Zhou/SemiCP (5 stars, Python, last commit 2026-03-26).

Abstract

Conformal prediction (CP) is a powerful framework for uncertainty quantification, generating prediction sets with coverage guarantees. Split conformal prediction relies on labeled data in the calibration procedure.

Show full abstract

However, the labeled data is often limited in real-world scenarios, leading to unstable coverage performance in different runs. To address this issue, we extend CP to the semi-supervised setting and propose SemiCP, a new paradigm that leverages both labeled and unlabeled data for calibration. To achieve this, we introduce an unlabeled nonconformity score, Nearest Neighbor Matching (NNM) score. Specifically, NNM estimates the nonconformity scores of unlabeled samples using their most similar pseudo-labeled counterparts during calibration, while maintaining the original scores for labeled data. Theoretically, we demonstrate that the average coverage gap (i.e., the absolute difference between the empirical marginal coverage and the target coverage) of SemiCP can decrease significantly at a rate $\mathcal{O}(1/\sqrt{N})$ and converge to an error term, where $N$ is the number of unlabeled data. Extensive experiments validate the effectiveness of SemiCP under limited labeled data, reducing the average coverage gap by up to 77% on common benchmarks with 4000 unlabeled examples, when there are only 20 labeled examples.

View on arXivView PDF

Code Implementations(1)

[CVPR'26] Semi-Supervised Conformal Prediction With Unlabeled Nonconformity Score

50PythonMar 26, 20268 months ago

Similar Papers

Cite this paper

@article{zhou2025semisupervised,
  title  = {Semi-Supervised Conformal Prediction With Unlabeled Nonconformity Score},
  author = {Xuan-Ning Zhou and Zi-Hao Shi and Hao Zeng and Xiaobo Xia and Bing-Yi Jing and Hong-Xin Wei},
  year   = {2025},
  eprint = {2505.21147},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.21147},
  url    = {https://doi.org/10.48550/arXiv.2505.21147},
  journal = {Computer Vision and Pattern Recognition}
}

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

Discussion