Multi-Dimensional Conformal Prediction

Yam Tawachi, Bracha Laufer-GoldshteinICLR 2025

Deep learning models are increasingly deployed in safety-critical fields like medicine and autonomous driving, where knowing when a model is uncertain is just as important as the prediction itself. Conformal Prediction (CP) is a popular framework for this uncertainty quantification; it produces a set of labels guaranteed to contain the true answer with a user-defined probability (e.g., 95%).

The "Holy Grail" of CP is efficiency: generating the smallest possible prediction set that still meets the coverage guarantee. If a model outputs a set of 50 possible diseases for a patient, it is technically "correct" but practically useless. Standard conformal prediction relies on a single one-dimensional score to build these uncertainty sets, which often fails to capture the complex patterns of model error and results in unnecessarily large, uninformative predictions.

To address this, researchers have introduced Multi-Dimensional Conformal Prediction, a framework that leverages multiple nonconformity scores to better isolate correct labels from incorrect ones, significantly shrinking prediction set sizes while maintaining rigorous statistical coverage guarantees.

Methodology: Moving Beyond 1D Scores

The core innovation of this paper is moving from a 1D score to a multi-dimensional score space. The approach consists of three main pillars:

  1. Multi-Dimensional Scoring via Self-Ensembling: Instead of generating one score per label, the method generates a vector of scores. To do this efficiently without training multiple full models, the authors employ Self-Ensembling. A single backbone model (like ResNet) is equipped with multiple diverse classification heads. These heads are trained with a special loss function that minimizes cosine similarity between their outputs, ensuring they make different kinds of mistakes and provide complementary information.
  2. Space Partitioning: The multi-dimensional score space is partitioned into "cells" centered around calibration data points, essentially creating a Voronoi tessellation of the score space.
  3. Cell Ranking and Calibration: Each cell is assigned a "quality" ratio based on the density of true labels versus false labels it contains. Cells with a high concentration of true labels are ranked higher. During calibration, the algorithm greedily adds the best-ranked cells until the desired coverage level (e.g., 90%) is reached.
Self-Ensemble Architecture and Score Space Partitioning

At test time, a label is included in the prediction set only if its multi-dimensional score falls within one of these high-quality selected cells.

Key Insights: The Power of Dimensionality

In a standard 1D space, the only option for conformal prediction is to pick a threshold (a single point). In higher dimensions, the algorithm can "carve out" complex, unstructured regions. This allows it to ignore specific areas of the score space where false labels tend to cluster, even if those regions have low 1D scores.

Comparison of 1D vs 2D score separation and resulting prediction set sizes

Furthermore, unlike other methods that attempt to learn optimal weights to combine multiple scores—which requires complex optimization and retraining for different coverage levels—this cell-based approach is parameter-free and works for any miscoverage level ($\alpha$). However, this multi-dimensional approach only succeeds if the scores provide complementary information; the authors demonstrate that their diversity-promoting loss is crucial to prevent the heads from becoming too similar.

Empirical Results

The method was evaluated across several standard benchmarks, including Computer Vision (CIFAR100, Tiny ImageNet, ImageNet), Medical Imaging (PathMNIST), and Natural Language Processing (20 Newsgroups using BERT-base).

The multi-dimensional approach consistently outperformed state-of-the-art baselines (like RAPS and SAPS) by producing much smaller prediction sets:

  • Efficiency Gains: On CIFAR100 with a 90% coverage target, the multi-score method achieved a mean set size of ~15.3, compared to ~35.3 for a standard uniform average of heads and ~22.5 for a weight-optimized baseline.
  • Robustness: The performance gains held true across different model architectures (e.g., ResNet vs. ViT) and different types of base scores.
  • Theoretical Soundness: The authors provide mathematical proofs showing that their "unstructured" region selection maintains the finite-sample coverage guarantees that make conformal prediction reliable.

Limitations and Future Work

While highly effective, the approach has a few limitations:

  • Data Splitting: The basic version of the algorithm requires splitting the calibration data into two halves (one to define the cells and one to set the final threshold). For very small datasets, this "data hunger" might reduce efficiency. A proposed "Jackknife+" variant solves this but is computationally more expensive.
  • The "Curse" of Dimensionality: While using 7 heads (dimensions) worked well in experiments, as dimensionality increases, the cells in the score space become sparser. Finding the optimal balance between the number of heads and the amount of calibration data remains an open question.
  • Extension to Regression: The current paper focuses strictly on classification. Extending this multi-dimensional cell-partitioning logic to continuous regression problems is a logical and promising next step.

Summary updated

BibTeX
@inproceedings{tawachi2025multi,
  author = {Yam Tawachi and Bracha Laufer-Goldshtein},
  title = {{Multi-Dimensional Conformal Prediction}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=loDppyW7e2},
}
Figure