Federated Temporal Graph Clustering

Yang Liu, Zihao Zhou, Xianghong Xu, Qian LiarXiv 2024 · DOI

Abstract

Federated Temporal Graph Clustering (FTGC) addresses the critical challenge of clustering nodes in dynamic, evolving graphs while maintaining strict data privacy. By integrating a novel temporal attention mechanism with communication-efficient federated optimization strategies—including gradient sparsification and quantization—FTGC enables multiple parties to collaboratively learn global patterns without sharing raw local data. Our evaluation across four diverse datasets (DBLP, Brain, Patent, and School) demonstrates that FTGC consistently outperforms state-of-the-art centralized and decentralized baselines, offering a robust solution for privacy-preserving analysis in large-scale distributed environments.

Introduction

In many real-world applications, data is naturally represented as "temporal graphs"—networks where nodes and edges evolve over time, such as social interactions, financial transactions, or biological pathways. Clustering these nodes is essential for community detection and anomaly identification. However, two primary hurdles impede the deployment of traditional clustering methods: privacy concerns and the computational scale of dynamic data.

Privacy mandates often prevent the centralization of sensitive data (e.g., medical or financial records) onto a single server. Simultaneously, the high frequency of updates in temporal graphs creates significant communication overhead when syncing complex Graph Neural Network (GNN) models across distributed clients. The FTGC framework bridges this gap by learning from graph "snapshots" across decentralized locations while minimizing network traffic.

Methodology

The FTGC framework is built upon three core technical pillars designed to balance representational power with operational efficiency.

The FTGC federated learning architecture illustrating the interaction between clients and the central server.
  1. Temporal Aggregation Mechanism: Unlike static models, FTGC utilizes a sliding window approach. It employs spatial aggregation to capture immediate neighborhood structures and a softmax-based temporal attention mechanism to weigh the relevance of historical and future snapshots.
  2. Federated Optimization Strategy: Training is decentralized. Each client optimizes a local loss function that balances "spatial fit" (ensuring connected nodes share clusters) and "temporal smoothness" (penalizing abrupt cluster changes between time steps).
  3. Communication Efficiency: To facilitate training over bandwidth-constrained networks, FTGC implements gradient sparsification (sending only the top $s\%$ of updates) and quantization (reducing bit-precision), significantly lowering the data transfer requirements.

Experimental Setup

The framework was evaluated on four distinct temporal graph datasets:

  • DBLP: A co-authorship network tracking collaborations over time.
  • Brain: A biological network representing human brain tissue connectivity.
  • Patent: A citation network tracking the evolution of U.S. innovations.
  • School: A high-frequency interaction network among high school students.

Results and Discussion

FTGC demonstrates superior performance across all tested metrics, including Accuracy (ACC), Normalized Mutual Information (NMI), and Adjusted Rand Index (ARI).

Performance comparison of FTGC against baseline methods on the DBLP and Brain datasets.

Key Insights

  • Scalability and Generalization: Experimental results indicate that performance improves as the number of clients ($k$) increases from 10 to 25. This "more the merrier" effect suggests that the federated approach allows the model to generalize better by observing a broader variety of graph structures.
  • Stability through Smoothness: By explicitly penalizing drastic cluster reassignments between time steps, FTGC achieves higher stability and more meaningful community evolution compared to "jittery" dynamic baselines.
  • Superiority over Centralized Models: On the DBLP dataset, FTGC achieved an ACC of 49.50, notably outperforming its centralized counterpart, TGC (48.75). On the dense School dataset, the model achieved a near-perfect ACC of 99.80.

Conclusion

FTGC represents a significant advancement in privacy-preserving dynamic graph analysis. While the current work assumes random data partitioning, future research will focus on handling "Non-IID" data distributions where clients possess highly skewed datasets. Additionally, exploring the optimal trade-off between communication compression and model intelligence remains a key area for further optimization. Despite these challenges, FTGC provides a scalable and secure foundation for distributed temporal clustering.

Summary updated

BibTeX
@misc{liu2024federated,
  author = {Yang Liu and Zihao Zhou and Xianghong Xu and Qian Li},
  title = {{Federated Temporal Graph Clustering}},
  year = {2024},
  eprint = {2410.12343},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.12343},
}
Figure