We develop fast distribution-free conformal prediction algorithms for obtaining multivalid coverage on exchangeable data in the batch setting. Multivalid coverage guarantees are stronger than marginal coverage guarantees in two ways: (1) They hold even conditional on group membership -- that is, the target coverage level $1-α$ holds conditionally on membership in each of an arbitrary (potentially intersecting) group in a finite collection $\mathcal{G}$ of regions in the feature space. (2) They hold even conditional on the value of the threshold used to produce the prediction set on a given example. In fact multivalid coverage guarantees hold even when conditioning on group membership and threshold value simultaneously.
We give two algorithms: both take as input an arbitrary non-conformity score and an arbitrary collection of possibly intersecting groups $\mathcal{G}$, and then can equip arbitrary black-box predictors with prediction sets. Our first algorithm (BatchGCP) is a direct extension of quantile regression, needs to solve only a single convex minimization problem, and produces an estimator which has group-conditional guarantees for each group in $\mathcal{G}$. Our second algorithm (BatchMVP) is iterative, and gives the full guarantees of multivalid conformal prediction: prediction sets that are valid conditionally both on group membership and non-conformity threshold. We evaluate the performance of both of our algorithms in an extensive set of experiments. Code to replicate all of our experiments can be found at https://github.com/ProgBelarus/BatchMultivalidConformal
TorchCP: A Python Library for Conformal Prediction
Southern University of Science and Technology(南方科技大学);Nanyang Technological University(南洋理工大学);Nanjing University(南京大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))
Inria(法国国家信息与自动化技术研究所);Ecole Normale Supérieure(巴黎高等师范学院);PSL Research University(巴黎 sciences-et-lettres 大学);University of California, Berkeley(加州大学伯克利分校)
Unsupervised Conformal Inference: Bootstrapping and Alignment to Control LLM Uncertainty
Department of Statistics, University of California, Davis(加州大学戴维斯分校统计系);Department of Applied Mathematics and Statistics, Johns Hopkins University(约翰霍普金斯大学应用数学与统计学系)
ConfHit: Conformal Generative Design with Oracle Free Guarantees
Siebel School of Computing and Data Science, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校Siebel计算与数据科学学院);Department of Statistics and Data Science, Wharton School, University of Pennysylvania(宾夕法尼亚大学沃顿商学院统计与数据科学系)
Conformal Prediction for Electricity Price Forecasting in the Day-Ahead and Real-Time Balancing Market
University College Cork(科克大学学院);International Energy Research Centre(国际能源研究中心);Tyndall National Institute(廷德尔国家研究所);University of Edinburgh(爱丁堡大学);SFI Insight Centre for Data Analytics(SFI数据洞察中心)
Conformal Symplectic Optimization for Stable Reinforcement Learning
School of Vehicle and Mobility, Tsinghua University(清华大学车辆与出行学院);College of Artificial Intelligence, Tsinghua University(清华大学人工智能学院);School of Mechanical Engineering, University of Science and Technology Beijing(北京科技大学机械工程学院);State Key Laboratory of Intelligent Green Vehicle and Mobility, Tsinghua University(清华大学智能绿色车辆与交通全国重点实验室)