Abstract
Graph Anomaly Detection (GAD) is essential for identifying outliers in structured data, yet privacy concerns often prevent the centralization of such data. While Federated Learning (FL) offers a distributed alternative, it struggles with node-level anomalies, data heterogeneity (non-IID), and high communication costs. We present LG-FGAD, a framework that addresses these challenges through adversarial anomaly generation and a dual "teacher-student" knowledge distillation approach. Our method allows clients to maintain personalized local models while contributing to a global student model, significantly improving detection accuracy and communication efficiency.
Introduction
Graph Anomaly Detection is critical for identifying outliers in complex structures like molecular networks, social circles, or biological systems. Traditionally, GAD requires a centralized dataset. However, in the real world, data is often locked in silos due to privacy concerns. Applying Federated Learning to graphs introduces three major hurdles: node-level neglect, data heterogeneity (non-IID), and high communication complexity. LG-FGAD is designed to overcome these by combining adversarial generation with a novel distillation mechanism.
Methodology
The LG-FGAD framework consists of three core components designed to enhance local awareness and global collaboration:
- Self-Adversarial Generation: Each client utilizes a generative module to create synthetic anomalous graphs, training a discriminator to distinguish them from normal local data.
- Local-Global Anomaly Awareness (LGMI): Using Mutual Information (MI), the model maximizes the correlation between node-level and graph-level features (local) while minimizing the correlation between normal and anomalous features (global).
- Dual Knowledge Distillation: This is the primary mechanism for handling non-IID data. Each client maintains a complex, personalized Teacher model and a simplified Student model. Only the Student models are transmitted to the central server for aggregation, reducing communication overhead.
Experimental Evaluation
The framework was evaluated using several real-world graph benchmarks from the TUDataset, including IMDB-BINARY, MUTAG, and MOLECULES. These datasets cover both IID and non-IID settings, representing domains from social networks to chemical compounds.
Key Results
LG-FGAD consistently outperformed state-of-the-art baselines such as FedAvg and FedStar. On the IMDB-BINARY dataset, the model improved AUC and F1-scores by over 10% compared to the nearest competitor.
Furthermore, the model demonstrated exceptional stability as the number of clients increased. While baseline methods like FedStar showed significant performance degradation and fluctuation in larger networks, LG-FGAD maintained high AUC and F1-scores, proving its robustness in scaled federated environments.
Conclusion
LG-FGAD provides a robust solution for federated graph anomaly detection by balancing local personalization with global knowledge sharing. By utilizing a teacher-student distillation approach, it effectively manages data heterogeneity and communication costs. Future work will focus on incorporating formal differential privacy techniques to further harden the framework against sophisticated inference attacks.
Summary updated