# Finite-Sample Optimal Conformal Prediction Sets under Covariate Shift

DevFeed: [Finite-Sample Optimal Conformal Prediction Sets under Covariate Shift](<https://devfeed.tech/articles/finite-sample-optimal-conformal-prediction-sets-under-covariate-shift-108598.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.37866>)

Author: Zhongyang Li

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Estimator](<https://devfeed.tech/topics/estimator.md>), [Hyperparameter optimization](<https://devfeed.tech/topics/hyperparameter-optimization.md>)

Tags: [bounded](<https://devfeed.tech/tags/bounded.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [conformal-prediction](<https://devfeed.tech/tags/conformal-prediction.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [error](<https://devfeed.tech/tags/error.md>), [errors](<https://devfeed.tech/tags/errors.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [growth](<https://devfeed.tech/tags/growth.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [lower-bound](<https://devfeed.tech/tags/lower-bound.md>), [math-co](<https://devfeed.tech/tags/math-co.md>), [math-pr](<https://devfeed.tech/tags/math-pr.md>), [math-st](<https://devfeed.tech/tags/math-st.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [pool](<https://devfeed.tech/tags/pool.md>), [ratio](<https://devfeed.tech/tags/ratio.md>), [regression](<https://devfeed.tech/tags/regression.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [shift](<https://devfeed.tech/tags/shift.md>), [size](<https://devfeed.tech/tags/size.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>), [stat-th](<https://devfeed.tech/tags/stat-th.md>), [target](<https://devfeed.tech/tags/target.md>)

## AI overview

With a known covariate density ratio, the paper proves that an inverse conditional-density score combined with randomized weighted conformal calibration minimizes expected prediction-set length among rules valid over the full weighted-exchangeability class, for every calibration sample size. It approximates this oracle with quantile and kernel histograms, including forest-weighted estimators, and uses resampling to select estimators and tuning parameters. On a bounded response domain, excess length is bounded linearly in L1 density error without a uniform positive lower bound on the true density; under stated growth conditions, the selected procedure approaches the oracle even with fixed calibration size. Experiments across 36 known-density configurations and four public regression datasets report shorter mean sets in most targeted low-coverage and strong-shift comparisons, and lower mean runtime than evaluated weighted baselines, with some differences in achieved coverage.

## Source excerpt

arXiv:2610.37866v1 Announce Type: cross Abstract: We study conformal prediction under covariate shift with a known covariate density ratio, seeking prediction sets with minimum expected length under the target distribution. For every calibration sample size, we prove that the rule combining the inverse conditional-density score with randomized weighted conformal calibration minimizes this expected length among all rules valid over the full weighted-exchangeability class. We approximate the oracle using quantile and kernel histograms, including forest-weighted estimators, and select estimators and tuning parameters by resampling to estimate calibrated target length. On a bounded response domain, we bound excess length linearly in $L^1$ density error at fixed calibration size, without requiring a uniform positive lower bound on the true density. We also bound selection-pool and resampling errors. Under explicit growth conditions, the selected procedure approaches the same oracle while the calibration size remains fixed. Experiments on 36 known-density configurations and four public regression datasets compare coverage, prediction-set length, and runtime with existing methods. In targeted low-coverage and strong-shift comparisons, inverse-density selection yields shorter mean sets in most cases and lower mean runtime than the evaluated weighted baselines, with some differences in achieved coverage.