Target-Aware Interaction-Guided Reinforcement Learning for Black-Box Node Injection Attacks on Graph Neural Networks


Abstract

Graph Neural Networks (GNNs) have achieved remarkable performance in graph representation learning, yet their inherent vulnerability to adversarial attacks poses severe security risks. Especially, black-box node injection attacks have become a major threat to GNNs since they inject malicious nodes without altering the original graph topology. However, they typically decouple the generation of malicious node features and edge connections, thereby resulting in suboptimal attack efficacy under stringent budgets. To address this critical issue, this study proposes a novel Target-aware Interaction-guided Reinforcement learning for Black-box node injection Attacks on GNNs (TIRBA), which formulates the attack as a Markov Decision Process and jointly optimizes node feature generation and edge construction in a heterogeneous action space. Firstly, TIRBA designs a target-aware interaction encoder to fuse information of node features and edges. Further, it introduces a class-center guidance mechanism to utilize prior class distribution information, thereby guiding efficient exploration of the high-dimensional feature space. Finally, a topology difference-aware state value evaluation is adopted to explicitly capture local structural anomalies caused by injected nodes, thereby stabilizing the reinforcement learning training process. Experimental results demonstrate that the proposed TIRBA significantly outperforms state-of-the-art black-box node injection attack methods.

1 INTRODUCTION↩︎

Graph Neural Networks (GNNs) have achieved strong performance on graph-structured data but remain vulnerable to adversarial attacks [1], [2], highlighting the necessity of investigating graph representation vulnerabilities under diverse adversarial setups [3][6]. This inherent fragility has recently sparked comprehensive studies into certified robustness, privacy leakage, and generalized evaluation frameworks across various graph topologies [7][10]. Small perturbations may substantially degrade model predictions, raising concerns in security-sensitive applications such as fraud detection [11][13], as well as in other critical domains where adversarial instances manipulate social engagements, target model explanations, or disrupt dynamic link predictions [14][17]. Graph Modification Attacks (GMA) alter existing edges or node attributes [18], [19], and therefore require modification permissions that may be unavailable in practical adversarial scenarios [20][23]. By contrast, Node Injection Attacks (NIA) add fabricated nodes and incident edges while preserving all pre-existing nodes, attributes, and edges [24]. For example, an adversary may create new accounts and connect them to existing users to influence a graph-based decision system [25], [26]. NIA is therefore feasible when adversaries can create new entities but cannot modify historical graph records [27].

Despite its practicality, executing effective black-box NIA remains technically challenging due to the massive discrete search space and complex graph topologies [28][31]. First, attackers cannot access the victim model’s architecture, parameters, gradients, or intermediate representations and must optimize the attack through prediction-score queries [32], a process that often leverages cluster priors, node voting mechanisms, or unnoticeable homogeneous node injections to circumvent defensive barriers [33][36]. Second, because GNNs couple structural and attribute information during message passing, node features and edges are deeply intertwined [37][39]. However, existing methods often isolate feature generation and edge construction into separate stages, weakening their intrinsic coordination under tight query and perturbation budgets [27]. Furthermore, surrogate-based methods may exhibit limited transferability because of mismatched decision boundaries [2], making direct black-box optimization highly desirable yet complex [40][43]. Searching a massive, discrete, and high-dimensional combinatorial space using only query feedback and without heuristic guidance also makes optimization inefficient and unstable [44], [45].

To address these issues, we propose TIRBA. TIRBA retains the standard Advantage Actor-Critic (A2C) objective [46] but redesigns its actor and critic for feature generation and additional-edge selection in node injection. To coordinate heterogeneous generation, TIRBA introduces a target-aware interaction encoder that fuses parallel feature and topology representations, which helps overcome the information isolation problem in sequential generation [47][50]. Additionally, a Class-Center Guidance Mechanism utilizes prior class vectors to steer feature generation and applies Gumbel-Softmax for end-to-end differentiability. Finally, a Topology Difference-Aware State Value Evaluation uses the representation discrepancy between the target and its original neighbors as an explicit signal for state-value estimation. The main contributions of this paper are summarized as follows:

  • We propose TIRBA, a black-box node injection attack framework based on the A2C algorithm [46]. It formulates feature generation and edge selection as a Markov Decision Process and performs end-to-end optimization in a heterogeneous action space.

  • We introduce a target-aware interaction encoder, label-informed class-center guidance, and topology difference-aware state value evaluation. These mechanisms adapt the actor and critic to feature-topology dependencies in node injection.

  • We conduct extensive experiments on four real-world benchmark datasets with several widely used GNN models. The results demonstrate that TIRBA achieves superior attack performance compared with existing state-of-the-art methods.

2 RELATED WORK↩︎

2.1 Adversarial Attacks↩︎

With the widespread adoption of deep learning on non-Euclidean data, the robustness of GNNs has received extensive attention [51][54]. Existing adversarial attacks on graphs are broadly categorized into evasion attacks and poisoning attacks [27]. Early studies predominantly focused on GMA [18][19]. For instance, the projected gradient descent (PGD) [55], [56] method leverages the gradient information of the target model to guide the attack. It modifies original edges or node features in the graph to mislead the model’s predictions [57][60]. Such gradient-based attacks can be white-box when differentiating through the victim model or transfer-based black-box when using a surrogate, while GMA still requires permission to modify pre-existing graph elements [1], [27]. In actual security-sensitive scenarios, such global modifications can easily trigger alarms in defense systems [61][64]. Consequently, the practical applicability of these attacks is profoundly limited [2].

2.2 Node Injection Attacks↩︎

To overcome the practical limitations of GMA, NIA was introduced [24]. In NIA, the attacker is only permitted to inject a limited number of fabricated nodes into the graph and cannot alter any original benign structures [65][68]. This paradigm renders the attack stealthier [27]. In recent years, several NIA methods have been proposed to evaluate and expose GNN security risks [24], [69][72]. For example, TDGIA employs a heuristic edge connection rule based on topological defects [73]. GCIA incorporates graph contrastive learning to enhance query efficiency in a black-box setting [74]. G\(^2\)A2C adopts an Actor-Critic reinforcement learning architecture, formulating the attack as a sequential decision problem [75].Notably, reinforcement learning has demonstrated immense potential in orchestrating versatile black-box and universal graph attacks, while also prompting cutting-edge research into its own specific adversarial and backdoor vulnerabilities [76][79].

