Beyond Spatio-Temporal Representations: Evolving Fourier Transform for Temporal Graphs

Anson Bastos, Kuldeep Singh, Abhishek Nadgeri, Manish Singh, Toyotaro Suzumura · DOI

Introduction

In the modern data landscape, graphs are rarely static. From social networks and financial transactions to biological pathways, the underlying structure of these networks evolves over time as nodes and edges appear and disappear. While the Graph Fourier Transform (GFT) has long been a cornerstone for analyzing static graphs in the frequency domain—allowing researchers to distinguish between smooth and sharp variations across nodes—extending this to the temporal dimension has proven difficult.

Traditional approaches often treat time as a separate dimension or attempt a "brute force" joint eigendecomposition. However, these methods are either computationally prohibitive, scaling at $O((NT)^3)$, or fail to preserve the distinct interpretability of spatial versus temporal variations. This paper introduces the Evolving Graph Fourier Transform (EFT), the first invertible spectral transform designed specifically for graphs with evolving structures, offering a mathematically grounded and computationally efficient framework for dynamic network analysis.

The Challenge of Dynamic Structures

Analyzing temporal graphs requires capturing both spatial dependencies (how nodes relate to their neighbors) and temporal dependencies (how signals change over time). A naive solution is to perform a joint spatio-temporal analysis, but this leads to two primary issues:

  1. Computational Complexity: The cubic scaling relative to the number of nodes ($N$) and timesteps ($T$) makes it impossible to apply to large-scale real-world data.
  2. Interpretability: Brute-force methods mix spatial and temporal frequencies into a single set of basis vectors, making it nearly impossible to determine if a signal variation is driven by the graph's topology or its temporal evolution.

The Evolving Graph Fourier Transform (EFT)

To address these challenges, the authors propose the EFT, which views the problem through the lens of optimization over the Laplacian of a continuous-time dynamic graph. The core innovation lies in the use of pseudo-spectrum relaxations. This mathematical shortcut allows the complex joint transformation to be decomposed into two distinct, manageable parts:

  • Temporal Dimension: Handled via a standard Discrete Fourier Transform (DFT).
  • Vertex Dimension: Handled via a standard Graph Fourier Transform (GFT).

By constructing the EFT basis using the Kronecker product of these temporal and spatial basis vectors, the framework keeps the two domains distinct. This decomposition reduces the computational complexity from a prohibitive $O(T^3)$ factor to a much leaner $O(T \log T)$, making spectral analysis viable for graphs with long-term temporal histories.

The EFT-T Model

To demonstrate the practical utility of this transform, the authors developed EFT-T, a neural architecture that integrates EFT-based filters into a Transformer model. EFT-T learns to induce specific filters that can selectively keep or discard certain frequency components. This allows the model to perform sophisticated denoising, focusing on the "patterns" that matter for a specific task while filtering out structural or semantic noise.

Experimental Evaluation

The EFT framework was evaluated across a diverse range of benchmarks, including large-scale sequential recommendation, link prediction, and node classification.

Performance in Recommendation and Prediction

On e-commerce datasets such as Amazon Beauty, Games, and CDs, EFT-T consistently outperformed state-of-the-art baselines like DGSR and TGN. For instance, on the Amazon CD dataset, EFT-T achieved a Recall@10 of 75.42, a significant improvement over the next best baseline (72.43). Similar gains were observed in dynamic link prediction and node classification across datasets like UCI (community messages), AS (internet traffic), and Elliptic (Bitcoin transactions).

Robustness and Denoising

One of the most compelling features of EFT is its ability to reconstruct signals from noisy data. Because EFT transforms both spatial and temporal dimensions collectively, it can identify noise that exists simultaneously in both domains. In synthetic experiments, EFT maintained low reconstruction error even under heavy semantic and structural noise, whereas models lacking these integrated filters saw a sharp decline in performance.

Qualitative Visualization

Using 3D synthetic meshes (such as a "Dancer" and a "Dog" mesh), the authors visualized how EFT handles structural changes. They demonstrated that a low-pass filter successfully captures the "stiff" or global maneuvers of the body, while a wave filter captures more "fluid" or localized movements. This confirms that the learned frequencies correspond to physical and structural realities in the data.

Key Insights and Future Directions

The EFT represents a significant step forward in temporal graph representation learning by providing:

  • Interpretability: Researchers can now distinguish between vertex-domain and temporal-domain variations.
  • Efficiency: The $O(T \log T)$ complexity enables the analysis of long-term dynamics.
  • Compactness: The transform summarizes essential features using very few frequency components.

Despite these strengths, the authors note that the current framework is primarily designed for undirected and unsigned graphs. Future work will explore generalizing the Laplacian to handle directed edges and signed relationships (e.g., trust/distrust). Additionally, while the temporal scaling is solved, further approximations may be needed to scale the vertex-domain GFT to graphs with billions of nodes.

Summary updated

BibTeX
@inproceedings{bastos2024beyond,
  author = {Anson Bastos and Kuldeep Singh and Abhishek Nadgeri and Manish Singh and Toyotaro Suzumura},
  title = {{Beyond Spatio-Temporal Representations: Evolving Fourier Transform for Temporal Graphs}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=uvFhCUPjtI},
}
Figure