potentialpaper

Towards Universal Black-box Attacks on Graph Neural Networks

Runze Li, Di Jin, Xiaobao Wang, Bingdao Feng, Dongxiao He

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose a universal black-box graph attack framework that learns transferable attack strategies from multiple source graphs and generalizes effectively to unseen target graphs.

Abstract. Graph neural networks are widely deployed in real-world applications, where attackers often operate under strict black-box constraints, making effective graph black-box attacks particularly important. However, existing methods are fundamentally limited by poor universality, as attack strategies learned on specific graphs or model configurations fail to generalize across different graph datasets. Inspired by the unified representation principle of graph foundation models, we propose a universal black-box attack framework that learns transferable attack paradigms from multiple source graphs and generalizes directly to unseen target graphs. The framework incorporates a representation selection mechanism and a graph variational autoencoder based modeling strategy to ensure consistency and mappability between the unified semantic space and the original representation space, together with a structure–representation joint anchor node selection mechanism for effective attack construction. Extensive experiments on benchmark datasets show that our method achieves strong universality and consistently superior attack performance.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper addresses the limitation of existing black-box adversarial attacks on Graph Neural Networks (GNNs), which typically lack cross-dataset transferability and often perform poorly on out-of-distribution graphs. A universal black-box attack framework that learns transferable attack paradigms from multiple source graphs is proposed. Three key ingredients are used: (1) feature-selection-based dimension unification, (2) a Graph Variational Autoencoder to map graphs into a unified semantic space, (3) a structure-representation joint anchor node selection strategy. Empirical results illustrate that this method improves attack performance and generalization across various benchmark datasets compared to existing baseline methods.

  • Strengths: The paper addresses a challenging and important tasks which is GNN security-cross-dataset generalization. A "universal" attack framework is well-motivated and the proposed method is clear. In terms of empirical performance, the proposed method shows improvements in attack success rates on various benchmark datasets compared to standard baselines. Different ablation studies are also included wrt the choice of the source datasets and feature proportions.

  • Weaknesses: All the reviewers question the validity of the "universal" claim as a main weakness because the attack performance mainly depends on the similarity between the source and target datasets. This performance gets worse as the source and target datasets get different or are very heterogeneous. The experimental validation is also limited in terms of victim model architectures and the types of graphs tested. Standard defensive mechanisms (e.g., GNNGuard) or detectability tests are also lacking. It is also difficult to assess the practicality of the approach over target-specific attacks because there are no quantified computational overhead or training costs of the multi-graph pretraining process.

  • Recommendation for the rebuttal: Please prioritize the following weaknesses/questions:

  1. Justification of the "universal" claim with heterogeneous data mentioned as weakness by all the reviewers.

  2. Efficiency/cost analysis: see 8jwi's first weakness and SFxR's second weakness

  3. Improve ablation of the core components: see USj9's third weakness

  4. Lack of essential baselines: see USj9's second weakness

  5. Lack of defense evaluation or detectability analysis: see USj9's fourth weakness

Final justification

The rebuttal addressed most of the reviewers' concerns who increased their score accordingly.

Area Chair 6s1a · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper addresses the limitation of existing black-box adversarial attacks on Graph Neural Networks (GNNs), which typically lack cross-dataset transferability and often perform poorly on out-of-distribution graphs. A universal black-box attack framework that learns transferable attack paradigms from multiple source graphs is proposed. Three key ingredients are used: (1) feature-selection-based dimension unification, (2) a Graph Variational Autoencoder to map graphs into a unified semantic space, (3) a structure-representation joint anchor node selection strategy. Empirical results illustrate that this method improves attack performance and generalization across various benchmark datasets compared to existing baseline methods.

  • Strengths: The paper addresses a challenging and important tasks which is GNN security-cross-dataset generalization. A "universal" attack framework is well-motivated and the proposed method is clear. In terms of empirical performance, the proposed method shows improvements in attack success rates on various benchmark datasets compared to standard baselines. Different ablation studies are also included wrt the choice of the source datasets and feature proportions.

  • Weaknesses: All the reviewers question the validity of the "universal" claim as a main weakness because the attack performance mainly depends on the similarity between the source and target datasets. This performance gets worse as the source and target datasets get different or are very heterogeneous. The experimental validation is also limited in terms of victim model architectures and the types of graphs tested. Standard defensive mechanisms (e.g., GNNGuard) or detectability tests are also lacking. It is also difficult to assess the practicality of the approach over target-specific attacks because there are no quantified computational overhead or training costs of the multi-graph pretraining process.

  • Recommendation for the rebuttal: Please prioritize the following weaknesses/questions:

  1. Justification of the "universal" claim with heterogeneous data mentioned as weakness by all the reviewers.

  2. Efficiency/cost analysis: see 8jwi's first weakness and SFxR's second weakness

  3. Improve ablation of the core components: see USj9's third weakness

  4. Lack of essential baselines: see USj9's second weakness

  5. Lack of defense evaluation or detectability analysis: see USj9's fourth weakness

Final justification

The rebuttal addressed most of the reviewers' concerns who increased their score accordingly.

2 comments
Authors · CommentOpenReview ↗

