Manuscript Offprint
arXiv:2611.03512ST-GFM: Spectral-Temporal Graph Forecasting with Measured Perturbation Bounds and Masked Spectral Reconstruction
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ARTICLE INFO
Keywords:
Graph neural networks
perturbation stability
power spectral density
self-supervised learning
spatio-temporal forecasting
spectral graph theory
traffic forecasting
ABSTRACT
Graph forecasters for sensor networks are trained in one regime and deployed in others, where sensor coupling and signal frequency content both change. We split this spectral shift into an operator channel and a frequency channel, each with a dimensionless measure. ST-GFM (Spectral-Temporal Graph Forecasting Model) filters every input step with Chebyshev and bidirectional diffusion filters on one learned, non-symmetric operator and alternates them with per-node temporal attention. For the operator channel we prove Frobenius-norm perturbation bounds for both graph branches, show that the Chebyshev bound is attained to first order, and compute its constant from the trained weights and the measured operator norm: 17.9 on METR-LA and 21.5 on PEMS-BAY. Under random edge dropout the trained layer moves by 2.0% to 3.1% of this bound. Masked Spectral Reconstruction (MSR), a self-supervised loss active in the first 40 epochs, matches the log power spectrum of the encoder output to that of the input. For small log-spectral residuals on unclamped bins it is proportional to an Itakura–Saito divergence to leading order. Removing it raises the 60-minute MAE by 0.30 on METR-LA, close to the 0.33 lost when all three self-supervised losses go. Under one shared evaluation pipeline, the 60-minute MAE of ST-GFM is 3.5% below a retrained STAEformer on METR-LA and 13.0% below it on PEMS-BAY. Its 60-minute MAE is 3.098 ± 0.017 on METR-LA (five seeds) and 1.576 ± 0.006 on PEMS-BAY (three seeds), the lowest PEMS-BAY MAE among twelve published baselines.
We call the joint change in sensor coupling and signal frequency content spectral shift. It reaches a deployed model through two channels (Figure 1). In the operator channel, the graph operator the model uses no longer describes the coupling it faces. This happens when a distance graph is reestimated, when failed sensors take their edges with them, or when a graph fitted on one period is reused on another. In the frequency channel, the operator is unchanged but the inputs carry energy at temporal frequencies that differ from training. The two channels call for different tools. The first asks how a filter responds when its operator moves, which spectral graph theory can answer. The second asks
what the encoder has learned to represent, which the training objective can influence.
Spatio-temporal forecasters are judged almost entirely on in-distribution accuracy. DCRNN [36], Graph WaveNet [56], MTGNN [55], D²STGNN [47], STAEformer [37] and others report strong numbers on METR-LA and PEMS-BAY, and none of them states how its predictions respond to a change of the operator. Perturbation bounds for graph filters exist [16, 18, 29, 35], and CITRUS [12] carries such an analysis into spatio-temporal forecasting. These bounds are written for generic filter banks or for other architectures, and none of these works computes its constants from the trained weights of an attention-based traffic forecaster. Existing self-supervised and frequency-aware objectives [17, 27, 46, 52, 54, 62] supervise embeddings, reconstructed values, spectrogram values or forecast coefficients. Under a squared error on values, the weak, fast bins of a speed window carry little weight next to the slow trend (Section 5.4). We have not found a pretext task that compares the log power spectrum of a graph encoder's output with that of its input, which expresses every spectral discrepancy as a log-power ratio.
ST-GFM (Spectral-Temporal Graph Forecasting Model) is built around the two channels. Its encoder alternates Chebyshev-plus-diffusion graph filtering on a learned, non-symmetric operator with per-node temporal attention, and it keeps all twelve input steps through every graph layer, so each filter acts on the traffic state at one step. For the operator channel we bound how far each graph branch moves under an operator perturbation, compute the constants from the trained weights and the measured operator, and compare the Chebyshev bound with the measured response of the layer
*Corresponding author bohra.1@iitj.ac.in (A. Bohra); vivek@iitj.ac.in (V. Vijay) ORCID(s): 0009-0004-5871-4310 (A. Bohra); 0000-0002-1359-1861 (V. Vijay)
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 1 of 21 it describes. The frequency channel motivates the training objective. Masked Spectral Reconstruction (MSR) matches the log power spectral density (PSD) of the encoder output to that of the input during the first 40 epochs. Under one shared evaluation pipeline, the 60-minute MAE of ST-GFM is 3.5% below a retrained STAEformer on METR-LA and 13.0% below it on PEMS-BAY. The evaluation follows four research questions (RQs).
• RQ1. Does ST-GFM improve multi-horizon accuracy over strong published baselines on speed and flow data, and is the improvement stable across seeds and across evaluation pipelines?
• RQ2. Which components account for the accuracy?
• RQ3. How sensitive is the forecast to perturbations of the graph operator, and how does the measured response compare with the bound?
• RQ4. Where does frequency shift occur in traffic, and how does ST-GFM's accuracy on METR-LA weekends compare with its full-test accuracy?
The paper makes four contributions.
-
Perturbation bounds whose constants are measured on the trained model. We bound both graph branches and the encoder stack in the Frobenius norm without assuming a symmetric operator, so the bounds cover the learned operator ST-GFM uses. The Chebyshev bound is attained to first order on a constructed example. Its constant, computed from the trained weights and the measured norm of the trained operator, is 17.9 on METR-LA and 21.5 on PEMS-BAY. Under edge dropout the observed change of the first DCSE layer is 2.0% to 3.1% of the bound and grows close to linearly in the size of the edit.
-
A two-channel account of spectral shift with a protocol to match. Definition 1 gives the operator channel and the frequency channel each a dimensionless measure. The protocol perturbs the operator with the inputs held fixed (RQ3) and measures frequency shift on real data with the operator held fixed (RQ4). On both test sets the frequency term concentrates in weekday peak hours and is lowest on weekends.
-
MSR, a pretext loss on the log spectrum of the encoder output. MSR aligns the log-PSD of the encoder output with that of its input. For small log-spectral residuals on unclamped bins, neglecting numerical stabilisation, the objective is proportional to the Itakura–Saito divergence to leading order. Among the objectives reviewed in Section 2, it is the only one that compares log spectra. Removing MSR raises the 60-minute MAE by 0.30 on METR-LA and 0.22 on PEMS-BAY, against 0.33 and 0.24 when all three self-supervised losses are removed.
-
A spectral encoder on a learned, non-symmetric operator. DCSE runs an isotropic Chebyshev filter and
a two-direction diffusion filter on one learned anchor operator at every input step and alternates with per-node temporal attention. Replacing DCSE with a standard GCN costs 0.32 MAE at 60 minutes on METR-LA and 0.21 on PEMS-BAY. Collapsing the time axis before the graph layers costs 0.12 and 0.08.
Section 2 reviews related work. Section 3 defines the task and spectral shift, Section 4 the model, and Section 5 the analysis. Sections 6 and 7 report the experiments, including an exploratory transfer to industry portfolio returns (Section 7.5). Section 8 interprets them and Section 9 states their scope.
2. Related Work
The related work is categorized into four categories which are spatio-temporal forecasting on sensor graphs, distribution shift in temporal and graph data, spectral graph filters and their stability, and self-supervised and frequency-aware pre-training. We examine how existing methods capture spatial and temporal dependencies, adapt to changing data distributions, characterize the sensitivity of graph filters to structural perturbations, and learn representations from temporal and spectral information.
2.1. Spatio-Temporal Forecasting on Sensor Graphs
Most models pair a graph module for spatial coupling with a sequence module for time. DCRNN [36] places diffusion convolution inside a recurrent encoder-decoder. STGCN [59] and ASTGCN [19] apply Chebyshev graph convolution to each time slice of a fixed distance graph, with temporal convolution in STGCN and spatio-temporal attention in ASTGCN. Graph WaveNet [56] learns an adaptive adjacency softmax(ReLU( )) from two node-embedding tables, the form ST-GFM also uses. AGCRN [3] builds its graph from one embedding table and adds node-specific parameters, MTGNN [55] learns the graph jointly with dilated temporal convolutions, and Ad-STGCN [8] combines several feature graphs with the road graph through adaptive graph convolution. GMAN [64], STGNN [47], DSTAGNN [34] and MegaCRN [25] model time-varying or decoupled spatial structure. Attention-based models now hold most of the leading numbers. STAEformer [37] shows that adaptive spatio-temporal embeddings make a plain Transformer competitive, PDFformer [24] and Trafformer [26] model propagation delay and joint space-time attention, T-Graphormer [2] applies Graphormer-style structural encodings to space-time tokens, and TITAN [51] routes between sequence-centric and variable-centric experts. STID [45] is a useful corrective: identity embeddings and an MLP recover much of the accuracy on these benchmarks. ST-GFM uses identity embeddings for that reason, and Section 7.2 reads its ablation with this in mind. Graph WaveNet and MTGNN shorten the window layer by layer with dilated temporal convolutions, so later graph convolutions see fewer and coarser steps. STGCN shortens it
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 2 of 21

