NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Graph-Free Learning in Graph-Structured Data: A More Efficient and Accurate Spatiotemporal Learning Perspective

Xu Wang, Pengfei Gu, Pengkun Wang, Binwu Wang, Zhengyang Zhou, Lei Bai, Yang WangarXiv 2023 · DOI

Introduction

Spatiotemporal learning is critical for predicting patterns in data that vary across both time and space, such as traffic flow, air quality, or social media trends. For years, the field has been dominated by Graph Convolutional Networks (GCNs), which rely on the fundamental assumption that a precisely defined adjacency matrix is necessary to capture spatial correlations between nodes (e.g., traffic sensors).

Researchers have developed increasingly complex strategies to construct these matrices, ranging from physical distance metrics to dynamic attention mechanisms. However, these methods often suffer from high computational complexity ($O(N^2)$) and poor scalability. This paper challenges the status quo by asking: how much does the specific design of the adjacency matrix actually matter?

The Adjacency Illusion

To investigate the necessity of complex graph structures, the authors conducted a "stress test" on several state-of-the-art (SOTA) models. They replaced carefully engineered adjacency matrices with random noise ($R$), constant values ($M$), or simple identity-based combinations ($I+R, I+M$).

Figure 3: Performance comparison of four SOTA models (STGCN, STFGNN, AGCRN, ASTGNN) across two datasets (PEMSD4, PEMSD8) using different adjacency matrix strategies. The results show that performance remains remarkably stable regardless of the matrix used.

As shown in the experimental results above, the performance of these models barely changed. This discovery suggests an "adjacency illusion": the gains in recent GCN models often stem from superior temporal modeling or feature fusion rather than the spatial graph component itself. The spatial module essentially acts as a simple aggregator, regardless of the weights provided by the adjacency matrix.

Methods: The Graph-Free Spatial (GFS) Module

Based on the insight that aggregation is more important than topology, the authors proposed the Graph-Free Spatial (GFS) module. Instead of relying on a predefined or learned $N imes N$ matrix, GFS utilizes Layer Normalization (LN) across the vertex dimension.

Figure 1: The architecture of a Stacked Spatial-Temporal Block. The red 'X' indicates the removal of complex adjacency matrix strategies in favor of simpler, predefined matrices or the proposed graph-free approach.

The authors provide a mathematical proof that Layer Normalization implicitly performs a form of data aggregation by mixing global information (mean and variance) into each node's representation. This approach reduces time complexity from $O(N^2)$ to $O(N)$, enabling the model to scale to massive datasets that would otherwise be computationally prohibitive.

Key Results and Scalability

The GFS module was integrated into eight different SOTA models, consistently yielding improvements in both accuracy and efficiency:

  • Universal Accuracy Gains: In nearly every test case across traffic forecasting benchmarks (PeMSD3, D4, D7, D8), the GFS-enhanced variants outperformed the original GCN-based models.
  • Efficiency: GFS reduced training and testing times by an average of 20% on standard datasets.
  • Extreme Scalability: On the Coauthor Physics dataset, which contains nearly 500,000 nodes, GFS was 9.6x faster than standard GCNs while achieving higher classification accuracy.
  • Robustness: GFS variants demonstrated better stability over longer prediction horizons, suggesting that "graph-free" aggregation captures more robust spatial features than rigid topological constraints.

Conclusion

This research marks a significant shift in spatiotemporal learning. By proving that the specific weights of an adjacency matrix are often redundant, the authors open the door for more efficient, "graph-free" architectures. While GFS currently relies on a fixed number of nodes, its ability to provide linear scalability and superior accuracy suggests that the future of spatiotemporal modeling may lie in focusing on the act of aggregation rather than the complexity of the graph structure.

Summary updated

Abstract

Spatiotemporal learning, which aims at extracting spatiotemporal correlations from the collected spatiotemporal data, is a research hotspot in recent years. And considering the inherent graph structure of spatiotemporal data, recent works focus on capturing spatial dependencies by utilizing Graph Convolutional Networks (GCNs) to aggregate vertex features with the guidance of adjacency matrices. In this paper, with extensive and deep-going experiments, we comprehensively analyze existing spatiotemporal graph learning models and reveal that extracting adjacency matrices with carefully design strategies, which are viewed as the key of enhancing performance on graph learning, are largely ineffective. Meanwhile, based on these experiments, we also discover that the aggregation itself is more important than the way that how vertices are aggregated. With these preliminary, a novel efficient Graph-Free Spatial (GFS) learning module based on layer normalization for capturing spatial correlations in spatiotemporal graph learning. The proposed GFS module can be easily plugged into existing models for replacing all graph convolution components. Rigorous theoretical proof demonstrates that the time complexity of GFS is significantly better than that of graph convolution operation. Extensive experiments verify the superiority of GFS in both the perspectives of efficiency and learning effect in processing graph-structured data especially extreme large scale graph data.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
PeMSD4ASTGNN# (ASTGNN with GFS integrated)MAE18.40-0.53 vs baselineTraffic Forecasting · split: test · input-window=previous hour · model-variant=ASTGNN with GFS · prediction-horizon=12 steps
Source quote
L772: 18.40
Coauthor PhysicsGFS (three-layer stack)Acc(%)0.9670854%+0.01 vs baselineNode Classification · split: test · layers=3 · test-rounds=1000 · training-epochs=200
Source quote
L1186: 0.9670854
Coauthor PhysicsGFS (three-layer stack)Total time72.546249-625.51 vs baselineNode Classification · split: test · layers=3 · test-rounds=1000 · training-epochs=200
Source quote
L1187: 72.546249
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
PeMSD4ASTGNN baselineMAE18.93Traffic Forecasting · split: test · input-window=previous hour · prediction-horizon=12 steps
Source quote
L759: 18.93
Coauthor PhysicsGCN (three-layer stack) baselineAcc(%)0.9593931%Node Classification · split: test · layers=3 · test-rounds=1000 · training-epochs=200
Source quote
L1189: 0.9593931
Coauthor PhysicsGCN (three-layer stack) baselineTotal time698.05498Node Classification · split: test · layers=3 · test-rounds=1000 · training-epochs=200
Source quote
L1190: 698.05498
BibTeX
@misc{wang2023graph,
  author = {Xu Wang and Pengfei Gu and Pengkun Wang and Binwu Wang and Zhengyang Zhou and Lei Bai and Yang Wang},
  title = {{Graph-Free Learning in Graph-Structured Data: A More Efficient and Accurate Spatiotemporal Learning Perspective}},
  year = {2023},
  eprint = {2301.11742},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.11742},
}
Figure