Sequential node injection methods commonly generate features before performing the subsequent edge-wiring decisions, which may weaken coordination between the two stages. To mitigate this problem, TIRBA introduces a target-aware interaction encoder to exchange information between the feature and topology branches. It further uses class-center guidance and topology difference-aware state value evaluation. Each injected node is first connected to the target by a mandatory anchoring edge, while the learned edge policy selects additional endpoints only when the edge budget exceeds one. The actor and critic are optimized jointly through score-based rewards without differentiating through the victim model.

3 PRELIMINARY↩︎

3.1 Graph Neural Networks↩︎

We define an undirected attributed graph \(G = (A, X)\), where \(A \in \{0,1\}^{N \times N}\) is the adjacency matrix corresponding to the edge set \(E\), and \(X \in \mathbb{R}^{N \times d}\) is the node feature matrix. Specifically, \(A_{ij} = 1\) if an edge exists, and \(A_{ij} = 0\) otherwise. GNN learns node representations by aggregating information from local neighbors. For a GNN with \(L\) layers, the message passing process of the feature representation \(H^{(l)}\) at layer \(l\) is defined as:

\[H^{(l)} = \sigma \left( \text{AGGREGATE}\left(A, H^{(l-1)}\right) W^{(l)} \right)\] where \(H^{(0)} = X\) denotes the initial feature matrix, \(\sigma(\cdot)\) is the activation function, \(W^{(l)}\) is the weight matrix, and \(\text{AGGREGATE}(\cdot)\) signifies the aggregation function. For example, in a Graph Convolutional Network [80], the propagation rule is given by:

\[H^{(l)} = \sigma \left( \tilde{D}^{-\frac{1}{2}} \tilde{A} \tilde{D}^{-\frac{1}{2}} H^{(l-1)} W^{(l)} \right)\] where \(\tilde{A} = A + I_N\), and \(\tilde{D}\) is the corresponding degree matrix of \(\tilde{A}\). In this paper, the experiments evaluate several models, such as GCN [80], SGC [81], APPNP [82], and GAT [83]. All these models adhere to this general framework. For classification tasks, the model’s output is mapped by the Softmax function to a probability distribution \(Z \in \mathbb{R}^{N \times C}\), where \(C\) is the number of classes. The fully trained black-box victim model is denoted as \(f_{\theta^*}(\cdot)\).

3.2 Attack Formulation↩︎

