Conformal prediction is a powerful and increasingly popular technique for quantifying uncertainty in machine learning. Instead of outputting a single point prediction, it outputs a prediction set (or interval) that is mathematically guaranteed to contain the true label with a user-specified probability (e.g., 90%).
However, traditional methods like split conformal prediction suffer from three major limitations:
- The Exchangeability Assumption: They assume data is independent and identically distributed (i.i.d.). If the data is a time series or subject to adversarial distribution shifts, their mathematical guarantees break down.
- Marginal vs. Conditional Coverage: They typically only guarantee marginal coverage. A model might achieve 90% coverage overall, but systematically fail (e.g., 50% coverage) on specific minority demographics or feature subsets.
- Data Inefficiency: They require splitting the dataset into a training set and a calibration set, meaning you cannot use 100% of your data to train the underlying model.
To address these issues, this paper introduces MultiValid Prediction (MVP), a lightweight conformal prediction algorithm that guarantees accurate uncertainty intervals even on adversarial or time-series data. MVP does not require a held-out calibration set and ensures coverage is valid not just on average, but across user-defined intersecting subgroups and conditional on the prediction threshold itself.
The MVP Algorithm
MVP is an online algorithm designed to wrap around any underlying predictive model. At each time step, MVP receives a new feature vector and identifies which user-defined "groups" it belongs to (e.g., demographic traits, which can intersect arbitrarily). MVP maintains a historical record of its over- and under-coverage for every group and across a discretized set of threshold "buckets."
To make a prediction, MVP uses a surrogate loss function to aggregate the historical coverage errors of all groups the current data point belongs to. It then finds two adjacent threshold buckets—one that has historically over-covered and one that has under-covered—and randomizes between them to output a balanced threshold.
While previous work proved that this kind of "multivalid" coverage was theoretically possible, the proposed algorithms required solving exponentially sized linear programs. MVP achieves optimal convergence rates using simple arithmetic, making it as computationally lightweight as standard split conformal prediction.
Key Insights
- No Calibration Hold-out Needed: Because MVP is designed to handle adversarial, non-exchangeable streams of data, it doesn't care if the conformal scores come from the training set. You can train your model on 100% of your data, which leads to a more accurate underlying model and, consequently, narrower and more useful prediction intervals.
- Threshold Calibration Prevents "Cheating": If an algorithm only guarantees marginal coverage, it can "cheat" by outputting infinitely wide intervals 90% of the time and empty intervals 10% of the time. MVP enforces threshold-calibrated coverage, meaning that whenever the algorithm outputs a specific threshold $q$, the actual coverage for that specific subset of predictions is guaranteed to be correct.
- Intersecting Groups Come for Free: MVP handles arbitrary, overlapping groups without becoming overly conservative. This is a massive win for algorithmic fairness, as you can guarantee valid uncertainty bounds for complex intersections of protected classes.
Experimental Results
The authors evaluated MVP across a variety of settings, including synthetic linear regression, U.S. Census data (Folktables), 20 years of stock returns, and ImageNet.
Key findings from the evaluations include:
- Beating Standard Methods on Their Own Turf: Even in a standard i.i.d. setting, MVP achieved tighter empirical coverage around the 0.9 target and narrower interval widths than split conformal prediction. This is largely because MVP could use all the data for model training rather than sacrificing a hold-out set.
- Robustness to Unanticipated Shift: On the Census data (shifting from California to Pennsylvania), MVP maintained the correct coverage rate and produced smaller interval widths than split conformal prediction, which degraded due to the distribution shift.
- Superior Time-Series Performance: On noisy stock data, a baseline method (Adaptive Conformal Inference, or ACI) under-covered specific groups by 10-20%. MVP closely matched the target coverage across all 20 intersecting groups.
- Adversarial Robustness: When the authors adversarially sorted the time-series data by conformal score, ACI "cheated" by outputting uninformative intervals to maintain its marginal average. MVP, forced by its threshold calibration, maintained tight, informative intervals by dynamically tracking the correct thresholds.
Limitations and Future Work
The authors note a theoretical limitation in their mathematical proofs: the bounds for convergence have a sub-optimal dependence on the number of groups and the number of threshold buckets. However, they believe this is merely an artifact of their analysis techniques rather than a fundamental flaw in the algorithm itself, as the empirical performance remains highly efficient regardless of group size. Future work could focus on tightening these theoretical bounds to match the algorithm's practical performance.
Summary updated