Optimized Conformal Selection: Powerful selective inference after conformity score optimization

Tian Bai, Ying Jin

TL;DR

Researchers have developed OptCS (Optimized Conformal Selection), a framework that allows you to use your data twice—once to pick or train the best machine learning model and again to perform valid statistical inference. By "individualizing" the selection process for each data point, OptCS maintains strict control over the False Discovery Rate (FDR) while significantly boosting the power to find "interesting" instances in fields like drug discovery and LLM alignment.

What Problem Does This Paper Address?

In many high-stakes fields, we want to pick the "best" items from a large pool of unlabeled data—think of finding the most promising drug candidates or identifying which AI-generated medical reports are actually accurate. Conformal selection is a powerful tool for this because it provides a "p-value" for each item, allowing us to control the False Discovery Rate (FDR) (the proportion of "discoveries" that are actually duds).

However, there’s a catch: for the math to work, the model you use to score these items must be independent of the data used to calibrate those scores. This usually forces a tough choice:

  1. Sample Splitting: Hide some data from the model to use for calibration later. This is safe but "wastes" precious labeled data, leading to weaker models and lower discovery power.
  2. Fixed Models: Use a pre-trained model and hope it's the right one for your specific task.
  3. The "Greedy" Trap: Pick the model that looks best on your current data. This is "double-dipping," which creates bias, breaks the statistical guarantees, and leads to a flood of false discoveries.

Methods

The authors introduce OptCS, a general framework that enables data-driven model optimization without sacrificing FDR control. The "secret sauce" is a three-step process that uses symmetry to maintain validity:

  1. Individualized P-values: Instead of one global model, OptCS uses a "score-generating functional." For each test point, it constructs a p-value using a process that is symmetric (permutation-equivariant) with respect to that specific point and the calibration set.
  2. Auxiliary Selection Sizes: To handle the complex dependencies created by reusing data, the framework calculates "auxiliary selection sizes" for each point. These act as individualized thresholds that guide the final selection.
  3. Smart Multiple Testing: Finally, it combines these p-values and thresholds using a novel multiple testing procedure. It includes a "pruning" step (often using a bit of injected randomness) to ensure the FDR stays below the target level even with intricate data dependencies.

The paper instantiates this into three specific flavors:

  • OptCS-MSel: Picks the best model from a library of candidates.
  • OptCS-Full: Uses all labeled data to train a single model (no splitting).
  • OptCS-Full-MSel: Does both—trains multiple models on all data and picks the best one.

Datasets

The authors validated OptCS across a variety of challenging environments:

  • Synthetic Simulations: Eight different data-generating processes (adapted from prior work by Liang et al. and Jin & Candès) to test robustness against different noise types and feature distributions.
  • Drug Discovery: Four datasets from the Therapeutic Data Commons (caco2, hepat, micro, vdss). The goal was to identify molecules with high biological activity.
  • LLM Alignment: Using the MIMIC-CXR dataset (radiology reports), the authors used OptCS to select AI-generated reports that align with expert human standards, effectively deciding when to trust the LLM and when it should "abstain."

Key Insights and Ideas

  • Symmetry is the Shield: The core "aha moment" is that you can reuse data if you do it symmetrically. By ensuring the optimization process treats a specific test point and the calibration data interchangeably, you preserve the "exchangeability" required for conformal inference.
  • Individualization over Splitting: Traditional methods split data into "training" and "calibration" blocks. OptCS effectively "individualizes" this split for every single test point, allowing the framework to squeeze every bit of information out of small datasets.
  • The Power of Randomness: The authors found that "pruning" the selection set with a small amount of external randomness (homogeneous or heterogeneous pruning) actually makes the results more stable and powerful than deterministic methods.

Key Results

  • FDR Control: While "Greedy" methods (naive double-dipping) often doubled or tripled the target FDR, OptCS consistently kept it below the user-specified limit (e.g., 10% or 20%).
  • Massive Power Gains: In drug discovery tasks, OptCS-MSel significantly outperformed standard baselines, finding more "interesting" molecules for the same error budget.
  • LLM Reliability: In the radiology report task, OptCS-Full provided a substantial boost in discovery power compared to standard split-conformal methods, proving that using the full sample for training is a game-changer when labeled data is scarce.

Limitations and Future Work

  • Computational Cost: The "Full" versions of the algorithm (like OptCS-Full) can be computationally expensive because they essentially perform a leave-one-out style training for every data point. While the authors suggest ways to mitigate this, it remains a hurdle for massive datasets.
  • Exchangeability Assumption: The current theory relies on data being "exchangeable" (roughly, coming from the same distribution). The authors note that extending this to "covariate shift" (where the test data looks different from training data) or "online" settings (where data arrives in a stream) is a promising next step.
  • Continuous Optimization: Currently, the framework is best at picking from a discrete set of models. Future work could explore optimizing models over a continuous parameter space.

Summary updated

BibTeX
@misc{bai2024optimized,
  author = {Tian Bai and Ying Jin},
  title = {{Optimized Conformal Selection: Powerful selective inference after conformity score optimization}},
  year = {2024},
  eprint = {2411.17983},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.17983},
}
Figure