This paper focuses on the Black-box Evasion Attack within a node classification scenario [84]. In this setting, the attacker lacks access to the internal structure, weight gradients, and specific training data of the victim model \(f_{\theta^*}\), relying solely on external feedback [85][88]. They can only query the target model a limited number of times and utilize the output feedback to guide the attack strategy. To conduct the attack without perturbing original benign nodes, NIA permits the attacker to inject fabricated, malicious nodes into the original graph \(G\) [89][92]. Assuming the target node is \(v_t\), the attacker’s objective is to construct a feature matrix \(X_a \in \mathbb{R}^{\mathcal{B}_n \times d}\) for the injected nodes and a connection matrix \(A_a \in \{0,1\}^{\mathcal{B}_n \times N}\) linking the injected nodes to the original graph nodes. In this work, we focus on a single-injected-node setting (\(\mathcal{B}_n = 1\)). This yields a newly modified graph \(G' = (A', X')\):

\[A' = \begin{bmatrix} A & A_a^T \\ A_a & 0 \end{bmatrix}, \quad X' = \begin{bmatrix} X \\ X_a \end{bmatrix} \label{eq:injected95graph95matrix}\tag{1}\] To maintain stealthiness, injected nodes remain disconnected from each other. The injection is subjected to strict budgets: the node budget is \(\mathcal{B}_n\), the edge budget is \(\mathcal{B}_e\), and the feature budget is \(\mathcal{B}_x\). Here, \(\mathcal{B}_e\) denotes the maximum number of edges incident to each injected node, including the mandatory target-anchoring edge. Specifically, the number of active feature dimensions in the injected feature matrix \(X_a\) is constrained by \(\sum_{i=1}^{\mathcal{B}_n} \sum_{j=1}^{d} \mathbb{I}(X_a^{(i,j)} > 0) \le \mathcal{B}_x\). The attack aims to identify the optimal \(X_a\) and \(A_a\) within these budgets to maximize the prediction loss on \(v_t\) and induce misclassification. Given the vast discrete search space, we formulate this challenge as an MDP.

4 METHODOLOGY↩︎

4.1 Attack Framework↩︎

Figure 1: Overview of the TIRBA Framework for Black-Box Node Injection Attacks.

Since generating discrete features and edges in a black-box setting is inherently a sequential decision-making process, we formulate it as an MDP and propose TIRBA, an end-to-end Actor-Critic framework (Fig. 1). The Policy Network (Actor) uses a class center vector \(C_{target}\) to generate injected node features and edges. In the single-injected-node setting, the generated feature vector is denoted by \(X_a \in \mathbb{R}^{d}\). The resulting Attack Graph is evaluated via two feedback loops: querying the victim GNN yields the loss variation as the reward, while the Value Network (Critic) calculates the local topology difference \(h_t \ominus h_n\) to estimate the state value. This process iterates until target misclassification or budget exhaustion.

We mathematically define the node injection attack on the victim GNN through the following three core components:

State. The state \(s_t\) at time step \(t\) corresponds to a local sub-graph centered on the target node \(v_t\). This state encapsulates both the local structural matrix and the node feature matrix, providing the agent with a comprehensive observation of the environment.

Action. The action sequence first samples a relaxed feature vector \(X_a\) for the injected node. The injected node is then linked to \(v_t\) by a mandatory target-anchoring edge. If \(\mathcal{B}_e>1\), each remaining edge action selects an unconnected original node \(v_c\) from the candidate set \(\mathcal{V}_c\).

Reward. As an untargeted evasion attack, the reward relies on the Cross-Entropy Loss \(\mathcal{L}\) variation regarding the victim’s initial prediction for \(v_t\), strictly avoiding ground-truth labels. The immediate reward \(r_t\) is the loss discrepancy: \[r_t = \mathcal{L}(v_t, G'_{t+1}) - \mathcal{L}(v_t, G'_t) \label{eq:reward}\tag{2}\] where \(G'_t\) and \(G'_{t+1}\) denote the graph states before and after executing the action \(a_t\).

4.2 Policy Network↩︎

The Policy Network aims to learn the optimal injection strategy. It orchestrates the generation of the injected node’s attributes and topology through three primary modules:

State Encoder. To achieve enhanced target focus, we adopt target-conditioned message passing. Two parallel GATs extract the initial feature embedding \(h_a^{(1)}\) and edge embedding \(h_e^{(1)}\). To facilitate context sharing across both tasks, we concatenate them at the intermediate layer. Subsequently, we explicitly inject the target node’s initial projection embedding \(e_t\) (projected to match the concatenated dimension) to realize target-aware interaction fusion: \[\tilde{h}_a = (h_a^{(1)} \parallel h_e^{(1)}) + e_t\] \[\tilde{h}_e = (h_e^{(1)} \parallel h_a^{(1)}) + e_t\] where \(\parallel\) denotes the concatenation operation. The fused representations are then aggregated by the second GAT layer, which outputs the final state encoding \(h_a\) for feature generation and \(h_e\) for edge sampling.

Node Generator. Exploring a high-dimensional discrete feature space in a black-box setting is highly inefficient. Therefore, we introduce a heuristic guidance mechanism. To cross the decision boundary with minimal cost, we adopt a pseudo-targeted strategy by selecting the second-most probable class as the target class. This pseudo-targeted design acts as an efficient heuristic to rapidly cross the decision boundary for untargeted evasion goals. The decoder first projects \(h_a\) to an initial logit vector \(z\). We then explicitly incorporate the feature center vector \(C_{target}\) of this target class to obtain a guided distribution \(z_g\). To maintain black-box strictness, \(C_{target}\) is estimated by averaging features of accessible nodes assigned to this pseudo-class: \[z_g = z + \alpha \cdot C_{target}\] where \(\alpha\) is a weight parameter controlling the guidance intensity. We apply a continuous relaxation to enable differentiable multi-hot feature sampling. The final relaxed feature row vector \(X_a\) of the injected node is derived as: \[X_a = \text{Sigmoid}\left(\frac{z_g + g}{\tau}\right)\] where \(g\) represents independent noise sampled from the standard Gumbel distribution, and \(\tau\) is a temperature hyperparameter controlling distribution smoothness.

Edge Sampler. When \(\mathcal{B}_e>1\), an MLP computes the additional-edge score \(s_c\) for each candidate original node \(v_c \in \mathcal{V}_c\). The scorer combines the topology representation \(h_e\) and the newly generated feature \(X_a\): \[s_c = \text{MLP}_e \left( h_e^{(v_t)} \parallel h_e^{(v_c)} \parallel (X_a W_p) \right)\] where \(h_e^{(v_t)}\) and \(h_e^{(v_c)}\) represent the specific state encodings of the target node and candidate node, respectively, and \(W_p\) is a feature projection matrix. The resulting scores are transformed into an action probability distribution via Softmax: \[P(v_c | s_t) = \frac{\exp(s_c)}{\sum_{k \in \mathcal{V}_c} \exp(s_k)}\]

4.3 Value Network↩︎

The Value Network estimates the expected return to supervise the Policy Network. Since conventional mean aggregation over-smooths representations and obscures injected structural anomalies, we refine the pooling strategy. We explicitly compute the difference \(h_t \ominus h_n\) between the target node’s hidden state \(h_t\) and its benign neighbors’ mean state \(h_n\). This directly captures the broken homophily caused by injected edges [93], [94]. Finally, the state value \(V_\phi(s_t)\) is evaluated by concatenating these components into an MLP: \[V_\phi(s_t) = \text{MLP}_v \left( h_t \parallel h_n \parallel (h_t \ominus h_n) \right)\] where \(\ominus\) denotes element-wise subtraction, and \(\phi\) represents the learnable parameters of the Critic network. By explicitly capturing this topological discrepancy, the Value Network directly perceives local structural variations caused by the injected node, facilitating faster convergence of the reinforcement learning process.

4.4 Training Algorithm↩︎

TIRBA is trained end-to-end utilizing the Advantage Actor-Critic algorithm [46]. Upon the completion of each attack trajectory, we first compute the cumulative reward \(R_t\) with a discount factor \(\gamma\):

\[R_t = \sum_{k=0}^{\infty} \gamma^k r_{t+k} \label{eq:return}\tag{3}\] where \(r_{t+k}\) represents the immediate reward at future step \(k\). Subsequently, we leverage the baseline from the Critic network to derive the advantage function \(\mathcal{A}(s_t, a_t)\):

\[\mathcal{A}(s_t, a_t) = R_t - V_\phi(s_t) \label{eq:advantage}\tag{4}\]

The policy loss aims to maximize the expected reward:

\[\mathcal{L}_p = -\frac{1}{T} \sum_{t=1}^{T} \log \pi_\theta(a_t | s_t) \mathcal{A}(s_t, a_t) \label{eq:policy95loss}\tag{5}\]

The value loss optimizes the Critic to accurately estimate the state value:

\[\mathcal{L}_v = \frac{1}{T} \sum_{t=1}^{T} \text{SmoothL1}\left(V_\phi(s_t) - R_t\right) \label{eq:value95loss}\tag{6}\]

To enforce the feature budget constraint and preserve attack stealthiness, we introduce a soft penalty formulation regulating the generated values:

\[\mathcal{L}_f = \max \left( 0, \sum_{i=1}^{\mathcal{B}_n} \sum_{j=1}^{d} X_a^{(i,j)} - \mathcal{B}_x \right) \label{eq:feature95budget}\tag{7}\] where \(X_a^{(i,j)}\) is the value of the \(j\)-th dimension in the \(i\)-th generated feature vector, and \(d\) is the total feature dimensionality. \(\mathcal{B}_x\) denotes the node feature perturbation budget predefined by the victim system.

The total optimization objective of the model, denoted as \(\mathcal{L}_{total}\), comprises the policy loss, value loss, and the feature budget penalty:

\[\mathcal{L}_{total} = \mathcal{L}_p + \lambda_v \mathcal{L}_v + \lambda_f \mathcal{L}_f \label{eq:total95loss}\tag{8}\] where \(\lambda_v\) and \(\lambda_f\) are hyperparameters balancing the respective loss components.

5 EXPERIMENTS↩︎

In this section, we comprehensively evaluate TIRBA on four benchmark datasets and compare it against existing state-of-the-art methods. Our experiments are designed to address the following four key research questions: (RQ1) Under the strict black-box single-node injection setting, can TIRBA achieve superior attack performance against various GNN victim models? (RQ2) Do the core components of the TIRBA framework (e.g., target-aware mechanism, guidance mechanism, and topology difference evaluation) effectively contribute to its overall attack efficacy? (RQ3) How does TIRBA’s attack performance fluctuate under varying budget constraints (such as node, edge, and feature budgets)? (RQ4) In practical scenarios, how does TIRBA visually alter the target node’s feature distribution to induce misclassification?

5.1 Experimental Setup↩︎

Datasets. We evaluated the performance of TIRBA on four widely-used real-world graph datasets. These datasets constitute citation networks: Cora, Citeseer [95], Cora-ML [96], and Pubmed [95]. Detailed dataset statistics are summarized in Table ¿tbl:table95datasets?.

Statistics of the Datasets
Nodes Edges Features Classes
Cora 2708 5429 1433 7
Citeseer 3327 4732 3703 6
Cora-ML 2995 8416 2879 7
Pubmed 19717 44338 500 3

Victim Models. To verify the generalization capability of the proposed attack, we selected four mainstream Graph Neural Network architectures as victim models: GCN [80], SGC [81], APPNP [82], and GAT [83].

Baselines. To evaluate TIRBA, we employ Clean (no attack) and Random baselines alongside four advanced node injection attacks: heuristic-based TDGIA [73], gradient-optimized PGD [55], [56], contrastive-driven GCIA [74], and RL-based G\(^2\)A2C [75]. All experiments strictly constrain the attack budget per target to 1 injected node and 1 edge.

5.2 Performance Comparison↩︎

To comprehensively validate TIRBA’s attack capabilities under a strict black-box single-node injection setting, we conducted extensive evaluations against five diverse baseline methods. The experiments span four widely adopted benchmark datasets (Cora, Citeseer [95], Cora-ML, Pubmed [95]) and four representative GNN architectures (GCN [80], SGC [81], APPNP [82], GAT [83]). As quantitatively detailed in Table 1, TIRBA consistently achieves the highest Misclassification Rate across various dataset and model combinations, demonstrating an exceptional generalization capability. Particularly in environments with challenging discrete feature spaces, TIRBA exhibits superior stability and adversarial strength. For instance, it markedly outperforms the highly competitive second-best baseline, PGD [55], [56], on the Cora dataset when attacking the SGC model. Furthermore, its attack success rate approaches an impressive 94% on the Pubmed [95] dataset. These compelling results conclusively demonstrate TIRBA’s robust efficacy and adaptability, even when operating under stringent query constraints and extreme injection budgets. In response to RQ1: In highly restrictive single-node black-box scenarios, TIRBA consistently and significantly outperforms all evaluated baselines. This explicitly proves its outstanding capability in jointly generating robust adversarial node features and edges under tight limitations.

Table 1: Comparison of Misclassification Rate (%) of different injection attack methods on benchmark datasets and target models. Bold numbers show the best performance.
Victim Model Attacks Cora Citeseer Cora-ML Pubmed
Clean 19.80 31.60 21.50 23.70
Random 23.66 37.00 22.83 62.80
GCIA 34.52 45.60 28.26 77.86
GCN PGD 47.97 58.60 52.38 69.22
TDGIA 28.60 41.22 25.84 70.00
G\(^2\)A2C 33.10 53.70 35.21 81.24
Ours 63.80 73.98 58.93 88.76
Clean 21.50 32.90 24.29 22.90
Random 26.14 38.10 27.26 63.64
GCIA 37.44 45.36 37.60 76.94
SGC PGD 48.28 59.53 55.04 66.30
TDGIA 30.44 42.14 28.74 70.18
G\(^2\)A2C 38.56 53.64 36.26 71.90
Ours 69.06 74.04 59.96 81.24
Clean 31.40 36.70 24.80 28.10
Random 34.36 40.32 27.52 61.04
GCIA 38.72 44.52 31.34 65.94
APPNP PGD 40.21 54.47 49.58 69.30
TDGIA 42.44 47.24 32.27 68.18
G\(^2\)A2C 34.14 51.36 36.74 83.16
Ours 68.72 68.26 54.88 86.84
Clean 21.00 31.30 18.64 23.60
Random 22.02 35.02 20.14 63.42
GCIA 27.64 41.24 25.11 76.86
GAT PGD 44.76 51.18 42.46 75.00
TDGIA 28.78 39.28 23.41 79.92
G\(^2\)A2C 26.54 55.52 43.05 87.84
Ours 51.08 64.14 46.99 93.98

5.3 Ablation Study↩︎

Figure 2: Ablation study of the TIRBA framework on Cora and Citeseer datasets.

We conducted an ablation study on the Cora and Citeseer datasets [95] to validate TIRBA’s components (Fig. 2). The full model consistently outperforms its variants. Removing the class-center guidance (w/o Guidance) causes the severest performance drop, highlighting its necessity in reducing the search space. Omitting the target-aware interaction encoder (w/o Target-Aware) significantly lowers the Misclassification Rate, proving that target focus is essential to break local homophily. Finally, excluding the difference-aware evaluation (w/o Diff-Critic) degrades performance, validating its ability to capture topological anomalies. In response to RQ2: All three core components are indispensable for TIRBA’s robust attack efficacy.

5.4 Budget Analysis↩︎

To evaluate how attack budgets affect TIRBA’s efficacy, we analyzed the Misclassification Rate on the Cora and PubMed [95] datasets. As shown in Fig. 3 (), increasing node or edge budgets independently causes the misclassification rate to rise steadily before plateauing, indicating diminishing returns. Similarly, Fig. 3 () illustrates that increasing the feature generation budget quickly saturates the attack performance. Overall, TIRBA maintains a high misclassification rate even under strict, low-budget conditions. In response to RQ3: TIRBA’s attack power rises steadily and plateaus as node, edge, or feature budgets increase. Crucially, it achieves high attack success rates even under extremely tight budget limits.

a
b

Figure 3: The influence of different attack budgets on the Misclassification Rate.. a — Node/Edge Budget, b — Feature Budget

5.5 Case Study↩︎

To visualize TIRBA’s attack effect, we employ T-SNE to map feature embeddings before and after node injection. Fig. 4 () visualizes the clean graph’s feature space, where the original target node (green star) resides accurately within its true class cluster (light red dots), surrounded by its intrinsic neighbors (blue dots). Fig. 4 () displays the post-attack feature space. The TIRBA-injected malicious node (red star) strongly perturbs the target node (black star). Tracking the black dashed line, the target node distinctly shifts from its original cluster and merges into an incorrect class area (light blue dots). This noticeable displacement confirms that TIRBA effectively alters target representations via topological perturbation, successfully inverting the model’s prediction. In response to RQ4: Visual analysis verifies that TIRBA’s injected nodes aggressively pull the target node across the feature space, forcing it to assimilate into a new class cluster and successfully inducing misclassification.

a
b

Figure 4: Visualization of the attack.. a — Before the attack, b — After the attack

6 CONCLUSIONS↩︎

This paper introduces TIRBA, an end-to-end reinforcement learning framework for investigating GNN security vulnerabilities under black-box node injection attacks. Built on the standard A2C objective, TIRBA models feature generation and edge construction within a unified MDP and adapts the actor and critic to the heterogeneous graph attack space. To improve optimization in this large search space, the framework integrates three key components: a target-aware interaction encoder for feature-topology fusion, a class-center guidance mechanism for directed exploration, and a topology difference-aware critic for state-value estimation. Extensive experiments show that TIRBA consistently achieves higher misclassification rates than the evaluated baselines under restrictive attack budgets and across multiple victim architectures. It effectively induces prediction errors on target nodes while preserving the original graph elements. These results demonstrate the effectiveness, adaptability, and practical potential of TIRBA for analyzing and exposing the robustness limitations of GNN-based systems.Future work will explore stealthier and more effective NIA strategies.

References↩︎

[1]
D. Zügner, A. Akbarnejad, and S. Günnemann, “Adversarial attacks on neural networks for graph data,” in Proceedings of the ACM SIGKDD international conference on knowledge discovery & data mining, 2018, pp. 2847–2856.
[2]
H. Zhang, B. Wu, X. Yuan, S. Pan, H. Tong, and J. Pei, “Trustworthy graph neural networks: Aspects, methods, and trends,” PROCEEDINGS OF THE IEEE, vol. 112, no. 2, pp. 97–139, 2024.
[3]
Y. Yuan, S. Wang, H. Zhou, L. Wang, and X. Luo, “A novel approach to temporal qos estimation via extended kalman filter-incorporated latent feature analysis,” IEEE Transactions on Services Computing, 2026.
[4]
J. Li, Y. Yuan, T. He, and X. Luo, “Adaptive pid-incorporated nonnegative latent factor analysis,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2026.
[5]
L. Wang, Y. Yuan, and X. Luo, “Graph tensor convolutional network,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2026.
[6]
J. Li, Y. Yuan, and X. Luo, “Learning error refinement in stochastic gradient descent-based latent factor analysis via diversified pid controllers,” IEEE Transactions on Emerging Topics in Computational Intelligence, 2025.
[7]
B. Wang, M. Pang, and Y. Dong, “Turning strengths into weaknesses: A certified robustness inspired attack framework against graph neural networks,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2023, pp. 16394–16403.
[8]
L. Gosch, D. Sturm, S. Geisler, and S. Günnemann, “Revisiting robustness in graph machine learning,” in ICLR, 2023.
[9]
F. Guan, T. Zhu, W. Zhou, and K.-K. R. Choo, “Graph neural networks: A survey on the links between privacy and security,” Artificial Intelligence Review, vol. 57, no. 2, p. 40, 2024.
[10]
Y. Zhang et al., “A survey on privacy in graph neural networks: Attacks, preservation, and applications,” IEEE Transactions on Knowledge and Data Engineering, vol. 36, no. 12, pp. 7497–7515, 2024.
[11]
Y. Yuan, Y. Wang, and X. Luo, “A node-collaboration-informed graph convolutional network for highly accurate representation to undirected weighted graph,” IEEE Transactions on Neural Networks and Learning Systems, vol. 36, no. 6, pp. 11507–11519, 2024.
[12]
T. He, Z. Duan, and X. Luo, “Modularized graph convolutional network,” IEEE/CAA Journal of Automatica Sinica, vol. 13, no. 3, pp. 737–739, 2026.
[13]
L. Wang, Y. Yuan, and X. Luo, “Advanced high-order graph convolutional networks with assorted time-frequency transforms,” IEEE/CAA Journal of Automatica Sinica, vol. 13, no. 2, pp. 394–408, 2026.
[14]
W. Fan et al., “Jointly attacking graph neural network and its explanations,” in ICDE, 2023, pp. 654–667.
[15]
J. Li, J. Peng, L. Chen, Z. Zheng, T. Liang, and Q. Ling, “Spectral adversarial training for robust graph neural network,” IEEE Transactions on Knowledge and Data Engineering, vol. 35, no. 9, pp. 9240–9253, 2022.
[16]
H. Wang, Y. Dou, C. Chen, L. Sun, P. S. Yu, and K. Shu, “Attacking fake news detectors via manipulating news social engagement,” in Proceedings of the ACM web conference 2023, 2023, pp. 3978–3986.
[17]
D. Lee, J. Lee, and K. Shin, “Spear and shield: Adversarial attacks and defense methods for model-based link prediction on continuous-time dynamic graphs,” in Proceedings of the AAAI conference on artificial intelligence, 2024, vol. 38, pp. 13374–13382.
[18]
K. Sharma, S. Verma, S. Medya, A. Bhattacharya, and S. Ranu, “Task and model agnostic adversarial attack on graph neural networks,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 37, no. 12, pp. 15091–15099, 2023.
[19]
G. Zhu, M. Chen, C. Yuan, and Y. Huang, “Simple and efficient partial graph adversarial attack: A new perspective,” IEEE Transactions on Knowledge and Data Engineering, vol. 36, no. 8, pp. 4245–4259, 2024.
[20]
Y. Yuan, S. Lu, and X. Luo, “A proportional integral controller-enhanced non-negative latent factor analysis model,” IEEE/CAA Journal of Automatica Sinica, vol. 12, no. 6, pp. 1246–1259, 2025.
[21]
L. Wang, K. Liu, and Y. Yuan, “GT-a 2 t: Graph tensor alliance attention network,” IEEE/CAA Journal of Automatica Sinica, vol. 12, no. 10, pp. 2165–2167, 2024.
[22]
Y. Yuan, J. Li, and X. Luo, “A fuzzy PID-incorporated stochastic gradient descent algorithm for fast and accurate latent factor analysis,” IEEE Transactions on Fuzzy Systems, vol. 32, no. 7, pp. 4049–4061, 2024.
[23]
Y. Yuan, X. Luo, M. Shang, and Z. Wang, “A kalman-filter-incorporated latent factor analysis model for temporally dynamic sparse data,” IEEE Transactions on Cybernetics, vol. 53, no. 9, pp. 5788–5801, 2022.
[24]
M. Zhao and J. Zhang, “Highly imperceptible black-box graph injection attacks with reinforcement learning,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 39, no. 12, pp. 13357–13364, 2025.
[25]
N. Zeng, X. Li, P. Wu, H. Li, and X. Luo, “A novel tensor decomposition-based efficient detector for low-altitude aerial objects with knowledge distillation scheme,” IEEE/CAA Journal of Automatica Sinica, vol. 11, no. 2, pp. 487–501, 2024.
[26]
Z. Li, S. Li, and X. Luo, “A novel machine learning system for industrial robot arm calibration,” IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 71, no. 4, pp. 2364–2368, 2023.
[27]
L. Sun et al., “Adversarial Attack and Defense on Graph Data: A Survey,” IEEE Transactions on Knowledge and Data Engineering, pp. 1–20, 2022.
[28]
Y. Yuan, R. Wang, G. Yuan, and L. Xin, “An adaptive divergence-based non-negative latent factor model,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 53, no. 10, pp. 6475–6487, 2023.
[29]
Y. Yuan, Q. He, X. Luo, and M. Shang, “A multilayered-and-randomized latent factor model for high-dimensional and sparse matrices,” IEEE transactions on big data, vol. 8, no. 3, pp. 784–794, 2020.
[30]
Y. Yuan, X. Luo, M. Shang, and D. Wu, “A generalized and fast-converging non-negative latent factor model for predicting user preferences in recommender systems,” in Proceedings of the web conference 2020, 2020, pp. 498–507.
[31]
Y. Yuan, M. Shang, and X. Luo, “Temporal web service QoS prediction via kalman filter-incorporated latent factor analysis.” in ECAI, 2020, pp. 561–568.
[32]
Y. Sun, S. Wang, X. Tang, T.-Y. Hsieh, and V. Honavar, “Adversarial attacks on graph neural networks via node injections: A hierarchical reinforcement learning approach,” in Proceedings of the web conference 2020, 2020, pp. 673–683.
[33]
M. He, P. Zhu, K. Tang, and Y. Guo, “Hypergraph attacks via injecting homogeneous nodes into elite hyperedges,” in Proceedings of the AAAI conference on artificial intelligence, 2025, vol. 39, pp. 282–290.
[34]
Z. Wang, Z. Hao, Z. Wang, H. Su, and J. Zhu, “Cluster attack: Query-based adversarial attacks on graph with graph-dependent priors,” in IJCAI, 2022, pp. 768–775.
[35]
L. Wen, J. Liang, K. Yao, and Z. Wang, “Black-box adversarial attack on graph neural networks with node voting mechanism,” IEEE Transactions on Knowledge and Data Engineering, vol. 36, no. 10, pp. 5025–5038, 2024.
[36]
C. Liu, H. Huang, and X. Zuo, “Query-based and unnoticeable graph injection attack from neighborhood perspective,” in IJCAI, 2025, pp. 3099–3107.
[37]
M. Han, L. Wang, Y. Yuan, and X. Luo, “Sgd-dyg: Self-reliant global dependency apprehending on dynamic graphs,” in Proceedings of the 31st ACM SIGKDD conference on knowledge discovery and data mining v. 2, 2025, pp. 802–813.
[38]
Q. Wang, H. Wu, and X. Luo, “A convolution bias-incorporated nonnegative latent factorization of tensors model for accurate representation learning to dynamic directed graphs,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2025.
[39]
Z. Liu, X. Luo, and M. Zhou, “Symmetry and graph bi-regularized non-negative matrix factorization for precise community detection,” IEEE Transactions on Automation Science and Engineering, vol. 21, no. 2, pp. 1406–1420, 2023.
[40]
D. Wu, S. Li, Y. He, X. Luo, and X. Gao, “Non-gradient hash factor learning for high-dimensional and incomplete data representation learning,” IEEE Transactions on Pattern Analysis and Machine Intelligence, 2026.
[41]
W. Qin, Y. Ding, and X. Luo, “A robust approach to electricity theft detection via tensor representation-driven contrastive distillation,” IEEE Transactions on Industrial Informatics, 2026.
[42]
H. Wu, Q. Wang, X. Luo, and Z. Wang, “Learning accurate representation to nonstandard tensors via a mode-aware tucker network,” IEEE Transactions on Knowledge and Data Engineering, 2025.
[43]
C. Lyu, Z. Ma, X. Luo, and Y. Shi, “Dynamic stochastic reorientation particle swarm optimization for adaptive latent factor analysis in high-dimensional sparse matrices,” IEEE Transactions on Knowledge and Data Engineering, 2025.
[44]
Y. Yuan, X. Luo, and M. Zhou, “Adaptive divergence-based non-negative latent factor analysis of high-dimensional and incomplete matrices from industrial applications,” IEEE Trans. Emerg. Top. Comput. Intell., vol. 8, no. 2, pp. 1209–1222, 2024.
[45]
D. Wu, P. Zhang, Y. He, and X. Luo, MMLF: Multi-metric latent feature analysis for high-dimensional and incomplete data,” IEEE Trans. Serv. Comput., vol. 17, no. 2, pp. 575–588, 2024.
[46]
V. Mnih et al., “Asynchronous methods for deep reinforcement learning,” in International conference on machine learning, 2016, pp. 1928–1937.
[47]
Y. He and X. Luo, “Tensor low-rank orthogonal compression for convolutional neural networks,” IEEE/CAA Journal of Automatica Sinica, vol. 13, no. 1, pp. 227–229, 2026.
[48]
F. Bi, T. He, Y.-S. Ong, and X. Luo, “Discovering spatiotemporal–individual coupled features from nonstandard tensors—a novel dynamic graph mixer approach,” IEEE Transactions on Neural Networks and Learning Systems, 2025.
[49]
W. Qin, X. Luo, and M. Zhou, “Adaptively-accelerated parallel stochastic gradient descent for high-dimensional and incomplete data representation learning,” IEEE Transactions on Big Data, vol. 10, no. 1, pp. 92–107, 2023.
[50]
P. Tang, X. Luo, and J. Woodcock, “Auto-encoding neural tucker factorization,” IEEE Transactions on Knowledge and Data Engineering, 2025.
[51]
C. Lyu, J. Cheng, X. Luo, and Y. Shi, “Genetic algorithm-based two-step optimization for precise latent factor analysis,” IEEE Transactions on Neural Networks and Learning Systems, 2025.
[52]
D. Wu, C. Liang, Y. He, Y. Qiao, and X. Luo, “Multimetric autoencoder for representing high-dimensional and incomplete data,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 56, no. 3, pp. 1533–1546, 2026.
[53]
X. Liao, H. Wu, T. He, and X. Luo, “A proximal-admm-incorporated nonnegative latent-factorization-of-tensors model for representing dynamic cryptocurrency transaction network,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2025.
[54]
Q. Hu, H. Wu, and X. Luo, “A comprehensive review of parallel optimization algorithms for high-dimensional and incomplete matrix factorization,” IEEE/CAA Journal of Automatica Sinica, vol. 12, no. 12, pp. 2399–2426, 2025.
[55]
Y. Chen et al., “Understanding and improving graph injection attack by promoting unnoticeability,” in Proc. Int. Conf. Learn. representations, 2022, pp. 1–42.
[56]
K. Xu et al., “Topology attack and defense for graph neural networks: An optimization perspective,” International Joint Conference on Artificial Intelligence, 2019.
[57]
X. Xu, M. Lin, Z. Xu, and X. Luo, “A sampling-neighborhood-regularized latent factorization of tensor for dynamic QoS estimation,” IEEE Transactions on Network and Service Management, vol. 23, pp. 1707–1722, 2025.
[58]
X. Liao, H. Wu, and X. Luo, “A novel tensor causal convolution network model for highly-accurate representation to spatio-temporal data,” IEEE Transactions on Automation Science and Engineering, 2025.
[59]
X. Xu, M. Lin, Z. Xu, and X. Luo, “Attention-mechanism-based neural latent-factorization-of-tensors model,” ACM Transactions on Knowledge Discovery from Data, vol. 19, no. 4, pp. 1–27, 2025.
[60]
C. Li, P. Huang, J. Qin, and X. Luo, “Knowledge-driven multiple instance learning with hierarchical cluster-incorporated aware filtering for larynx pathological grading,” IEEE Journal of Biomedical and Health Informatics, 2025.
[61]
Y. Yang, L. Hu, G. Li, D. Li, P. Hu, and X. Luo, “FMvPCI: A multiview fusion neural network for identifying protein complex via fuzzy clustering,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2025.
[62]
X. Xu, M. Lin, X. Luo, and Z. Xu, “An adaptively bias-extended non-negative latent factorization of tensors model for accurately representing the dynamic qos data,” IEEE Transactions on Services Computing, 2025.
[63]
M.-Y. Wu, P.-W. Hu, Z.-H. You, J. Zhang, L. Hu, and X. Luo, “Graph-based prediction of miRNA-drug associations with multisource information and metapath enhancement matrices,” IEEE Journal of Biomedical and Health Informatics, 2025.
[64]
Y. Hou, P. Tang, and X. Luo, “Multi-aspect self-attending neural tucker factorization for spatiotemporal representation learning,” IEEE/CAA Journal of Automatica Sinica, vol. 13, no. 4, pp. 986–988, 2026.
[65]
W. Li, M. Lin, X. Xu, L. Lin, Z. Xu, and X. Luo, “Neural nonnegative latent factorization of tensors model with acceleration and unconstraint,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2025.
[66]
X. Deng et al., “Fuzzy mixture-of-experts aggregation for organoid identification with multiscale state space features,” IEEE Transactions on Fuzzy Systems, vol. 34, no. 1, pp. 324–335, 2025.
[67]
J. Gou, Y. Cheng, B. Ma, L. Du, X. Luo, and Z. Yi, “Multi-scale collaborative distillation graph neural networks for session-based recommendation,” IEEE Transactions on Services Computing, 2025.
[68]
J. Liu, X. Li, M. Lin, and X. Luo, “A scalable multichannel sentiment analysis model with enhanced semantic understanding and redundancy reduction,” IEEE Transactions on Computational Social Systems, 2025.
[69]
X. Luo, Z. Li, W. Yue, and S. Li, “A calibrator fuzzy ensemble for highly-accurate robot arm calibration,” IEEE Transactions on Neural Networks and Learning Systems, vol. 36, no. 2, pp. 2169–2181, 2024.
[70]
Z. Luo, X. Jin, Y. Luo, Q. Zhou, and X. Luo, “Analysis of students’ positive emotion and smile intensity using sequence-relative key-frame labeling and deep-asymmetric convolutional neural network,” IEEE/CAA Journal of Automatica Sinica, vol. 12, no. 4, pp. 806–820, 2025.
[71]
F. Bi, T. He, Y.-S. Ong, and X. Luo, “Graph linear convolution pooling for learning in incomplete high-dimensional data,” IEEE Transactions on Knowledge and Data Engineering, vol. 37, no. 4, pp. 1838–1852, 2024.
[72]
Z. He, M. Lin, X. Luo, and Z. Xu, “Structure-preserved self-attention for fusion image information in multiple color spaces,” IEEE Transactions on Neural Networks and Learning Systems, vol. 36, no. 7, pp. 13021–13035, 2024.
[73]
X. Zou et al., TDGIA: Effective injection attacks on graph neural networks,” in Proceedings of the ACM SIGKDD Conference on Knowledge Discovery & Data Mining, 2021, pp. 2461–2471.
[74]
X. Liu, J.-J. Huang, and W. Zhao, GCIA: A black-box graph injection attack method via graph contrastive learning,” IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 6570–6574, 2024.
[75]
M. Ju, Y. Fan, C. Zhang, and Y. Ye, “Let graph be the go board: Gradient-free node injection attack for graph neural networks via reinforcement learning,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 37, no. 4, pp. 4383–4390, 2023.
[76]
E. Rathbun, A. Oprea, and C. Amato, “Adversarial inception backdoor attacks against reinforcement learning,” in ICML, 2025, vol. 267.
[77]
J. Cui, Y. Han, Y. Ma, J. Jiao, and J. Zhang, “Badrl: Sparse targeted backdoor attack against reinforcement learning,” in Proceedings of the AAAI conference on artificial intelligence, 2024, vol. 38, pp. 11687–11694.
[78]
G. Han, J. Choi, H. Lee, and J. Kim, “Reinforcement learning-based black-box model inversion attacks,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2023, pp. 20504–20513.
[79]
Z. Alom, T. G. B. Ngo, M. Kantarcioglu, and C. Akcora, “Gottack: Universal adversarial attacks on graph neural networks via graph orbits learning,” in International conference on learning representations, 2025, vol. 2025, pp. 45633–45646.
[80]
T. N. Kipf and M. Welling, “Semi-supervised classification with graph convolutional networks,” in Proc. Int. Conf. Learn. representations, 2017, pp. 1–14.
[81]
F. Wu and T. Zhang, “Simplifying graph convolutional networks,” in International conference on machine learning, 2019, pp. 6861–6871.
[82]
J. Gasteiger, A. Bojchevski, and S. Günnemann, “Predict then propagate: Graph neural networks meet personalized PageRank,” in Proc. Int. Conf. Learn. representations, 2022, pp. 1–15.
[83]
P. Veličković, G. Cucurull, A. Casanova, A. Romero, P. Liò, and Y. Bengio, “Graph attention networks,” in Proc. Int. Conf. Learn. representations, 2018, pp. 1–12.
[84]
H. Yu et al., GZOO: Black-box node injection attack on graph neural networks via zeroth-order optimization,” IEEE Transactions on Knowledge and Data Engineering, vol. 37, no. 1, pp. 319–333, 2025.
[85]
D. Wu et al., “An outlier-resilient autoencoder for representing high-dimensional and incomplete data,” IEEE Transactions on Emerging Topics in Computational Intelligence, vol. 9, no. 2, pp. 1379–1391, 2024.
[86]
M. Chen, L. Tao, J. Lou, and X. Luo, “Latent-factorization-of-tensors-incorporated battery cycle life prediction,” IEEE/CAA Journal of Automatica Sinica, vol. 12, no. 3, pp. 633–635, 2024.
[87]
D. Wu, Z. Li, Z. Yu, Y. He, and X. Luo, “Robust low-rank latent feature analysis for spatiotemporal signal recovery,” IEEE Transactions on Neural Networks and Learning Systems, vol. 36, no. 2, pp. 2829–2842, 2023.
[88]
P. Tang and X. Luo, “Neural tucker factorization,” IEEE/CAA Journal of Automatica Sinica, vol. 12, no. 2, pp. 475–477, 2025.
[89]
H. Yang, M. Lin, H. Chen, X. Luo, and Z. Xu, “Latent factor analysis model with temporal regularized constraint for road traffic data imputation,” IEEE Transactions on Intelligent Transportation Systems, vol. 26, no. 1, pp. 724–741, 2024.
[90]
X. Liao, K. Hoang, and X. Luo, “Local search-based anytime algorithms for continuous distributed constraint optimization problems,” IEEE/CAA Journal of Automatica Sinica, vol. 12, no. 1, pp. 288–290, 2025.
[91]
H. Wu, Y. Qiao, and X. Luo, “A fine-grained regularization scheme for non-negative latent factorization of high-dimensional and incomplete tensors,” IEEE Transactions on Services Computing, vol. 17, no. 6, pp. 3006–3021, 2024.
[92]
Y. Zhong, K. Liu, S. Gao, and X. Luo, “Alternating-direction-method of multipliers-based adaptive nonnegative latent factor analysis,” IEEE Transactions on Emerging Topics in Computational Intelligence, vol. 8, no. 5, pp. 3544–3558, 2024.
[93]
Y. Yang, L. Hu, G. Li, D. Li, P. Hu, and X. Luo, “Link-based attributed graph clustering via approximate generative bayesian learning,” IEEE Trans. Syst. Man Cybern. Syst., vol. 55, no. 8, pp. 5730–5743, 2025.
[94]
L. Lin et al., “Ncsac: Effective neural community search via attribute-augmented conductance,” IEEE Transactions on Knowledge and Data Engineering, vol. 38, no. 2, pp. 1221–1235, 2025.
[95]
P. Sen, G. Namata, M. Bilgic, L. Getoor, B. Gallagher, and T. Eliassi-Rad, “Collective classification in network data,” AI Magazine, vol. 29, no. 3, pp. 93–106, 2008.
[96]
A. K. McCallum, K. Nigam, J. Rennie, and K. Seymore, “Automating the construction of internet portals with machine learning,” Information Retrieval, vol. 3, no. 2, pp. 127–163, 2000.

  1. \(^{1}\)Yi Lan and \(^{2}\)Ye Yuan are with the College of Computer and Information Science, Southwest University, Tiansheng Road, Chongqing, 400715, China yuanyekl@swu.edu.cn↩︎