TL;DR
This paper introduces Multi-Source Randomly Localized Conformal Prediction (MS-RLCP), a novel framework for robust uncertainty quantification when data is gathered from multiple heterogeneous sources. By dynamically routing each test point to the data source with the strongest local representation, MS-RLCP delivers valid, tight prediction intervals under covariate shift without requiring raw data sharing.
What Problem Does This Paper Address?
Standard conformal prediction is a powerful tool for generating prediction sets with rigorous finite-sample coverage guarantees. However, it fundamentally relies on the assumption of exchangeability—meaning the training and test data must look like they came from the same distribution.
In real-world machine learning deployments (e.g., autonomous driving, multi-hospital clinical studies, or global sensor networks), data is rarely homogeneous. Instead, it arrives from multiple distinct sources, each with its own biases and environmental conditions. When the test distribution shifts away from these individual sources, standard conformal prediction breaks down.
While prior work often assumes the test distribution is a simple mixture of the training sources, this paper tackles a much broader and more realistic challenge: How can we leverage the unique local strengths of multiple heterogeneous sources to provide reliable, localized uncertainty guarantees, even when the test distribution falls outside the strict mixture class?
Methods
MS-RLCP builds upon the single-source Randomly Localized Conformal Prediction (RLCP) framework and extends it to multi-source settings using a data-adaptive selection rule. The core intuition is that a prediction model's local coverage is best in regions of the feature space where it has seen the most data.
The algorithm operates in three main phases:
- Local Training (No Data Sharing): Each source independently trains its own predictive model and computes nonconformity scores on its local training and calibration data splits. This makes the method highly communication-efficient and privacy-preserving.
- Data-Dependent Source Alignment: When a new test point $X_{n+1}$ arrives, the algorithm introduces a small amount of randomization by drawing a perturbed feature $\tilde{X}_{n+1}$ from a localized kernel $H$. It then calculates an empirical alignment score to determine which source has the highest data density in that specific neighborhood.
- Local Calibration: The algorithm routes the test point to the chosen source $\hat{k}$ and computes a localized, weighted quantile threshold using only that source's calibration data to output the final prediction set.
The complete algorithmic flow is illustrated below:
The authors also introduce the mathematical concept of an envelope distribution—the pointwise maximum of all source feature densities. Using this framework, they prove finite-sample coverage bounds for any test distribution that is absolutely continuous with respect to this envelope, significantly relaxing the standard mixture-distribution assumption.
Datasets
The authors evaluated MS-RLCP using both synthetic simulations and real-world benchmarks:
- Synthetic Heterogeneous Data: A 5-dimensional feature space with 10 distinct source distributions designed to induce systematic subpopulation shifts.
- Functional Map of the World (FMoW): A massive satellite imagery dataset where five distinct geographic regions (Africa, the Americas, Asia, Europe, and Oceania) serve as the heterogeneous sources predicting land-use classes.
- Medical Expenditure Panel Survey (MEPS): A healthcare-utilization benchmark (panels 19–21) where data sources are defined by demographic attributes to predict medical care utilization.
Key Insights and Ideas
- Heterogeneity as an Asset: Rather than treating data diversity across sources as a obstacle to smooth over, MS-RLCP treats it as an opportunity. It maps out which source dominates which region of the feature space, ensuring that the most qualified model handles the uncertainty estimation for any given test point.
- Wrapper-Style Flexibility: Because the source selection happens at test time based purely on feature density, MS-RLCP acts as a flexible wrapper. It can utilize pre-trained, source-specific models without requiring global model calibration or centralized data pooling.
- Smoothness Relative to the Envelope: The theoretical analysis reveals that source and test distributions can possess significant irregularities or discontinuities, provided that their variation relative to the aggregate envelope distribution remains smooth (Lipschitz).
Key Results
- Tighter Prediction Intervals: In synthetic experiments, MS-RLCP successfully maintained empirical coverage close to the target 90% level while producing substantially narrower (more informative) prediction intervals than conservative aggregation baselines (such as max- or mean-pooling of $p$-values).
- Geographic Adaptation: On the FMoW dataset under geographic distribution shift, the method achieved an overall coverage of 88.59% $\pm$ 0.82%. Crucially, it dynamically adapted its uncertainty locally—generating larger prediction sets for more challenging regions (Asia and Europe) and tighter sets where confidence was high (Oceania).
- Robustness to Latent Shift: In the MEPS healthcare experiments, MS-RLCP demonstrated remarkable stability, maintaining near-nominal coverage (~89-90%) even when the test environment underwent severe latent mixture shifts.
Limitations and Future Work
The primary limitation identified is that MS-RLCP relies on a "hard selection" mechanism—it routes the test point to exactly one source. The authors note that a natural and promising direction for future work is to extend this framework to local weighting across multiple sources. Blending calibration data from multiple nearby sources could further improve sample efficiency and shrink prediction intervals even more, while still preserving distribution-free coverage guarantees.
Summary updated