For Issue 1—justifying the term “Universal”—we provide a detailed explanation in our response to Reviewer 8jwi (W1) and further clarification in our response to Reviewer USj9 (W2). In this work, universality means that the attacker learns transferable attack patterns through one-time multi-source graph pretraining and, with all parameters frozen, can be directly reused on multiple unseen target graphs without target-model queries, retraining, or adaptation. We therefore emphasize a universal attack model following the paradigm of “one-time pretraining, multi-graph reuse,” rather than applying an identical fixed perturbation to all graphs or requiring it to outperform fully optimized target-specific attacks on every individual target graph.

For Issue 2—Efficiency/Cost Analysis—we provide detailed analyses of the time complexity and computational overhead in our responses to Reviewer 8jwi (W1) and Reviewer SFxR (W2). Under our universal attack paradigm, multi-source pretraining is completed once before deployment, after which the attacker remains frozen and can directly generalize to unseen target graphs without retraining or iterative optimization. Therefore, the one-time upstream training cost can be amortized across multiple target graphs, substantially reducing the repeated computational overhead during downstream deployment.

For Issue 3—Improving the Ablation Study of the Core Components—following Reviewer USj9’s suggestion, we provide a more detailed explanation of the motivation, role, and necessity of the representation-selection module, and further conduct systematic ablation studies of the VGAE mapping module. Our response reports the complete ablation results across all seven datasets, providing stronger empirical evidence for the contributions of these core components to cross-graph representation alignment and attack generalization.

For Issue 4—Lack of Essential Baselines—we provide a detailed response in Reviewer USj9’s W2 and Q2, where we further analyze GZOO, GCIA, and TEANI. These methods are target-specific attacks that rely on target-model queries and renewed target-side optimization, which fundamentally differs from our zero-query and zero-adaptation cross-graph transfer setting. In contrast, our core contribution is to learn reusable attack patterns through one-time multi-source pretraining and directly attack unseen target graphs with all parameters frozen. Nevertheless, these methods have made important contributions to black-box graph attacks; therefore, we have prominently discussed and cited them in the Introduction when reviewing existing black-box graph attack methods.

For Issue 5—Lack of Defense Evaluation or Detectability Analysis—we add systematic defense evaluations in our responses to Reviewer USj9’s W4 and Q5, using two representative graph defense methods, GNNGuard and RobustGCN. We report detailed results across all datasets, showing that our method remains effective and continues to substantially degrade the victim model’s classification performance under existing defenses. These results further demonstrate the robustness of our cross-graph attack against current defense mechanisms.

Authors · CommentOpenReview ↗

Dear Area Chair, we have provided two rounds of detailed responses to the concerns raised by all reviewers and have made every effort to supplement our explanations with additional experiments, analyses, and planned revisions. As we have not yet received further feedback on our second-round responses, we are currently uncertain whether any additional clarification is still needed. Nevertheless, we have addressed all existing concerns to the best of our ability. With approximately eight hours remaining before the author response period closes, we would like to briefly inform you of the current status and sincerely thank you and all reviewers for the time and effort devoted to the discussion.

Reviewer SFxROpenReview ↗
Rating
5/6
Confidence
5/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper investigates universal black-box attacks on graph neural networks and proposes a node injection framework that can transfer to unseen target graphs. The method uses feature selection and a variational graph autoencoder to map heterogeneous graphs into a unified representation space, where structural and representation information are jointly used to select anchor nodes and generate adversarial nodes. Experiments show that the proposed method achieves stable cross-dataset attack performance across multiple types of graph datasets.

Strengths and weaknesses

Strengths:

  1. This paper addresses the cross-dataset generalization problem in black-box attacks on graph neural networks, which is practically meaningful. By learning transferable attack patterns from multiple source graphs and directly applying them to unseen target graphs, the work provides a valuable perspective on universal black-box graph attacks.
  2. The proposed framework is relatively complete and logically organized. It uses feature selection to align the input dimensions of different graph datasets, employs a VGAE to construct a shared representation space, and jointly leverages structural information and node representations for anchor selection and adversarial node generation.
  3. The experiments cover several benchmark datasets from citation, co-purchase, and co-author networks, and compare the proposed method with multiple node selection and black-box attack baselines. The results show that the method maintains stable attack performance across graphs with different scales and structures, demonstrating promising cross-dataset transferability.
  4. The paper also provides useful analyses of the number and composition of pretraining datasets, as well as the proportion of selected features. These studies help clarify how different training settings affect universal attack performance. The paper is generally well organized, and the main components are clearly presented.

Weaknesses:

  1. The current experiments mainly use GCN-based victim models. Although the cross-dataset results demonstrate encouraging generalization, additional evaluations on architectures such as GAT and GraphSAGE would provide stronger support for the claimed universality across model structures.
  2. The paper does not report efficiency-related results, such as running time, memory consumption, or training cost. Since the framework involves multi-graph pretraining, VGAE-based representation learning, and adversarial node generation, a discussion of computational overhead would help assess its practical applicability to larger graphs.
Questions

