Disentangled Spatiotemporal Graph Generative Models

Yuanqi Du, Xiaojie Guo, Hengning Cao, Yanfang Ye, Liang Zhao

Abstract

Spatiotemporal graphs (STGs) are essential for modeling dynamic systems in biology, urban planning, and neuroscience. However, generating realistic STGs is challenging due to the complex entanglement of spatial, temporal, and structural dependencies. This paper presents STGD-VAE, a deep generative model that leverages Information Bottleneck theory to disentangle these factors. By introducing a novel latent factorization and an iterative optimization algorithm, STGD-VAE achieves significant improvements in generation quality and interpretability over state-of-the-art baselines.

1. Introduction

Spatiotemporal graphs (STGs) represent entities and their relationships evolving over time within a geometric space. Examples range from the folding of proteins to the flow of urban traffic. While significant progress has been made in representation learning for STGs, the task of generation—creating new, physically plausible graph sequences—remains a major hurdle.

A primary difficulty lies in the inherent correlation between spatial proximity and graph topology. In many real-world networks, nodes that are geographically close are more likely to be connected. Existing generative models often fail to separate these overlapping influences, resulting in "black box" representations that lack interpretability and struggle to capture the underlying principles of network evolution.

2. The STGD-VAE Framework

To address these challenges, we introduce the SpatioTemporal Graph Disentangled Variational Auto-Encoder (STGD-VAE). The core philosophy of STGD-VAE is the explicit factorization of the latent space into four distinct components:

  1. Time-variant factors ($z_{1:T}$): These capture the dynamic evolution of the graph at each time step.
  2. Time-invariant spatial factors ($f_s$): These represent the fixed geometric properties of the nodes.
  3. Time-invariant graph factors ($f_g$): These capture persistent structural properties, such as degree distributions.
  4. Spatial-graph joint factors ($f_{sg}$): Recognizing that space and structure are often inseparable, this factor captures the inherent correlations between them without contaminating the "pure" spatial or structural factors.

3. Information Bottleneck and Optimization

Disentanglement is enforced through Information Bottleneck (IB) theory. By constraining the information flow through each latent channel, the model is forced to compress data into the most relevant factors.

To manage these constraints effectively, the authors developed the Information-Iterative-Thresholding algorithm. This two-stage optimization process gradually increases the information capacity for specific factors until a predefined stopping criterion is met. This approach provides a theoretical guarantee (supported by Theorems 2 and 3 in the full paper) that each latent variable captures only its intended information, preventing "information bleeding" between factors.

4. Experimental Evaluation

The STGD-VAE was evaluated across four diverse datasets, including synthetic benchmarks (Dynamic Waxman and Random Geometry Graphs) and real-world applications (Protein Folding and METR-LA traffic data).

4.1 Generation Quality

On synthetic datasets, STGD-VAE demonstrated superior performance, outperforming baselines such as GraphVAE and GraphRNN by up to 69.2% in reconstruction accuracy and graph property matching. The model successfully captured complex metrics like clustering coefficients and temporal correlations that traditional models often miss.

4.2 Interpretability

The model's ability to disentangle factors was quantified using the Average Mutual Information (avgMI) score. STGD-VAE showed an improvement of up to 41.5% over standard disentanglement techniques like $\beta$-VAE. Qualitative visualizations confirmed these results: by perturbing a single latent spatial variable, the model could smoothly transition node positions on a geometric plane while maintaining the integrity of the graph structure.

5. Discussion and Future Work

STGD-VAE represents a significant step forward in the generative modeling of spatiotemporal graphs. By combining information theory with a structured latent space, it provides both high-quality generation and deep interpretability.

While the current model shows promise, limitations remain regarding scalability—particularly for large-scale protein structures or massive social networks. Future research will focus on reducing the computational complexity of the iterative thresholding algorithm and applying the framework to complex real-world phenomena, such as epidemic spreading and brain network connectivity in disease modeling.

Summary updated

BibTeX
@inproceedings{du2022disentangled,
  author = {Yuanqi Du and Xiaojie Guo and Hengning Cao and Yanfang Ye and Liang Zhao},
  title = {{Disentangled Spatiotemporal Graph Generative Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i6.20607},
}
Figure