HeteroHBA: A Generative Structure-Manipulating Backdoor Attack on Heterogeneous Graphs

Honglin Gao, Lan Zhao, Junhao Ren, Xiang Li, Gaoxi Xiao · DOI

Abstract

Graph Neural Networks (GNNs) are increasingly deployed in critical applications, yet their vulnerability to backdoor attacks remains a significant concern. While previous research has focused on homogeneous graphs, real-world data is often heterogeneous, involving diverse node and edge types. This paper introduces HeteroHBA (Heterogeneous Hierarchical Backdoor Attack), a novel generative framework that synthesizes instance-adaptive triggers. By aligning trigger distributions with benign data and selecting influential attachment points, HeteroHBA achieves near-perfect attack success rates while remaining undetectable by state-of-the-art defenses.

Introduction

Backdoor attacks involve injecting a hidden trigger into training data so that a model behaves normally on clean inputs but predicts a target class when the trigger is present at test time. In the context of Heterogeneous Graphs (HGs), which model complex relationships between different entity types (e.g., authors, papers, and venues), existing attacks often rely on static, hand-crafted triggers. These fixed patterns are frequently detectable by structural or statistical anomaly detectors.

Overview of the backdoor attack phases in a heterogeneous graph environment, showing the transition from an original graph to a poisoned graph and the subsequent training of a backdoor model.

HeteroHBA addresses these limitations by moving toward a generative, instance-adaptive approach. Instead of a one-size-fits-all trigger, it creates custom triggers tailored to the local context of each victim node, ensuring high potency and stealth.

The HeteroHBA Framework

The HeteroHBA framework consists of three hierarchical stages designed to optimize both attack effectiveness and invisibility:

  1. Candidate Pool Construction: To maximize the impact of the injected trigger, the attack identifies "influential" auxiliary neighbors using a saliency-based screening mechanism. These nodes serve as the primary attachment points, allowing adversarial information to propagate efficiently through the graph's meta-paths.
  2. GraphTrojanNet: This generative component synthesizes custom trigger nodes. Using a multi-head attention mechanism, it determines the optimal structural connections between the trigger and the candidate pool, ensuring the pattern appears natural within the local subgraph.
  3. Statistical Stealthiness (IDA-AT Module): To bypass feature-based anomaly detection, the framework employs Adaptive Instance Normalization (AdaIN) and an IDA-AT module. This module minimizes Maximum Mean Discrepancy (MMD) to align the statistical distribution of trigger features with those of benign nodes.
Detailed architecture of HeteroHBA, illustrating candidate pool construction, the bi-level optimization process using GraphTrojanNet, and the IDA-AT module for statistical alignment.

The entire framework is optimized via a bi-level objective function, where the upper level maximizes the attack success rate and the lower level simulates the training of the victim HGNN model.

Experimental Evaluation

The researchers evaluated HeteroHBA using three benchmark heterogeneous datasets: ACM (citation network), IMDB (movie database), and DBLP (bibliography). The attack was tested against three prominent HGNN architectures: HAN, HGT, and SimpleHGN.

Key Results

  • High Potency: HeteroHBA consistently achieved an Attack Success Rate (ASR) of nearly 100% across all tested datasets and models, significantly outperforming static baseline attacks.
  • Stealth and Utility: The Clean Accuracy Drop (CAD) was negligible, meaning the poisoned models maintained standard performance on legitimate tasks, making the backdoor virtually invisible to end-users.
  • Defense Resilience: The authors introduced a new Cluster-based Structural Defense (CSD) using PCA and clustering to identify suspicious nodes. While CSD successfully neutralized traditional attacks, HeteroHBA remained effective due to its distribution-aligned, adaptive triggers.

Conclusion

HeteroHBA demonstrates that generative, instance-adaptive triggers represent a significant escalation in the threat landscape for heterogeneous graph security. By leveraging influential neighbors and rigorous statistical alignment, attackers can create backdoors that are both highly effective and remarkably difficult to detect. Future work must focus on developing more robust structural pruning and generalized defense mechanisms to counter these adaptive threats.

Summary updated

BibTeX
@article{gao2026heterohba,
  author = {Honglin Gao and Lan Zhao and Junhao Ren and Xiang Li and Gaoxi Xiao},
  title = {{HeteroHBA: A Generative Structure-Manipulating Backdoor Attack on Heterogeneous Graphs}},
  journal = {Knowledge-Based Systems},
  year = {2026},
  doi = {10.1016/j.knosys.2026.116456},
}
Figure