Dynamic Graph Convolutional Networks Using the Tensor M-Product

Osman Asif Malik, Shashanka Ubaru, Lior Horesh, Misha E. Kilmer, Haim Avron · DOI

Graphs are the natural language of complex systems, from social networks to financial transactions. However, in the real world, these graphs aren't static; they breathe and evolve over time. While Graph Convolutional Networks (GCNs) have mastered static data, adapting them to dynamic, time-varying graphs has remained a significant challenge. In their paper, "Dynamic Graph Convolutional Networks Using the Tensor M-Product," Malik et al. introduce TM-GCN, a framework that leverages elegant tensor algebra to capture spatial and temporal patterns simultaneously.

The Challenge of Dynamic Graphs

Most standard Graph Neural Networks (GNNs) assume a fixed graph structure. To handle dynamic graphs—where nodes may remain constant but edges and features change over time—researchers typically combine a GNN with a Recurrent Neural Network (RNN) or a Long Short-Term Memory (LSTM) network.

However, these hybrid models can be computationally cumbersome and often lack a clear theoretical connection to the spectral graph theory that makes GCNs so powerful. The gap addressed here is the need for a unified framework that treats time as a fundamental dimension of the graph data rather than just an external sequence, allowing for more efficient and theoretically grounded learning.

The TM-GCN Framework

The core innovation of TM-GCN is the application of the tensor M-product framework. This approach provides a mathematically principled way to perform spatio-temporal message passing.

Overview of the TM-GCN framework, showing the transformation of dynamic graphs into adjacency and feature tensors for processing.

Methodology

  1. Tensor Representation: Instead of looking at a sequence of adjacency matrices $A^{(t)}$, the authors stack them into a 3D "adjacency tensor" $\mathcal{A}$. They do the same for feature matrices to create a "feature tensor" $\mathcal{X}$.
  2. The M-Product ($\star$): This is a generalized form of matrix multiplication for tensors. It relies on a "mixing matrix" $M$ that defines how information is shared across the third dimension (time).
  3. TM-GCN Layer: A single layer looks remarkably like a standard GCN: $\mathcal{Y} = \mathcal{A} \star \sigma(\mathcal{X} \star \mathcal{W})$, where $\mathcal{W}$ is a learnable weight tensor.
  4. Temporal Causality: To ensure the model doesn't "cheat" by looking into the future, the authors use a lower-triangular, banded mixing matrix $M$. This ensures that the representation at time $t$ only depends on current and past graph states.

Key Insights and Ideas

  • Matrix Mimeticity: The beauty of the M-product is that it allows tensors to behave like matrices. This "mimetic" property allowed the authors to prove that TM-GCN is a first-order approximation of a tensor spectral filter, providing the same theoretical rigor for dynamic graphs that the original GCN provided for static ones.
  • Unified Message Passing: TM-GCN naturally performs "spatio-temporal message passing." Spatial messages flow across edges within a time step, while temporal messages flow across the "tubes" of the tensor (the same node across different time steps) via the mixing matrix $M$.
  • Efficiency through Transformation: By performing operations in a "transformed domain" (defined by $M$), the model can avoid expensive recurrent computations while still capturing long-range temporal dependencies.

Experimental Results

The authors evaluated TM-GCN on five diverse datasets, including synthetic benchmarks (SBM), financial networks (Bitcoin OTC & Alpha), social hyperlinks (Reddit), and epidemiological simulations (COVID-19).

Visualization of a dynamic graph evolving over time steps t=1, 4, and 8.

TM-GCN proved to be highly competitive, often setting new state-of-the-art marks:

  • Edge Classification: On the Bitcoin OTC dataset, TM-GCN achieved an F1 score of 0.4361, significantly higher than the popular EvolveGCN (0.3483) and WD-GCN (0.3562).
  • Link Prediction: It dominated the SBM and Bitcoin datasets, reaching a Mean Average Precision (MAP) of 0.9799 on SBM.
  • COVID-19 Detection: In a simulated contact-tracing scenario, TM-GCN predicted infection states with a mean absolute error of 1.466, compared to 4.969 for EvolveGCN. This suggests the model is particularly good at "time awareness"—knowing exactly when an interaction happened to predict a future state.

Conclusion and Future Work

TM-GCN offers a robust, theoretically grounded alternative to hybrid RNN-GNN models for dynamic graph analysis. While powerful, future research could explore learning the mixing matrix $M$ directly from data, investigating deeper architectures to monitor potential oversmoothing, and extending the framework to "streaming" graphs where the node set itself is dynamic.

Summary updated

BibTeX
@inproceedings{malik2021dynamic,
  author = {Osman Asif Malik and Shashanka Ubaru and Lior Horesh and Misha E. Kilmer and Haim Avron},
  title = {{Dynamic Graph Convolutional Networks Using the Tensor M-Product}},
  booktitle = {SDM},
  year = {2021},
  doi = {10.1137/1.9781611976700.82},
}
Figure