Effective Federated Graph Matching

Yang Zhou, Zijie Zhang, Zeru Zhang, Lingjuan Lyu, Wei-Shinn Ku

TL;DR

This paper introduces UFGM, the first unsupervised federated learning framework specifically designed for graph matching (network alignment). By combining graphlet theory for automated pseudo-labeling with a privacy-preserving "separate trust region" optimization, the authors achieve matching accuracy that rivals centralized models while keeping sensitive local graph data strictly on the client side.

What Problem Does This Paper Address?

Graph matching—the task of identifying the same entities (nodes) across different datasets—is a cornerstone of fields like financial fraud detection and social network analysis. However, doing this in a centralized way requires uploading raw, sensitive data to a single server, creating massive privacy risks.

While Federated Learning (FL) has made strides in node classification and link prediction, Federated Graph Matching (FGM) has remained a "white whale." The challenge is twofold:

  1. The Label Dilemma: Effective matching usually requires "pre-matched" pairs (labels) to train on, which are rarely available in private, distributed settings.
  2. The Optimization Hurdle: Standard optimization techniques like SGD often fail in FGM because clients only see their own local data, making it impossible to calculate a global loss function without leaking information.

Methods

The authors propose UFGM (Unsupervised Federated Graph Matching), which relies on three main pillars:

  • Graphlet-Based Pseudo-Labeling: To solve the lack of training data, the model uses "graphlets" (small subgraphs like triangles or cliques). If two nodes in different graphs have very similar graphlet "fingerprints," they are likely the same entity. These are used as pseudo-training data, allowing the model to use supervised learning techniques in an unsupervised setting.
  • MCMC Sampling for Efficiency: Counting every graphlet in a massive network is computationally impossible. UFGM uses a Monte Carlo Markov Chain (MCMC) sampling strategy to estimate graphlet counts quickly without sacrificing much accuracy.
  • Separate Trust Region Optimization: To maintain privacy, the authors separate model evaluation from optimization. The server aggregates parameters and evaluates the global model on encrypted data, while the clients perform the actual optimization.
  • Quasi-Newton Hessian Approximation: Second-order optimization (using Hessians) is usually too slow for large graphs. UFGM uses a clever Quasi-Newton condition to approximate the Hessian using only first-order gradients, significantly speeding up the training process.

Datasets

The researchers evaluated UFGM on three representative benchmarks:

  • SNS (Social Networks): Data from Flickr, Last.fm, and MySpace.
  • PPI (Protein-Protein Interaction): 50 different graphs representing various biological tissues.
  • DBLP (Coauthor Graphs): A large-scale dataset split into 20 graphs by publication year (2002–2022), including versions with up to 200,000 nodes to test scalability.

Key Insights and Ideas

  • The "Pseudo" Bridge: The most elegant idea here is using structural topology (graphlets) to bridge the gap between unsupervised and supervised learning. By generating high-quality pseudo-labels locally, they unlock the power of supervised architectures in a privacy-restricted environment.
  • Privacy through Encryption and Separation: UFGM uses a shared random nonsingular matrix ($K$) to encrypt embeddings. Because the server only sees these transformed embeddings and the clients handle the optimization steps, the raw graph structure never leaves the client's premises.
  • Compute Efficiency: By moving the heavy lifting of Hessian-based optimization to an approximation that only requires gradients, the authors ensure the model can scale to real-world networks with millions of edges.

Key Results

  • Superior Accuracy: UFGM consistently outperformed all other federated competitors (like FedGraphNN and FKGE) and federated domain adaptation methods.
Hits@1 and Loss Comparison
  • Closing the Centralized Gap: Remarkably, UFGM's performance was only about 15.3% lower than the best state-of-the-art centralized models, which have the "unfair" advantage of seeing all data at once.
  • Fast Convergence: The model typically stabilizes within 1,000 training rounds, achieving a 31.8% to 35.4% improvement in convergence speed over other federated baselines.
  • Scalability: Tests on the DBLP 200K dataset proved that the MCMC sampling and Hessian approximation allow the model to handle industrial-scale graphs efficiently.

Limitations and Future Work

While UFGM is a major step forward, the authors note a few areas for improvement:

  • Key Management: The system currently relies on a shared encryption key ($K$) among all clients. In a real-world adversarial setting, managing this key securely across hundreds of independent organizations would be a significant challenge.
  • Hyperparameter Sensitivity: The "trust-region radius" requires careful tuning; if it's too large, the model misses the optimal solution; if it's too small, convergence slows to a crawl.
  • Heterogeneity: Future work could explore how the model handles "Non-IID" data—situations where different clients have wildly different graph structures or distributions.

Summary updated

BibTeX
@inproceedings{zhou2024effective,
  author = {Yang Zhou and Zijie Zhang and Zeru Zhang and Lingjuan Lyu and Wei-Shinn Ku},
  title = {{Effective Federated Graph Matching}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=rSfzchjIYu},
}
Figure