Heterogeneous Graph Backdoor Attack

Jiawei Chen, Lusi Li, Daniel Takabi, Masha Sosonkina, Rui NingarXiv 2025 · DOI

Abstract

Heterogeneous Graph Neural Networks (HGNNs) have become essential for modeling complex real-world data, such as recommendation systems and social networks. However, their security against adversarial threats is not well understood. We present the Heterogeneous Graph Backdoor Attack (HGBA), the first backdoor attack specifically tailored for heterogeneous environments. Unlike traditional attacks that rely on complex subgraph triggers, HGBA introduces a "relation-based" trigger—a single strategic edge established via a specific metapath. Our approach addresses key limitations in existing methods, including high attack budgets and trigger fragility. Experimental results across multiple benchmarks demonstrate that HGBA achieves an Attack Success Rate (ASR) exceeding 90% while maintaining high stealth and robustness against common GNN defenses.

Introduction

Graph Neural Networks (GNNs) are widely deployed in critical domains. While homogeneous graphs (single node/edge type) have been the primary focus of security research, real-world data is inherently heterogeneous. A bibliographic network, for instance, contains distinct node types like "Author," "Paper," and "Venue," connected by various relations. This complexity presents both a challenge and an opportunity for adversarial attacks.

Backdoor attacks aim to embed a hidden trigger into a model during training, causing it to misclassify specific inputs when the trigger is present while behaving normally on clean data. Existing backdoor attacks designed for homogeneous graphs often fail in heterogeneous settings because they require injecting complex subgraphs, which are easily detectable and computationally expensive.

Methodology: The HGBA Framework

The core innovation of HGBA is the transition from subgraph-based triggers to Relation-Based Triggers. Instead of injecting a cluster of new nodes, HGBA establishes a single connection between a "trigger node" and a "poisoned node" through a predefined metapath.

Overview of Heterogeneous Graph components: (a) Node and edge types, (b) an example graph structure, and (c) common metapaths used for relation-based triggers.

Trigger and Metapath Selection

The effectiveness of HGBA relies on two critical selection processes:

  1. Trigger Node Selection: Using Betweenness Centrality, the authors identify optimal trigger nodes. Interestingly, nodes with low centrality—those on the network's periphery—are more effective. These nodes provide a "cleaner" signal, allowing the model to more easily associate the specific relation with the target malicious label without interference from dense network traffic.
  2. Metapath Selection: A proxy model is employed to determine which relationship paths (e.g., Paper-Author-Paper) most significantly influence the target model's decisions. The attack is then anchored to these influential paths.

Attack Strategies

HGBA supports two primary activation modes:

  • Self-Node Attack: The attacker triggers the backdoor on nodes they have created (e.g., a malicious user account).
  • Indiscriminate Attack: The attacker uses a "replica" trigger node to hijack the classification of any existing target node within the network.

Experimental Evaluation

The framework was evaluated on three major heterogeneous benchmarks: ACM (citation network), DBLP (bibliographic network), and IMDB (movie network). To ensure the attack's generalizability, it was also tested on homogeneous datasets like Cora and PubMed.

A significant contribution of this work is the refinement of the Attack Success Rate (ASR) measurement. Traditional methods often suffer from "cross-node interference," where multiple triggers in a neighborhood distort results. HGBA proposes a protocol that evaluates triggers on a single sample at a time to ensure measurement accuracy.

Results and Discussion

HGBA demonstrates significant advantages over state-of-the-art homogeneous attacks:

  • High Success with Low Budget: With an attack budget of only 1%, HGBA consistently achieved an ASR of over 90%. Homogeneous attacks often struggled to reach 50% on the same heterogeneous data.
  • Stealth and Stability: The attack has a negligible impact on "Clean Accuracy," ensuring the model's normal performance remains intact. Furthermore, because the trigger is structural (relation-based) rather than feature-based, it remains robust even if node attributes change or are noisy.
  • Defense Resistance: HGBA successfully bypassed established graph defenses, including Prune, GNNGuard, and RobustGCN, which typically look for anomalous node features or dense subgraphs.

Conclusion

HGBA represents a paradigm shift in graph security, demonstrating that subtle, relation-based triggers can be far more effective and stealthy than complex structural modifications in heterogeneous networks. The "centrality paradox" discovered in this research suggests that defenders must look beyond high-traffic nodes to secure their models. Future research will focus on optimizing metapath identification and developing specialized defenses capable of detecting these subtle relational anomalies.

Summary updated

BibTeX
@misc{chen2025heterogeneous,
  author = {Jiawei Chen and Lusi Li and Daniel Takabi and Masha Sosonkina and Rui Ning},
  title = {{Heterogeneous Graph Backdoor Attack}},
  year = {2025},
  eprint = {2506.00191},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.00191},
}
Figure