GraphCloak: Safeguarding Task-specific Knowledge within Graph-structured Data from Unauthorized Exploitation

Yixin Liu, Chenrui Fan, Xun Chen, Pan Zhou, Lichao SunarXiv 2023 · DOI

Abstract

GraphCloak is a novel framework designed to protect graph-structured data from unauthorized exploitation by AI models. By injecting subtle, imperceptible perturbations into a graph’s structure and features, the framework creates "unlearnable" examples. These perturbations trick Graph Neural Networks (GNNs) into learning brittle shortcut patterns instead of the data's inherent knowledge, effectively rendering the data useless for unauthorized training while preserving its utility for legitimate applications.

Introduction

In the era of "big data," personal and proprietary information is frequently harvested from the internet to train commercial AI models without user consent. While techniques for creating "unlearnable examples" have been developed for images, the graph domain—encompassing social networks and protein interactions—remains largely unprotected. Graphs present unique challenges: their discrete nature (edges either exist or do not) makes standard optimization difficult, and they are often subject to automated anomaly detection that can flag obvious noise.

Overview of the GraphCloak framework, illustrating the data provider's use of the tool to protect data from unauthorized training while allowing authorized usage.

Methodology

GraphCloak addresses these challenges through a bi-level optimization approach, aiming to maximize the error of an unauthorized model while minimizing the visibility of modifications. The framework employs three distinct poisoning strategies:

  • EMinS (Error-minimizing Structural Poisoning): Targets graph topology using a specialized GradArgMax algorithm to identify which edge modifications most effectively confuse training models.
  • EMinF (Error-minimizing Feature Poisoning): Targets node attributes. It utilizes Projected Gradient Descent (PGD) with Softmax Sampling to optimize in a continuous space before mapping features back to discrete values.
  • SubInj (Subgraph Injection Poisoning): A training-free, black-box approach that injects small, class-specific "trigger" subgraphs. This creates false correlations that GNNs prioritize over real data features.

Experimental Results

The framework was evaluated across six benchmark datasets, including bio-informatics (MUTAG, ENZYMES, PROTEINS) and social networks (IMDB-BINARY, IMDB-MULTI, COLLAB).

Performance comparison across various datasets and GNN architectures (GCN, GAT, GIN, Sage). The charts demonstrate significant accuracy drops for unauthorized models trained on cloaked data compared to clean data.

Key Insights

  • Effectiveness: On the COLLAB dataset, the EMinF method caused a 47.76% drop in accuracy for a GraphSage model with a minimal modification budget ($\beta = 0.05$).
  • Stealth: The EMinF method often made graphs appear less anomalous to automated detectors than the original clean data, effectively providing digital camouflage.
  • Utility Preservation: Data can be cloaked for a specific task (e.g., toxicity prediction) without significantly degrading performance on unrelated tasks (e.g., molecular weight prediction).
  • Resilience: Standard defenses, such as Adversarial Training and Robust GNNs, failed to bypass the protection. In some instances, adversarial training even reinforced the effectiveness of the cloak.

Conclusion and Future Work

GraphCloak successfully exploits the "shortcut learning" tendencies of GNNs to protect sensitive graph data. While highly effective, future work will focus on improving protection against attackers with access to large amounts of clean data and automatically determining optimal modification budgets. The researchers also suggest that using model ensembles to generate noise could further enhance the transferability of the protection across unknown GNN architectures.

Summary updated

BibTeX
@misc{liu2023graphcloak,
  author = {Yixin Liu and Chenrui Fan and Xun Chen and Pan Zhou and Lichao Sun},
  title = {{GraphCloak: Safeguarding Task-specific Knowledge within Graph-structured Data from Unauthorized Exploitation}},
  year = {2023},
  eprint = {2310.07100},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.07100},
}
Figure