The current experiments mainly use GCN as the victim model. The authors are encouraged to include results on other architectures, such as GAT or GraphSAGE, to further support the claimed universality. In addition, it would be helpful to analyze whether mapping adversarial nodes from the unified space back to the original feature space introduces reconstruction errors or distribution shifts. Finally, Figure 4 shows that performance declines when more than three pretraining datasets are used; the authors should further explain this phenomenon and discuss principles for selecting the number and combination of source datasets.

Limitations

Yes

Final justification

I greatly appreciate the authors' conscientious and constructive response to my review comments. The revised manuscript convincingly addresses all the concerns I previously raised, resulting in a clearer and more robust paper. In my view, the paper meets the standards for NeurIPS, and I therefore recommend its acceptance.

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

To answer W1. Thank you for the reviewer’s valuable suggestion. We agree that evaluations using only GCN-based victim models are insufficient to fully demonstrate universality across model architectures. We therefore conducted additional experiments on GAT and GraphSAGE. The results show that, while keeping the attack model completely frozen and without retraining or adapting it to the target architecture, our method maintains stable and effective attack performance across different GNN backbones. This indicates that the learned attack patterns are not specific to GCN, but exhibit cross-architecture transferability. Due to the rebuttal length limit, the complete results and detailed comparison table are provided in our response to Reviewer 8jwi.

To answer W2. Thank you for the reviewer’s important suggestion. We further analyze the computational and memory overhead of the proposed framework. Let ∣V∣|V| and ∣E∣|E| denote the numbers of nodes and edges, respectively. Feature selection is mainly based on sparse message propagation and has a time complexity of O(∣E∣)O(|E|). The universal encoder consists of a fixed number of graph convolutional layers and also has a complexity of O(∣E∣)O(|E|). The linear classifier requires O(∣V∣)O(|V|) computation, while attacker training mainly involves graph propagation and node scoring, resulting in a complexity of O(∣E∣)O(|E|). In addition, multi-anchor sampling introduces an extra cost of O(r∣V∣2)O(r|V|^2), where the attack-budget ratio rr is fixed at only 1% in our experiments and this operation is performed only once. Therefore, the overall time complexity can be summarized as

O(∣E∣+r∣V∣2)O(|E|+r|V|^2)

Most training operations are based on sparse message passing, so the practical computational cost grows approximately linearly with the number of edges. The only quadratic term comes from the one-time anchor-selection procedure under a small fixed attack budget, making its overhead practically manageable.

More importantly, the source graphs are not concatenated and loaded into memory simultaneously. Instead, they are sequentially processed on a dataset-by-dataset basis. Therefore, multi-source pretraining increases only the one-time cumulative training time, rather than causing memory consumption to grow directly with the number of source graphs. Given a hidden dimension dd, the peak memory complexity is approximately

O(max⁡k(∣Ek∣+∣Vk∣d))O(\max_k(|E_k|+|V_k|d))

Thus, peak memory usage is mainly determined by the largest graph currently being processed, rather than the sum of all source-graph sizes. After the one-time upstream pretraining, the attack model is frozen and generates an attack strategy for an unseen target graph through only a single forward pass, without target-side retraining, queries, or iterative optimization. Consequently, the multi-source pretraining cost can be completed in advance and amortized across multiple target graphs, while the additional computational and memory overhead during deployment remains low. In the revised version, we will also report the pretraining time, per-target inference time, and peak GPU memory to further quantify the practical efficiency of the framework.

Reviewer SFxR · CommentOpenReview ↗

Thanks for the authors' reply. I also take the other comments into account, and I prefer to maintain my score.

Reviewer USj9OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper addresses cross-dataset transferability of black-box adversarial attacks on GNNs. The authors note that existing black-box attacks fall into two families: surrogate-model attacks and node-voting attacks; and both are dataset-specific, thus a graph adversarial attack targeted on one graph may poorly transfer to other semantically different ones, exemplifying with Fig. 1 showing that VoteAttack collapses for large weak-homophily graphs. Overall, this work is inspired by the unified-representation paradigm of graph foundation models (GFMs). The authors propose a "universal" black-box attack framework with three components: Feature-Selection-based Dimension Unification, VGAE-based Representation Mapping, and Adversarial Node Generation.

Strengths and weaknesses

Strengths:

  • Important Research Issue. Cross-dataset transferability of black-box graph adversarial attacks is genuinely under-explored, and the motivation is well-grounded.
  • Strong Experiments. On 6 out of 7 datasets, the proposed method substantially lowers the Accuracy beyond every baseline.
  • Sensible Reversibility Design. The feature selection (rather than projecting) avoids the back-projection problem of PCA/SVD, which is a genuine and non-trivial design for the black-box setting where adversarial latent must map back to a usable feature vector.
  • Valuable Ablations. The source-count and source-choice studies disclose a non-superficial finding.

Weaknesses:

(1) The "universal" claim is not supported properly

The paper frames its contribution as a universal black-box attack, but the experiments consistently show that attack performance depends on “source-target” similarity, i.e., the performance varies with source choice (Table 2, ~8-point spread on Photo), and degrades with too few or too many pretraining datasets (Fig. 4, U/V-shaped curve, plus Fig. 5). Additionally, the authors also admit that pretraining on datasets structurally and semantically closer to the target generally yields stronger attack performance. Even the Theorem 1 bounds target risk by a source-target distributional discrepancy term — formally predicting non-universal behavior.

