Distributed Conformal Prediction via Message Passing
Haifeng Wen, Hong Xing, Osvaldo Simeone
TL;DR
This work addresses post-hoc calibration of pre-trained models in a fully decentralized setting where devices hold local calibration data and communicate only with neighbors over a graph. It proposes two conformal prediction schemes, Q-DCP and H-DCP, based on message passing: Q-DCP uses decentralized quantile regression via ADMM with smoothing and regularization to achieve linear convergence, while H-DCP leverages consensus on quantized score histograms to estimate the global distribution. The authors provide theoretical coverage guarantees for both methods and demonstrate trade-offs between hyperparameter tuning, communication overhead, and prediction set efficiency across various topologies, with code available for replication. The results support the viability of decentralized CP for reliable inference in privacy-preserving networks, such as healthcare IoT and distributed sensors, by balancing communication cost and coverage guarantees.
Abstract
Post-hoc calibration of pre-trained models is critical for ensuring reliable inference, especially in safety-critical domains such as healthcare. Conformal Prediction (CP) offers a robust post-hoc calibration framework, providing distribution-free statistical coverage guarantees for prediction sets by leveraging held-out datasets. In this work, we address a decentralized setting where each device has limited calibration data and can communicate only with its neighbors over an arbitrary graph topology. We propose two message-passing-based approaches for achieving reliable inference via CP: quantile-based distributed conformal prediction (Q-DCP) and histogram-based distributed conformal prediction (H-DCP). Q-DCP employs distributed quantile regression enhanced with tailored smoothing and regularization terms to accelerate convergence, while H-DCP uses a consensus-based histogram estimation approach. Through extensive experiments, we investigate the trade-offs between hyperparameter tuning requirements, communication overhead, coverage guarantees, and prediction set sizes across different network topologies. The code of our work is released on: https://github.com/HaifengWen/Distributed-Conformal-Prediction.
