Abstract
Conformal prediction (CP), a distribution-free uncertainty quantification (UQ) framework, reliably provides valid predictive inference for black-box models. CP constructs prediction sets that contain the true output with a specified probability. However, modern data science diverse modalities, along with increasing data and model complexity, challenge traditional CP methods. These developments have spurred novel approaches to address evolving scenarios. This survey reviews the foundational concepts of CP and recent advancements from a data-centric perspective, including applications to structured, unstructured, and dynamic data. We also discuss the challenges and opportunities CP faces in large-scale data and models.
Introduction: The Need for Reliable Uncertainty
While modern machine learning models achieve remarkable accuracy, they often suffer from overconfidence and a lack of reliable uncertainty measures. Traditional Uncertainty Quantification (UQ) methods, such as Bayesian inference, frequently rely on strict distributional assumptions that are rarely met in real-world applications.
Conformal Prediction (CP) addresses this gap by providing distribution-free guarantees. It ensures that a prediction set will contain the true value with a user-specified probability (e.g., 95%), regardless of the underlying model architecture. However, the standard CP framework assumes data is exchangeable—a condition often violated by streaming data, complex graph dependencies, and distribution shifts. This survey explores specialized CP techniques designed to maintain reliability across diverse data types.
A Data-Centric Taxonomy
The field of CP has evolved to handle a wide variety of data modalities. To understand these advancements, it is helpful to categorize data based on its structural and temporal characteristics.
The taxonomy distinguishes between Static Data (further divided into structured and unstructured) and Dynamic Data (spatio-temporal and streaming). This categorization dictates the choice of "non-conformity scores"—the metrics used to measure how "unusual" a new data point is relative to the calibration set.
Methodology: From Foundations to Applications
The core of CP lies in its ability to transform point predictions into sets.
Foundational CP
- Full CP: Statistically powerful but computationally intensive, as it requires retraining the model for every possible label.
- Split CP: The industry standard for efficiency. It uses a separate, held-out calibration set to calculate thresholds, avoiding the need for retraining.
Handling Diverse Modalities
The standard workflow, particularly for unstructured data like text, involves a calibration phase where non-conformity scores are calculated to determine a quantile threshold.
- Unstructured Data (NLP & Vision): In NLP, CP is used for tasks like text infilling and mitigating hallucinations in LLMs by generating sets of "admissible" answers. In Computer Vision, it aids in image segmentation and medical imaging.
- Structured Data: Adaptations exist for hierarchical data, matrix completion, and graphs. For graphs, neighborhood-based weighting is often employed to handle node dependencies.
- Dynamic Data: Methods like Adaptive Conformal Inference (ACI) and EnbPI allow models to update uncertainty estimates in real-time, accounting for non-stationary streaming data.
- Conformal Risk Control (CRC): A generalization that allows controlling complex loss functions beyond simple coverage, such as False Discovery Rates.
Key Insights and Results
A major shift in recent research is the move toward a data-centric perspective. The nature of the data—such as graph sparsity or temporal drift—should dictate the algorithmic approach. For instance, Weighted CP can recover valid coverage even when data is non-exchangeable by assigning higher weights to more recent or similar points.
Key results across the literature demonstrate:
- Finite-Sample Validity: Coverage guarantees hold even with small datasets without knowing the underlying distribution.
- Efficiency vs. Coverage: While many methods achieve the required coverage, the "efficiency" (size of the prediction set) varies. Models accounting for specific data distributions (e.g., power-law in graphs) produce more useful, smaller intervals.
- Fairness: "Mondrian" CP ensures equal error rates across different categories, preventing bias against minority groups.
Limitations and Future Directions
Despite its strengths, several challenges remain:
- Computational Scalability: Applying Split CP to massive retrieval systems or real-time LLM decoding still faces latency hurdles.
- Data Imperfections: Extending guarantees to data with missing values, noisy labels, or adversarial perturbations is an active area of research.
- Multi-modal Integration: There is no established standard for aggregating uncertainty from multiple sources (e.g., text and sensor data).
- Standardized Tooling: While libraries like
PUNCCandTorchCPare available, there is a need for better support for modern, unstructured, and streaming data types.
Summary updated