(2) Lack of essential baselines

Several recent black-box attack methods (GZOO, GCIA, Zhao & Zhang 2025) are cited but not empirically compared. More importantly, the current baseline taxonomy mixes methods with different access patterns: the proposed method spends queries/optimization on source-domain models during pretraining and then uses zero target-model queries at inference, whereas several baselines are target-query or target-surrogate methods. This trade-off is reasonable, but it must be made explicit. Thus, Table 1 is not an apples-to-apples comparison. Additionally, the reported VoteAttack numbers on co-purchase graphs are surprisingly weak (~1-point drop on Photo) and internally inconsistent between Table 1 and Appendix Table 7.

(3) Core components are asserted rather than demonstrated

Four important components (the feature-selection metric, the VGAE mapping objective, the mean-value filling operation, the theoretical analysis in Appendix F) are each described as contributing to the attack framework, but none is directly tested for its impact on attack performance. The ablation in Table 3 measures only clean accuracy, not post-attack accuracy; the VGAE is not compared against simpler shared encoders/autoencoders; the mean-filling design has no "constant-shift only" control to isolate its contribution; and the discrepancy of Theorem 1 is never empirically estimated or connected to the experimental results.

(4) Lack of defense evaluation or detectability analysis

The performance ought to be verified/analyzed under defense mitigation and detectability mechanisms. Thereby, suggest to consider some adversarial defense methods (e.g., GNNGuard, RGCN, ProGNN, etc.) and detectability test (e.g., mean-shift/Mahalanobis distance on injected nodes) for comparative analysis.

Questions

(1) Suggest to comparatively analyze the cases while pretraining datasets are not structurally and semantically close.

(2) How well does the proposed method perform under a single-source, no-target-label setting, compared to VoteAttack, SGA, and TDGIA?

(3) Theorem 1 bounds target attack risk by a source-target latent discrepancy. Suggest to quantitatively estimate this discrepancy ?

(4) How much of the gain is attributable to the mean-filling operation of Eq. 14?

(5) How does the method perform under defense mitigation and detectability fashions?

(6) Why is the reported VoteAttack drop on Photo/Computers small?

Limitations

Yes. Besides the limitation stated in experiments, the authors also need discuss other critical points referring “Weaknesses”.

Final justification

Across the two rounds of discussion, the authors have addressed my major concerns through additional experiments and concrete commitments. The remaining issues (e.g., the mean-filling control, detectability statistics, and correlation analysis) require further refinement rather than representing unresolved concerns. Therefore, I raise my score from "Borderline Reject" to "Borderline Accept." I expect the final version to incorporate these additions and commitments accordingly.

Formatting concerns

No.

9 comments
Authors · RebuttalOpenReview ↗
Rebuttal

To answer W1. Thank you for the reviewer’s important comment. We clarify that “universal” in this paper does not imply that attack performance is completely independent of source–target distribution discrepancies. Instead, it refers to learning a reusable universal attack model that acquires cross-graph attack patterns through multi-source pretraining and can directly generate attack strategies for unseen target graphs without retraining or fine-tuning. Similar to universal encoders in graph foundation models, cross-domain generalization is naturally affected by source–target distribution shifts, but this does not invalidate the universality of the model.

Indeed, the effects of source–target similarity observed in Table 2 and Figs. 4–5 are consistent with the fundamental principles of transfer learning. Our objective is not to guarantee identical attack performance on every target graph, but to maintain effective attack capability across different unseen graphs. Although some performance variation exists among different source–target combinations, the pretrained attack model consistently outperforms existing black-box attacks on multiple unseen target graphs, validating its effectiveness as a universal attack model. The distribution-discrepancy term in our theoretical analysis is introduced precisely to characterize this practical condition, rather than assuming that attack transferability is completely independent of data distributions.

To answer W2 and Q2. Thank you for the reviewer’s suggestion. To address the baseline concern jointly raised by the Reviewer and the Area Chair, we further examined GZOO, GCIA, and TEANI. GZOO uses zeroth-order gradient estimation to optimize injected-node features and structures through target-model queries. GCIA learns target-graph representations with graph contrastive learning and updates a reward predictor and fake-node generator through repeated queries. TEANI formulates feature selection as a Markov decision process and trains a reinforcement-learning policy using query feedback.

These methods are target-specific, query-based attacks that require renewed optimization for each target graph. In contrast, our method learns a reusable attacker through multi-source pretraining and keeps all parameters frozen at deployment, requiring no target-model queries, retraining, or adaptation. We did not include them in the main table because their access assumptions and optimization costs differ from our zero-query cross-graph transfer setting, making direct comparison with their reported results potentially misleading. Nevertheless, we agree that they are representative recent graph injection attacks and have highlighted and cited them in the related-work discussion.

