Wasserstein-regularized Conformal Prediction under General Distribution Shift

Rui Xu, Chao Chen, Yue Sun, Parv Venkitasubramaniam, Sihong Xie
2/12/2026

No official code found. Best implementation: rxu0112/WR-CP (7 stars, last commit 2025-06-04).

Abstract

Conformal prediction yields a prediction set with guaranteed $1-\alpha$ coverage of the true target under the i.i.d. assumption, which may not hold and lead to a gap between $1-\alpha$ and the actual coverage. Prior studies bound the gap using total variation distance, which cannot identify the gap changes under distribution shift at a given $\alpha$. Besides, existing methods are mostly limited to covariate shift,while general joint distribution shifts are more common in practice but less researched.In response, we first propose a Wasserstein distance-based upper bound of the coverage gap and analyze the bound using probability measure pushforwards between the shifted joint data and conformal score distributions, enabling a separation of the effect of covariate and concept shifts over the coverage gap. We exploit the separation to design an algorithm based on importance weighting and regularized representation learning (WR-CP) to reduce the Wasserstein bound with a finite-sample error bound.WR-CP achieves a controllable balance between conformal prediction accuracy and efficiency. Experiments on six datasets prove that WR-CP can reduce coverage gaps to $3.2\%$ across different confidence levels and outputs prediction sets 37$\%$ smaller than the worst-case approach on average.

View on arXivView PDF

Code Implementations(1)

rxu0112/WR-CPCommunity60%

This is the source code for the paper "Wasserstein-Regularized Conformal Prediction under General Distribution Shift"

72PythonFeb 5, 20251 years ago

Similar Papers

Cite this paper

@article{xu2026wassersteinregularized,
  title  = {Wasserstein-regularized Conformal Prediction under General Distribution Shift},
  author = {Rui Xu and Chao Chen and Yue Sun and Parv Venkitasubramaniam and Sihong Xie},
  year   = {2026},
  eprint = {2501.13430},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2501.13430},
  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/2501.13430.svg)](https://codeofpaper.com/paper/2501.13430)

Discussion