Figure 1: Spectral shift between two regimes of the same freeway sensor network. The left and centre panels are schematic: sensor coupling above, the power spectrum of a typical speed series below. Spectral shift reaches a deployed model through an operator channel and a frequency channel, which the paper analyses and tests separately.
between graph layers with unpadded convolutions. DCRNN applies its diffusion filter to a recurrent state that summarises all earlier steps. GMAN and STAEformer keep every step but use attention in place of a spectral filter. Keeping the time axis is therefore not new by itself. ST-GFM combines it with a spectral graph path on a learned, non-symmetric operator and states how far that path moves when the operator moves.
2.2. Distribution Shift in Temporal and Graph Data
RevIN [32] and Non-stationary Transformers [39] handle drift in per-series statistics through normalisation. DIDA [63] learns invariant patterns in dynamic graphs under spatio-temporal distribution shift, and the survey of Kazemi et al. [28] covers models that track evolving structure. These methods target the input distribution or the graph sequence. They do not state how a fixed spectral filter responds when its operator changes, which is the question behind our operator channel.
2.3. Spectral Graph Filters and Their Stability
Spectral graph convolution was introduced through the graph Fourier transform [6]. Chebyshev polynomial filters [10, 20] avoid eigendecomposition and are localised to hops, and GCN [33] is their first-order simplification. BernNet [22], ChebNetII [21] and the analysis of Wang and Zhang [53] study what polynomial filters can represent and how their coefficients should be constrained. ChebNetII shows that unconstrained Chebyshev coefficients behave poorly at high order, which bears on the coefficient norms we report. On stability, Gama et al. [16] bound filter response under relative perturbations, Levie et al. [35] prove transferability of spectral filters across graphs, Kenlay et al. [29] give bounds in terms of edge edits, Gao et al. [18] treat stochastic perturbations, and Keriven et al. [30] study large random graphs. Ruiz et al. [44] survey the area. CITRUS [12] brings a perturbation analysis to spatio-temporal forecasting with continuous product-graph heat kernels. Our analysis uses standard tools. Its addition is a statement for the encoder we deploy, with a Chebyshev branch, a degree-normalised
diffusion branch and interleaved attention, a tightness result, constants computed from trained weights, and a comparison of the bound with the measured response of the trained layer.
2.4. Self-Supervised and Frequency-Aware Pre-Training
GraphCL [58] and GRACE [66] learn graph representations from augmented views. For time series, TNC [48], TS2Vec [61] and CoST [54] use temporal contrast, and SimMTM [11] reconstructs masked series in the time domain. STEP [46] and STD-MAE [17] pre-train masked autoencoders on long traffic histories and pass the result to a downstream graph network. TF-C [62] enforces consistency between time-based and frequency-based embeddings from two contrastive encoders. FreqMAE [27] masks patches of a short-time Fourier spectrogram of IoT sensor input and reconstructs them with a frequency-weighted squared error on the raw values. FEDformer [65] and FreTS [57] forecast in the frequency domain, wavelet-based financial forecasters [4, 5] build features from wavelet and filter-bank representations, and FreDF [52] adds an loss between the Fourier coefficients of the forecast and those of the label. None of these compares log spectra. MSR compares the log-PSD of the graph encoder's own output with the log-PSD of its input, which turns the error in every bin into a relative one. Log-spectral matching connects to the Itakura-Saito divergence [15], made precise in Section 5.4. Table 1 summarises the comparison.
3. Problem Formulation and Spectral Shift
3.1. Graph Setting and Task
A sensor network with nodes is described by a symmetric nonnegative adjacency with positive degrees . Road-distance kernels are asymmetric in general, and we symmetrise them as . The symmetric normalised Laplacian
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 3 of 21
Table 1 Positioning of ST-GFM. "Cheb. Filter" Means a Chebyshev Polynomial Graph Filter. CITRUS Uses Continuous Heat-Kernel Filters on a Product Graph. "Bound" Means a Stated Bound on How the Output Moves When the Graph Operator Is Perturbed.
| Method | Cheb. filter | Learned graph | SSL | Freq. pretext | Bound |
|---|---|---|---|---|---|
| DCRNN [36] | X | X | X | X | X |
| STGCN [59] | ✓ | X | X | X | X |
| ASTGCN [19] | ✓ | X | X | X | X |
| Graph WaveNet [56] | X | ✓ | X | X | X |
| MTGNN [55] | X | ✓ | X | X | X |
| D²STGNN [47] | X | ✓ | X | X | X |
| STEP [46] | X | ✓ | ✓ | X | X |
| STD-MAE [17] | X | ✓ | ✓ | X | X |
| STAEformer [37] | X | X | X | X | X |
| CITRUS [12] | X | X | X | X | ✓ |
| ST-GFM (ours) | ✓ | ✓ | ✓ | ✓ | ✓ |
is real symmetric with . Chebyshev filters act on a rescaled operator with spectrum in . The learned operator of Section 4.2 need not be symmetric, and the perturbation analysis of Section 5 covers that case.
At each forecast origin we observe , the last readings of every sensor, and predict , the next readings. We write for the window with each sensor standardised by its training mean and standard deviation. A model is a map . In all experiments at five-minute resolution, so horizons are 15, 30 and 60 minutes ahead.
3.2. Spectral Shift
Definition 1 (Spectral shift). Let be a reference operator. For an input window with standardised form , let be its per-node temporal PSD from the real FFT, restricted to the non-DC bins. Let be the mean of over training windows. The spectral shift of a pair has an operator component and a frequency component,
We drop the DC bin because for a 12-step window it equals 144 times the squared window mean, which would turn into a measure of speed level rather than of frequency content. Sensors with a missing reading in the window are left out of both norms. A window with almost no non-DC energy, such as free-flowing traffic at night, has . The measure detects departures in non-DC spectral power, including changes in fluctuation amplitude and in the distribution of energy across frequencies. It does not isolate spectral shape, because multiplying a standardised window by multiplies its PSD by .
Both components are relative and dimensionless. The normalisation expresses both changes relative to their reference magnitudes. The symmetric normalised Laplacian
of (1) has spectral norm at most 2, but that bound does not extend to the learned, non-symmetric operator. The operator component is measured on the operator rather than its spectrum, so it registers changes that leave the eigenvalues in place. For symmetric operators it also controls the spectrum. By Weyl's inequality every eigenvalue moves by at most . By the Davis–Kahan theorem [9] in the form of Yu et al. [60], an -dimensional eigenspace with eigengap rotates by at most . Neither result applies to the non-symmetric learned operator, and the bounds of Section 5 do not rely on them.
The two components differ in what can be observed. is computable from data, and we measure it on every test window. needs the true sensor coupling of a window, which is not observed, so we use it to parameterise controlled perturbations and not to describe the data.
3.3. How Each Channel Reaches the Model
ST-GFM uses a learned anchor operator (Section 4.2), fixed once training ends. The operator channel acts when the encoder receives for any of the reasons listed in Section 1. The frequency channel acts through alone. RQ3 perturbs the operator with the test inputs fixed, so only the operator component varies, and Section 5 bounds the response. RQ4 holds the operator at , measures on the test data, and compares forecasters on the low-shift weekend windows with the full test set. RQ2 measures what MSR, the objective motivated by the frequency channel, contributes to accuracy.
4. The ST-GFM Model
The full model of ST-GFM is shown in Figure 2. As shown in this figure, inputs pass through a multi-scale decomposition that keeps all steps, are projected and given node, step and time embeddings, and enter an encoder of four layers that alternate DCSE graph filtering with per-node temporal attention. An aggregation layer and an MLP decoder produce the forecast, to which a learnable persistence term is added. During the first 40 epochs three self-supervised branches also train the encoder. The model has 5.22 million parameters. Only the two node embeddings (the additive one and the one in the decoder) and the adaptive-graph vectors depend on , and they change the count by less than one percent between the two speed networks.
4.1. Input Embedding and Multi-Scale Decomposition
The reading is fused with two scalar time features, time of day on a 288-bin grid and day of week on a 7-bin grid, both scaled to , through a learned map Linear(3,1). The result is decomposed by stacks in the style of N-HiTS [7]. Stack applies max pooling with rate , a two-layer MLP with GELU [23], and a linear backcast to steps. The input to stack is the residual after the backcast of stack is subtracted, so successive stacks capture progressively slower content.
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 4 of 21

Figure 2: Overview of ST-GFM. Row 1: time-preserving decomposition, embeddings and the learned anchor operator. Row 2: DCSE layers, which share one operator, alternate with per-node temporal attention. Row 3: the bounds of Section 5 and the forecasting head with its persistence term. Row 4: self-supervised branches, active for the first 40 epochs.
Standard N-HiTS collapses the time axis. Each stack applies a one-dimensional convolution with kernel size 3 to its input and modulates the per-step features by the pooled summary through FiLM [43]. Stack returns , and
with , so each step carries 192 features. Keeping the time axis lets the graph layers that follow act on the traffic state at each step rather than on a shortened or summarised window (Section 2). If the steps were collapsed first, every graph filter would act on a temporal summary, and a filter applied to a summary cannot tell the onset of a queue at minute 50 from the state at minute 5 unless the summary has kept that difference. Collapsing the axis before the graph layers costs 0.12 MAE at 60 minutes on METR-LA (Section 7.2).
The decomposition is concatenated with a 48-dimensional learned time embedding (24 dimensions each for time of day and day of week) and projected to width with Linear() and GELU. Two learnable additive embeddings follow: a step embedding shared by all nodes and a node embedding , both initialised from . These identity embeddings
follow STAEformer [37] and STID [45] and reach every later layer through the residual connections.
4.2. Learned Anchor Graph
The static adjacency comes from road distances through a thresholded Gaussian kernel (Appendix B). It is combined with a learned component [3, 56],
where are learnable node embeddings and is a learnable scalar. After training is 0.45 on both speed networks (Table 3), so the static and learned parts carry similar weight. From we form the renormalised Laplacian with self-loops, with , and rescale it as , where is the largest eigenvalue magnitude estimated by 20 power iterations. The softmax term is normalised by rows and is not symmetrised, so is in general not symmetric. This rescaling is used as an operator-scaling convention. For a non-symmetric matrix, even an exact estimate of the largest eigenvalue magnitude does not guarantee that the eigenvalues of lie in the unit disk or that . The perturbation analysis therefore uses the measured spectral
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 5 of 21 norm directly. On the trained models it is 1.30 on METR-LA and 1.35 on PEMS-BAY, and Section 5.1 keeps this norm explicit. The operator is recomputed at each forward pass from the current parameters and is a fixed matrix after training. We write to separate it from any externally supplied operator in the perturbation experiments.
4.3. Decoupled Chebyshev Spectral Encoder
The encoder treats time as a batch axis. The tensor is reshaped to , so the graph filter at step acts on the state at step . A DCSE layer (shown in Figure 3) has two branches. The Chebyshev branch computes
with , Chebyshev polynomials , , evaluated on , and trainable [10]. The diffusion branch runs propagation steps in two directions,
(6)
with separate weights per step and direction. The state carried to the next step is the sum of the forward and backward propagations. divides each column of by the matching row sum of , and is its transpose. The static distance kernel is symmetric, so neither direction encodes the direction of travel. The two differ through the learned, non-symmetric part of and through degree normalisation. The Chebyshev branch applies one isotropic polynomial filter of reach two hops, while the diffusion branch can weight the two directions and the two hops separately. The branches are merged in a residual block,
where maps 2d to d and LN is layer normalisation [1]. The learned part of is dense, so one multiplication by or costs and not the of a sparse graph. At this is small on one GPU. Larger networks would need top-k sparsification of the learned term.
4.4. Per-Node Temporal Attention, Aggregation and Decoder
Between DCSE layers the tensor is reshaped to , so each sensor attends only over its own steps. The block uses pre-layer-norm multi-head self-attention [49] with four heads and dropout 0.1, a residual connection, and a two-layer feed-forward network of width 2d with GELU. No positional encoding is added inside the block, because already reaches it through the residual stream. The encoder is
The encoder output is reshaped to . At each node the features are flattened and mapped to by one linear layer, so every step contributes to every horizon. A gated skip from the encoder input is added, , with the scalar initialised at 0. Following T-Graphormer [2], a degree embedding indexed by the number of nonzero entries in each row of , clamped at 60, is added and initialised at zero. A 32-dimensional node embedding is concatenated and a two-layer MLP decoder produces outputs per node. The forecast adds a persistence term with initialised to copy the last observed reading to every horizon, so the decoder learns the departure from persistence.
4.5. Self-Supervised Objectives and Masked Spectral Reconstruction
Three self-supervised branches act on the encoder during the first 40 epochs.
4.5.1. Masked Node Reconstruction
A fraction of nodes is zeroed at the encoder input. A two-layer MLP decoder reconstructs, for each masked node , the decomposition features averaged over three randomly drawn steps:
where is the masked set and is the encoder summary of node .
4.5.2. Masked Spectral Reconstruction
MSR uses the same masked input. Let be the encoder output averaged over the feature axis, and let and be the log-PSDs of the encoder output and of the standardised input window before decomposition, both along time with the real FFT and . The loss is
where is the number of frequency bins, is the mean over nodes and bins and sg stops the gradient. The loss averages over all N nodes, so it covers the 30% of sensors hidden at the input as well as the visible ones. The scale keeps gradients stable when the input spectrum spans several orders of magnitude. For half-precision safety, is clamped to before division and both normalised log-PSDs are clamped to . The target is the input and not the decomposition , so MSR asks the encoder to keep the spectral profile of the observed series while the masked branch asks it to fill in hidden nodes.
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 6 of 21