We further emphasize that universality in our work refers to learning transferable attack patterns from accessible source graphs through one-time pretraining. The resulting model can directly attack unseen target graphs under a completely zero-adaptation setting. Therefore, our central question is not whether a universal attacker always surpasses a target-specific method on every graph, but whether it can retain effective attack capability while being reused across unseen graphs. Despite source–target distribution variations, our method consistently outperforms existing black-box attacks on multiple unseen graphs, demonstrating its cross-graph generalization capability. A more detailed explanation of universality is provided in our response to Reviewer 8jwi.

To answer W3 and Q4. Thank you for the reviewer’s suggestion.For the improvement of the ablation study on the core components, jointly requested by the Reviewer and the Area Chair,we provide the following clarification: We clarify that some components are not designed to directly increase the attack loss, but instead address the cross-graph representation-unification and attack-executability requirements of universal black-box attacks.

For the feature-selection module, its primary purpose is not simply to improve attack performance, but to establish a reversible correspondence between the unified representation space and the original feature space of the target model. Since different graphs have different feature dimensions, direct dimensionality reduction may destroy the positional semantics of features and prevent the generated representation from being restored to the original feature space. Inspired by the idea of structure-propagation-sensitive feature selection in ARC, we introduce a feature-selection module that preserves the original coordinate mapping of the selected dimensions. To the best of our knowledge, this is the first design that explicitly considers reversible feature-coordinate alignment for universal graph attacks, and it may also provide useful guidance for future universal graph encoders.

For the VGAE mapping module, we agree that additional ablations with alternative mapping mechanisms are necessary. We therefore compare MLP-AE, GAE, and VGAE to evaluate the importance of jointly modeling graph structure and feature distributions. Specifically, we map node features into the unified latent space, decode them back to the original feature space, and evaluate the reconstructed features using the same frozen classifier. The results below show that VGAE preserves the highest classification accuracy after decoding, demonstrating its stronger ability to reconstruct representations back into the original feature space.

Mapping Module Cora ↑ CiteSeer ↑ PubMed ↑ Photo ↑ Computers ↑ CS ↑ Physics ↑ Avg. ↑
Original Features 87.08 71.34 84.46 92.71 87.24 93.82 94.36 87.29
MLP-AE 80.74 65.21 79.83 86.42 81.37 87.65 88.31 81.36
GAE 83.92 68.47 82.56 89.73 84.65 90.42 91.08 84.40
VGAE (Ours) 85.36 69.82 83.71 91.08 86.19 92.17 92.83 85.88

The mean-value filling strategy is mainly used to restore the unselected feature dimensions and preserve the natural distribution of generated node features, rather than directly optimizing the attack objective. Since these dimensions are identified by the feature-selection module as contributing relatively little to message propagation, filling them with zeros may introduce an evident distribution shift and increase the risk of detection.

To answer W4 and Q5. Thank you for the reviewer’s suggestion. For the lack of defense evaluation jointly raised by the Reviewer and the Area Chair, we conducted the following experiments: We report results under representative graph defenses. During evaluation, the attack model remains completely frozen and does not perform defense-aware queries, fine-tuning, or re-optimization. As shown below, the attacked classification accuracy remains substantially lower than the corresponding clean performance under both GNNGuard and RobustGCN, indicating that existing neighbor-reweighting and robust message-passing mechanisms cannot completely eliminate the universal attack signal.

Setting Cora ↓ CiteSeer ↓ PubMed ↓ Photo ↓ Computers ↓ CS ↓ Physics ↓
No Defense 63.11 53.23 60.48 70.02 55.71 52.12 69.11
GNNGuard 69.13 68.03 67.26 75.48 62.33 60.17 75.02
RobustGCN 69.30 62.13 64.86 73.51 59.21 57.34 72.88

The table reports attacked classification accuracy (%), where lower values indicate stronger attack effectiveness.

To answer Q1 and Q3. Thank you for the reviewer’s suggestion. We use Maximum Mean Discrepancy (MMD) to quantitatively estimate the latent distribution discrepancy in Theorem 1. Under the setting where PubMed, CiteSeer, and Computers are used for pretraining and Cora is treated as the unseen target graph, PubMed and CiteSeer are substantially closer to Cora than Computers in the unified latent space, which supports the discrepancy term in Theorem 1.

Distribution MMD to Cora ↓
PubMed 0.2000
CiteSeer 0.2362
Balanced Mixture 0.3536
Computers 1.0226

These results show that MMD can quantitatively characterize the latent distribution shift between individual source graphs, the balanced source mixture, and the unseen target graph.

To answer Q6. Thank you for the reviewer’s concern. As shown in Fig. 1, Photo and Computers are not only more challenging for our method, but are also generally difficult to attack using conventional target-specific black-box attacks. VoteAttack exhibits a similar trend. We attribute this observation mainly to their higher graph density and larger neighborhood sizes, which cause node injections or structural perturbations under a limited attack budget to be more easily diluted during message aggregation.

Nevertheless, our method still causes substantially greater performance degradation on these two datasets than the existing baselines. A plausible explanation is that multi-source pretraining enables the attack model to learn structural–feature attack patterns shared across graphs and exploit complementary knowledge from other source domains. Therefore, even when an individual target graph is inherently difficult to attack, the frozen universal attack model can retain stronger cross-domain transferability.

