In the world of machine learning, we don't just want a prediction; we want to know how much we can trust it. Conformal inference has become the gold standard for this, providing "prediction intervals" that are guaranteed to contain the true value a certain percentage of the time (e.g., 90%), regardless of the underlying data distribution.
However, there is a catch: these guarantees usually apply to the entire dataset. In the real world, we are selective. We only care about the uncertainty of the "interesting" cases—the top-performing stocks, the most promising drug candidates, or the houses predicted to sell for over a million dollars. This paper, "Selective conformal inference with false coverage-statement rate control," addresses the hidden danger of this "selection-to-report" bias.
TL;DR
Standard conformal inference fails when we only report prediction intervals for a selected subset of data, leading to "overconfidence" and lower-than-advertised coverage. This paper introduces SCOP (Selective COnditional conformal Prediction), a novel framework that mirrors the selection process on calibration data to provide tight, valid prediction intervals for selected individuals while strictly controlling the False Coverage-statement Rate (FCR).
What Problem Does This Paper Address?
The problem is selection bias. Imagine you use a model to predict house prices and decide to only show prediction intervals for the 10% of houses predicted to be the most expensive. If you use standard conformal inference, your "90% confidence" intervals might actually only cover the true price 60% of the time.
This happens because the act of selection changes the distribution of the errors (residuals). The "multiplicity" of testing many candidates and only picking the outliers distorts the statistical guarantees. While the Benjamini-Yekutieli (BY) adjustment is a classic way to handle this, it results in "inflated" intervals—ranges so wide they become practically useless. The authors sought a way to maintain valid coverage without sacrificing the precision (narrowness) of the intervals.
Methods
The authors propose a framework called SCOP (Selective COnditional conformal Prediction). Here is the core logic:
- Split the Data: Like standard split-conformal inference, they divide labeled data into a training set (to fit the model) and a calibration set.
- Mirror the Selection: This is the "Aha!" moment. Instead of using the entire calibration set to calculate error quantiles, they apply the same selection rule to the calibration set that they use for the test set.
- Conditional Calibration: They build prediction intervals for the selected test points using only the residuals from the selected calibration points.
- Handling Ranking: For selection rules based on ranking (like "Top-K"), they introduce a refined version (Algorithm 1+) that uses an "inflated threshold" (looking at the $K+1$ rank) to maintain a property called exchangeability, which is required for the math to hold up.
This approach is model-agnostic, meaning it works whether your underlying predictor is a simple linear regression or a complex "black-box" neural network.
Datasets
The authors evaluated SCOP using both synthetic simulations and real-world datasets:
- Synthetic Simulations: Two scenarios (Linear and Non-linear) with varying noise types (heterogeneous and independent) to test robustness.
- Drug Discovery (DAVIS Dataset): Predicting the binding affinity of drug-target pairs. This is a classic "selective" problem where researchers only care about the top-performing compounds.
- House Price Prediction (Kaggle): A dataset of house sales in Fairfax County, Virginia, used to demonstrate how the method performs on common regression tasks.
Key Insights and Ideas
- Selection as Information: The selection event itself is a source of information. By conditioning the calibration on the selection event, SCOP captures the specific error distribution of the "interesting" subset.
- Exact Control: The authors prove that if the selection rule is "exchangeable" (it treats data points symmetrically), SCOP exactly controls the FCR at the target level.
- Efficiency vs. Conservatism: Unlike the BY-adjustment, which ignores the selection event and simply widens intervals to be safe, SCOP uses the selection event to find the right distribution, leading to much narrower intervals.
- The "Plus One" Trick: For ranking-based selection (like Top-K), simply using the Top-K calibration points isn't enough for a finite-sample guarantee. Using the $(K+1)$-th value as a threshold restores the necessary symmetry for a distribution-free guarantee.
Key Results
- Superior Coverage: In the house price experiment, the "naive" method (no adjustment) had a coverage of only 61.51% for a 90% target. SCOP achieved 91.43%.
- Narrower Intervals: Compared to the FCR-adjusted (BY) method, SCOP consistently produced significantly shorter prediction intervals across all simulations and real-world tests.
- Robustness: SCOP maintained FCR control even under "calibration-assisted" selection (where the selection threshold depends on the calibration data itself), providing non-asymptotic bounds for the error.
Limitations and Future Work
- Data Efficiency: The current method relies on "split conformal" inference, which requires setting aside a chunk of data for calibration. The authors suggest that future work could adapt SCOP to more data-efficient methods like Jackknife+ or cross-conformal inference.
- Variable Selection: This paper focuses on selecting samples (individuals). The authors note that extending these ideas to variable selection (picking the most important features) is a much harder problem due to different distributional requirements.
- Computational Cost: For some complex selection rules (like those requiring many permutations), the computational overhead of mirroring the selection on the calibration set could increase.
Summary updated