Figure 3: One DCSE layer, applied to the state at one time step. Both graph branches read the anchor operator . The Chebyshev branch applies a polynomial filter of orders 0 to 2, and the diffusion branch takes two propagation steps in each direction. Their outputs are concatenated, mixed by a linear map and added to the input before layer normalisation. The red tags mark the result in Section 5 that bounds each branch.
Three properties bound what MSR can enforce. The logarithm weights relative power error in every bin (Section 5.4). The PSD discards phase, so MSR constrains how energy is spread over frequency but not when events happen. And the loss acts on one readout of the encoder output, its feature mean. This readout is taken after the final temporal-attention block, whose residual updates can produce feature means that vary across nodes and time steps. Using a parameter-free mean readout applies spectral supervision directly to the encoder representation without introducing an additional learned projection head. Unlike , MSR keeps the DC bin, so it also asks the readout to track the window mean.
4.5.3. Temporal Contrast
Two views are made by random amplitude scaling within , a temporal shift of up to two steps and Gaussian noise with standard deviation 0.02. A symmetric InfoNCE loss with cosine similarity and temperature is computed on up to 4096 sampled node embeddings [48, 61].
4.5.4. Training Schedule
The self-supervised objective is
The first epochs use alone. From epoch the objective is with
which reaches zero at epoch 40. Training is purely supervised afterwards. is the MAE over valid readings (Section 6). Supplementary Algorithm S1 lists the procedure.
5. Stability Analysis
This section bounds how far the encoder output moves when the operator moves from to with the input fixed. Section 5.1 treats the Chebyshev branch, Section 5.2 the diffusion branch, and Section 5.3 the stack. All bounds use the Frobenius norm, which matches the perturbation budgets of Section 7.3. Proofs not in the text are in Appendix A.
5.1. The Chebyshev Branch
The bound needs only the recurrence of the Chebyshev polynomials and the inequality , so it holds for any square operator, symmetric or not. This matters because the learned operator is not symmetric. The argument is elementary. What it adds is a constant that can be evaluated on the trained weights and checked against the measured response of the layer, which Section 7.3 does.
Theorem 1 (Chebyshev branch, ). Let be any matrix with , let be a perturbation with , and let . Then
Proof. The term cancels. , and , whose Frobenius norm is at most . Since , summing over gives (13).
Proposition 1 (Tightness). Let be a symmetric normalised Laplacian with eigenvalue 2, as when the graph has a bipartite component, with unit eigenvector , and let , so that . Take for a unit vector
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 7 of 21
. Then
while the right-hand side of (13) equals . The bound is attained to first order in .
Proof. is an eigenvector of with eigenvalue 1 and of with eigenvalue . Hence , and . On the right-hand side , and .
For general , symmetric operators and perturbations that keep the spectrum in , Markov's inequality on [41] gives a constant that grows as , which argues for a small polynomial order. In relative form, Theorem 1 reads
(14)
Table 2 evaluates the coefficient norms in the first DCSE layer of every trained model and reports the unit-norm constant . Across runs it is on METR-LA and on PEMS-BAY, 22% and 24% below the value it would take if and had the norm of . In every run has the largest norm. The order of the other two is not fixed: in PEMS-BAY seed 101, exceeds . Three coefficients cannot support a decay law, so we report the norms as measured.
The trained operator is not of unit norm. Each unit of above one adds to the constant, about 11 on METR-LA and 13 on PEMS-BAY. Measured on the trained operators, is 1.30 on METR-LA and 1.35 on PEMS-BAY (Table 3), which gives and 21.48, about 24% and 28% above the unit-norm values. These are the constants of the deployed layer, and Section 7.3 compares the bound they give with the measured layer response. The constant grows linearly in with slope , about 5.7 on METR-LA and 6.7 on PEMS-BAY. Supplementary Figure S1 plots it against at both operator norms.
5.2. The Diffusion Branch
The diffusion branch depends on the operator through and through the degree normalisation, which couples all entries of a row.
Lemma 1 (Diffusion branch). Let and be two operators such that and have row sums of at least and spectral norms of at most . Let be the largest number of nonzero entries in a row of . For the branch in (6),
Table 2 Spectral Norms of the Trained Chebyshev Coefficients in the First DCSE Layer of Every Run, and the Unit-Norm Constant of (14), Computed From Unrounded Norms.
| METR-LA | ||||
| Seed 13 | 4.133 | 3.005 | 2.958 | 14.84 |
| Seed 42 | 4.004 | 2.866 | 2.730 | 13.79 |
| Seed 101 | 3.535 | 3.153 | 2.900 | 14.75 |
| Seed 202 | 3.344 | 3.170 | 2.971 | 15.05 |
| Seed 303 | 3.608 | 2.977 | 2.766 | 14.04 |
| Mean | 3.725 | 3.034 | 2.865 | 14.49 |
| Std. deviation | 0.331 | 0.127 | 0.111 | 0.55 |
| PEMS-BAY | ||||
| Seed 42 | 4.026 | 3.267 | 3.052 | 15.47 |
| Seed 101 | 4.869 | 3.429 | 3.592 | 17.80 |
| Seed 303 | 4.405 | 3.589 | 3.385 | 17.13 |
| Mean | 4.433 | 3.428 | 3.343 | 16.80 |
| Std. deviation | 0.422 | 0.161 | 0.272 | 1.20 |
(15)
The factor comes from the degree normalisation. It counts the nonzero entries in a row of the operator perturbation, not of the adjacency edit that produced it. Removing a few edges changes the degrees at their endpoints, and the normalisation and the rescaling by then spread the change over whole rows of . The learned part of is dense, so for most edits to the graph of ST-GFM is close to N and the bound is looser by about than for a perturbation with few entries per row.
For the constant is with . For , the rescaling of a symmetric normalised Laplacian with , the matrix has spectral norm at most and row sums , with the degrees of , so . The trained operator is not of this form, and we measure and on it directly. Table 3 lists the result. The row sums of are at least 1.38 on METR-LA and 1.33 on PEMS-BAY, and its spectral norm is 1.54 and 1.55, slightly above the symmetric value of . This gives and 4.66, below the symmetric worst case, and on METR-LA and 32.0 on PEMS-BAY. These values hold at . Lemma 1 needs and at both operators, so a finite edit uses and , and we do not instantiate the diffusion bound under edge dropout. The second propagation step accounts for about four fifths of the constant on both networks. For a perturbation that fills whole rows, , the full normalisation prefactor in (15) is about 6.2 on METR-LA and 8.3 on PEMS-BAY, so the diffusion bound per unit is about 170 and 265. That is roughly ten times the Chebyshev constant, and the factor accounts for most of the gap.
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 8 of 21
Table 3 Operator and Branch Constants in the First DCSE Layer, Mean Over Runs. and With , and , as in Lemma 1 for .
| METR-LA | PEMS-BAY | |
|---|---|---|
| 1.30 | 1.35 | |
| 17.93 | 21.48 | |
| Learned-graph gate | 0.45 | 0.45 |
| 1.54 | 1.55 | |
| 1.38 | 1.33 | |
| 4.46 | 4.66 | |
| 6.0 | 6.8 | |
| 4.8 | 5.4 | |
| 27.4 | 32.0 |
5.3. The Encoder Stack
A DCSE layer depends on its input and the operator. A temporal block depends only on its input.
Proposition 2 (Encoder stack). Let be a compact set of rescaled operators such that every row sum of is at least for every . Assume the layer inputs reachable under these operators belong to a bounded set. Suppose that uniformly on these sets each DCSE layer satisfies and each temporal block satisfies . Then, for a fixed input and any , the encoder (8) satisfies
These assumptions give finite uniform constants. Compactness of bounds the operator norms and perturbation sizes, while keeps the diffusion normalisation away from zero. For , Theorem 1 and Lemma 1 bound the two branches, the merge contributes , GELU is 1.13-Lipschitz [23], and layer normalisation with gain and stabiliser is -Lipschitz. The second DCSE layer receives inputs built from layer-normalised rows plus bounded attention and feed-forward updates, so in its branch bounds is bounded too. For , dot-product attention is not globally Lipschitz [31], but in a pre-layer-norm block the attention only sees rows of norm at most , where it is Lipschitz. The encoder output is therefore Lipschitz in the operator on for the bounded reachable input set, with a bound linear in .
We do not instantiate . With the layer-norm bound contains the factor 316.2 , and products of worst-case layer constants overstate the true Lipschitz constant of deep networks by many orders of magnitude [14, 50]. The quantitative content sits in the branch constants, above all . Proposition 2 gives a bound linear in on the stated admissible operator set. It does not give a uniform guarantee over arbitrary operator edits or edits that make a diffusion row sum approach zero. Section 7.3 compares the bound with a measured response at the first DCSE layer, where both live in the same units.
5.4. MSR and the Itakura–Saito Divergence
The Itakura-Saito divergence between two PSDs, , is the Bregman divergence of and the maximum-likelihood criterion for matching Gaussian-process spectra [15]. It is invariant to a common rescaling of both spectra.
Proposition 3 (MSR and the Itakura–Saito divergence). Let on bins where no clamp in (10) is active, and ignore . Then
To leading order in the log-spectral residual, minimising MSR minimises the Itakura–Saito divergence between the encoder and input spectra. This is a local property that any loss on log-power ratios shares, and we state it to make the weighting of MSR explicit. Two consequences matter for forecasting. First, the residual is a log-ratio, so an error of 10% in a bin holding little power costs as much as an error of 10% in the dominant bin. Under a squared-error loss on values, which by Parseval's theorem is a squared-error loss on Fourier coefficients, the same relative error in the weak bin costs far less. In a one-hour speed window the weak bins are mostly the fast ones, which carry short transients such as a queue forming. Second, ignoring and the clamps, the residual does not change when both spectra of a sensor are multiplied by the same factor, so up to the stop-gradient scale the loss weights relative spectral ratios and not raw power levels. The scale is the mean absolute log-PSD of the input and does change with the input level. It multiplies every bin of a window by the same factor, so it sets the overall size of the loss and leaves the relative weight of the bins unchanged. Far from spectral agreement the cubic and higher terms matter, and on clamped bins the loss is no longer tied to .
6. Experimental Setup
Datasets and Preprocessing
Table 4 lists the four benchmark datasets. METR-LA and PEMS-BAY [36] record speed, and PEMS04 and PEMS08 [19] record flow. All are aggregated to five-minute intervals and cut into windows with stride one. The speed datasets are split chronologically 70/10/20 and the flow datasets 60/20/20, the splits used by the baselines we compare against [24, 36, 37]. Inputs and targets are 12 steps long, and we report horizons 3, 6 and 12 on the speed datasets and the average over all 12 horizons on the flow datasets. Readings are standardised per node with training-set statistics. Missing readings, which the datasets record as zero, are excluded from the loss and from every reported metric by a mask that keeps readings above 1 in the original units. For the exploratory transfer study of Section 7.5 we use monthly value-weighted returns of the Fama–French 49 industry portfolios [13] from the Kenneth French data library, July 1926 to March 2026. Six industries whose histories start
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 9 of 21
Table 4 Datasets
| Dataset | Signal | Sensors | Steps | Period | Split (%) |
|---|---|---|---|---|---|
| METR-LA | speed | 207 | 34,272 | 03/2012-06/2012 | 70/10/20 |
| PEMS-BAY | speed | 325 | 52,116 | 01/2017-06/2017 | 70/10/20 |
| PEMS04 | flow | 307 | 16,992 | 01/2018-02/2018 | 60/20/20 |
| PEMS08 | flow | 170 | 17,856 | 07/2016-08/2016 | 60/20/20 |
in the 1960s are excluded, which leaves 43 portfolios with complete histories. After the 20-month volatility warm-up (Appendix B) the first usable month is March 1928, so 982 months before 2010 are available for fine-tuning. Months from 2010 onward are held out.
Baselines
On the speed datasets we compare with twelve models that report results at horizons 3, 6 and 12 under the chronological split above: DCRNN [36], Graph WaveNet [56], MTGNN [55], STEP [46], D²STGNN [47], MegaCRN [25], Traformer [26], STAEformer [37], STD-MAE [17], Adp-STGCN [8], TITAN [51] and T-Graphormer [2]. They cover recurrent, convolutional, adaptive-graph, pre-training and attention-based designs. All use a 12-step input window, except that STEP and STD-MAE also encode long-term history through pre-trained encoders. On the flow datasets we compare against PDFformer [24] and STAEformer, which use the same 12-step input and report the average over all 12 horizons. STD-MAE [17], which pre-trains on 864 (PEMS04) and 2016 (PEMS08) steps of history, is listed as a long-history reference. The baseline numbers in Tables 5, 6 and 7 come from the original papers. General time-series Transformers such as FEDformer [65] and PatchTST [42] have no official numbers under this protocol. To separate the model from our pipeline, we retrain a reduced Graph WaveNet (hidden width 32, four layers, 50 epochs) and STAEformer from its official code, and score two naive forecasters, all under our own preprocessing and evaluation code. Each retrained baseline is a single run with its own training recipe.
Protocol and Implementation
One model is trained with and evaluated at every horizon by slicing its output, as in STAEformer and T-Graphormer. We use AdamW [40] with peak learning rate , weight decay , cosine annealing with a 5% linear warm-up, gradient clipping at 2.0, dropout 0.1 and mixed precision. Batch size is 64 on METR-LA, 32 on PEMS-BAY and 16 on PEMS04 and PEMS08. Training runs for at most 180 epochs and stops once validation MAE has not improved for six consecutive checks, that is, 30 epochs. After the self-supervised warm-up, validation MAE is checked every five epochs, and the five best checkpoints are averaged at the end. Every speed-dataset run stopped between epochs 65 and 75. One hyperparameter configuration (Supplementary Table S1) is used apart from batch size. Hyperparameters were tuned on the validation split only, and early stopping, checkpoint selection and checkpoint
averaging also use the validation split. The test split was never used to select anything. The model has 5.22 million parameters. All runs used one workstation with an AMD Ryzen 9 9900 processor, 32 GB of RAM and one NVIDIA GeForce RTX 5060 Ti with 16 GB of memory, running PyTorch 2.12.0 with CUDA 13.0 and cuDNN 9.20.0.
Seeds and Uncertainty
METR-LA results are means over five seeds (13, 42, 101, 202, 303) and PEMS-BAY results over three (42, 101, 303). PEMS-BAY used fewer seeds because each run takes eight to nine hours and the seed spread was already an order of magnitude below the 60-minute margin to the next-best published model. Intervals are 95% Student-t intervals over seeds. They describe training variability, not uncertainty over test windows. PEMS04 and PEMS08 results are single runs with seed 42 and carry no interval. Baseline papers report single numbers, so comparisons with them are numerical and carry no significance claim. Supplementary Table S2 lists every run.
7. Results
This section answers the four research questions. RQ1 compares ST-GFM with twelve published baselines on the speed datasets METR-LA and PEMS-BAY, with published baselines on the flow datasets PEMS04 and PEMS08, and with models retrained under our own evaluation pipeline. RQ2 removes one component at a time. RQ3 perturbs the graph operator and compares the measured response of the first DCSE layer with the bound of Section 5. RQ4 locates frequency shift in the test data and compares accuracy on weekend windows with accuracy on the full test set. The section ends with an exploratory transfer to industry portfolio returns and the computational cost of the model.
7.1. RQ1: Forecasting Accuracy
7.1.1. Speed Datasets
Tables 5 and 6 compare ST-GFM with published numbers. Figure 4 places ST-GFM against every baseline that reports both speed benchmarks, and Figure 5 plots MAE against horizon. On PEMS-BAY, ST-GFM has the lowest MAE and MAPE at every horizon among all thirteen methods. Its 60-minute MAE of is 3.3% below T-Graphormer, the next best, 6.7% below TITAN and 11.0% below STD-MAE.
METR-LA behaves differently. TITAN reports lower values than ST-GFM in every cell, with a margin that narrows with horizon from 0.144 MAE at 15 minutes to 0.018 at 60, about one seed interval. ST-GFM has the second-lowest MAE and MAPE at 30 and 60 minutes, and its 60-minute MAE is 2.9% below T-Graphormer and 7.2% below STAEformer. At 15 minutes MegaCRN is also lower, 2.52 against . T-Graphormer has the lowest RMSE at every horizon on PEMS-BAY and at 60 minutes on METR-LA. RMSE weights the largest errors, which on freeway
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 10 of 21
Table 5 Forecasting Results on METR-LA. ST-GFM Entries Are Five-Seed Means With 95% Seed Intervals. Bold Marks the Best and Underline the Second Best in Each Column. Baseline Numbers Are From the Original Papers.
| Method | H = 3 (15 min) | H = 6 (30 min) | H = 12 (60 min) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MAE | RMSE | MAPE (%) | MAE | RMSE | MAPE (%) | MAE | RMSE | MAPE (%) | |
| DCRNN [36] | 2.77 | 5.38 | 7.30 | 3.15 | 6.45 | 8.80 | 3.60 | 7.59 | 10.50 |
| Graph WaveNet [56] | 2.69 | 5.15 | 6.90 | 3.07 | 6.22 | 8.37 | 3.53 | 7.37 | 10.01 |
| MTGNN [55] | 2.69 | 5.18 | 6.86 | 3.05 | 6.17 | 8.19 | 3.49 | 7.23 | 9.87 |
| STEP [46] | 2.61 | 4.98 | 6.60 | 2.96 | 5.97 | 7.96 | 3.37 | 6.99 | 9.61 |
| D²STGNN [47] | 2.56 | 4.88 | 6.48 | 2.90 | 5.89 | 7.78 | 3.35 | 7.03 | 9.40 |
| MegaCRN [25] | 2.52 | 4.94 | 6.44 | 2.93 | 6.06 | 7.96 | 3.38 | 7.23 | 9.72 |
| Trafformer [26] | 2.78 | 5.35 | 7.32 | 3.05 | 6.18 | 8.67 | 3.41 | 7.17 | 9.96 |
| STAEformer [37] | 2.65 | 5.11 | 6.85 | 2.97 | 6.00 | 8.13 | 3.34 | 7.02 | 9.70 |
| STD-MAE [17] | 2.62 | 5.02 | 6.70 | 2.99 | 6.07 | 8.04 | 3.40 | 7.07 | 9.59 |
| AdpSTGCN [8] | 2.59 | 5.11 | 6.68 | 2.96 | 6.08 | 8.02 | 3.40 | 7.21 | 9.45 |
| TITAN [51] | 2.41 | 4.43 | 5.85 | 2.72 | 5.33 | 7.07 | 3.08 | 6.21 | 8.43 |
| T-Graphormer [2] | 2.62 | 4.93 | 6.61 | 2.90 | 5.53 | 7.56 | 3.19 | 6.12 | 8.62 |
| ST-GFM (ours) | 2.554±.011 | 4.768±.023 | 6.39±.07 | 2.800±.012 | 5.480±.039 | 7.30±.11 | 3.098±.017 | 6.300±.052 | 8.47±.13 |

