Subgraph Pattern Neural Networks for High-Order Graph Evolution Prediction

Changping Meng, S. Chandra Mouli, Bruno Ribeiro, Jennifer Neville

Abstract

Predicting the evolution of complex networks is a fundamental task in graph learning. While traditional methods focus on node-level or link-level predictions, real-world networks often evolve through high-order structural changes involving groups of nodes. We present Subgraph Pattern Neural Networks (SPNN), a novel framework designed to predict the joint evolution of subgraphs by capturing high-order structural dependencies and local neighborhood context. SPNN utilizes a gated neural architecture with an interpretable pattern layer, ensuring isomorphism invariance and scalability. Experimental results on diverse datasets, including DBLP and Friendster, demonstrate that SPNN significantly outperforms state-of-the-art embedding and tensor factorization methods in both accuracy and computational efficiency.

Introduction

Most contemporary graph learning research focuses on "micro-tasks," such as node classification or link prediction. However, these approaches often fail to capture the simultaneous formation of multiple relationships that characterize real-world network evolution. For instance, in a bibliographic network, an author, a venue, and a topic form a high-order relationship (a triplet) concurrently. Predicting such evolutions requires models that can account for high-order dependencies and the structural context in which these subgraphs are embedded.

The Subgraph Evolution Problem

The core challenge addressed by this work is predicting how a specific set of $k$ nodes (a subgraph) will change its internal connectivity over time. Unlike independent link prediction, joint subgraph prediction considers the dependencies between potential edges. Figure 1(a) illustrates this transition from graph $G_1$ to $G_2$, highlighting specific patterns of interest.

Overview of subgraph evolution (a) and the SPNN architecture (b).

The SPNN Framework

The Subgraph Pattern Neural Network (SPNN) is a three-layer gated architecture specifically tailored for heterogeneous graphs. It operates on the principle that the evolution of a small group of nodes is heavily influenced by the larger structural patterns they belong to.

  1. High-Order Feature Extraction: SPNN computes "local induced isomorphism densities." By expanding the target subgraph by $\delta$ nodes, the model identifies the larger patterns (of size $k+\delta$) that contain the target $k$-node subgraph. This provides critical contextual information for prediction.
  2. The Pattern Layer: The hidden layer consists of neurons that represent specific $(k+\delta)$-node graph patterns observed in the training data. This design makes the model inherently interpretable, as the weights associated with each neuron indicate the predictive importance of specific structural motifs.
  3. Gating Mechanism: To manage the complexity of diverse graph structures, SPNN employs a gate function $\Delta(U, F^\square, G_t)$. This indicator function ensures that only the weights of structural patterns actually present in a given training example are updated, effectively filtering out noise from irrelevant patterns.
  4. Isomorphism Invariance: A key theoretical contribution is the proof that SPNN is isomorphic-invariant. This ensures that the model's predictions are based on the underlying topology rather than arbitrary node identifiers.

Experimental Evaluation

The performance of SPNN was evaluated against several baselines, including Node2Vec (embeddings) and RESCAL (tensor factorization), across multiple datasets:

  • DBLP: Predicting (Author, Venue, Topic) evolution. SPNN achieved an AUC of 0.846, compared to 0.690 for the best joint-task baseline.
  • Friendster: A large-scale social network task. SPNN demonstrated remarkable efficiency, completing training in approximately 9 minutes, whereas tensor-based methods like RESCAL required over 26 hours on the same hardware.
  • Facebook & WordNet: Benchmarks for static graph prediction, confirming the model's versatility outside of purely dynamic evolution.

Key Insights

  • Contextual Expansion: Incorporating a small neighborhood expansion ($\delta$) significantly boosts predictive power by capturing the "why" behind structural changes.
  • Joint vs. Independent Prediction: Jointly predicting multiple links within a subgraph is consistently more accurate than aggregating independent link predictions.
  • Efficiency and Scalability: By operating on sampled subgraphs rather than the entire adjacency matrix, SPNN scales effectively to massive networks and maintains high performance even with small training sets.

Conclusion

SPNN represents a significant step forward in high-order graph learning. By moving from link-level to subgraph-level prediction and incorporating interpretable structural patterns, it offers a robust and efficient solution for modeling network evolution. Future work will explore collective classification to integrate local subgraph predictions into a global network context and investigate automated methods for determining optimal neighborhood expansion parameters.

Summary updated

BibTeX
@inproceedings{meng2018subgraph,
  author = {Changping Meng and S. Chandra Mouli and Bruno Ribeiro and Jennifer Neville},
  title = {{Subgraph Pattern Neural Networks for High-Order Graph Evolution Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.11747},
}
Figure