Size-Optimal Conformal Prediction

This direction is merged into another direction: distribution-free uncertainty quantification. Its last version stays readable and citable here.

Version 1 of 118 papers21 conceptsfrozen 2026-10-04

Standard machine learning models are often overconfident, providing a single "best guess" even when they are uncertain. Conformal prediction (CP) fixes this by outputting a prediction set—a range of possible values—that is mathematically guaranteed to contain the true answer with a user-defined probability (e.g., 95%).

However, a guarantee of correctness is not the same as a guarantee of usefulness. If a model predicts that tomorrow’s temperature will be between -50°C and +50°C, it is almost certainly "correct," but the information is useless. The frontier of current research is shifting from simply achieving coverage to optimizing for efficiency: finding the smallest possible prediction sets that still satisfy the safety guarantee.

The Conformal Knapsack Problem

At its core, finding an optimal prediction set is a balancing act. You want to include enough candidates to meet your "coverage budget" (the 95% guarantee) while excluding as many as possible to keep the set informative.

Alireza Javanmardi, Eyke Hüllermeier, and colleagues in Optimal Conformal Prediction under Epistemic Uncertainty frame this as a fractional knapsack problem. In this analogy, each potential label has a "weight" (its contribution to the set size) and a "value" (its probability of being correct). To build the best set, you greedily pick the labels with the highest density of probability per unit of size until your coverage requirement is met.

This optimization becomes more complex when the model is unsure about the underlying data distribution. By formulating this as a constrained optimization problem, researchers can minimize the expected set size even when facing "epistemic uncertainty"—the doubt that arises from having limited training data.

Decision-Theoretic Calibration

Traditionally, conformal prediction is treated as a post-processing step: you take a pre-trained model and find a threshold that works. Recent work by Fanyi Wu, Samuel Kaski, and others in Bayesian Conformal Prediction as a Decision Risk Problem suggests we should treat the selection of this threshold as a decision-theoretic optimization.

By framing the threshold as a decision variable, they combine the strengths of Bayesian methods (which are efficient but can be "wrong" if the model is misspecified) with the frequentist rigor of CP. This allows the system to explicitly minimize the "risk" of large sets while strictly adhering to coverage constraints. Similarly, Ming Zheng and Shixiang Zhu show in Optimizing Probabilistic Conformal Prediction with Vectorized Non-Conformity Scores that using generative models to create "vectorized" scores allows for tighter, adaptive uncertainty radii that better fit the local density of the data.

Enforcing Structure and Sub-population Fairness

A major pitfall of marginal conformal prediction is that it only guarantees coverage on average. It might be 99% accurate for one group of users and only 80% for another, as long as the total average is 95%.

To solve this, Shayan Kiyani, Hamed Hassani, and George J. Pappas introduced CPL (Conformal Prediction with Length-Optimization). Their minimax framework minimizes the average set size while enforcing coverage across diverse sub-populations. This ensures that the model doesn't "cheat" by being overly vague on difficult groups to boost its average performance.

In the context of Knowledge Graphs, Bo Xiong and Yuqicheng Zhu demonstrate in Predicate-Conditional Conformalized Answer Sets for Knowledge Graph Embeddings that conditioning the calibration on specific predicates (relations) prevents the "explosion" of candidate sets in complex reasoning tasks, keeping the answers precise and reliable.

Optimizing for Geometry and Time

When predictions aren't just single labels but continuous values or sequences, the "size" of the set becomes its volume or length. Chao Gao and Aravindan Vijayaraghavan proved in Volume Optimality in Conformal Prediction with Structured Prediction Sets that by restricting prediction sets to a union of $k$ intervals, one can use dynamic programming to achieve volume optimality—the smallest possible region that is theoretically achievable.

For time-series forecasting, the challenge is maintaining coverage over an entire future trajectory. Sophia Huiwen Sun and Rose Yu utilize copulas in Copula Conformal prediction for multi-step time series prediction to model the dependencies between time steps. By optimizing a joint threshold across the forecast horizon, they produce a "cone of uncertainty" that is significantly tighter than methods that treat each time step independently.

Robustness through Abstention

Sometimes, the most "efficient" prediction is no prediction at all. In Bounded-Abstention Multi-horizon Time-series Forecasting, Luca Stradiotti and Jesse Davis use Lagrangian relaxation to allow a model to abstain from predicting when uncertainty is too high. This trade-off allows the model to maintain a strict error budget by only speaking when it can be sufficiently precise.

Similarly, for domain generalization, Ron Tsibulsky and Uri Shalit developed SET-COVER in Set Valued Predictions For Robust Domain Generalization. Their method minimizes set cardinality while enforcing a hard constraint on recall across different training environments, ensuring that the model remains robust even when the data distribution shifts.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_size_optimal_conformal_prediction_61e9abab,
  title = {Size-Optimal Conformal Prediction},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/size-optimal-conformal-prediction/rdr_61e9abab611444179d1187aa7049077a},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_size_optimal_conformal_prediction_61e9abab_v1,
  title = {Size-Optimal Conformal Prediction},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/size-optimal-conformal-prediction/rdr_61e9abab611444179d1187aa7049077a/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}