Figure 4: 60-minute MAE on METR-LA and PEMS-BAY for every compared model that reports both datasets. Lower left is better. The shaded region holds the models with a higher MAE than ST-GFM on both datasets. Gray dots are published values from the original papers. The open pentagon is STAEformer retrained under our pipeline (Table 8).
speed data mostly come from rare incident-driven drops. ST-GFM is trained on MAE and anchored to a persistence term, and it lowers typical errors more than the largest ones.
On METR-LA the relative MAE reduction grows with horizon against Graph WaveNet, STEP, D²STGNN, STAEformer and MegaCRN in Figure 5. It rises from 5.0% to 12.2% against Graph WaveNet and from 3.6% to 7.2% against STAEformer. Against TITAN it remains negative, changing from −6.0% at 15 minutes to −0.6% at 60 minutes. The reduction against T-Graphormer is 2.5%, 3.4% and 2.9% at the three horizons, so it is not monotonic. On PEMS-BAY there is no consistent trend. The margin over Graph WaveNet stays near 19% from 30 minutes on, and the margin over STEP moves between 12% and 14.5%. Supplementary Table S2 lists every run. On METR-LA the seed standard deviation never exceeds 0.014 MAE, 0.042 RMSE and 0.11 percentage points of MAPE. On PEMS-BAY it never
exceeds 0.002 MAE, 0.021 RMSE and 0.03 points of MAPE. On PEMS-BAY the 60-minute interval, ±0.006, is about one ninth of the gap to T-Graphormer. On METR-LA the interval, ±0.017, is about the size of the gap to TITAN.
7.1.2. Flow Datasets
Table 7 compares ST-GFM with the two baselines that use a 12-step input and report the average over all 12 horizons on PEMS04 and PEMS08. ST-GFM is lower than both on all six values, by 1.0% to 2.1% against STAEformer and 0.4% to 3.5% against PDFormer. ST-GFM is a single run here with no seed interval, so we cannot say whether the smallest margins, 0.12 RMSE against PDFormer and 0.19 MAE against STAEformer on PEMS04, exceed run-to-run variation. The model was designed and tuned on speed data, and the flow result tests the architecture on a signal with a different range and different noise. STD-MAE [17], which pre-trains on several days of history while ST-GFM sees 12 steps, has a lower PEMS04 MAE and RMSE and a lower PEMS08 RMSE. STEP reports a PEMS04 RMSE of 29.71, also below ST-GFM. ST-GFM is lower than STD-MAE on PEMS08 MAE and on MAPE for both datasets, by 0.03 points of MAPE on PEMS08.
7.1.3. Same-Pipeline Comparison
Published numbers come from different code bases, so a margin over them mixes architecture with pipeline. Table 8 scores reference models with our own preprocessing, windows, mask and metric code. The comparison shares data handling and evaluation. Training follows each model's own recipe. Persistence repeats the last observed reading at every horizon. The historical average predicts, for each sensor, the mean of its non-zero training readings at the same five-minute slot of the week. Our historical average gives 4.19 on METR-LA, close to the 4.16 reported with DCRNN [36], which checks the pipeline.
At 60 minutes ST-GFM is 39.8% below persistence and 26.1% below the historical average on METR-LA, and 27.5% and 40.1% below them on PEMS-BAY. Both retrained
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 11 of 21
Table 6 Forecasting Results on PEMS-BAY. ST-GFM Entries Are Three-Seed Means With 95% Seed Intervals. Formatting as in Table 5.
| Method | H = 3 (15 min) | H = 6 (30 min) | H = 12 (60 min) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MAE | RMSE | MAPE (%) | MAE | RMSE | MAPE (%) | MAE | RMSE | MAPE (%) | |
| DCRNN [36] | 1.38 | 2.95 | 2.90 | 1.74 | 3.97 | 3.90 | 2.07 | 4.74 | 4.90 |
| Graph WaveNet [56] | 1.30 | 2.74 | 2.73 | 1.63 | 3.70 | 3.67 | 1.95 | 4.52 | 4.63 |
| MTGNN [55] | 1.32 | 2.79 | 2.77 | 1.65 | 3.74 | 3.69 | 1.94 | 4.49 | 4.53 |
| STEP [46] | 1.26 | 2.73 | 2.59 | 1.55 | 3.58 | 3.43 | 1.79 | 4.20 | 4.18 |
| [47] | 1.24 | 2.60 | 2.58 | 1.55 | 3.52 | 3.49 | 1.85 | 4.30 | 4.37 |
| MegaCRN [25] | 1.28 | 2.72 | 2.67 | 1.60 | 3.68 | 3.57 | 1.88 | 4.42 | 4.41 |
| Traformer [26] | 1.31 | 2.83 | 2.92 | 1.61 | 3.74 | 3.82 | 1.88 | 4.38 | 4.59 |
| STAEformer [37] | 1.31 | 2.78 | 2.76 | 1.62 | 3.68 | 3.62 | 1.88 | 4.34 | 4.41 |
| STD-MAE [17] | 1.23 | 2.62 | 2.56 | 1.53 | 3.53 | 3.42 | 1.77 | 4.20 | 4.17 |
| AdpSTGCN [8] | 1.29 | 2.75 | 2.69 | 1.64 | 3.69 | 3.67 | 1.92 | 4.49 | 4.62 |
| TITAN [51] | 1.12 | 2.21 | 2.29 | 1.46 | 3.24 | 3.15 | 1.69 | 3.79 | 3.85 |
| T-Graphormer [2] | 1.16 | 2.10 | 2.38 | 1.38 | 2.64 | 2.97 | 1.63 | 3.20 | 3.65 |
| ST-GFM (ours) | 1.098 .006 | 2.284 .008 | 2.24 .03 | 1.325 .005 | 2.991 .022 | 2.84 .05 | 1.576 .006 | 3.698 .053 | 3.51 .08 |

