Tensor-view Topological Graph Neural Network

Tao Wen, Elynn Chen, Yuzhou Chen

TL;DR

The Tensor-view Topological Graph Neural Network (TTG-NN) combines topological data analysis with tensor learning to capture both local connectivity and global structural patterns in graphs. By leveraging low-rank tensor decompositions, the model achieves state-of-the-art classification accuracy across diverse benchmarks while maintaining high computational efficiency and providing strong theoretical error bounds.

What Problem Does This Paper Address?

Traditional Graph Neural Networks (GNNs) primarily rely on "neighborhood aggregation," where a node's representation is updated based on its immediate neighbors. While effective, this approach is often "short-sighted." It struggles to capture higher-order relational structures—like the specific arrangement of rings in a molecule or the complex voids in a protein's surface—that are crucial for scientific applications.

Existing attempts to integrate Topological Data Analysis (TDA) into GNNs often suffer from two main issues:

  1. Information Loss: They frequently use a single "lens" (filtration) to view the graph, missing multi-modal topological features.
  2. Computational Overhead: Processing the complex, high-dimensional feature sets generated by TDA can be computationally expensive and prone to overfitting.

Methods

The authors introduce TTG-NN, which processes graphs through two parallel "views" before aggregating them using a novel tensor layer.

Figure 1: The architecture of TTG-NN.
  • Tensor-view Topological Convolutional Layer (TT-CL): This module uses Persistent Homology (PH) to identify topological features (like holes and connected components) at multiple scales. By using multiple filtration functions (e.g., degree centrality, betweenness centrality), it creates a 4D Persistence Image Tensor.
  • Tensor-view Graph Convolutional Layer (TG-CL): This module captures standard graph structural information. Instead of just using the final layer of a GCN, it stacks outputs from multiple layers into a tensor to preserve multi-hop propagation information.
  • Tensor Transformation Layer (TTL): This is the core innovation. Rather than flattening these high-dimensional tensors into vectors (which destroys structural information), the TTL uses low-rank tensor decompositions (like Tucker or CP decomposition). This allows the network to learn discriminative features with far fewer parameters, acting as a powerful regularizer.

Datasets

The model was evaluated on a wide array of standard graph classification benchmarks:

  • Chemical Compounds: MUTAG, DHFR, BZR, and COX2.
  • Molecular/Protein Data: D&D, PROTEINS, and the PTC series (MR, MM, FM, FR).
  • Social Networks: IMDB-B.
  • Large-Scale Benchmark: The ogbg-molhiv dataset from the Open Graph Benchmark, containing over 41,000 graphs.

Key Insights and Ideas

  • Tensors Preserve Multi-modality: By treating features as tensors rather than flat vectors, the model maintains the inherent relationships between different topological "views" and different scales of connectivity.
  • Low-Rankness as a Noise Filter: The authors theoretically prove (Theorem 3.2) that incorporating Tucker low-rankness reduces the "stochastic error" of the model. Essentially, by forcing the model to find a low-rank representation, it ignores high-frequency noise in the graph data.
  • Disentangled Learning: The TT-CL and TG-CL modules disentangle the aggregation of features (how info spreads) from the transformation of features (how info is interpreted), leading to better generalization.

Key Results

TTG-NN was compared against 20 state-of-the-art methods, including standard GNNs (GCN, GIN), pooling-based methods (DiffPool, SAGPool), and other topological models (TOGL, PersLay).

  • Superior Accuracy: TTG-NN achieved the best results on 10 out of 11 small-to-medium datasets. For example, it showed a relative improvement of up to 16.20% over some spatial-based GNNs.
  • Large-Scale Success: On the ogbg-molhiv dataset, TTG-NN reached 81.50% ROC-AUC, significantly outperforming standard GCN and GIN models.
  • Ablation Study: Removing the topological module (TT-CL) caused an average performance drop of 8.70%, proving that global topology is indeed a critical missing piece in standard GNNs.
Table 1: Performance on molecular and chemical graphs. The best results are given in bold.

Limitations and Future Work

While the model is efficient, the initial computation of Persistent Homology can still be a bottleneck for extremely large, dense graphs (standard PH algorithms have $O(\Xi^3)$ complexity). The authors suggest that future work could involve:

  • Extending the "tensor-view" approach to spatiotemporal prediction (e.g., traffic flow or weather patterns).
  • Applying these topological layers to unsupervised learning tasks like community detection.
  • Exploring even more efficient ways to compute multi-filtrations for massive datasets.

Summary updated

Abstract

Graph classification is an important learning task for graph-structured data. Graph neural networks (GNNs) have recently gained growing attention in graph learning and have shown significant improvements in many important graph problems. Despite their state-of-the-art performances, existing GNNs only use local information from a very limited neighborhood around each node, suffering from loss of multi-modal information and overheads of excessive computation. To address these issues, we propose a novel Tensor-view Topological Graph Neural Network (TTG-NN), a class of simple yet effective topological deep learning built upon persistent homology, graph convolution, and tensor operations. This new method incorporates tensor learning to simultaneously capture Tensor-view Topological (TT), as well as Tensor-view Graph (TG) structural information on both local and global levels. Computationally, to fully exploit graph topology and structure, we propose two flexible TT and TG representation learning modules that disentangle feature tensor aggregation and transformation and learn to preserve multi-modal structure with less computation. Theoretically, we derive high probability bounds on both the out-of-sample and in-sample mean squared approximation errors for our proposed Tensor Transformation Layer (TTL). Real data experiments show that the proposed TTG-NN outperforms 20 state-of-the-art methods on various graph benchmarks.
BibTeX
@inproceedings{wen2024tensor,
  author = {Tao Wen and Elynn Chen and Yuzhou Chen},
  title = {{Tensor-view Topological Graph Neural Network}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
}
Figure