Model Extraction Without Graphs Structure: How Homophily Drives Attack Effectiveness

Xuehai Wu, Qiong WuNPGML @ NeurIPS 2025

TL;DR

This paper reveals that graph homophily (the tendency of connected nodes to share labels) is the most critical factor for successful "model extraction" attacks on Graph Neural Networks (GNNs) when the attacker doesn't have access to the graph structure. Surprisingly, GNNs designed to be robust to heterophily (dissimilar connected nodes) are more vulnerable to these attacks, and the effectiveness of structure-learning methods is also heavily dependent on homophily.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) are increasingly used in sensitive applications, making them targets for "model extraction" attacks. These attacks aim to steal the GNN's functionality by querying it and training a surrogate model. Traditionally, these attacks assume the attacker has full access to the graph's structure. However, in many real-world scenarios (e.g., privacy-preserving systems), attackers only have access to node features and the model's predictions, not the underlying graph topology. This paper tackles the challenge of performing these "structure-free" model extraction attacks and investigates what factors influence their success in these more realistic, constrained environments.

Methods

The core of this research is an extensive empirical study. The authors investigate model extraction attacks under structure-free conditions, focusing on two key aspects:

  • Graph Homophily: They analyze both "total homophily" (overall graph property) and "train-test homophily" (homophily specifically across edges connecting training and testing nodes).
  • GNN Architectures: They compare the vulnerability of standard GNNs (like GCNs, which are sensitive to homophily) against GNNs designed to be resilient to heterophily (like FAGCNs).
  • Graph Structure Learning (GSL): They evaluate how methods that try to infer a "proxy" graph structure from node features impact attack fidelity, especially in low-structure scenarios.

The attack setup involves an attacker querying a target GNN with node features to obtain predictions, then using these to train a surrogate model. When GSL methods are used, they first infer a synthetic graph structure before training the surrogate.

Datasets

The authors evaluated their findings on ten benchmark datasets, chosen to represent a spectrum of homophily levels:

  • Homophilic Citation Networks: Cora, Citeseer, Pubmed
  • Heterophilic Social Networks: Actor, Chameleon, Squirrel
  • Moderately Heterophilic Webpage Networks: Cornell, Texas, Wisconsin
  • Unique Structural Patterns: Minesweeper

These datasets were used with standard GNN architectures (GCN) and heterophily-resilient architectures (FAGCN).

Key Insights and Ideas

  • Homophily is King (for Attackers): The study unequivocally shows that higher train-test homophily is the primary driver of successful structure-free model extraction. When connected nodes share labels, attackers can more easily infer the model's behavior.
  • Heterophily-Resilient Models are More Vulnerable: Counterintuitively, GNNs designed to handle heterophily (like FAGCN) are more susceptible to extraction attacks than standard GCNs, especially in low-homophily settings. This suggests that their reliance on features over potentially noisy structure makes their decision boundaries easier to learn.
  • GSL's Effectiveness is Homophily-Dependent: Graph Structure Learning methods, which aim to reconstruct a graph, only provide significant fidelity gains in high-homophily scenarios. In low-homophily settings, they can even be detrimental by introducing misleading structure.

Key Results

  • High Homophily = High Fidelity: Attack fidelity can reach up to 77% on highly homophilic datasets.
  • Low Homophily = Low Fidelity: Performance drops significantly on low-homophily datasets, with fidelity often being much lower.
  • FAGCN Vulnerability: The MLP surrogate model, which ignores graph structure entirely, performs surprisingly well against FAGCN targets, often matching or exceeding its performance against GCN targets, particularly on low-homophily datasets.
  • GSL Gains: In high-homophily settings, GSL methods consistently outperform feature-only MLP surrogates. For example, on Cora (high homophily), GSL methods achieve fidelities around 70-80%, while MLP might be lower. Conversely, on Squirrel (low homophily), GSL gains are mixed or negative.

Limitations and Future Work

  • Classification Focus: The current study primarily focuses on model extraction for node classification tasks. The authors suggest exploring other GNN tasks like link prediction and graph regression, which might have different extraction dynamics.
  • Static Graphs: The evaluation was limited to static graphs. Future work could extend the analysis to temporal graphs or multi-relational settings to better capture real-world complexities.
  • Dynamic/Evolving Structures: The diversity of real-world graphs, especially those with dynamic or evolving structures, might not be fully captured by the current dataset selection.

The paper concludes that homophily is a critical security determinant for GNNs in structure-limited environments, and understanding this relationship is key for designing more robust architectures and defenses.

Summary updated

BibTeX
@inproceedings{wu2025model,
  author = {Xuehai Wu and Qiong Wu},
  title = {{Model Extraction Without Graphs Structure: How Homophily Drives Attack Effectiveness}},
  booktitle = {NPGML @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=mhNsnIaCov},
}
Figure