(a) METR-LA, MAE by horizon

(b) PEMS-BAY, MAE by horizon
(c) METR-LA, MAE reduction of ST-GFM
(d) PEMS-BAY, MAE reduction of ST-GFM


Figure 5: Accuracy by horizon against seven baselines, including TITAN and T-Graphormer. (a) and (b) MAE of ST-GFM and the baselines, with 95% seed intervals on ST-GFM (five seeds on METR-LA, three on PEMS-BAY, smaller than the marker on PEMS-BAY). (c) and (d) Relative MAE reduction of ST-GFM over each baseline, computed from unrounded seed means and the values in Tables 5 and 6. Baselines are single published numbers.
models score better under our pipeline than in their papers. The reduced Graph WaveNet reaches 3.258 against the 3.53 published for the full model, and STAEformer reaches 3.21 on METR-LA and 1.81 on PEMS-BAY against the published 3.34 and 1.88. Part of the margin over published numbers therefore need not come from the architecture. The gap between published and retrained values could come from our preprocessing, which standardises each sensor with its own training statistics and masks readings at or below 1
(Section 6), from software versions, from run-to-run variation in single runs, or, for Graph WaveNet, from the reduced configuration. The gap, 3.7% to 7.7% on the two retrained models, is as large as the margins of ST-GFM over the strongest published baselines. We therefore treat the same-pipeline numbers as the primary comparison of forecasting performance under shared data handling and evaluation, and the published-number comparisons as context. Under shared evaluation code, ST-GFM is 4.9% below the reduced Graph WaveNet and 3.5% below STAEformer at 60 minutes on
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 12 of 21
Table 7 Average Over All 12 Horizons on the Flow Datasets PEMS04 and PEMS08. Bold Marks the Best and Underline the Second Best Among Models With a 12-Step Input. STD-MAE Pre-Trains on 864 to 2016 Steps and Is Listed Below the Rule as a Long-History Reference. Baseline Numbers Are From the Original Papers. ST-GFM Is a Single Run (Seed 42).
| Method | PEMS04 | PEMS08 | ||||
|---|---|---|---|---|---|---|
| MAE | RMSE | MAPE (%) | MAE | RMSE | MAPE (%) | |
| PDFformer [24] | 18.32 | 29.97 | 12.10 | 13.58 | 23.51 | 9.05 |
| STAEformer [37] | 18.22 | 30.18 | 11.98 | 13.46 | 23.25 | 8.88 |
| ST-GFM (ours) | 18.03 | 29.85 | 11.79 | 13.18 | 22.91 | 8.73 |
| STD-MAE [17] | 17.80 | 29.25 | 11.97 | 13.44 | 22.47 | 8.76 |
Table 8
MAE Under Our Pipeline, With the Same Test Windows, Code and Mask for Every Model. Graph WaveNet Is the Reduced Model of Section 6. ST-GFM Is the Mean Over Seeds. Bold Marks the Lowest MAE per Column, Including Ties at the Reported Precision.
| Method | METR-LA | PEMS-BAY | ||||
|---|---|---|---|---|---|---|
| 15 min | 30 min | 60 min | 15 min | 30 min | 60 min | |
| Persistence | 3.557 | 4.153 | 5.145 | 1.301 | 1.649 | 2.173 |
| Historical average | 4.193 | 4.193 | 4.193 | 2.631 | 2.631 | 2.630 |
| Graph WaveNet | - | - | 3.258 | - | - | - |
| STAEformer | 2.55 | 2.86 | 3.21 | 1.26 | 1.56 | 1.81 |
| ST-GFM (ours) | 2.554 | 2.800 | 3.098 | 1.098 | 1.325 | 1.576 |
METR-LA, against 12.2% and 7.2% below the published values. On METR-LA the margin over STAEformer narrows at shorter horizons. It is 2.1% at 30 minutes, and at 15 minutes the two are level at the precision of the retrained value, 2.55 against 2.554. On PEMS-BAY the gap stays large under the shared pipeline, between 12.9% and 15.0% at every horizon and 13.0% at 60 minutes.
7.2. RQ2: Component Contributions
Table 9 removes one component at a time at , and Supplementary Figure S2 plots the increases. Each variant is a single run trained with the early-stopping rule, validation schedule and five-checkpoint averaging of the full model, and every MAE increase in the table is at least five times the seed standard deviation of the full model on its dataset, which we use as a proxy for the run-to-run spread of the variants. Replacing the DCSE layers with a standard GCN and removing MSR give the two largest single-component increases on both datasets: +0.32 and +0.30 MAE on METR-LA, +0.21 and +0.22 on PEMS-BAY. Their order swaps between datasets and the gaps between them are 0.02 and 0.01, so we treat the spectral encoder and MSR as jointly dominant.
Removing all three self-supervised branches at once costs 0.33 on METR-LA and 0.24 on PEMS-BAY, only 0.03 and 0.02 more than removing MSR alone. The three single-branch increases sum to 0.47 and 0.30, well above the joint figure, so the branch effects are not additive, and removing
Table 9 Ablation at . Is the MAE Increase Over the Full Model. The Full-Model Reference Is the Multi-Seed Mean of Tables 5 and 6, and Each Variant Is a Single Run.
| Variant | METR-LA | PEMS-BAY | ||
|---|---|---|---|---|
| MAE | MAE | |||
| Full ST-GFM | 3.098 | - | 1.576 | - |
| w/o decomposition | 3.29 | +0.19 | 1.71 | +0.13 |
| w/o DCSE (GCN instead) | 3.42 | +0.32 | 1.79 | +0.21 |
| w/o MSR | 3.40 | +0.30 | 1.80 | +0.22 |
| w/o masked nodes | 3.20 | +0.10 | 1.63 | +0.05 |
| w/o temporal contrast | 3.17 | +0.07 | 1.61 | +0.03 |
| w/o all three SSL branches | 3.43 | +0.33 | 1.82 | +0.24 |
| time axis collapsed in decomposition | 3.22 | +0.12 | 1.66 | +0.08 |
MSR alone accounts for most of the error increase seen when all three branches are dropped. These are ratios between ablations and not a split of the gain among branches. The masked-node and contrastive branches add 0.10 and 0.07 when removed on their own from METR-LA and less on PEMS-BAY, and their effects overlap with that of MSR.
The decomposition comes third (+0.19 and +0.13). In this ablation, collapsing the time axis alone while keeping the three stacks produces more than 60% of the error increase caused by removing the entire decomposition: 0.12 against 0.19 on METR-LA and 0.08 against 0.13 on PEMS-BAY. Keeping all 12 steps for the graph layers, the design choice of Section 4.1, matters on its own.
The variant without DCSE reaches 3.42 on METR-LA. This is below the 3.53 published for Graph WaveNet but above the 3.258 of the reduced Graph WaveNet under our pipeline (Table 8), so the comparison does not isolate how much the components shared by all variants contribute. STID [45] has shown how much identity embeddings alone deliver on these datasets.
MSR is active only in the first 40 epochs, and Figure 6 shows why that timing matters. In all eight runs the MSR loss is between 0.035 and 0.046 at epoch 20 and still below 0.35 at epoch 40, when the self-supervised weight reaches zero. By epoch 60 it has risen to between 2.65 and 6.21, the contrastive loss has followed the same path, and the masked-node loss lies between 0.05 and 0.08. Validation MAE is lowest between epochs 35 and 45 in every run and climbs once the self-supervised terms are switched off, although the supervised training loss keeps falling, from about 0.15 to 0.13 on METR-LA and from 0.17 to 0.15 on PEMS-BAY between epochs 40 and 60. All 40 averaged checkpoints come from epochs 30 to 60, and 35 of them from epochs 30 to 50, so the deployed model sits close to the end of the self-supervised phase. This fits MSR and the contrastive term acting as regularisers of the encoder while they are active. Once the self-supervised weight reaches zero at epoch 40, the monitored MSR loss rises in every run while the supervised training loss keeps falling, and the averaged checkpoints come from around this transition. We therefore read the MSR ablation gain as an effect of the objective and of the training path it induces. It does not show that the
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 13 of 21

(c) METR-LA: validation MAE
(d) PEMS-BAY: validation MAE

Figure 6: Self-supervised losses (a), (b) and validation MAE (c), (d) over training, for all eight runs. Thick lines are means, bands span the runs, thin lines are single runs and dots mark each run's best epoch. Shading marks the SSL-only phase and the ramp-down of its weight. After epoch 40 the SSL losses are monitored, not optimised. Brackets count the averaged checkpoints that fall in epochs 30 to 50.
deployed encoder keeps the spectral alignment. The variant without MSR keeps the masked-node and contrastive losses on the same 40-epoch schedule and still loses 0.30 MAE, so the auxiliary schedule alone does not explain the gain.
7.3. RQ3: Sensitivity to Operator Perturbations
7.3.1. Random Operator Perturbations
We add a dense random symmetric with , for , to the trained operator and evaluate the unchanged test inputs. The perturbation is symmetric and the trained operator is not, which Theorem 1 allows. For a dense Gaussian perturbation , about at . The sweep therefore reaches of at most about 0.14 on METR-LA and 0.11 on PEMS-BAY, which is and 0.08. At the measured operator norm stays below 18.8 on METR-LA (Supplementary Figure S1).
Figure 7 shows every run on both datasets. On METR-LA the mean MAE over five runs moves from 3.102 at to 3.107 at , a change of 0.19%, and no single run changes by more than 0.25%. On PEMS-BAY the mean over three runs moves from 1.575 to 1.579, a change of 0.23%, and no run changes by more than 0.35%. Percentages are computed from unrounded values. All levels of are scored in one evaluation pass, and each level is compared with the value of that pass. That baseline differs from the
clean-test means of Tables 5 and 6 by 0.004 on METR-LA and 0.001 on PEMS-BAY, which is of the same order as the largest perturbation effect. The sweep therefore supports a flat response and does not resolve its shape. On METR-LA the spread between seeds is also larger than the effect of the largest perturbation.
Theorem 1 and Proposition 2 bound the encoder representation, while Figure 7 measures forecast error after the aggregation layer, the decoder and the persistence term. The two quantities live in different units, so this sweep does not test the constant of (14). The edge-dropout study below compares the Chebyshev-branch response with its corresponding bound at the realised perturbation sizes.
7.3.2. Matched Adjacency Perturbations
To compare sensitivity with a baseline under identical conditions, we apply the same random symmetric perturbations with to the static adjacency of ST-GFM and of the reduced Graph WaveNet, using the seed-101 checkpoint of each and averaging two perturbation draws per level (Table 10). In ST-GFM the static adjacency enters with weight (4) before degree normalisation and spectral rescaling, so the change that reaches the operator is not a fixed multiple of . Both models are almost flat. ST-GFM moves from 3.076 to 3.087 (+0.36%) and Graph WaveNet from 3.258 to 3.264 (+0.18%). The
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 14 of 21

