TL;DR
Graph State-Space Models (GSSMs) introduce a novel probabilistic framework that generalizes traditional vector-based state-space models by representing inputs, latent states, and outputs as structured graphs. This allows the model to jointly learn complex temporal dynamics and latent relational structures end-to-end, significantly improving forecasting accuracy and interpretability in spatio-temporal datasets.
What Problem Does This Paper Address?
Traditional state-space models (SSMs) are excellent for modeling time series by maintaining a compact "system state" that updates over time. However, this state is typically represented as a flat vector without any explicit structure. When dealing with spatio-temporal data (like traffic networks or weather stations), variables have complex, underlying relationships.
While Spatio-Temporal Graph Neural Networks (STGNNs) incorporate graph structures, they usually assume a fixed, known graph or rely on a strict one-to-one mapping between the observed time series and the nodes in the graph. This leaves a significant gap: what if the relationships between variables are unobserved, change over time, or exist between latent factors rather than the raw inputs themselves? The authors introduce GSSMs to bridge this gap, allowing the system state to be a fully latent, dynamic graph disjoint from the input and output dimensions.
Methods
The authors propose a general probabilistic framework where the input ($x_t$), latent state ($h_t$), and output ($y_t$) are all modeled as attributed graphs. Crucially, these graphs can have entirely different topologies and numbers of nodes.
The architecture consists of three main blocks:
- Input Encoder: Maps the input graph to the latent state space using the Select-Reduce-Connect (SRC) framework for graph pooling, accommodating mismatches between input and state dimensions.
- State Transition: Updates both the topology (edge set) and node representations of the state graph. Edges are modeled as a collection of Bernoulli distributions, allowing the latent topology to evolve over time based on current inputs and past states. Node features are updated via message passing (GNNs).
- Readout: Maps the latent state graph back to the target output, using global pooling for graph-level predictions or unpooling ("lifting") operations for node-level predictions.
To train this end-to-end despite the challenges of discrete latent variables (the graph edges), the authors combine the reparameterization trick for continuous node features with a score-based gradient estimator (similar to REINFORCE) for the discrete edge sampling.
Datasets
The framework was evaluated on two distinct datasets:
- GPVAR (Synthetic): A synthetic benchmark featuring coupled node-level dynamics generated by a polynomial spatio-temporal filter over a fixed graph (30 nodes, 5 communities). This dataset provides ground-truth relational structures to validate whether the model can accurately recover hidden topologies.
- EngRAD (Real-world): A large-scale solar radiation dataset containing five weather variables sampled hourly at 487 locations across England over three years. The goal is to predict global horizontal irradiation six hours ahead.
Key Insights and Ideas
- Decoupling Topology: By freeing the latent state from the input/output dimensions, GSSMs can perform factor analysis or clustering directly within the state space. For instance, a system with hundreds of sensors can be compressed into a state graph with only a few "hub" nodes representing regional dynamics.
- Unsupervised Structure Discovery: GSSMs can discover meaningful relational structures purely from raw time-series data without any graph priors.
- Differentiable Discrete Graphs: Using score-based estimators allows the model to treat graph edges as sparse, discrete objects during training, avoiding the computational burden of dense, fully connected graph approximations.
Key Results
- Topology Recovery: On the synthetic GPVAR dataset, GSSM variants (
Id-GSSandExt-GSS) successfully recovered the exact ground-truth community structure and adjacency matrix purely from time-series observations, achieving a near-optimal Mean Absolute Error (MAE) of ~0.331 (close to the theoretical analytical optimum of 0.319). - Real-World Forecasting: On the EngRAD dataset, the
Hub-GSSvariant—which combines spatial proximity priors with learned latent relations—achieved the best overall forecasting performance within the state-space family, outperforming standard RNNs and traditional spatio-temporal baselines like DCRNN. It proved particularly strong at longer prediction horizons (e.g., 6 hours ahead), where local spatial proximity becomes less informative than global, learned relationships.
Limitations and Future Work
The authors note that imposing a strict dimensionality bottleneck in the latent state (i.e., reducing the number of state nodes too drastically, as seen in Pool-GSS) can introduce approximation errors that lead to suboptimal prediction accuracy if the bottleneck is too tight.
Promising directions for future work include extending GSSMs to graph generative tasks, exploring highly dynamic or rapidly changing relations, integrating domain-specific physical constraints, and developing advanced Graph Kalman filtering and smoothing techniques for control applications.
Summary updated