Distributed Backdoor Attacks on Federated Graph Learning and Certified Defenses

Yuxin Yang, Qiang Li, Jinyuan Jia, Yuan Hong, Binghui Wang · DOI

Introduction

Federated Graph Learning (FedGL) has emerged as a powerful paradigm for training graph neural networks (GNNs) on decentralized, privacy-sensitive data, such as financial transactions or medical records. However, the distributed nature of Federated Learning (FL) makes it susceptible to adversarial threats. This paper, presented at CCS '24, introduces Opt-GDBA, a sophisticated distributed backdoor attack, and proposes the first certified defense specifically tailored for the unique structural complexities of graph data in a federated setting.

The Challenge of Graph Backdoors

Backdoor attacks aim to inject "triggers" into training data so that the final model misclassifies inputs containing the trigger during deployment. While well-understood in the image domain, graph-based backdoors face significant hurdles:

  1. Structural Variability: Graphs lack the fixed grid structure of images, varying wildly in size and connectivity.
  2. Context Dependency: There are no global coordinates; a trigger's impact depends entirely on its local structural context.
  3. Feature-Topology Synergy: Effective attacks must simultaneously manipulate node features and edge connections.

Existing attacks often rely on static or random triggers, which are frequently ineffective or easily detected.

Methodology: The Opt-GDBA Attack

The authors developed the Optimized Distributed Backdoor Attack (Opt-GDBA) to overcome these challenges. Opt-GDBA employs an Adaptive Trigger Generator that learns to place and shape triggers based on the target graph's specific characteristics.

The architecture of the Optimized Distributed Backdoor Attack (Opt-GDBA), featuring adaptive trigger location and shape learning.

The attack pipeline consists of three core components:

  • Node Importance Scoring: Utilizing EdgeView and NodeView networks, the attack identifies the most influential nodes within a graph to maximize the trigger's impact.
  • Trigger Location Learning: Triggers are strategically placed on high-importance nodes. A "Customized-Trigger" variant uses Gap statistics and K-means clustering to automatically optimize trigger size for individual graphs.
  • Trigger Shape Learning: Attention mechanisms (EdgeAtt and NodeAtt) are used to optimize the specific edges and node features of the trigger, ensuring both high success rates and stealthiness.

Certified Defense via Deterministic Partitioning

To counter such sophisticated attacks, the paper introduces a novel certified defense based on a majority-vote ensemble classifier. The defense relies on two key principles:

  1. Deterministic Division: A cryptographic hash function maps every node and edge of a test graph into one of $T$ disjoint subgraphs. This mapping is independent of graph structure, preventing attackers from manipulating the partitioning process.
  2. Ensemble Prediction and Certification: A base classifier predicts labels for each subgraph, and the final output is determined by a majority vote. The authors provide a mathematical proof defining a "certified perturbation size"—the maximum number of modified elements the model can tolerate while still guaranteeing a correct classification.

Experimental Evaluation

The proposed methods were evaluated on six diverse real-world benchmarks, including BITCOIN (fraud detection), MUTAG (molecular classification), and COLLAB (social networks).

Performance comparison (MA/BA) of Opt-GDBA against baselines across six datasets, highlighting the effectiveness of customized triggers.

Key Results

  • Attack Success: Opt-GDBA achieved over 90% Backdoor Accuracy (BA) on nearly all datasets, significantly outperforming previous state-of-the-art methods like Rand-GDBA by margins of 30% to 46%.
  • Defense Robustness: The certified defense successfully reduced the BA to 0% across all tested datasets, effectively neutralizing the Opt-GDBA attack.
  • Main Task Accuracy: On datasets like BITCOIN, the defense maintained high accuracy on clean graphs. However, a trade-off was observed in denser datasets like PROTEINS, where certified accuracy was lower.

Conclusion and Future Work

This work highlights a critical vulnerability in Federated Graph Learning and provides a robust, mathematically grounded solution. While the defense is highly effective, future research is needed to address the "density gap" in large graphs and reduce the computational overhead associated with ensemble-based inference. The deterministic partitioning approach sets a new standard for provable security in graph-based federated environments.

Summary updated

BibTeX
@inproceedings{yang2024distributed,
  author = {Yuxin Yang and Qiang Li and Jinyuan Jia and Yuan Hong and Binghui Wang},
  title = {{Distributed Backdoor Attacks on Federated Graph Learning and Certified Defenses}},
  booktitle = {CCS},
  year = {2024},
  url = {https://openreview.net/forum?id=6LUrhUtsv3},
}
Figure