Figure 7: Test MAE of ST-GFM under random symmetric perturbations of the operator with Frobenius norm . Thick lines: mean over runs, bands: one standard deviation, thin lines: individual runs. One perturbation draw per run and level.
Table 10
Matched Adjacency Perturbations on METR-LA at (Seed-101 Checkpoints, Mean of Two Draws). The Graph WaveNet Entries Are From the Reduced Model Retrained Under Our Preprocessing and Evaluation.
| Graph WaveNet | ST-GFM | Gap | |
|---|---|---|---|
| 0.00 | 3.258 | 3.076 | 0.182 |
| 0.05 | 3.259 | 3.076 | 0.183 |
| 0.10 | 3.259 | 3.076 | 0.183 |
| 0.20 | 3.259 | 3.077 | 0.182 |
| 0.30 | 3.260 | 3.079 | 0.181 |
| 0.50 | 3.261 | 3.080 | 0.181 |
| 0.75 | 3.262 | 3.084 | 0.178 |
| 1.00 | 3.264 | 3.087 | 0.177 |
relative MAE increase is about twice as large for ST-GFM. The models transform the perturbed adjacency differently, so these percentages do not isolate the sensitivity of the operators themselves. The accuracy margin between the two holds across the whole sweep, from 0.182 at to 0.177 at , so the gain over Graph WaveNet does not depend on a clean graph.
7.3.3. Edge Dropout Scored at the First DCSE Layer
To test the constant of (14) directly, we apply a structured perturbation and read its effect at the layer the bound describes. We remove a fraction of the edges of at random, rebuild the anchor operator, and compare the Chebyshev-branch output of the first DCSE layer with and without the edit on the unchanged test inputs. For each we record the realised and , the observed change averaged over time slices, the right-hand side of (14) at the measured , and the forecast MAE. Figure 8 reports the result, averaged over all runs and three dropout draws, and Supplementary Table S3 lists every value.
Edge dropout moves the operator much further than the random sweep. At the realised is already 1.40 on METR-LA and 2.70 on PEMS-BAY, above the
largest random budget, because the degree normalisation and the rescaling by spread each removed edge over whole rows of the operator (Section 5.2). At it reaches 5.83 and 9.64. The edit is also more concentrated in spectral norm: lies between 0.13 and 0.33, against about 0.14 and 0.11 for the dense random draws on the two networks.
The observed change grows slightly less than linearly in . Its ratio to falls from 0.65 to 0.57 on METR-LA and from 0.82 to 0.61 on PEMS-BAY as rises from 0.05 to 0.5. The bound grows slightly faster than linearly, because increases with . The observed change is therefore between 2.4% and 3.1% of the bound on METR-LA and between 2.0% and 3.1% on PEMS-BAY, and the ratio falls as the edit grows. A ratio near 3% indicates that random edge edits lie far from the worst case of the bound, which Proposition 1 attains only on a constructed operator and input. Across a sevenfold range of the ratio moves by a factor of about 1.6, far less than the size of the edit.
At the forecast, MAE rises by 1.0% at and 1.4% at on METR-LA, and by 2.5% and 3.1% on PEMS-BAY. These changes are larger than in the random sweep, in line with the larger operator change, and PEMS-BAY is the more sensitive network at every level. With half of the static edges removed, the 60-minute MAE is still 3.144 on METR-LA and 1.624 on PEMS-BAY, below every baseline in Table 6 and every baseline in Table 5 except TITAN. The edit leaves the learned part of , which carries weight , unchanged.
7.4. RQ4: Frequency Shift Across Regimes
7.4.1. Where Frequency Shift Occurs
For every test window of both datasets we computed of Definition 1, with estimated from 20,000 training windows drawn at random. Figure 9 groups the windows by the hour of the forecast origin and by weekday or weekend. Spectral shift concentrates in weekday peak hours, when queues form and clear inside the 12-step window. On METR-LA the median is 2.43 on weekdays and 1.53 on
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 15 of 21

Figure 8: Edge dropout on the static adjacency, mean over runs and three draws (values in Supplementary Table S3). (a) Observed relative change of the Chebyshev-branch output in the first DCSE layer and the bound of (14) at the realised perturbation and the measured operator norm, on a log scale. Shading spans the gap on METR-LA. (b) Observed change as a percentage of the bound. (c) Relative increase of the 60-minute forecast MAE, with the absolute MAE at and annotated.

Figure 9: Spectral shift of the test windows by hour of the forecast origin. Lines are medians and bands interquartile ranges, which show spread, not confidence intervals. A weekend hour holds about 72 windows on METR-LA and 120 on PEMS-BAY, a weekday hour about 216 and 312.
weekends, and on PEMS-BAY it is 3.41 and 1.25. A two-sided Mann–Whitney test gives on both datasets. Consecutive windows overlap in eleven of twelve steps and are not independent, so this -value is nominal, and the evidence is the separation of the medians and interquartile ranges in Figure 9. Weekday peaks form the high-shift regime and weekends the low-shift one.
7.4.2. Accuracy Across Regimes
Table 11 scores two naive forecasters on the same windows with the same evaluation code and mask as ST-GFM. Weekend windows are the easy regime as well as the low-shift one. The historical average improves by 16.7% on METR-LA weekends and by 35.5% on PEMS-BAY weekends, and persistence improves by 32 to 46% on PEMS-BAY. On METR-LA, ST-GFM (seed 42, 60 minutes) moves from 3.112 on the full test set to 2.581 on weekends, an improvement of 17.1% and almost exactly the gain of the
historical average. Its relative margin over the historical average is therefore almost unchanged, 25.8% on the full test set and 26.1% on weekends, and its margin over persistence grows from 39.5% to 49.1% because persistence gains little from the weekend on this network. ST-GFM tracks the easier regime. The full test set is dominated by weekday windows, which contain the high-shift peak hours, and ST-GFM keeps the same relative lead over the historical average on the full test set as on weekends. We did not score weekday peak windows separately. RQ4 characterises where frequency shift occurs and how the full model fares on weekends relative to the full test set.
7.5. Exploratory Transfer to Industry Portfolio Returns
This exploratory study asks whether an encoder pretrained only on traffic can support forecasting on a graph with different structure and dynamics. It sits outside the four
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 16 of 21
Table 11
MAE of Two Naive Forecasters on the Full Test Sets and on Weekend Windows (First Forecast Step on Saturday or Sunday), Scored With the Same Windows, Code and Mask as ST-GFM. Is the Change From Full to Weekend.
| Method | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Full | Weekend | (%) | Full | Weekend | (%) | Full | Weekend | (%) | |
| METR-LA | |||||||||
| Persistence (last reading) | 3.557 | 3.337 | -6.2 | 4.153 | 3.971 | -4.4 | 5.145 | 5.073 | -1.4 |
| Historical average (time of week) | 4.193 | 3.496 | -16.6 | 4.193 | 3.493 | -16.7 | 4.193 | 3.494 | -16.7 |
| PEMS-BAY | |||||||||
| Persistence (last reading) | 1.301 | 0.887 | -31.8 | 1.649 | 1.016 | -38.4 | 2.173 | 1.169 | -46.2 |
| Historical average (time of week) | 2.631 | 1.698 | -35.5 | 2.631 | 1.697 | -35.5 | 2.630 | 1.697 | -35.5 |
research questions, and we do not claim that ST-GFM is a strong return model. The graph links the 43 portfolios within nine broad sector groups formed from the Fama–French industry definitions, which gives 218 edges, and enters the model as . Weights are transferred by name and shape. Fine-tuning trains the second DCSE layer, the second temporal-attention block, the aggregation layer, the decoder with its node embedding and the persistence term, 3.1 million parameters in all. The decomposition, the input projection, the time and step embeddings, the gated skip and the first DCSE and attention pair stay frozen at their traffic values. Parameters whose shape depends on the number of nodes are re-initialised, and of these only the decoder node embedding is trained. The additive node embedding, the degree embedding and the adaptive-graph vectors stay frozen at their new random values, and is set to 0. The operator the DCSE layers see is therefore half sector graph and half softmax() built from random vectors, and the transferred encoder is not a fully pretrained backbone. Transferred weights train at a learning rate of and the decoder node embedding at . The loss combines Pearson IC, rank IC and cross-sectional MSE, and early stopping uses validation IC. Each window holds 12 months of input and 12 months of targets, and we score the one-month-ahead forecast. Test windows are cut from the post-2010 data alone, so the scored targets are the 172 months from January 2011 to April 2025.
Table 12 reports, for two encoders per traffic dataset, the mean monthly cross-sectional information coefficient (IC), its rank version, the information ratio of the IC series, and the annualised Sharpe ratio of a long-short decile portfolio net of 1 basis point of cost. A control repeats the fine-tuning from a random initialisation of the same architecture, with two runs. Figure 10 plots IC and Sharpe ratio for all six runs.
All four transferred runs give a mean IC significantly above zero, with IC between 0.043 and 0.059 and Sharpe ratios between 0.54 and 0.71. The result survives a Holm correction across the four runs (largest adjusted ). The signal is noisy: an information ratio near 0.2 means the monthly IC has a standard deviation about five times its mean.
The random control sets the scale of the transfer effect, and it is modest. The random-initialisation control reaches an IC of 0.042 and 0.036, both significant at the 5% level,
Table 12
Transfer to 43 Fama–French Industry Portfolios (172 Scored Months, January 2011 to April 2025). Runs #1 and #2 Use METR-LA Seeds 202 and 303 and PEMS-BAY Seeds 101 and 303. R-IC Is Rank IC, IR the IC Information Ratio, SR the Annualised Sharpe Ratio Net of 1 bp and the One-Sided t-Test of Mean IC.
| Encoder | IC | R-IC | IR | SR | |
|---|---|---|---|---|---|
| ST-GFM (METR-LA → FF49) #1 | 0.055 | 0.049 | 0.21 | 0.57 | 0.004 |
| ST-GFM (METR-LA → FF49) #2 | 0.043 | 0.041 | 0.16 | 0.54 | 0.019 |
| ST-GFM (PEMS-BAY → FF49) #1 | 0.052 | 0.051 | 0.20 | 0.60 | 0.006 |
| ST-GFM (PEMS-BAY → FF49) #2 | 0.059 | 0.057 | 0.22 | 0.71 | 0.003 |
| Random frozen backbone, #1 | 0.042 | 0.040 | 0.16 | 0.49 | 0.020 |
| Random frozen backbone, #2 | 0.036 | 0.034 | 0.14 | 0.42 | 0.038 |


