                 Relational Conformal Prediction for Correlated Time Series





          Andrea Cini 1 2 Alexander Jenkins 1 3 Danilo Mandic 3 Cesare Alippi 1 4 Filippo Maria Bianchi 5 6





                          Abstract                                       et al., 2024). In many application domains, such time series

                                                                         are characterized by a rich spatiotemporal dependency struc-

       We address the problem of uncertainty quantifi-

                                                                         ture that can be exploited by introducing inductive biases in

       cation in time series forecasting by exploiting

                                                                         the forecasting architecture (Cini et al., 2023a), to steer the

       observations at correlated sequences. Relational

                                                                         learning procedure toward the most plausible models. Ac-

       deep learning methods leveraging graph repre-

                                                                         counting for the existing dependencies, usually represented

       sentations are among the most effective tools for

                                                                         as a graph, allows the resulting models to obtain accurate

       obtaining point estimates from spatiotemporal

                                                                         predictions with a reduced sample complexity (Jin et al.,

       data and correlated time series. However, the

                                                                         2023; Cini et al., 2023a). Besides the accuracy of the point

       problem of exploiting relational structures to es-

                                                                         estimates, the reliability of the forecasts is a critical aspect of

       timate the uncertainty of such predictions has

                                                                         the problem and a key element to enable effective decision-

       been largely overlooked in the same context. To

                                                                         making in many applications (Makridakis, 1996; Petropou-

       this end, we propose a novel distribution-free ap-

                                                                         los et al., 2022). Uncertainty quantification methods (Smith,

       proach based on the conformal prediction frame-

                                                                         2024; Vovk et al., 2005) can improve reliability by provid-

       work and quantile regression. Despite the recent

                                                                         ing confidence intervals on the forecasting error magnitude,

       applications of conformal prediction to sequen-

                                                                         allowing for making more informed decisions (Hyndman

       tial data, existing methods operate independently

                                                                         and Athanasopoulos, 2018). This is particularly true for

       on each target time series and do not account

                                                                         risk-sensitive applications such as healthcare (Makridakis

       for relationships among them when constructing

                                                                         et al., 2019) and load forecasting (Gasparin et al., 2022).

       the prediction interval. We fill this void by in-

                                                                         In this context, inter-series (spatiotemporal) dynamics offer

       troducing a novel conformal prediction method

                                                                         both a challenge and an opportunity. Indeed, while these

       based on graph deep learning operators. Our

                                                                         dependencies can lead to wide prediction intervals (PIs) if

       approach, named Conformal Relational Predic-

                                                                         overlooked, they may also provide additional knowledge to

       tion (C O R EL), does not require the relational

                                                                         reduce uncertainty (Zambon and Alippi, 2022).

       structure (graph) to be known a priori and can be

       applied on top of any pre-trained predictor. Addi-                Existing probabilistic forecasting frameworks often rely on

       tionally, C O R EL includes an adaptive component                 strong distributional assumptions and major modifications

       to handle non-exchangeable data and changes in                    of the base point predictor (Benidis et al., 2022; Salinas

       the input time series. Our approach provides ac-                  et al., 2020). As such, they cannot be used to quantify un-

       curate coverage and achieves state-of-the-art un-                 certainty given a pre-trained forecasting model. In such

       certainty quantification in relevant benchmarks.                  a setting, conformal prediction (CP) (Vovk et al., 2005;

                                                                         Angelopoulos et al., 2023) methods are particularly appeal-

                                                                         ing. CP is an uncertainty quantification framework that

1. Introduction                                                          estimates confidence intervals with marginal coverage guar-

                                                                         antees from observed prediction residuals. One of the main

Many recent advancements in deep learning methods for                    assumptions of standard CP methods is that of exchange-

time series forecasting rely on learning from large collec-              ability between the data used to estimate the confidence

tions of (related) time series (Benidis et al., 2022; Liang              intervals and the test data points, i.e., the assumption that

   1

    IDSIA USI-SUPSI, Università della Svizzera italiana 2 Swiss         their joint probability distribution is invariant to the ordering

National Science Foundation Postdoc Fellow 3 Imperial College            of the associated sequence of random variables (Angelopou-

London 4 Politecnico di Milano 5 UiT The Arctic University of Nor-       los et al., 2024). Although this assumption does not usually

way 6 NORCE Norwegian Research Centre AS. Correspondence                 hold when operating on time series (Barber et al., 2023),

to: Andrea Cini <andrea.cini@usi.ch>.                                    several methods have successfully adapted CP to estimate

Proceedings of the 42 nd International Conference on Machine             forecast uncertainty (Stankeviciute et al., 2021; Xu and Xie,

Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025              2023a;b; Jensen et al., 2022; Auer et al., 2023). Never-

by the author(s).                                                        theless, existing CP approaches operate on each (possibly



                                                                     1

