Multi-model Online Conformal Prediction with Graph-Structured Feedback

Erfan Hajihashemi, Yanning Shen

Abstract

Online conformal prediction has demonstrated its capability to construct a prediction set for each incoming data point that covers the true label with a predetermined probability. To cope with potential distribution shift, multi-model online conformal prediction has been introduced to select and leverage different models from a preselected candidate set. Along with the improved flexibility, the choice of the preselected set also brings challenges. A candidate set that includes a large number of models may increase the computational complexity. In addition, the inclusion of irrelevant models with poor performance may negatively impact the performance and lead to unnecessarily large prediction sets. To address these challenges, we propose a novel multi-model online conformal prediction algorithm that identifies a subset of effective models at each time step by collecting feedback from a bipartite graph, which is refined upon receiving new data. A model is then selected from this subset to construct the prediction set, resulting in reduced computational complexity and smaller prediction sets. Additionally, we demonstrate that using prediction set size as feedback, alongside model loss, can significantly improve efficiency by constructing smaller prediction sets while still satisfying the required coverage guarantee. The proposed algorithms are proven to ensure valid coverage and achieve sublinear regret. Experiments on real and synthetic datasets validate that the proposed methods construct smaller prediction sets and outperform existing multi-model online conformal prediction approaches.

Introduction

Conformal Prediction (CP) provides a robust framework for uncertainty quantification by generating prediction sets guaranteed to contain the true label with a user-defined probability (e.g., 90%). However, deploying CP in dynamic environments presents two significant challenges: distribution shift and the multi-model trade-off. While ensembles of models can mitigate the effects of shifting data distributions, maintaining a large candidate set is computationally expensive. Furthermore, the inclusion of low-performing or irrelevant models can degrade performance, leading to "bloated" and uninformative prediction sets.

This paper introduces GMOCP (Graph-structured feedback Multimodel Ensemble Online Conformal Prediction) and its extension EGMOCP, which address these issues by dynamically pruning the model ensemble using a graph-based selection mechanism.

Methodology

The Graph Mechanism

The core innovation of GMOCP is the use of a time-varying bipartite graph $G_t$ to manage the model ensemble efficiently. The graph consists of two sets of nodes: $M$ candidate models and $J$ "selective nodes." At each time step, the algorithm selects a selective node, which activates a specific subset $S_t$ of connected models. A single model $\hat{m}$ is then chosen from this active subset to generate the final prediction set.

The bipartite graph mechanism dynamically selects a subset of models (red edges) from the full candidate set to reduce complexity and noise.

Feedback and Updates

To maintain the 90% coverage guarantee under distribution shift, the algorithm employs two feedback loops:

  1. Miscoverage Feedback: A "pinball loss" and scale-free online gradient descent update the time-varying miscoverage probability ($\alpha_t^m$) for each model.
  2. Weight Updates: Using importance sampling, the algorithm updates the weights of only the models within the active subset $S_t$. This targeted update significantly reduces the per-iteration computational complexity from $O(Mt)$ to $O(Nt + JMN)$, where $N$ is the size of the small subset.

Efficient Extension (EGMOCP)

EGMOCP further refines the selection process by incorporating prediction set size into the weight update rule. By explicitly penalizing models that produce unnecessarily large sets, EGMOCP prioritizes models that are both accurate and precise, maximizing the frequency of "Single Width" predictions (sets containing exactly one label).

Experimental Evaluation

The proposed methods were evaluated on benchmarks designed to simulate various distribution shifts, including CIFAR-10C, CIFAR-100C, and TinyImageNet-C. These datasets feature 15 types of corruptions at multiple severity levels, tested under both gradual and sudden shift scenarios.

Key Results

  • Efficiency: On CIFAR-100C under sudden shifts, EGMOCP reduced the average prediction set width to approximately 6.18, compared to 12.63 for the standard MOCP baseline.
  • Precision: EGMOCP achieved a "Single Width" percentage of nearly 30%, a significant improvement over the 22% achieved by baselines.
  • Computational Speedup: GMOCP demonstrated runtimes nearly 2x faster than traditional multi-model approaches like MOCP or COMA in several configurations.
  • Theoretical Guarantees: The authors proved that both algorithms achieve sublinear regret, ensuring long-term convergence toward the performance of the best fixed model in hindsight.

Conclusion

By shifting from global ensemble averaging to dynamic subset selection via graph-structured feedback, GMOCP and EGMOCP provide a more scalable and precise approach to online conformal prediction. While the current framework depends on a pre-trained set of candidate models, future work may explore automated hyperparameter tuning for graph generation and extending these mechanisms to broader regression tasks.

Summary updated

BibTeX
@article{hajihashemi2025multi,
  author = {Erfan Hajihashemi and Yanning Shen},
  title = {{Multi-model Online Conformal Prediction with Graph-Structured Feedback}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=9u8ugbismg},
}
Figure