                                   Relational Conformal Prediction for Correlated Time Series



Electric Load Forecasting We selected the CER-E dataset (Commission for Energy Regulation, 2016; Cini et al., 2022),

comprising 25,728 timesteps of energy consumption readings aggregated at 30-minute intervals from 485 smart meters

monitoring small and medium-sized enterprises. We use a window of 48 time steps and predict the 5-time-step-ahead

observations. For the STGNN base model, we built the adjacency matrix by extracting a 10-nearest neighbor graph from

week-wise correntropy similarities between time series, following previous work (Cini et al., 2022).



GPVAR For the GPVAR dataset, we generate synthetic data with 40,000 timesteps over an undirected network of 60

nodes connected in a community graph structure by following the system model in Eq. 19 (Zambon and Alippi, 2022). The

parameters of the spatiotemporal process are set as

                                                        

                                       2.5 −2.0 −0.5

                                 Θ=                        , a = b = 0.5, σ = 0.4.                                (23)

                                       1.0 3.0       0.0



We used an input window of 5 time steps to predict the next observation. For the STGNN base model, we used the same

community graph structure as the adjacency matrix.



Base models We trained three base models (point predictors) for each dataset: a RNN with GRU cells (1 layer with hidden

size 32), a decoder-only Transformer (hidden size 32, feed-forward size 64, 2 attention heads, 3 layers, dropout 0.1), and

a STGNN following the template in Sec. 2.4 (hidden size 32, node embedding size 16, 1 layer GRU, 2 message-passing

layers). All models were trained by minimizing the MAE loss using the Adam optimizer for 200 epochs with batch size 32,

using 40% of the data for training, 40% for calibration, and 20% for testing. We also use the first 25% of the calibration data

as a validation set for early stopping. Input features were scaled using standard scaling across time series.



D. Additional details on C O R EL implementation

Architecture As discussed in Sec. 3 and Sec. 5, we implemented C O R EL as TTS model with a single-layer GRU followed

by 2 message passing layers analogous to those in (Satorras et al., 2022). As a readout, we used an MLP mapping the learned

representations to predictions of 39 equally spaced quantiles. For the C O RNN baseline, we used the same architecture but

removed the message passing layers and node embeddings V and allowed the GRU to have more than one layer.



Latent graph learning module The graph learning module was implemented as described in Sec. 3.2 by parametrizing Φ

with a matrix of N × N learnable parameters. To allow for sampling less neighbors than the specified neighborhood size

K, we followed previous works (Cini et al., 2023c) and modified the sampling procedure by introducing a set of dummy

nodes then discarded from the sampled graph before message passing. We use dummy nodes in the GPVAR experiment

only. To allow for sparse message-passing operations we use a straight-through gradient estimator (Bengio et al., 2013) and

backpropagate gradients only through the sampled edges for each node, plus 10% of the remaining ones. In the GPVAR

experiment, we simply propagate gradients w.r.t. the entire adjacency matrix.



Covariates Besides residuals, we use as additional covariates datetime encodings whenever available, plus the value of

the target time series w.r.t. the time steps in the input window.



E. Evaluation metrics

                          b α = [x̂i + q̂ α/2 , x̂i + q̂ 1−α/2 ] and true value xi , evaluation is conducted for a desired confidence

For a prediction interval C i            i              i

level α using three key metrics.



Coverage gap ∆Covi measures the difference between the achieved coverage and the target coverage 1 − α, and is given

by                                                                      

                                  ∆Covi = 100 1(xi ∈ C    b α ) − (1 − α) ,

                                                            i                                                   (24)

where 1 denotes the indicator function.



Prediction interval width Quantifies the width of the prediction intervals, and is given by

                                                                  1−α/2       α/2

                                                  PI-Widthi = q̂i         − q̂i     .                                           (25)



                                                                 15