Authors · CommentOpenReview ↗

Thank you again for your constructive feedback. When convenient, could you please let us know whether our response has addressed your concerns or whether any further clarification is needed?

Area Chair 6s1a · CommentOpenReview ↗

Dear Reviewer USj9, does the rebuttal address your concerns?

Reviewer 8jwiOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies universal black-box attacks on GNNs, aiming to overcome the limited transferability of existing attacks across different graph datasets. The authors propose a framework that learns a shared latent representation from multiple source graphs using a VGAE-based encoder-decoder, generates adversarial node injections in this unified space, and transfers the learned attack to unseen target graphs without accessing model internals. Experimental results on several benchmark datasets show improved attack effectiveness and cross-dataset generalization compared with existing black-box attack baselines.

Strengths and weaknesses

Strengths:

  • The paper identifies the limited cross-dataset generalization of existing black-box graph attacks, which are typically designed for a single graph. To address this limitation, they propose a transferable attack framework that learns attack strategies from multiple source graphs and transfers them to unseen target graphs.

  • The paper provides a comprehensive empirical evaluation on seven benchmark datasets, comparing against a broad range of surrogate-model-based and topology-based baselines, along with thorough ablation studies to validate the proposed framework.

Weaknesses:

  • The trade-off between transferability and attack effectiveness is not sufficiently investigated. The proposed method requires pretraining on multiple source graphs, yet the paper does not quantify whether this additional training cost is justified compared with directly learning an attack for a target graph. A comparison of computational cost, training time, and attack effectiveness would help assess the practical benefits of the proposed framework.

  • The paper makes strong claims regarding the universality of the proposed attack framework. However, the experimental evaluation is limited to a small collection of benchmark datasets with similar tasks (node classification). It is unclear under what assumptions a single pretrained attack model is expected to generalize across heterogeneous graph distributions. Additional experiments on more diverse or out-of-distribution graphs would strengthen this claim.

Questions

Please refer to the comments on weakness.

Limitations

yes

Final justification

After reviewing the rebuttal and discussing the concerns with the authors, I would recommend borderline acceptance for this manuscript.

The paper’s main strength is that it addresses a practically relevant problem of cross-graph transfer for black-box attacks, and the proposed framework is conceptually coherent and empirically well evaluated. At the initial review stage, my two main concerns were the claimed universality and the computational trade-off of the proposed framework. The authors have partially addressed both concerns through additional empirical results and computational analysis during the discussion phase.

The main weakness remains that, despite the further clarification in the rebuttal, the results more convincingly demonstrate a transferable cross-graph attack framework, while the broader universality claim remains somewhat overstated.

Formatting concerns

no

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

To answer W1. Thank you to the Reviewer and the Area Chair for their continued attention to the universality of our method. We would like to further clarify our motivation through a more intuitive analogy. It is certainly possible to train a task-specific model for each language task, just as it is possible to train a separate GNN for each individual graph. Nevertheless, large language models and graph foundation models remain valuable because they learn reusable knowledge through upstream pretraining, thereby avoiding the need to retrain a model whenever a new task or graph appears. The value of a foundation model does not lie in guaranteeing that it always outperforms a fully optimized specialist on every individual task, but in providing generalization to unseen data and reducing repeated deployment costs. Our universal attack model follows the same principle. Conventional black-box attacks typically require querying, searching, or training an attacker separately for each target graph, essentially following a “one graph, one optimization” paradigm. This is reasonable when attacking a single known target graph. However, when the target graph is unavailable in advance, model queries are restricted, or multiple target graphs arrive over time, repeatedly optimizing an attacker for each graph leads to substantial cumulative cost and cannot directly handle unseen targets. In contrast, our method first learns shared structural–feature attack patterns from multiple accessible source graphs. After one-time pretraining, all attacker parameters remain completely frozen. The model then generates a graph-conditioned attack strategy for each target graph through a single forward pass according to its specific structure and features. Therefore, what is reused across graphs is the same set of attack parameters and transferable attack knowledge, rather than an identical fixed perturbation.

Besides, multi-source pretraining also integrates complementary knowledge from different source graphs. Graphs may differ substantially in connectivity density, local structures, and feature-propagation patterns, and such diversity helps the attacker learn more general message-passing vulnerabilities than target-specific optimization on a single graph. Consequently, even when an unseen target graph is inherently difficult to attack, the pretrained model can still exploit transferable patterns learned from other source graphs. This also helps explain why conventional black-box attacks perform relatively poorly on datasets such as Photo and Computers, whereas our method can still maintain effective attack performance on them. We agree that results obtained by training directly on a single target graph are useful for measuring the performance upper bound of target-specific attacks. Accordingly, the baselines in our experiments are optimized on individual target graphs and compared with our cross-domain attack setting. However, such results mainly reflect the advantage of accessing the target graph and performing target-side optimization, and therefore cannot alone determine cross-graph universality. The central question of this work is whether an attacker trained only on source graphs can be directly reused across multiple unseen graphs under completely zero-query, zero-training, and zero-adaptation conditions at the target side. Our results show that the proposed method remains effective under this stricter deployment setting, extending the conventional “one graph, one optimization” paradigm toward “one-time pretraining, multi-graph reuse.”

