Interpretable Clustering on Dynamic Graphs with Recurrent Graph Neural Networks

Yuhang Yao, Carlee Joe-Wong

Introduction

Clustering nodes in graphs is a fundamental task in network analysis, but most existing methods assume a static structure. In reality, networks like social media platforms, citation indices, and biological systems are highly dynamic. Communities evolve as nodes join, leave, or change their affiliation. This paper introduces a novel approach to dynamic graph clustering using Recurrent Graph Neural Networks (RNN-GCNs) that learn interpretable, cluster-specific decay rates to manage historical information.

The Challenge of Dynamic Communities

A core problem in dynamic graph clustering is determining how much weight to give to historical edges. If an algorithm ignores the past, it loses structural context. If it treats all past edges equally, it suffers from "stale" information—nodes that have recently moved to a new community may be misclassified due to their legacy connections.

Existing solutions often apply a single, uniform decay rate to all edges. However, real-world communities evolve at different speeds. For instance, in academic co-authorship networks, a fast-moving field like Machine Learning might see more frequent membership turnover than a more established field like Computer Networks.

Varying turnover rates in different academic communities motivate the need for heterogeneous decay rates.

As shown in the figure above, the probability of an author changing their primary research focus varies significantly between disciplines. This observation motivates the authors' central hypothesis: optimal clustering requires heterogeneous decay rates tailored to the turnover speed of each community.

Methodology: RNNGCN and TRNNGCN

The authors bridge theoretical graph algorithms with deep learning by proposing two architectures:

  1. Theoretical Foundation: Using a dynamic Stochastic Block Model (SBM), the authors prove that near-exact cluster recovery is possible if spectral clustering employs a decay matrix where rates are proportional to cluster turnover.
  2. RNNGCN: This model uses a Recurrent Neural Network (RNN) layer to learn a single global decay parameter, $\lambda$. This parameter exponentially smooths the adjacency matrix over time before it is processed by a Graph Convolutional Network (GCN).
  3. TRNNGCN (Transitional RNNGCN): The flagship model learns a full decay matrix, $\Lambda$. Since true labels are unknown during inference, TRNNGCN uses its predictions from the previous timestep to decide which decay rate to apply to a node's edges in the current timestep.

By placing the RNN before the GCN to explicitly smooth the adjacency matrix, the model achieves high interpretability. The learned weights directly represent the "half-life" of an edge, allowing researchers to inspect how the model "forgets" outdated information.

Experimental Results

The models were evaluated on simulated dynamic SBMs and several real-world datasets, including DBLP co-authorship networks, brain fMRI data, and Reddit keyword networks.

Temporal Robustness

A key finding is the models' ability to maintain performance over long periods. Static methods like standard GCNs or Spectral Clustering tend to degrade as they accumulate outdated edges that confuse the clustering logic.

Performance over time on the DBLP-E dataset. TRNNGCN and RNNGCN maintain high accuracy, while static baselines degrade.

As illustrated in the accuracy plot for the DBLP-E dataset, TRNNGCN and RNNGCN exhibit stable, high performance across 50 timesteps. In contrast, the accuracy of the static GCN and Spectral clustering drops significantly as the graph evolves.

Real-World Performance

TRNNGCN consistently outperformed state-of-the-art dynamic baselines. On the DBLP-3 dataset, it achieved 78.0% accuracy, surpassing other dynamic models like GCN-LSTM (74.5%). On simulated data, the transition to cluster-specific decay in TRNNGCN provided a 5% accuracy boost over the single-decay RNNGCN, validating the theoretical necessity of heterogeneous decay.

Conclusion

This work demonstrates that incorporating interpretable, community-specific decay rates into graph neural networks significantly improves clustering on dynamic graphs. By aligning neural architecture with theoretical insights from stochastic block models, the authors provide a framework that is both high-performing and physically interpretable. Future work aims to extend this decay logic to node features, further enhancing the model's ability to handle complex, evolving data.

Summary updated

BibTeX
@inproceedings{yao2021interpretable,
  author = {Yuhang Yao and Carlee Joe-Wong},
  title = {{Interpretable Clustering on Dynamic Graphs with Recurrent Graph Neural Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i5.16590},
}
Figure