ST-GFM: Spectral-Temporal Graph Forecasting with Measured Perturbation Bounds and Masked Spectral Reconstruction

Aashish Bohra, Vivek VijayarXiv 2026

TL;DR

ST-GFM is a new spatio-temporal graph forecasting model designed to handle "spectral shift"—changes in how sensors interact and how signals fluctuate over time. By combining a spectral encoder with a novel self-supervised loss that matches signal power spectra, it achieves state-of-the-art performance on traffic benchmarks while providing measurable guarantees on its robustness to graph perturbations.

What Problem Does This Paper Address?

Traffic patterns are notoriously dynamic. A freeway network looks very different during the morning rush hour—where sensors along commuter corridors are tightly coupled and speeds show sharp transitions—than it does at midnight, when coupling is diffuse and series are smooth.

This phenomenon, termed spectral shift, is a major challenge for graph neural networks (GNNs). Most models are trained on a fixed dataset and struggle when deployed in regimes where the underlying graph structure or the signal frequencies change. The authors decompose this problem into two channels:

  1. The Operator Channel: Changes in sensor coupling (e.g., a road closure or sensor failure) mean the graph operator used by the model no longer fits the reality.
  2. The Frequency Channel: The temporal energy of the signal moves between frequencies (e.g., from slow trends to fast transients) under a fixed graph structure.
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.

Methods

The authors introduce ST-GFM (Spectral-Temporal Graph Forecasting Model), which is built around two core innovations:

  • Decoupled Chebyshev Spectral Encoder (DCSE): This architecture processes every input time step through graph filters—specifically Chebyshev and bidirectional diffusion branches—on a learned, non-symmetric operator. Unlike many models that collapse the time axis to save computation, ST-GFM preserves all 12 input steps through the graph layers, allowing it to capture fine-grained temporal dynamics at each sensor.
  • Masked Spectral Reconstruction (MSR): This is a novel self-supervised pretext task. During the initial phase of training, the model is forced to match the log power spectral density (PSD) of the encoder’s output to that of its input. The authors show that for small residuals, this objective is proportional to the Itakura–Saito divergence, a classic measure for comparing power spectra that ensures relative errors in low-power, high-frequency bins are treated as importantly as dominant trends.

Furthermore, the paper provides a rigorous Stability Analysis. They derive Frobenius-norm perturbation bounds for their graph branches and, crucially, compute these stability constants directly from the trained model's weights. This allows them to quantify exactly how much a prediction will change if the underlying graph is perturbed.

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.

Datasets

The model was evaluated on four standard traffic benchmarks:

  • Speed Data: METR-LA (207 sensors) and PEMS-BAY (325 sensors).
  • Flow Data: PEMS04 (307 sensors) and PEMS08 (170 sensors).

Additionally, the authors conducted an exploratory transfer study using the Fama–French 49 industry portfolios (monthly returns from 1926 to 2025) to test if an encoder pre-trained on traffic data could generalize to financial forecasting.

Key Insights and Ideas

  • The Importance of Log-Spectra: By matching log-PSDs, MSR prevents the model from ignoring high-frequency "noise" that actually contains critical information about sudden traffic changes (like the onset of a queue).
  • Measurable Robustness: The paper moves beyond abstract stability proofs. By calculating constants like $c_{cheb} = 17.9$ (on METR-LA), the authors provide a concrete "budget" for how much structural change the model can handle before its predictions degrade significantly.
  • Time-Preserving Graph Filtering: The authors demonstrate that collapsing the time axis before graph layers (a common efficiency trick) significantly hurts accuracy because the spatial filters can no longer distinguish the precise timing of events.
  • Cross-Domain Generalization: A traffic-trained encoder provided a consistent numerical advantage when fine-tuned for industry portfolio returns compared to a randomly initialized one, suggesting it learns fundamental spatio-temporal primitives.

Key Results

  • New State-of-the-Art: ST-GFM achieved the lowest 60-minute MAE (1.576) on PEMS-BAY among twelve published baselines.
  • Superior Accuracy: Under a shared evaluation pipeline, ST-GFM’s 60-minute MAE was 3.5% below a retrained STAEformer on METR-LA and 13.0% below it on PEMS-BAY.
  • Ablation Impact: MSR is a critical component; removing it raises the 60-minute MAE by 0.30 on METR-LA, nearly as much as removing all three self-supervised losses combined.
  • Practical Stability: In tests with random edge dropout, the model's actual response was only 2.0% to 3.1% of its theoretical worst-case bound, indicating it is much more resilient in practice than the bounds suggest.

Limitations and Future Work

  • Computational Scaling: The current model uses a dense learned adjacency matrix, resulting in $O(N^2)$ complexity. This limits its application to networks with a few hundred sensors. Future work will explore sparse learned operators to scale to thousands of nodes.
  • Spectral Detail: MSR currently operates on a 12-step window, providing only 7 frequency bins. Applying this to longer histories could allow for much finer spectral supervision.
  • Real-World Operator Shift: While the authors studied the operator channel through controlled perturbations, measuring true shift in the wild remains difficult because the "ground truth" sensor coupling is never directly observed.

Summary updated

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.0980.017 on METR-LA (five seeds) and 1.5760.006 on PEMS-BAY (three seeds), the lowest PEMS-BAY MAE among twelve published baselines.
BibTeX
@misc{bohra2026st,
  author = {Aashish Bohra and Vivek Vijay},
  title = {{ST-GFM: Spectral-Temporal Graph Forecasting with Measured Perturbation Bounds and Masked Spectral Reconstruction}},
  year = {2026},
  eprint = {2611.03512},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.03512},
}
Figure