Figure 10: Transfer to the 43 Fama–French industry portfolios (Table 12). Blue bars use METR-LA encoders, green bars PEMS-BAY encoders and gray bars the randomly initialised frozen backbone. Dashed lines are group means.
and Sharpe ratios of 0.49 and 0.42. Averaged over runs, traffic pre-training raises the IC from 0.039 to 0.052 and the Sharpe ratio from 0.46 to 0.61. The random controls reach about three quarters of the mean IC of the transferred runs. Both arms use the same design for the re-initialised node-dependent modules. Every transferred run is at or above every control run on both measures, but the weakest transferred run (IC 0.043) and the strongest control (IC 0.042) are close. The small number of trained runs limits assessment of training variability, and we do not report a direct statistical comparison between the transfer and random-initialisation conditions. Under this adaptation protocol, traffic initialisation gives a consistent numerical advantage over random initialisation.
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 17 of 21

Figure 11: Accuracy against model size on METR-LA at 60 minutes. Each label gives the width, the 60-minute MAE and the training time on one RTX 5060 Ti. Circles are single runs with seed 42, and Supplementary Table S4 lists their values. The star is the five-seed mean of the full model. The dashed line is the published STAEformer MAE and the dotted line STAEformer retrained under our pipeline.
7.6. Computational Cost
ST-GFM has 5.22 million parameters. A training run takes 3 to 4 hours on METR-LA and 8 to 9 hours on PEMS-BAY on one RTX 5060 Ti, and inference on a batch of 64 windows takes about 15 ms. The model is larger than some baselines, and two observations argue against size as the main source of its accuracy. T-Graphormer reports that its 4.15-million-parameter variant does worse on METR-LA than its 1.57-million one because it overfits [2], and ST-GFM loses 0.30 MAE when MSR is removed with the parameter count unchanged.
Figure 11 varies the hidden width with everything else fixed, using seed 42 at every width, and Supplementary Table S4 lists the values. At the model has 0.93 million parameters, trains in 1.2 hours and reaches a 60-minute MAE of 3.15 on METR-LA. That is 0.04 above the full model with the same seed, below every baseline in Table 5 except TITAN, and below STAEformer retrained under our pipeline (3.21). Accuracy stops improving by . The single runs give 3.10 at and 3.11 at , a difference smaller than the seed standard deviation of 0.014, so going from to adds 1.8 million parameters and 1.8 hours of training without lowering the error. At the model comes within 0.01 of the full model in less than half its training time.
8. Discussion
- Where the accuracy comes from: The same-pipeline comparison separates two cases. On PEMS-BAY the margin over a retrained STAEformer stays between 12.9% and 15.0% at every horizon, so most of the gain survives a shared pipeline. On METR-LA the 60-minute margin falls from 7.2% against the published value to 3.5% against the retrained baseline. At 15 minutes the models are level at the precision reported
for the retrained baseline. The spectral encoder and MSR have the largest ablation effects, and collapsing the time axis also increases error. The width study retains competitive accuracy at much smaller sizes, which suggests that parameter count alone does not explain the performance.
-
What the operator bounds establish: The numerical content of the analysis is the pair of branch constants computed from the trained model. Proposition 1 shows that the Chebyshev bound is first-order sharp when nothing further is assumed about and . The low observed-to-bound ratios show that the bound is conservative for the sampled edge-dropout perturbations. They do not determine the smallest uniform constant for the trained weights. The approximately linear observed response is consistent with the dependence of the bound on perturbation size. The diffusion bound is about ten times looser for row-filling edits, mostly through the factor.
-
What the MSR evidence shows: Every run reaches its best validation MAE near the end of the self-supervised phase, and removing MSR while the other two losses keep the same schedule still costs 0.30 MAE. Both observations are consistent with MSR acting as a regulariser during the early training phases, although they do not establish its mechanism. Its link to the frequency channel rests on the form of the loss (Section 5.4), which keeps the fast, low-power bins of weekday peak windows, the high-shift regime of RQ4, in the objective. Section 9 lists what this evidence does not cover.
9. Scope and Limitations
All four datasets come from Californian freeways with at most 325 sensors. The dense learned adjacency costs per graph multiplication, so networks of the size of LargeST [38] would need a sparse learned operator. Most baseline numbers are published values, and checkpoint averaging, which ST-GFM uses, is not part of the published baseline training procedures. The two retrained baselines score better under our pipeline than in their papers, and we have not isolated the cause of that gain. They are single runs that follow their own training recipes, so the same-pipeline comparison shares data handling and evaluation and not the full training protocol. The ablated variants, the width study and the flow-dataset results are single runs. The random perturbation sweeps use one draw per run and level, and the structured study covers one perturbation family, edge dropout of the static graph, with three draws per level. Edge dropout removes edges and keeps every input reading, so it does not model a failed sensor, which loses both. cannot be measured on real data because the true coupling of a window is not observed, so the operator channel is studied through controlled perturbations. The evidence on the frequency channel is weaker. RQ4 locates frequency
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 18 of 21 shift but scores ST-GFM only on the full test set and on METR-LA weekends, not on weekday peak windows. It does not compare variants with and without MSR across shift levels, and MSR has not been compared with a time-domain reconstruction loss on the same target. MSR also works on seven frequency bins of one readout of the encoder output, which limits the spectral detail it can enforce on a 12-step window. The exploratory transfer study uses 43 portfolios, four transferred runs and two random controls. In both arms the re-initialised node-dependent modules stay frozen at random values, except the decoder node embedding, which is trained.
10. Conclusion
ST-GFM splits spectral shift into an operator channel and a frequency channel. For the operator channel, both graph branches admit Frobenius-norm bounds. The Chebyshev constant computed from the trained model is 17.9 on METR-LA and 21.5 on PEMS-BAY, and under the tested edge-dropout perturbations the observed Chebyshev-branch response is at most 3.1% of the corresponding computed bound. The frequency channel motivates MSR, which aligns the log spectra of the encoder output and its input and has one of the two largest ablation effects. With 5.22 million parameters on one consumer GPU, ST-GFM has a lower MAE and MAPE than all twelve published baselines at every evaluated horizon on PEMS-BAY, and a lower MAE than a retrained STAEformer at 30 and 60 minutes on both speed datasets.
The next step is the sparse learned operator. Replacing the dense softmax term with a top- neighbourhood per node would bring the cost of a graph multiplication from to and would let the bounds, which depend on the number of nonzero entries per row of the perturbation, be stated for networks with thousands of sensors.
Supplementary Material
Supplementary material for this article is provided as a separate file. It contains the full training configuration (Table S1), the training procedure (Algorithm S1), the results of every individual run (Table S2), the Chebyshev constant against perturbation size (Figure S1), the ablation chart (Figure S2), the edge-dropout values (Table S3) and the width-study values (Table S4).
References
[1] Ba, J.L., Kiros, J.R., Hinton, G.E., 2016. Layer normalization. arXiv preprint arXiv:1607.06450.
[2] Bai, H.Y., Liu, X., 2025. T-graphormer: using transformers for spatiotemporal forecasting. arXiv preprint arXiv:2501.13274.
[3] Bai, L., Yao, L., Li, C., Wang, X., Wang, C., 2020. Adaptive graph convolutional recurrent network for traffic forecasting. Advances in neural information processing systems 33, 17804–17815.
[4] Bohra, A., Vijay, V., 2026. Wavefuse: Regime-adaptive equity index forecasting via channel-wise wavelet denoising and vertical attention fusion. arXiv preprint arXiv:2609.14733.
[5] Bohra, A., Vishwakarm, L., 2026. Dstnet: Dynamic spectral trajectory network for causal multi-horizon financial forecasting. arXiv preprint arXiv:2610.09654.
[6] Bruna, J., Zaremba, W., Szlam, A., LeCun, Y., 2013. Spectral networks and locally connected networks on graphs. arXiv preprint arXiv:1312.6203.
[7] Challu, C., Olivares, K.G., Oreshkin, B.N., Ramirez, F.G., Canseco, M.M., Dubrawski, A., 2023. Nhits: Neural hierarchical interpolation for time series forecasting, in: Proceedings of the AAAI conference on artificial intelligence, pp. 6989–6997.
[8] Chen, X., Tang, H., Wu, Y., Shen, H., Li, J., et al., 2024. Adpstgcn: Adaptive spatial–temporal graph convolutional network for traffic forecasting. Knowledge-based systems 301, 112295.
[9] Davis, C., Kahan, W.M., 1970. The rotation of eigenvectors by a perturbation. iii. SIAM Journal on Numerical Analysis 7, 1–46.
[10] Defferrard, M., Bresson, X., Vandergheynst, P., 2016. Convolutional neural networks on graphs with fast localized spectral filtering. Advances in neural information processing systems 29.
[11] Dong, J., Wu, H., Zhang, H., Zhang, L., Wang, J., Long, M., 2023. Simmtm: A simple pre-training framework for masked time-series modeling. Advances in Neural Information Processing Systems 36, 29996–30025.
[12] Einizade, A., Malliaros, F., Giraldo, J.H., 2024. Continuous product graph neural networks. Advances in Neural Information Processing Systems 37, 90226–90252.
[13] Fama, E.F., French, K.R., 1997. Industry costs of equity. Journal of Financial Economics 43, 153–193. doi:10.1016/S0304-405X(96)00896-3.
[14] Fazlyab, M., Robey, A., Hassani, H., Morari, M., Pappas, G., 2019. Efficient and accurate estimation of lipschitz constants for deep neural networks. Advances in neural information processing systems 32.
[15] Févotte, C., Bertin, N., Durrieu, J.L., 2009. Nonnegative matrix factorization with the itakura-saito divergence: With application to music analysis. Neural computation 21, 793–830.
[16] Gama, F., Bruna, J., Ribeiro, A., 2020. Stability properties of graph neural networks. IEEE Transactions on Signal Processing 68, 5680–5695.
[17] Gao, H., Jiang, R., Dong, Z., Deng, J., Ma, Y., Song, X., 2023. Spatial-temporal-decoupled masked pre-training for spatiotemporal forecasting. arXiv preprint arXiv:2312.00516.
[18] Gao, Z., Isufi, E., Ribeiro, A., 2021. Stability of graph convolutional neural networks to stochastic perturbations. Signal Processing 188, 108216.
[19] Guo, S., Lin, Y., Feng, N., Song, C., Wan, H., 2019. Attention based spatial-temporal graph convolutional networks for traffic flow forecasting, in: Proceedings of the AAAI conference on artificial intelligence, pp. 922–929.
[20] Hammond, D.K., Vandergheynst, P., Gribonval, R., 2011. Wavelets on graphs via spectral graph theory. Applied and computational harmonic analysis 30, 129–150.
[21] He, M., Wei, Z., Wen, J.R., 2022. Convolutional neural networks on graphs with chebyshev approximation, revisited. Advances in neural information processing systems 35, 7264–7276.
[22] He, M., Wei, Z., Xu, H., et al., 2021. Bernnet: Learning arbitrary graph spectral filters via bernstein approximation. Advances in neural information processing systems 34, 14239–14251.
[23] Hendrycks, D., Gimpel, K., 2016. Gaussian error linear units (gelus). arXiv preprint arXiv:1606.08415.
[24] Jiang, J., Han, C., Zhao, W.X., Wang, J., 2023a. Pdformer: Propagation delay-aware dynamic long-range transformer for traffic flow prediction, in: Proceedings of the AAAI conference on artificial intelligence, pp. 4365–4373.
[25] Jiang, R., Wang, Z., Yong, J., Jeph, P., Chen, Q., Kobayashi, Y., Song, X., Fukushima, S., Suzumura, T., 2023b. Spatio-temporal meta-graph learning for traffic forecasting, in: Proceedings of the AAAI conference on artificial intelligence, pp. 8078–8086.
[26] Jin, D., Shi, J., Wang, R., Li, Y., Huang, Y., Yang, Y.B., 2023. Trafformer: Unify time and space in traffic prediction, in: Proceedings
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 19 of 21 of the AAAI conference on artificial intelligence, pp. 8114–8122.
[27] Kara, D., Kimura, T., Liu, S., Li, J., Liu, D., Wang, T., Wang, R., Chen, Y., Hu, Y., Abdelzaher, T., 2024. Freqmae: Frequency-aware masked autoencoder for multi-modal iot sensing, in: Proceedings of the ACM Web Conference 2024, pp. 2795–2806.
[28] Kazemi, S.M., Goel, R., Jain, K., Kobyzev, I., Sethi, A., Forsyth, P., Poupart, P., 2020. Representation learning for dynamic graphs: A survey. Journal of Machine Learning Research 21, 1–73.
[29] Kenlay, H., Thanou, D., Dong, X., 2021. Interpretable stability bounds for spectral graph filters, in: International conference on machine learning, PMLR, pp. 5388–5397.
[30] Keriven, N., Bietti, A., Vaiter, S., 2020. Convergence and stability of graph convolutional networks on large random graphs. Advances in Neural Information Processing Systems 33, 21512–21523.
[31] Kim, H., Papamakarios, G., Mnih, A., 2021a. The lipschitz constant of self-attention, in: International Conference on Machine Learning, PMLR. pp. 5562–5571.
[32] Kim, T., Kim, J., Tae, Y., Park, C., Choi, J.H., Choo, J., 2021b. Reversible instance normalization for accurate time-series forecasting against distribution shift, in: International conference on learning representations.
[33] Kipf, T.N., Welling, M., 2016. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907.
[34] Lan, S., Ma, Y., Huang, W., Wang, W., Yang, H., Li, P., 2022. Dstagnn: Dynamic spatial-temporal aware graph neural network for traffic flow forecasting, in: International conference on machine learning, PMLR. pp. 11906–11917.
[35] Levie, R., Huang, W., Bucci, L., Bronstein, M., Kutyniok, G., 2021. Transferability of spectral graph convolutional neural networks. Journal of Machine Learning Research 22, 1–59.
[36] Li, Y., Yu, R., Shahabi, C., Liu, Y., 2017. Diffusion convolutional recurrent neural network: Data-driven traffic forecasting. arXiv preprint arXiv:1707.01926.
[37] Liu, H., Dong, Z., Jiang, R., Deng, J., Deng, J., Chen, Q., Song, X., 2023a. Spatio-temporal adaptive embedding makes vanilla transformer sota for traffic forecasting, in: Proceedings of the 32nd ACM international conference on information and knowledge management, pp. 4125–4129.
[38] Liu, X., Xia, Y., Liang, Y., Hu, J., Wang, Y., Bai, L., Huang, C., Liu, Z., Hooi, B., Zimmermann, R., 2023b. Largest: A benchmark dataset for large-scale traffic forecasting. Advances in neural information processing systems 36, 75354–75371.
[39] Liu, Y., Wu, H., Wang, J., Long, M., 2022. Non-stationary transformers: Exploring the stationarity in time series forecasting. Advances in neural information processing systems 35, 9881–9893.
[40] Loshchilov, I., Hutter, F., 2019. Decoupled weight decay regularization. URL: https://arxiv.org/abs/1711.05101, arXiv:1711.05101.
[41] Mason, J.C., Handscomb, D.C., 2003. Chebyshev Polynomials. Chapman and Hall/CRC, Boca Raton, FL.
[42] Nie, Y., Nguyen, N.H., Sinthong, P., Kalagnanam, J., 2022. A time series is worth 64 words: Long-term forecasting with transformers. arXiv preprint arXiv:2211.14730.
[43] Perez, E., Strub, F., De Vries, H., Dumoulin, V., Courville, A., 2018. Film: Visual reasoning with a general conditioning layer, in: Proceedings of the AAAI conference on artificial intelligence.
[44] Ruiz, L., Gama, F., Ribeiro, A., 2021. Graph neural networks: Architectures, stability, and transferability. Proceedings of the IEEE 109, 660–682.
[45] Shao, Z., Zhang, Z., Wang, F., Wei, W., Xu, Y., 2022a. Spatial-temporal identity: A simple yet effective baseline for multivariate time series forecasting, in: Proceedings of the 31st ACM international conference on information & knowledge management, pp. 4454–4458.
[46] Shao, Z., Zhang, Z., Wang, F., Xu, Y., 2022b. Pre-training enhanced spatial-temporal graph neural network for multivariate time series forecasting, in: Proceedings of the 28th ACM SIGKDD conference on knowledge discovery and data mining, pp. 1567–1577.
[47] Shao, Z., Zhang, Z., Wei, W., Wang, F., Xu, Y., Cao, X., Jensen, C.S., 2022c. Decoupled dynamic spatial-temporal graph neural network for traffic forecasting. arXiv preprint arXiv:2206.09112.
[48] Tonekaboni, S., Eytan, D., Goldenberg, A., 2021. Unsupervised representation learning for time series with temporal neighborhood coding. arXiv preprint arXiv:2106.00750.
[49] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., Polosukhin, I., 2017. Attention is all you need. Advances in neural information processing systems 30.
[50] Virmaux, A., Scaman, K., 2018. Lipschitz regularity of deep neural networks: analysis and efficient estimation. Advances in neural information processing systems 31.
[51] Wang, G., Chen, Y., Gao, M., Wu, Z., Tang, J., Zhao, J., 2024. A time series is worth five experts: Heterogeneous mixture of experts for traffic flow prediction. arXiv preprint arXiv:2409.17440.
[52] Wang, H., Pan, L., Shen, Y., Chen, Z., Yang, D., Yang, Y., Zhang, S., Liu, X., Li, H., Tao, D., 2025. Fredf: Learning to forecast in the frequency domain, in: International Conference on Learning Representations, pp. 6893–6922.
[53] Wang, X., Zhang, M., 2022. How powerful are spectral graph neural networks, in: International conference on machine learning, PMLR. pp. 23341–23362.
[54] Woo, G., Liu, C., Sahoo, D., Kumar, A., Hoi, S., 2022. Cost: Contrastive learning of disentangled seasonal-trend representations for time series forecasting. arXiv preprint arXiv:2202.01575.
[55] Wu, Z., Pan, S., Long, G., Jiang, J., Chang, X., Zhang, C., 2020. Connecting the dots: Multivariate time series forecasting with graph neural networks, in: Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery & data mining, pp. 753–763.
[56] Wu, Z., Pan, S., Long, G., Jiang, J., Zhang, C., 2019. Graph wavenet for deep spatial-temporal graph modeling. arXiv preprint arXiv:1906.00121.
[57] Yi, K., Zhang, Q., Fan, W., Wang, S., Wang, P., He, H., An, N., Lian, D., Cao, L., Niu, Z., 2023. Frequency-domain mlps are more effective learners in time series forecasting. Advances in neural information processing systems 36, 76656–76679.
[58] You, Y., Chen, T., Sui, Y., Chen, T., Wang, Z., Shen, Y., 2020. Graph contrastive learning with augmentations. Advances in neural information processing systems 33, 5812–5823.
[59] Yu, B., Yin, H., Zhu, Z., 2017. Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting. arXiv preprint arXiv:1709.04875.
[60] Yu, Y., Wang, T., Samworth, R.J., 2015. A useful variant of the davis-kanhan theorem for statisticians. Biometrika 102, 315–323.
[61] Yue, Z., Wang, Y., Duan, J., Yang, T., Huang, C., Tong, Y., Xu, B., 2022. Ts2vec: Towards universal representation of time series, in: Proceedings of the AAAI conference on artificial intelligence, pp. 8980–8987.
[62] Zhang, X., Zhao, Z., Tsiligkaridis, T., Zitnik, M., 2022a. Self-supervised contrastive pre-training for time series via time-frequency consistency. Advances in neural information processing systems 35, 3988–4003.
[63] Zhang, Z., Wang, X., Zhang, Z., Li, H., Qin, Z., Zhu, W., 2022b. Dynamic graph neural networks under spatio-temporal distribution shift. Advances in neural information processing systems 35, 6074–6089.
[64] Zheng, C., Fan, X., Wang, C., Qi, J., 2020. Gman: A graph multi-attention network for traffic prediction, in: Proceedings of the AAAI conference on artificial intelligence, pp. 1234–1241.
[65] Zhou, T., Ma, Z., Wen, Q., Wang, X., Sun, L., Jin, R., 2022. Fed-former: Frequency enhanced decomposed transformer for long-term series forecasting, in: International conference on machine learning, PMLR. pp. 27268–27286.
[66] Zhu, Y., Xu, Y., Yu, F., Liu, Q., Wu, S., Wang, L., 2020. Deep graph contrastive representation learning. arXiv preprint arXiv:2006.04131.
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 20 of 21
A. Mathematical Proofs
Proof of Lemma 1
Write and , so that and . Hence , and the same holds under . Since ,
The first term has Frobenius norm at most . For the second, , and the vector of row-sum changes is . Row of has at most nonzero entries, so by Cauchy–Schwarz . The second term is therefore at most , and
The same bound holds for . Let , so that and . Step applies or to . Changing one factor of the product at a time,
and the same holds for . Multiplying by and summing over steps and both directions gives (15).
Proof of Proposition 2
Fix the input and let be the Frobenius distances between outputs under and after , , and . Both runs feed the same input, so . The temporal block does not depend on the operator, so . Then and . Substituting gives .
Proof of Proposition 3
With , each term of equals . Summing over bins, . On unclamped bins , which gives the result.
B. Implementation Details
Preprocessing
Readings are standardised per node with training-set statistics. The static adjacency is when this value is at least 0.1 and zero otherwise, with the standard deviation of the finite pairwise road distances. Self-loops are removed and the matrix is symmetrised. Time of day uses 288 five-minute bins and day of week 7 bins, each mapped to a 24-dimensional learned embedding. Supplementary Table S1 lists the full configuration and Supplementary Algorithm S1 the training procedure.
Fama-French Transfer
Monthly value-weighted returns of the 43 industry portfolios with complete histories are each divided by a trailing standard deviation over the previous 60 months, with at least 20 months and a one-month lag, so month t is scaled by months t - 60 to t - 1. The scaled returns are winsorised at and standardised cross-sectionally each month. The first 20 months have no volatility estimate and are dropped. Windows hold 12 months of input and 12 months of targets. The graph links portfolios in the same one of nine broad sector groups (218 edges) and is fixed during fine-tuning. Section 7.5 lists the trained and frozen modules. Data before 2010 are used for fine-tuning (717 training and 162 validation windows), and months from 2010 onward for evaluation. The long-short portfolio buys the top decile of predicted returns and sells the bottom decile each month. The random control uses the same architecture, trainable modules, loss, learning rates and early stopping, with every module initialised at random instead of from traffic.
A. Bohra and V. Vijay: Preprint submitted to Elsevier
Page 21 of 21