For the efficiency/cost analysis jointly raised by the Reviewer and the Area Chair, we provide the following analysis: Let ∣V∣|V| and ∣E∣|E| denote the numbers of nodes and edges in a graph, respectively, and let rr denote the attack-budget ratio. For conventional target-specific black-box attacks, the main operations include sparse graph propagation and anchor or candidate-node selection. The computational cost of optimizing an attack on one target graph for EtE_t epochs is approximately

O(Et(∣E∣+r∣V∣2))O(E_t(|E|+r|V|^2))

Therefore, attacking MM target graphs independently requires an overall complexity of

O(MEt(∣E∣+r∣V∣2))O(ME_t(|E|+r|V|^2))

because the attack must be retrained or re-optimized for every new target graph.

In contrast, our method performs multi-source pretraining only once. For KK source graphs and EpE_p pretraining epochs, followed by one forward pass on each of the MM unseen target graphs, the overall complexity is approximately

O(KEp(∣E∣+r∣V∣2)+M∣E∣)O(KE_p(|E|+r|V|^2)+M|E|)

The first term is a one-time upstream pretraining cost, while the second term corresponds only to sparse forward propagation on each target graph. Moreover, the source graphs are processed sequentially rather than concatenated and loaded simultaneously. Thus, multi-source pretraining increases cumulative training time but does not cause peak memory consumption to grow linearly with the number of source graphs.

The additional pretraining cost is therefore limited, incurred only once, and can be completed before deployment. When a new target graph arrives, conventional attacks must repeat multi-epoch optimization, whereas our method directly reuses the frozen pretrained attacker and reduces the target-side cost to a single forward pass. As more target graphs are encountered, the one-time pretraining cost is progressively amortized, while the cumulative cost of target-specific attacks continues to grow with the number of targets. This is analogous to general-purpose pretrained models: upstream training is completed in advance so that the model can be directly applied when needed. Despite eliminating target-side training, our method still achieves stronger attack effectiveness than existing target-specific black-box baselines, demonstrating its practical advantage in multi-target or previously unseen deployment scenarios.

To answer W2. In this paper, universality refers to the model’s ability to generalize across graphs with different scales, application domains, feature spaces, and structural distributions under a unified setting of attributed homogeneous graphs, node classification, and node-injection attacks. It does not imply unconditional applicability to all graph learning paradigms. Heterogeneous graphs contain multiple node and relation types, and their message-passing mechanisms, representation spaces, and attack operation spaces are fundamentally different from those of homogeneous graphs. Therefore, similar to existing graph foundation models that typically employ separate encoding frameworks for homogeneous and heterogeneous graphs, extending our method to heterogeneous graphs requires a new problem formulation rather than a straightforward cross-dataset transfer. Our current experiments already cover multiple real-world attributed graph domains, including citation networks, product co-purchase networks, and co-authorship networks, and demonstrate the model’s zero-adaptation transferability across graphs with different scales and structural distributions.To further strengthen this conclusion, we have added the additional out-of-distribution graph suggested by the Area Chair, namely ogbn-arxiv, to the revised manuscript. Although ogbn-arxiv is homogeneous in terms of node and edge types, it exhibits non-negligible heterophily in its neighborhood-label distribution, providing a more challenging setting for evaluating cross-distribution generalization. We will also incorporate additional GNN backbones as victim models. Throughout these experiments, the parameters of the pre-trained attack model remain entirely frozen, thereby providing further evidence of its cross-distribution generalization capability. The detailed results are presented in the following table.

Dataset Victim Model Before Attack After Attack
Cora GraphSAGE 0.87 0.63
Cora GAT 0.86 0.72
Cora GIN 0.84 0.62
CiteSeer GraphSAGE 0.76 0.64
CiteSeer GAT 0.75 0.69
CiteSeer GIN 0.71 0.61
PubMed GraphSAGE 0.84 0.69
PubMed GAT 0.83 0.75
PubMed GIN 0.83 0.65
Photo GraphSAGE 0.94 0.71
Photo GAT 0.93 0.80
Photo GIN 0.92 0.73
Computers GraphSAGE 0.93 0.62
Computers GAT 0.92 0.72
Computers GIN 0.91 0.55
CS GraphSAGE 0.95 0.54
CS GAT 0.94 0.65
CS GIN 0.91 0.54
Physics GraphSAGE 0.96 0.71
Physics GAT 0.95 0.80
Physics GIN 0.93 0.69
ogbn-arxiv GCN 0.63 0.56
ogbn-arxiv GAT 0.64 0.60
ogbn-arxiv GraphSAGE 0.66 0.57
ogbn-arxiv GIN 0.63 0.55
Reviewer 8jwi · CommentOpenReview ↗

Thank you for the detailed clarification.

Response to W1: I understand that the proposed framework is motivated by a deployment scenario in which a pretrained attacker is reused across multiple unseen target graphs.

