                                 Relational Conformal Prediction for Correlated Time Series



For example, the cost of a forward pass for a standard TTS           Conformal prediction Related work on CP for time series

STGNN with window size W and a graph with E edges                    has been already discussed in Sec. 2.2 and Sec. 3. Related

would scale as O(W N + E) (Cini et al., 2023a).                      to our method, Mao et al. (2024) propose a CP approach

                                                                     for (static) spatially correlated data. Jiang et al. (2024) pro-

3.4. Adaptation                                                      pose to quantify the uncertainty in predicting power outages

                                                                     by fitting a quantile random forest (Meinshausen and Ridge-

The RelQP model introduced in Sec. 3.1 can yield arbitrarily

                                                                     way, 2006) on time series from neighboring geographical

large coverage gaps in the presence of distribution shifts

                                                                     units. C O R EL can be framed among the CP methods that

from the calibration set where the model is trained. Adopt-

                                                                     learn a model of conformal scores distribution (Xu and Xie,

ing a re-training approach, such as in Xu and Xie (2023b),

                                                                     2023b; Lee et al., 2024). Differently from existing methods

would be impractical due to the higher sample complex-

                                                                     that operate on each time series separately, the estimates are

ity entailed by the deep learning approach that we adopt.

                                                                     conditioned on errors at both the target time series as well

Therefore, to mitigate this issue while keeping the computa-

                                                                     as at neighboring nodes. To the best of our knowledge, no

tional complexity under control, we update only the local

                                                                     previous CP method has been designed to specifically oper-

components of the model over time, i.e., the learnable node

                                                                     ate on collections of correlated time series and exploit graph

embeddings V (Cini et al., 2023b). This allows for keeping

                                                                     deep learning operators. CP methods for multivariate time

most of the learnable parameters fixed and fine-tuning only

                                                                     series do exist (Xu et al., 2024; Sun and Yu, 2024; Feldman

a small number of weights for each node. Empirically, we

                                                                     et al., 2023), but operate on a single multidimensional time

show that this procedure can effectively improve the quality

                                                                     series. Moreover, although global-local models are popular

of the uncertainty estimates.

                                                                     among forecasting architectures (Smyl, 2020; Benidis et al.,

                                                                     2022), C O R EL is the first CP architecture of this kind. Fi-

4. Related Work                                                      nally, CP methods have also been applied to static graphs

                                                                     and used to quantify the uncertainty of GNNs, both in induc-

The problem of quantifying forecast uncertainty is central

                                                                     tive (Zargarbashi et al., 2023) and transductive (Huang et al.,

in fundamental and applied research in time series fore-

                                                                     2024) settings. These methods often assume node/edge ex-

casting (Hyndman and Athanasopoulos, 2018; Petropoulos

                                                                     changeability (Zargarbashi et al., 2023; Huang et al., 2024)

et al., 2022). Among deep learning approaches (Benidis

                                                                     or are limited to node classification (Clarkson, 2023) or link

et al., 2022), many generative architectures have been pro-

                                                                     prediction (Zhao et al., 2024). Recently, Davis et al. (2024)

posed as means to obtain probabilistic forecasts (Salinas

                                                                     proposed a CP method for node classification with GNNs

et al., 2020; Rangapuram et al., 2018; de Bézenac et al.,

                                                                     in dynamic networks.

2020; Rasul et al., 2021). Most related to our approach are

those methods that exploit quantile regression (Wen et al.,

2017; Gasthaus et al., 2019; Kan et al., 2022; Gouttes et al.,       5. Experiments

2021). Similarly to C O R EL, these quantile regression tech-

niques do not usually require strong assumptions on the data         We validate C O R EL across three experimental settings. In

distribution.                                                        the first one (Sec. 5.1), we compare it against state-of-the-art

                                                                     CP methods operating on the residuals produced by differ-

Uncertainty quantification in STGNNs Regarding prob-                 ent forecasting models. Then, we analyze C O R EL in a

abilistic graph-based forecasting architecture, the existing         controlled environment (synthetic dataset). Finally, we as-

literature is limited (Jin et al., 2023; Cini et al., 2023a).        sess the effectiveness of the procedure described in Sec. 3.4

Wu et al. (2021) investigate the combination of STGNNs               in adaptively improving the PIs. We implement C O R EL

with standard uncertainty quantification techniques for deep         as an RNN followed by two message-passing layers. To

learning. Pal et al. (2021) use an STGNN to implement                approximate the quantile function, we train the model by

a state-space model and quantify uncertainty within a                minimizing the pinball loss over a discrete set of quantiles,

Bayesian framework. Wen et al. (2023) propose a probabilis-          similarly to Wen et al. (2017). PIs are constructed as in

tic predictor based on combining STGNNs with a diffusion             Eq. 14; App. G.2 shows results for the alternative construc-

model (Ho et al., 2020). Zambon et al. (2023) introduce              tion in Eq. 16. To learn the graph, we directly parametrize

a framework for designing probabilistic graph state-space            the score matrix Φ by associating a learnable parameter

models that can process collections of time series. However,         with each of its entries. We use as metrics: 1) the differ-

all these methods cannot operate on top of an existing pre-          ence between the specified confidence level 1 − α and the

trained model and require training an ad-hoc forecasting             observed coverage on the test set (∆Cov), 2) the width of

model. Conversely, C O R EL is trained, within a CP frame-           the PI (PI-Width), and 3) the Winkler score (Winkler, 1972),

work, on predicting the quantiles of the error distribution          which is computed as the width of the PI plus penalty for

of any existing model, rather than on forecasting the target         each observation outside of the predicted interval propor-

variable.                                                            tional to the actual error (Winkler). Note that balancing



                                                                 6