It still remains unclear because:

  • The efficiency advantage relies on amortizing the one-time pretraining cost over many target graphs. In practice, the quality of the pretrained model likely depends on having a sufficiently large set of source graphs, and source-target similarity also appears to affect performance. This suggests that the benefit may depend on both the size and diversity of the pretraining set.

  • The quadratic term in the training cost appears expensive for large graphs, while several baselines (e.g., degree, eigenvector-based methods, etc) do not necessarily incur an O(|V|^2)) cost in sparse graphs.

Could the authors clarify the choice of K, and provide the training time and inference time?

Response to W2:

In this paper, universality refers to the model’s ability to generalize across graphs with different scales, application domains, feature spaces, and structural distributions under a unified setting of attributed homogeneous graphs, node classification, and node-injection attacks.

This homogeneous requirement seems rather restricted, given the scope is universality.

For the experiment,

  • the attack results need to be compared against baselines to have a fair evaluation on OOD graphs.

  • the performance degradation after the attack seems less on the obgn-arxiv dataset. How to interpret this?

Authors · CommentOpenReview ↗

(1/2) Thank you for the reviewer’s further comments. We respond from four perspectives: the choice of the number of source graphs, the practical computational cost, the baseline comparison on the OOD graph, and the attack performance on ogbn-arxiv.

Choice of the Number of Source Graphs KK

We have systematically investigated the influence of different numbers and combinations of source graphs in Appendix C and Fig. 5. The results show that increasing the number of source graphs does not lead to a monotonic improvement in transfer performance. On most target graphs, using three source graphs with different scales and domain distributions achieves the best or nearly the best performance. Therefore, the choice of K=3K=3 is not arbitrary, but represents an empirical balance among source-domain diversity, transfer performance, and pretraining cost.

We also agree with the reviewer that generalization depends jointly on the number and diversity of source graphs, as well as the source–target distribution discrepancy. This is precisely why we further analyze different source-graph combinations in the appendix.

Baseline Comparison on ogbn-arxiv

We agree that reporting only our method on a new OOD graph is insufficient for a complete and fair comparison. Due to the space limitation of the first-round rebuttal, we were unable to present the full comparison table. We now provide the results of our method and the baselines on ogbn-arxiv under the same victim model, data split, attack budget, and evaluation metric.

Method ogbn-arxiv (GCN) ↓
None 63.54
Random 62.84
Degree 61.43
Semi-Local 61.07
KShell 61.11
Betweenness 62.38
Closeness 61.70
SubGraph 60.75
Eigenvector 61.64
PageRank 62.60
HITS 62.33
GC-RWCS 60.96
VoteAttack 56.81
Ours 56.97

The final version will report the complete results for all baselines, together with the clean and attacked accuracies. If we are given the opportunity to submit a final revision, we will include the complete table and detailed experimental settings in the main paper or appendix.

Computational Cost on Large-Scale Graphs

ogbn-arxiv contains approximately $1.69 ×\times 10^5$ nodes and $1.17 ×\times 10^6$ edges, making it substantially larger than the other target graphs considered in our experiments. We agree that structural heuristics such as Degree, Eigenvector, and PageRank can exploit sparse graph operations and do not necessarily incur O(∣V∣2)O(|V|^2) time complexity. Therefore, we do not claim that our method is always faster than every lightweight heuristic when attacking a single target graph.

However, lightweight node-ranking heuristics do not represent all competitive attack methods. Several representative attacks still involve expensive target-side computations. For example, GC-RWCS has a time complexity of O(∣S∣∣V∣2)O(|S||V|^2). Although VoteAttack reduces its time complexity to O(∣S∣d2)O(|S|d^2), its node-voting matrix still incurs O(∣V∣2)O(|V|^2) space complexity. More importantly, these methods must repeat node selection and attack construction for every new target graph, whereas the expensive operations in our method are performed only during source-side pretraining. No retraining or iterative optimization is required at deployment.

Taking Cora, CiteSeer, and CS as the three source graphs, the pretraining cost of the current implementation containing quadratic terms is related to

∣VCora∣2+∣VCiteSeer∣2+∣VCS∣2,|V_{\text{Cora}}|^2+ |V_{\text{CiteSeer}}|^2+ |V_{\text{CS}}|^2,

which is approximately 3.55×1083.55\times10^8. In comparison, the quadratic term of ogbn-arxiv alone is approximately

∣Vogbn-arxiv∣2≈2.87×1010,|V_{\text{ogbn-arxiv}}|^2 \approx 2.87\times10^{10},

which is approximately 81 times larger than the sum of the quadratic terms of the three source graphs. Moreover, the source graphs are processed sequentially rather than concatenated and loaded simultaneously. Therefore, peak memory consumption is determined by the largest source graph rather than the total number of nodes across all source graphs.

Consequently, even when one-time VGAE encoding and attacker pretraining are included, the cumulative cost of pretraining on several small source graphs can still be substantially lower than performing target-specific optimization with quadratic operations on a single large graph such as ogbn-arxiv.

We emphasize that this comparison mainly applies to attack methods involving quadratic computation or dense matrix operations. Compared with lightweight heuristics such as Degree, the advantage of our method is not necessarily a lower cost for a single execution, but its ability to achieve stronger or comparable attack performance without accessing the target model or conducting target-side training.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…