Paper deep dive
ZeroGAR: Benchmarking the Adversarial Robustness of Zero-Shot Graph Models
Zhongjian Zhang, Xiao Wang, Busheng Zhang, Bo Yan, Xingtong Yu, Yue Gao, Jia Li, Chuan Shi
Intelligence
Status: not_run | Model: - | Prompt: - | Confidence: 0%
Entities (0)
Relation Signals (0)
No relation signals yet.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Zero-shot graph models (ZGMs), which learn transferable knowledge from source graphs and directly apply to unseen target graphs without any adaptation, have achieved promising performance and attracted considerable attention. Despite their proliferation, existing ZGMs are predominantly evaluated on clean graphs, while existing graph robustness benchmarks mainly focus on supervised settings, leaving a fundamental question largely unexplored: How robust are ZGMs when their unseen target graphs are exposed to adversarial manipulation? In this paper, we answer this question by proposing ZeroGAR, the first systematic benchmark for evaluating the adversarial robustness of ZGMs. ZeroGAR evaluates 13 representative ZGMs from 3 different paradigms on 8 graph datasets across 4 domains, covering both in-domain and cross-domain transfer under structural, textual, and node injection attacks with multiple perturbation budgets. It further investigates whether existing graph defenses remain effective in the zero-shot setting. Extensive experiments reveal that strong clean zero-shot performance does not guarantee adversarial robustness, with three key findings: (1) Vulnerability patterns are related to model prediction mechanisms: GNN-based methods are particularly vulnerable to structural and node injection attacks, whereas LLM-based methods are more vulnerable to textual attacks; (2) Stronger LLM backbones introduce a structure-text robustness trade-off; (3) Existing graph defense methods do not consistently improve zero-shot robustness and may compromise clean performance. We hope that ZeroGAR will facilitate rapid, equitable evaluation and inspire further innovative research in ZGM security.
Tags
Links
- Source: https://arxiv.org/abs/2609.33314v1
- Canonical: https://arxiv.org/abs/2609.33314v1
Trouble viewing inline? Open PDF directly β
Full Text
93,350 characters extracted from source content.
Expand or collapse full text
ZeroGAR: Benchmarking the Adversarial Robustness of Zero-Shot Graph Models Zhongjian Zhang Xiao Wang Busheng Zhang Bo Yan Xingtong Yu Yue Gao Jia Li Chuan Shi Abstract Zero-shot graph models (ZGMs), which learn transferable knowledge from source graphs and directly apply to unseen target graphs without any adaptation, have achieved promising performance and attracted considerable attention. Despite their proliferation, existing ZGMs are predominantly evaluated on clean graphs, while existing graph robustness benchmarks mainly focus on supervised settings, leaving a fundamental question largely unexplored: How robust are ZGMs when their unseen target graphs are exposed to adversarial manipulation? In this paper, we answer this question by proposing ZeroGAR, the first systematic benchmark for evaluating the adversarial robustness of ZGMs. ZeroGAR evaluates 13 representative ZGMs from 3 different paradigms on 8 graph datasets across 4 domains, covering both in-domain and cross-domain transfer under structural, textual, and node injection attacks with multiple perturbation budgets. It further investigates whether existing graph defenses remain effective in the zero-shot setting. Extensive experiments reveal that strong clean zero-shot performance does not guarantee adversarial robustness, with three key findings: (1) Vulnerability patterns are related to model prediction mechanisms: GNN-based methods are particularly vulnerable to structural and node injection attacks, whereas LLM-based methods are more vulnerable to textual attacks; (2) Stronger LLM backbones introduce a structureβtext robustness trade-off; (3) Existing graph defense methods do not consistently improve zero-shot robustness and may compromise clean performance. We hope that ZeroGAR will facilitate rapid, equitable evaluation and inspire further innovative research in ZGM security. 1Beijing University of Posts and Telecommunications, 2The Hong Kong University of Science and Technology (Guangzhou) 3Beihang University, 4Tsinghua University, 5The Chinese University of Hong Kong zhangzj@bupt.edu.cn, xiao_wang@buaa.edu.cn, 2023213779@bupt.cn, bobobe@mail.tsinghua.edu.cn, xtyu@se.cuhk.edu.hk, gaoyue@tsinghua.edu.cn, jialee@hkust-gz.edu.cn, shichuan@bupt.edu.cn Introduction Graphs are ubiquitous in the real world, including social networks (Huang et al. 2024), finance networks (Wang et al. 2022), and product networks (Zhang et al. 2025c). Recently, the graph models represented by Graph Neural Networks (GNNs) have become the mainstream approach for modeling graph data (Wu et al. 2020). However, traditional graph models typically require training or adaptation for each target graph, which becomes impractical as new graphs continually emerge in real-world applications. Therefore, recent studies have developed zero-shot graph models (ZGMs) that learn transferable knowledge from source graphs and directly make predictions on unseen target graphs, attracting considerable attention (Li et al. 2024a; Zhu et al. 2025; Wang et al. 2026a). Figure 1: Overview of 3 paradigms of ZGMs. Table 1: Comparison of existing graph robustness benchmarks. Benchmark Data domains Attack type Victim model Zero-shot setting Structure Textual Node injection GNNPred GTextLLM GTokenLLM Zheng et al.2021 2 β β β β β β β Gosch et al.2023 4 β β β β β β β Guo et al.2024 3 β β β β β β β Zhang et al.2025a 2 β β β β β β β Olatunji et al.2025 1 β β β β β β β 19 2 β β β β β β β Lei et al.2026 4 β β β β β β β ZeroGAR (Ours) 4 β β β β β β β Typically, ZGMs focus on text-attributed graphs (TAGs), where each node is associated with a text attribute. Such text information allows these models to leverage the rich semantic knowledge or strong reasoning capabilities of large language models (LLMs), to enable zero-shot generalization across different graphs (Liu et al. 2025). Existing efforts mainly fall into three categories: GNN-based Predictors (GNNPreds), Graph-Textualizing LLMs (GTextLLMs), and Graph-Tokenizing LLMs (GTokenLLMs). As shown in Figure 1, GNNPreds use a TAG encoder and a language encoder to generate representations of nodes and candidate classes, respectively, and then make predictions either by computing their contrastive similarities or concatenating them to train classifiers (Zhu et al. 2025; Liu et al. 2024). In contrast, GTextLLMs and GTokenLLMs mainly align graph data with the natural language space to enable LLM-based reasoning. GTextLLMs convert node text and graph structure into natural language contexts (Guo et al. 2025a; Wang et al. 2026b), whereas GTokenLLMs encode graph information into graph tokens that can be fed into LLMs (Wang et al. 2024a; Wang et al. 2026a). The above methods have demonstrated promising zero-shot node classification performance in both in-domain and cross-domain settings (Li et al. 2024b; Wu et al. 2025). However, their performance is predominantly evaluated on clean target graphs, implicitly assuming that the graph structure and node text remain reliable. In open deployment environments, an adversary may manipulate a target graph by adding or deleting edges, modifying node text, or injecting malicious nodes, posing significant challenges to the deployment of ZGMs in real-world applications, e.g., finance and healthcare (Sun et al. 2022; Zhang et al. 2026c; Zhang et al. 2024). This problem is further complicated in the zero-shot setting, where the model must handle an unseen target graph without labeled data or any adaptation. Meanwhile, existing graph robustness benchmarks mainly consider supervised settings where models are trained and evaluated on the same graph or task (Table 1). Consequently, they provide limited evidence on whether adversarial robustness transfers together with predictive capability to unseen graphs. These limitations raise a fundamental question: How robust are ZGMs when their unseen target graphs are exposed to adversarial manipulation? Answering this question not only advances our understanding of adversarial robustness of ZGMs, but also provides the foundation for developing secure graph foundation models (Liu et al. 2025). To this end, we propose ZeroGAR, a systematic benchmark for evaluating the adversarial robustness of ZGMs. Specifically, ZeroGAR includes 8 TAG datasets from 4 domains, covering both in-domain and cross-domain zero-shot transfer. It evaluates 13 representative ZGMs spanning GNNPreds, GTextLLMs, and GTokenLLMs against 3 major attack surfaces: graph structure, raw node text, and node injection, and evaluates each attack under low, medium, and high perturbation budgets. Beyond clean and adversarial performance, ZeroGAR investigates whether existing graph defenses can improve robustness in the zero-shot setting. Extensive experiments show that strong zero-shot performance on clean target graphs does not guarantee robustness under adversarial perturbations, with three key insights: (1) GNNPreds are particularly vulnerable to structural perturbations, with an average relative accuracy drop of 18.37%, compared with 3.10% for GTextLLMs and 2.45% for GTokenLLMs. In contrast, textual attacks cause significant drops of 21.19% and 20.27% for GTextLLMs and GTokenLLMs, respectively, compared with 8.28% for GNNPreds. (2) Stronger LLM backbones improve resistance to corrupted graph context, but can simultaneously increase sensitivity to misleading textual semantics. (3) Existing graph defenses do not consistently improve zero-shot robustness and may even reduce clean or adversarial performance. These observations raise alarms for the secure deployment of ZGMs in real-world applications. Our contributions are summarized as follows: β We introduce ZeroGAR, the first systematic benchmark for evaluating the adversarial robustness of ZGMs, enabling a fair comparison among different methods by unifying the experimental settings across a collection of real-world datasets. β We conduct extensive experiments that reveal how the adversarial robustness of ZGMs is shaped by model prediction mechanisms, LLM backbone strength, and defense strategies, providing key insights for developing more robust ZGMs. β Our benchmark repository will be made publicly available after the review process to facilitate future research on the adversarial robustness of zero-shot graph models. Table 2: Statistics of the source and target graph datasets. Dataset #Nodes #Edges Avg. # Deg Avg. # Tok #C Train/Val/Test (%) Node Text Domain Usage OGBN-Arxiv 169,343 1,157,799 13.77 232.61 40 53.7/17.6/28.7 Paper content Academic sG^s OGBN-Products 2,449,029 61,859,012 50.52 153.41 47 8.0/1.6/90.4 Product description E-commerce sG^s Cora 2,708 5,278 3.90 189.54 7 60.0/20.0/20.0 Paper content Academic tG^t Citeseer 3,186 4,225 2.65 193.11 6 60.0/20.0/20.0 Paper content Academic tG^t History 41,551 251,590 12.11 298.97 12 60.0/20.0/20.0 Product reviews E-commerce tG^t Child 76,875 1,162,522 30.24 283.00 24 60.0/20.0/20.0 Product reviews E-commerce tG^t Instagram 11,339 72,005 12.70 31.71 2 60.0/20.0/20.0 Userβs profile Social tG^t WikiCS 11,701 215,603 36.85 522.31 10 5.0/15.1/50.0 Entity description Wikipedia tG^t Preliminaries Text-Attributed Graphs A text-attributed graph (TAG) is denoted as =(,β°,)G\!\!=\!\!(V,E,S), where =vii=1NV\!=\!\v_i\_i=1^N is the set of N nodes, β°E is the set of edges, and =sii=1NS\!=\!\s_i\_i=1^N is the set of node texts. The graph structure is represented by an adjacency matrix β0,1NΓNA\!β\!\0,1\^NΓ N, where iβj=1A_ij\!\!=\!\!1 indicates that an edge exists between viv_i and vjv_j. Following prior studies on graph adversarial learning, we focus on node classification. Specifically, given a label space =0,β¦,Cβ1Y\!=\!\0,β¦,C\!-\!1\, each node viv_i has a label yiβy_i\!β\!Y. The objective is to predict the labels ty_t of a set of target nodes based on their textual attributes and graph structure. Figure 2: Overview of the ZeroGAR evaluation pipeline. Zero-shot Graph Learning In the zero-shot setting, a parameterized graph model f_ ΞΈ is trained on a collection of source graphs and then directly applied to an unseen target graph, without using labeled target nodes or performing task-specific parameter updates. Let s=ksk=1KG^s\!\!=\!\!\G^s_k\_k=1^K denote a collection of K source TAGs. The parameters are learned by minimizing the training loss: β=argβ‘minββtrainβ(f,s). ΞΈ^*= _ ΞΈL_train (f_ ΞΈ;G^s ). (1) The training process may be supervised or unsupervised. Subsequently, given an unseen target TAG t=(t,β°t,t)G^t\!\!=\!\!(V^t,E^t,S^t) with a label space tY^t, where ksβ©t=β V^s_k ^t\!=\! and ksβ©t=β Y^s_k ^t\!=\! for all kβ1,β¦,Kk\!β\!\1,β¦,K\, the well-trained fβf_ ΞΈ^* is then directly applied to predict the label of each target node: y^it=argβ‘maxcβtβPfββ(yit=cβ£t,t),vitβt, y^t_i= _c ^tP_f_ ΞΈ^* (y^t_i=c ^t,Y^t ), v^t_i ^t, (2) where y^it y^t_i is the predicted label and c is a candidate class. Graph Adversarial Attacks and Defenses Given a well-trained graph model fβf_ ΞΈ^*, an attacker aims to degrade its predictive performance on a set of target nodes tV^t by manipulating the input graph tG^t. The formal definition of adversarial attacks is as follows: maxΞ΄βΞβ‘βtestβ(fΞΈββ(t+Ξ΄),t), _Ξ΄β L_test(f_ΞΈ^*(G^t+Ξ΄),y_t), (3) where ty_t is the labels of the target nodes. Ξ΄ denotes a perturbation applied to the graph G, which may involve modifying the graph structure or raw textual attributes, or injecting malicious nodes. Ξ denotes the set of all permitted and effective perturbations. In contrast, graph defenses aim to maximize the modelβs predictive performance on the target nodes. This is typically achieved by training a more robust graph model or purifying the attacked graph (Guo et al. 2025b). ZeroGAR Benchmark In this section, we present the datasets, attacks, victim models, evaluation settings and metrics in ZeroGAR (Figure 2). Raw Data Collection For a broad and controlled evaluation, the dataset selection in ZeroGAR considers 3 key factors: (1) Text-attributed graphs. Each dataset provides both graph structure and node-level text, enabling the evaluation of structural, textual, and node injection attacks. (2) Domain diversity. The datasets span common graph domains, including academic, e-commerce, social, and web. (3) Diverse scale and density. The datasets vary in graph size, connectivity, textual content, and label space. As shown in Table 2, ZeroGAR comprises 8 datasets spanning 4 domains: academic (OGBN-Arxiv, Cora, and Citeseer), e-commerce (OGBN-Products, History, and Child), social (Instagram), and web (WikiCS). Attack Types We characterize the developed graph adversarial attacks from four aspects: (1) Adversaryβs capability. We primarily consider evasion attacks, where the adversary manipulates the input graph at inference time to induce incorrect predictions. The victim model remains fixed, and the attacker cannot modify its parameters or architecture. (2) Adversaryβs knowledge. The attacks are conducted under a grey-box setting, where the adversary has only limited knowledge of the victim model. This setting more closely reflects real-world deployment scenarios and is more practical for ZGMs, given the substantial time and computational costs of accessing these large and complex models. (3) Adversaryβs strategy. The adversary conducts perturbations through 3 primary attack surfaces: adding or deleting edges, modifying raw node text, and injecting malicious nodes. (4) Adversaryβs budget. According to the available perturbation budget, the adversary can perform attacks at low, medium, or high intensity. Structural attacks modify the graph structure while keeping the node set and node texts unchanged. Specifically, given the clean adjacency matrix A and the perturbed matrix β²A , the structural perturbation is constrained by 12βββ²ββ0β€Ξ 12 \|A -A \|_0\!β€\! . The factor 1/21/2 avoids counting both symmetric entries of an edge in an undirected graph. Given the large scale of the target graphs, we adopt Simplified Gradient-based Attack (SGA) (Li et al. 2021). For each target node, SGA extracts a local subgraph and computes the effect of candidate edge modifications using the gradients of the surrogate model. It then iteratively adds or removes the edge that most increases the attack loss until reaching the perturbation budget. Since graph connectivity typically affects attack effectiveness, we set the low, medium, and high budgets to 1,3,5\1,3,5\ for Cora and Citeseer, 3,5,10\3,5,10\ for History and Instagram, and 10,20,30\10,20,30\ for Child and WikiCS. Textual attacks modify the raw texts while keeping the graph structure unchanged. Let sis_i and siβ²s_i denote the clean and perturbed texts of node viv_i, respectively. Following prior benchmarks (Lei et al. 2026; Guo et al. 2024), we constrain the number of modified nodes by βi=1Nsiβ²β siβ€Ξ _i=1^N1\s_i β s_i\β€ . To generate fluent and context-aware perturbations, we adopt an LLM-based attack (Lei et al. 2026). Specifically, we use neighborhood-aware prompts to query an LLM to rewrite each selected nodeβs text, aiming to shift its predicted label away from both its current predicted class and the dominant predicted classes in its immediate neighborhood, while maintaining a similar length and fluency. We use Qwen3.6-27B as the query LLM and replace the raw texts of 10%,20%,40%\10\%,20\%,40\%\ of the test nodes under the low, medium, and high attack budgets, respectively. See AppendixPrompt Template for the Text-based Attack for detailed prompt templates. We also include TextFooler, a gradient-based word-level text attack, in AppendixResults against TextFooler Attack, which exhibits poor transferability across different models. Node injection attacks add adversarial textual nodes and their connections to the target graph, while preserving the original nodes and their attributes. The attacked graph is represented as t~=(tβͺinj,β°tβͺβ°inj,tβͺinj) G^t\!\!=\!\! (V^t\!βͺ\!V_inj,E^t\!βͺ\!E_inj,S^t\!βͺ\!S_inj ), where injV_inj denotes the injected nodes, β°injE_inj contains their connections to the graph, and injS_inj contains their textual attributes. We adopt the Word-frequency-based Text-level Graph Injection Attack (WTGIA) (Lei et al. 2024) and constrain the number of injected nodes by |inj|β€Ξ|V_inj|β€ . WTGIA first optimizes the word-frequency representations and connections of the injected nodes against the surrogate model. It then converts each optimized word-frequency representation into raw text using an LLM, which generates text containing the selected words while avoiding conflicting ones. The generated texts and optimized connections are jointly added to the target graph. Following the original WTGIA pipeline with dataset-specific adaptations, we use Llama3.1-8B as the text generator. For the low, medium, and high attack budgets, the numbers of injected nodes are set to 30,60,120\30,60,120\ for Cora, 45,90,180\45,90,180\ for Citeseer, 450,900,1800\450,900,1800\ for History, 750,1500,3000\750,1500,3000\ for Child, 115,230,460\115,230,460\ for Instagram, and 350,700,1400\350,700,1400\ for WikiCS, respectively. Victim Models We evaluate three paradigms of ZGMs as victim models. (1) GNNPreds use a TAG encoder and a text encoder to obtain representations of target nodes and candidate class descriptions, respectively, and then predict node labels either through contrastive similarity or with a set of learned binary classifiers. The former includes G2P2 (Wen and Fang 2023), ZeroG (Li et al. 2024a), and GraphCLIP (Zhu et al. 2025), while the latter is primarily represented by OFA (Liu et al. 2024). (2) GTextLLMs convert node text and graph structure into textual descriptions and prompt an LLM to predict node labels. We evaluate Llama3.1-8B (Grattafiori et al. 2024), Qwen3-8B (Yang et al. 2025), Vicuna-7B (Chiang et al. 2023), and G1 (Guo et al. 2025a). (3) GTokenLLMs encode node text and graph structure into graph tokens, project them into the input space of an LLM, and predict node labels using the projected tokens together with task instructions. We evaluate 5 representative models: GraphGPT (Tang et al. 2024), LLaGA (Chen et al. 2024a), TEA-GLM (Wang et al. 2024a), GOFA (Kong et al. 2025), and UniGTE (Wang et al. 2026a). See Appendix Details of Victim Models for detailed model descriptions. Evaluation Settings and Metrics We consider two zero-shot transfer settings: in-domain and cross-domain transfer. In the in-domain setting, the source and target graphs belong to the same domain but come from different datasets with distinct label spaces. Specifically, models trained on OGBN-Arxiv are evaluated on Cora and Citeseer, while models trained on OGBN-Products are evaluated on History and Child. In the cross-domain setting, the source and target graphs belong to different domains. Models are jointly trained on OGBN-Arxiv and OGBN-Products and evaluated on Instagram and WikiCS. Following prior work (Lei et al. 2026; Guo et al. 2024), we use a GCN with SBERT embeddings as the surrogate model to generate adversarial inputs for each target graph, and apply the attacked results to all victim models for evaluation. For a fair comparison, all victim models are evaluated using the same test nodes, candidate class descriptions, and perturbation budgets. We use the official implementations and, unless otherwise stated, adopt their default hyperparameters and LLM backbones. Given limited space, see AppendixAdditional Details on Implementations for more detailed attack and hyperparameter configurations. We use 3 common robustness metrics: accuracy (ACC), relative drop in accuracy (RDA), and attack success rate (ASR). We primarily report ACC and RDA in the main text, while the ASR results are provided in AppendixResults for the ASR Metric: ACC =1|test|ββviβtestβ‘(y^i=yi), = 1|V_test| _v_i _testI( y_i=y_i), (4) RDA =ACCcleanβACCadvACCclean. = ACC_clean-ACC_advACC_clean. (5) ACC measures classification performance on clean and adversarial graphs, denoted by ACCcleanACCclean and ACCadvACCadv, while RDA measures the relative accuracy change under attack. Experiments In this section, ZeroGAR aims to answer the following research questions: RQ1: How do ZGMs perform on clean graphs? RQ2: How robust are ZGMs against structural, textual, and node injection attacks? RQ3: How effective are existing graph defenses for improving the robustness of ZGMs? Performance on Clean Graphs Table 3: Clean performance and overall rank comparison across target datasets. Lower ranks are better. Method Cora Citeseer History Child Instagram WikiCS Rank GNNPred OFA 26.01 45.30 5.99 0.27 48.67 9.99 10.67 G2P2 45.76 53.76 13.08 11.70 45.48 41.29 9.00 ZeroG 52.03 52.66 37.58 12.89 56.50 37.63 6.83 GraphCLIP 63.10 67.55 56.85 21.11 64.82 69.45 2.67 GTextLLM Llama3.1-8B 65.68 62.38 39.84 31.25 45.13 73.46 3.50 Qwen3-8B 68.08 58.93 24.70 30.45 46.06 77.15 3.67 Vicuna-7B 57.20 46.08 21.41 17.24 30.85 42.53 8.50 G1 68.45 53.45 26.52 25.96 50.59 74.93 3.50 GTokenLLM GraphGPT 20.30 32.60 22.46 6.18 34.23 51.80 10.17 LLaGA 14.76 17.55 23.10 15.71 21.33 41.51 10.83 TEA-GLM 48.71 52.98 29.05 19.51 61.39 32.38 6.33 GOFA 67.53 44.51 28.35 20.38 39.58 66.05 6.33 UniGTE 36.72 32.13 13.18 16.57 46.45 49.75 9.00 Table 4: Performance comparison under structural attacks across different perturbation sizes. Each cell reports the ACC (top) and RDA (%, bottom). Best scores are bolded and runner-up scores are underlined. Method Cora Citeseer History Child Instagram WikiCS Avg. Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High GNNPred OFA 25.46 β 2.11 24.72 β 4.96 24.17 β 7.07 42.01 β 7.26 40.44 β 10.73 39.50 β 12.80 6.63 β 10.68 7.26 β 21.20 6.82 β 13.86 0.23 β 14.81 0.18 β 33.33 0.20 β 25.93 48.61 β 0.12 47.60 β 2.20 45.61 β 6.29 10.35 β 3.60 10.19 β 2.00 10.12 β 1.30 21.67 β 2.00 G2P2 45.57 β 0.42 39.67 β 13.31 38.19 β 16.54 47.34 β 11.94 40.44 β 24.78 38.71 β 27.99 11.80 β 9.79 11.32 β 13.46 11.42 β 12.69 10.81 β 7.61 10.29 β 12.05 10.10 β 13.68 45.47 β 0.02 45.31 β 0.37 42.62 β 6.29 40.50 β 1.91 39.82 β 3.56 39.20 β 5.06 31.59 β 10.38 ZeroG 45.20 β 13.13 33.39 β 35.83 23.62 β 54.60 47.18 β 10.41 41.69 β 20.83 36.99 β 29.76 20.62 β 45.13 17.11 β 54.47 11.83 β 68.52 8.18 β 36.54 6.69 β 48.10 5.71 β 55.70 37.59 β 33.47 31.51 β 44.23 20.10 β 64.42 34.03 β 9.57 28.82 β 23.41 25.57 β 32.05 26.44 β 40.16 GraphCLIP 53.51 β 15.20 46.31 β 26.61 44.10 β 30.11 62.07 β 8.11 61.76 β 8.57 58.93 β 12.76 36.42 β 35.94 34.30 β 39.67 29.00 β 48.99 18.32 β 13.22 17.91 β 15.16 17.71 β 16.11 64.30 β 0.80 64.57 β 0.39 64.43 β 0.60 59.89 β 13.77 55.46 β 20.14 52.85 β 23.90 46.77 β 20.93 GTextLLM Llama3.1-8B 64.76 β 1.40 60.15 β 8.42 62.55 β 4.77 58.62 β 6.03 57.52 β 7.79 56.27 β 9.79 44.88 β 12.65 47.47 β 19.15 45.14 β 13.30 31.13 β 0.38 30.26 β 3.17 29.89 β 4.35 46.45 β 2.92 47.91 β 6.16 47.91 β 6.16 70.40 β 4.17 68.19 β 7.17 65.98 β 10.18 51.97 β 1.26 Qwen3-8B 66.61 β 2.16 64.39 β 5.42 61.81 β 9.21 57.68 β 2.12 56.27 β 4.51 53.61 β 9.03 26.51 β 7.33 27.65 β 11.94 27.17 β 10.00 29.94 β 1.67 29.20 β 4.11 28.60 β 6.08 50.68 β 10.03 51.34 β 11.46 53.02 β 15.11 75.58 β 2.03 74.47 β 3.47 73.13 β 5.21 50.43 β 1.64 Vicuna-7B 56.46 β 1.29 48.71 β 14.84 45.57 β 20.33 44.98 β 2.39 41.69 β 9.53 39.18 β 14.97 19.59 β 8.50 18.25 β 14.76 16.97 β 20.74 15.84 β 8.12 15.40 β 10.67 14.85 β 13.86 28.91 β 6.29 29.93 β 2.98 28.51 β 7.59 35.54 β 16.44 31.52 β 25.89 31.28 β 26.45 31.29 β 13.06 G1 67.16 β 1.88 60.52 β 11.59 58.12 β 15.09 52.82 β 1.18 50.63 β 5.28 45.92 β 14.09 26.82 β 1.13 27.90 β 5.20 28.23 β 6.45 25.67 β 1.12 25.53 β 1.66 25.01 β 3.66 51.39 β 1.58 52.23 β 3.24 52.36 β 3.50 71.16 β 5.03 69.39 β 7.39 67.54 β 9.86 47.69 β 2.25 GTokenLLM GraphGPT 20.11 β 0.94 20.11 β 0.94 17.71 β 12.76 29.78 β 8.65 28.68 β 12.02 26.65 β 18.25 18.70 β 16.74 14.93 β 33.53 9.57 β 57.39 4.61 β 25.40 4.37 β 29.29 4.28 β 30.74 34.77 β 1.58 35.80 β 4.59 36.32 β 6.11 54.80 β 5.79 56.13 β 8.36 56.80 β 9.65 26.34 β 15.07 LLaGA 15.31 β 3.73 15.76 β 6.78 16.61 β 12.53 14.73 β 16.07 17.08 β 2.68 18.97 β 8.09 23.03 β 0.30 22.13 β 4.20 19.91 β 13.81 15.60 β 0.70 15.01 β 4.46 14.79 β 5.86 23.62 β 10.74 27.72 β 29.96 34.86 β 63.43 49.20 β 18.53 48.37 β 16.53 47.90 β 15.39 24.48 β 5.98 TEA-GLM 50.18 β 3.02 49.45 β 1.52 48.89 β 0.37 54.55 β 2.96 53.76 β 1.47 51.57 β 2.66 34.00 β 17.04 36.08 β 24.20 36.90 β 27.02 19.08 β 2.20 18.93 β 2.97 18.90 β 3.13 59.23 β 3.52 60.86 β 0.86 60.47 β 1.50 31.35 β 3.18 31.28 β 3.40 31.28 β 3.40 41.49 β 5.10 GOFA 63.47 β 6.01 56.46 β 16.39 55.54 β 17.76 39.34 β 11.62 37.15 β 16.54 35.42 β 20.42 23.55 β 16.93 22.51 β 20.60 20.25 β 28.57 18.75 β 8.00 18.35 β 9.96 18.13 β 11.04 37.86 β 4.35 38.03 β 3.92 36.98 β 6.57 60.61 β 8.24 58.73 β 11.08 58.37 β 11.63 38.86 β 13.94 UniGTE 37.82 β 3.00 37.45 β 1.99 38.01 β 3.51 32.92 β 2.46 32.29 β 0.50 32.29 β 0.50 15.15 β 14.95 16.33 β 23.90 17.63 β 33.76 17.89 β 7.97 17.74 β 7.06 17.68 β 6.70 42.44 β 8.63 41.43 β 10.81 39.31 β 15.37 49.12 β 1.27 48.47 β 2.57 47.51 β 4.50 32.30 β 6.04 Table 5: Performance comparison under textual attacks across different perturbation sizes. Each cell reports the ACC (top) and RDA (%, bottom). Best scores are bolded and runner-up scores are underlined. Method Cora Citeseer History Child Instagram WikiCS Avg. Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High GNNPred OFA 24.91 β 4.23 23.06 β 11.34 23.99 β 7.77 42.32 β 6.58 37.46 β 17.31 28.21 β 37.73 5.86 β 2.17 5.96 β 0.50 5.85 β 2.34 0.26 β 3.70 0.25 β 7.41 0.24 β 11.11 45.70 β 6.10 44.69 β 8.18 41.96 β 13.79 9.65 β 3.40 9.41 β 5.81 9.32 β 6.71 19.95 β 7.95 G2P2 45.53 β 0.50 45.02 β 1.62 44.10 β 3.63 51.10 β 4.95 48.75 β 9.32 47.34 β 11.94 12.84 β 1.83 12.57 β 3.90 12.30 β 5.96 11.33 β 3.16 11.23 β 4.02 10.77 β 7.95 44.34 β 2.51 43.68 β 3.96 42.44 β 6.68 41.19 β 0.24 41.05 β 0.58 39.03 β 5.47 33.59 β 4.40 ZeroG 52.01 β 0.04 51.85 β 0.35 51.73 β 0.58 52.04 β 1.18 49.84 β 5.36 49.22 β 6.53 34.87 β 7.21 32.62 β 13.20 28.02 β 25.44 12.74 β 1.16 12.55 β 2.64 12.48 β 3.18 55.44 β 1.88 53.02 β 6.16 51.34 β 9.13 35.54 β 5.55 32.63 β 13.29 27.76 β 26.23 38.65 β 8.39 GraphCLIP 59.78 β 5.26 55.54 β 11.98 48.52 β 23.11 63.79 β 5.57 57.52 β 14.85 44.51 β 34.11 55.69 β 2.04 54.55 β 4.05 50.86 β 10.54 19.49 β 7.67 18.06 β 14.45 14.30 β 32.26 63.46 β 2.10 63.42 β 2.16 62.01 β 4.34 64.73 β 6.80 58.77 β 15.38 44.24 β 36.30 49.96 β 12.38 GTextLLM Llama3.1-8B 60.15 β 8.42 53.32 β 18.82 40.22 β 38.76 52.98 β 15.07 46.55 β 25.38 34.64 β 44.47 36.83 β 7.56 33.52 β 15.86 26.81 β 32.71 27.39 β 12.35 23.67 β 24.26 17.10 β 45.28 41.34 β 8.40 36.27 β 19.63 30.85 β 31.64 65.59 β 10.71 58.34 β 20.58 42.19 β 42.57 40.43 β 23.55 Qwen3-8B 61.81 β 9.21 56.46 β 17.07 41.51 β 39.03 52.51 β 10.89 44.67 β 24.20 31.19 β 47.07 22.84 β 7.53 21.18 β 14.25 17.01 β 31.13 26.78 β 12.05 23.40 β 23.15 16.87 β 44.60 43.76 β 4.99 36.80 β 20.10 30.41 β 33.98 68.91 β 10.68 60.65 β 21.39 44.71 β 42.05 38.97 β 22.94 Vicuna-7B 51.48 β 10.00 47.42 β 17.10 35.24 β 38.39 40.44 β 12.24 39.50 β 14.28 29.94 β 35.03 21.22 β 0.89 20.01 β 6.54 19.25 β 10.09 16.26 β 5.68 14.61 β 15.26 12.57 β 27.09 29.44 β 4.57 28.03 β 9.14 25.12 β 18.57 38.09 β 10.44 32.85 β 22.76 22.49 β 47.12 29.11 β 16.09 G1 58.67 β 14.29 54.61 β 20.22 40.22 β 41.24 46.71 β 12.61 41.85 β 21.70 28.21 β 47.22 24.81 β 6.45 23.52 β 11.31 19.49 β 26.51 23.02 β 11.33 21.13 β 18.61 16.38 β 36.90 45.04 β 10.97 39.53 β 21.86 30.67 β 39.38 68.09 β 9.13 61.67 β 17.70 46.11 β 38.46 38.32 β 22.19 GTokenLLM GraphGPT 16.24 β 20.00 15.50 β 23.65 10.70 β 47.29 29.31 β 10.09 25.39 β 22.12 17.71 β 45.67 18.93 β 15.72 15.93 β 29.07 10.66 β 52.54 4.99 β 19.26 4.21 β 31.88 3.53 β 42.88 33.22 β 2.95 31.93 β 6.72 31.16 β 8.97 46.14 β 10.93 42.04 β 18.84 31.52 β 39.15 21.62 β 26.47 LLaGA 12.18 β 17.48 11.07 β 25.00 8.30 β 43.77 16.46 β 6.21 14.89 β 15.16 9.25 β 47.29 21.49 β 6.97 19.61 β 15.11 15.35 β 33.55 14.43 β 8.15 13.35 β 15.02 10.82 β 31.13 20.67 β 3.09 19.83 β 7.03 19.66 β 7.83 37.95 β 8.58 35.33 β 14.89 27.06 β 34.81 18.21 β 19.49 TEA-GLM 43.54 β 10.61 39.67 β 18.56 29.15 β 40.16 48.43 β 8.59 41.38 β 21.90 27.59 β 47.92 26.58 β 8.50 24.57 β 15.42 19.06 β 34.39 17.67 β 9.43 16.09 β 17.53 13.50 β 30.80 60.29 β 1.79 56.63 β 7.75 51.87 β 15.51 28.60 β 11.67 25.21 β 22.14 18.06 β 44.22 32.66 β 20.84 GOFA 62.36 β 7.66 54.24 β 19.68 44.46 β 34.16 39.50 β 11.26 34.48 β 22.53 23.98 β 46.12 26.41 β 6.84 24.76 β 12.66 20.74 β 26.84 18.84 β 7.56 17.84 β 12.46 15.56 β 23.65 36.10 β 8.79 32.66 β 17.48 29.00 β 26.73 59.16 β 10.43 52.61 β 20.35 38.21 β 42.15 35.05 β 19.84 UniGTE 33.03 β 10.05 28.23 β 23.12 22.14 β 39.71 28.53 β 11.20 25.08 β 21.94 17.40 β 45.85 12.93 β 1.90 12.80 β 2.88 12.00 β 8.95 15.69 β 5.31 14.61 β 11.83 11.79 β 28.85 46.01 β 0.95 45.48 β 2.09 45.34 β 2.39 45.66 β 8.22 40.74 β 18.11 30.15 β 39.40 27.09 β 14.73 β Within GNNPreds, parameter-free similarity prediction shows stronger zero-shot transferability than training a set of binary classifiers. As reported in Table 3, G2P2, ZeroG, and GraphCLIP achieve average accuracies of 35.18%, 41.55%, and 57.15%, respectively, all outperforming OFA, with GraphCLIP ranking first overall. One possible reason is that similarity-based methods use a consistent objective during training and inference, whereas a parametric classifier may overfit the classification patterns of the source graphs. GraphCLIP further benefits from the semantic information provided by LLM-generated graph summaries. β‘ GTextLLMs generally achieve stronger clean zero-shot performance than GTokenLLMs. Llama3.1-8B, Qwen3-8B, and G1 achieve average ranks of 3.50, 3.67, and 3.50, respectively, whereas the evaluated GTokenLLMs rank between 6.33 and 10.83 (Table 3). This is because existing GTokenLLMs use the relatively weaker Vicuna-7B as LLM backbone. It suggests that graph tokens provide useful information, but their benefits are generally insufficient to close the gap with GTextLLMs built on stronger LLM backbones. Robustness against Structural Attacks β’ Structural attacks are more effective against GNNPreds than GTextLLMs and GTokenLLMs. In Table 4, GNNPreds suffer an average RDA of 18.37%, compared with only 3.10% and 2.45% for GTextLLMs and GTokenLLMs. Moreover, as the attack strength increases, the accuracy of GTextLLMs and GTokenLLMs even improves in some cases. On the one hand, GNNPreds rely mainly on GNNs to aggregate neighborhood information over the perturbed graph and thus directly inherit their vulnerability to structure changes. On the other hand, GTextLLMs and GTokenLLMs use LLMs for prediction and typically input the clean text of the central node. When neighborhood information is corrupted, they may rely more on clean text from the central node, reducing the effect of structural perturbations. β£ GTextLLMs equipped with stronger LLM backbones exhibit greater robustness to structural attacks. Llama3.1-8B, Qwen3-8B, and G1 show almost no average performance degradation under structural attacks, whereas Vicuna-7B suffers an average drop of 13.06% (Table 4). This suggests that, when neighborhood information is perturbed, stronger LLMs can better leverage the clean textual semantics of the central node and candidate labels, thereby reducing their dependence on the corrupted graph context. Table 6: Performance comparison under node injection attacks across different perturbation sizes. Each cell reports the ACC (top) and RDA (%, bottom). Best scores are bolded and runner-up scores are underlined. Method Cora Citeseer History Child Instagram WikiCS Avg. Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High GNNPred OFA 25.83 β 0.69 25.38 β 2.42 25.01 β 3.84 43.73 β 3.47 43.10 β 4.86 40.60 β 10.38 5.95 β 0.67 5.72 β 4.51 5.05 β 15.69 0.12 β 55.56 0.12 β 55.56 0.12 β 55.56 50.42 β 3.60 51.74 β 6.31 53.55 β 10.03 8.64 β 13.51 8.36 β 16.32 7.82 β 21.72 22.29 β 13.25 G2P2 44.28 β 3.23 42.80 β 6.47 40.59 β 11.30 48.28 β 10.19 47.34 β 11.94 44.36 β 17.49 11.14 β 14.83 11.88 β 9.17 12.57 β 3.90 9.95 β 14.96 9.33 β 20.26 7.78 β 33.50 45.29 β 0.42 45.21 β 0.59 45.16 β 0.70 40.74 β 1.33 40.36 β 2.25 38.96 β 5.64 32.56 β 9.06 ZeroG 50.00 β 3.90 48.89 β 6.03 38.75 β 25.52 47.96 β 8.93 40.75 β 22.62 31.50 β 40.18 12.75 β 66.07 6.88 β 81.69 4.43 β 88.21 7.69 β 40.34 4.70 β 63.54 3.02 β 76.57 41.82 β 25.98 36.23 β 35.88 35.43 β 37.29 33.83 β 10.10 36.00 β 4.33 28.37 β 24.61 28.28 β 41.59 GraphCLIP 60.33 β 4.39 57.38 β 9.06 45.94 β 27.19 65.52 β 3.01 62.23 β 7.88 60.82 β 9.96 46.65 β 17.94 41.41 β 27.16 36.16 β 36.39 20.24 β 4.12 20.46 β 3.08 20.22 β 4.22 62.85 β 3.04 62.98 β 2.84 62.14 β 4.13 63.95 β 7.92 62.48 β 10.04 60.03 β 13.56 50.66 β 12.97 GTextLLM Llama3.1-8B 67.53 β 2.82 66.05 β 0.56 64.94 β 1.13 60.82 β 2.50 59.72 β 4.26 62.07 β 0.50 46.94 β 17.82 47.60 β 19.48 44.82 β 12.50 30.73 β 1.66 30.87 β 1.22 30.51 β 2.37 46.94 β 4.01 46.41 β 2.84 46.36 β 2.73 72.62 β 1.14 72.04 β 1.93 71.16 β 3.13 53.79 β 3.74 Qwen3-8B 68.63 β 0.81 66.79 β 1.89 66.42 β 2.44 56.74 β 3.72 57.68 β 2.12 58.46 β 0.80 25.56 β 3.48 25.89 β 4.82 26.19 β 6.03 28.96 β 4.89 28.53 β 6.31 28.44 β 6.60 47.20 β 2.48 45.39 β 1.45 47.47 β 3.06 76.26 β 1.15 75.41 β 2.26 73.75 β 4.41 50.21 β 0.33 Vicuna-7B 57.01 β 0.33 52.40 β 8.39 45.57 β 20.33 42.01 β 8.83 42.79 β 7.14 35.27 β 23.46 21.12 β 1.35 22.15 β 3.46 21.10 β 1.45 14.84 β 13.92 14.98 β 13.11 14.80 β 14.15 31.12 β 0.88 30.81 β 0.13 29.18 β 5.41 38.55 β 9.36 36.02 β 15.31 34.02 β 20.01 32.43 β 7.82 G1 65.87 β 3.77 64.21 β 6.19 60.89 β 11.04 50.94 β 4.70 50.63 β 5.28 50.94 β 4.70 31.31 β 18.06 32.09 β 21.00 29.78 β 12.29 25.82 β 0.54 25.74 β 0.85 25.63 β 1.27 51.74 β 2.27 48.83 β 3.48 48.74 β 3.66 74.84 β 0.12 72.77 β 2.88 71.15 β 5.04 49.00 β 1.67 GTokenLLM GraphGPT 14.21 β 30.00 9.41 β 53.65 4.24 β 79.11 27.43 β 15.86 22.57 β 30.77 17.71 β 45.67 12.62 β 43.81 9.17 β 59.17 9.23 β 58.90 2.96 β 52.10 3.97 β 35.76 4.60 β 25.57 35.30 β 3.13 35.17 β 2.75 35.21 β 2.86 49.10 β 5.21 47.27 β 8.75 46.01 β 11.18 21.45 β 33.24 LLaGA 12.55 β 14.97 14.58 β 1.22 18.82 β 27.51 14.73 β 16.07 14.11 β 19.60 12.54 β 28.55 20.62 β 10.74 19.06 β 17.49 16.80 β 27.27 16.08 β 2.36 15.64 β 0.45 15.31 β 2.55 21.90 β 2.67 29.22 β 36.99 27.32 β 28.08 44.98 β 8.36 51.03 β 22.93 51.96 β 25.17 23.18 β 1.48 TEA-GLM 48.71 0.00 50.37 β 3.41 49.08 β 0.76 53.13 β 0.28 54.23 β 2.36 53.61 β 1.19 28.64 β 1.41 27.70 β 4.65 27.72 β 4.58 19.11 β 2.05 19.03 β 2.46 18.95 β 2.87 57.87 β 5.73 56.46 β 8.03 55.88 β 8.98 33.44 β 3.27 34.14 β 5.44 34.56 β 6.73 40.15 β 1.33 GOFA 66.61 β 1.36 63.84 β 5.46 65.31 β 3.29 42.48 β 4.56 42.63 β 4.22 41.69 β 6.34 25.54 β 9.91 24.05 β 15.17 21.99 β 22.43 19.62 β 3.73 19.32 β 5.20 19.11 β 6.23 38.34 β 3.13 37.15 β 6.14 37.42 β 5.46 65.02 β 1.56 64.67 β 2.09 64.12 β 2.92 42.16 β 7.34 UniGTE 37.45 β 1.99 36.35 β 1.01 34.13 β 7.05 31.66 β 1.46 31.35 β 2.43 30.56 β 4.89 16.27 β 23.44 17.45 β 32.40 17.58 β 33.38 18.98 β 14.54 19.07 β 15.09 19.02 β 14.79 42.84 β 7.77 42.09 β 9.39 40.15 β 13.56 51.12 β 2.75 51.65 β 3.82 52.71 β 5.95 32.80 β 8.32 Robustness against Textual Attacks β€ Textual attacks are more effective against GTextLLMs and GTokenLLMs than GNNPreds. As reported in Table 5, GTextLLMs and GTokenLLMs suffer average relative accuracy drops of 21.19% and 20.27%, respectively, compared with 8.28% for GNNPreds. This is because LLM-based models mainly rely on node text for prediction, whereas GNNPreds can use the unperturbed neighborhood and graph structure to mitigate the effect of corrupted node text. β₯ GTextLLMs equipped with stronger LLM backbones are more vulnerable to textual attacks. Llama3.1-8B, Qwen3-8B, and G1 all suffer average relative accuracy drops of over 22%, compared with 16.09% for Vicuna-7B (Table 5). One possible reason is that LLMs with stronger text understanding rely more on textual semantics, which also makes them more sensitive to semantically misleading text. β¦ GTokenLLMs are more vulnerable to textual attacks than structural attacks. Their average relative performance drop increases from 2.45% under structural attacks to 20.27% under textual attacks (Table 5). One possible explanation is that the inputs to GTokenLLMs typically include the central-node text. Therefore, textual perturbations not only corrupt the textual information directly provided to the LLM, but also affect the graph tokens generated from the perturbed node text. In contrast, structural perturbations mainly affect the graph-token representations while preserving the clean central-node text, which remains available for prediction. Figure 3: Effectiveness of model-centric defenses that replace the Vanilla GNN with GNNGuard under structural attacks. Figure 4: Effectiveness of data-centric defenses that purify graph structures perturbed by SGA-High. Robustness against Node Injection Attacks β§ Node injection attacks show a similar vulnerability pattern to structural attacks. As shown in Table 6, GNNPreds, GTextLLMs, and GTokenLLMs exhibit average relative accuracy drops of 19.22%, 0.69%, and 7.01% under node injection attacks, respectively, which are closer to those under structural attacks (18.37%, 3.10%, and 2.45%) than to those under textual attacks (8.28%, 21.19%, and 20.27%). A possible explanation is that node injection perturbs neighborhood information while preserving the central-node text. It therefore strongly affects GNNPreds, has little effect on GTextLLMs, and moderately affects GTokenLLMs that use graph tokens as auxiliary context. Effectiveness of Existing Graph Defenses To evaluate existing defenses in zero-shot settings, we consider model-centric and data-centric structural defenses on Cora and Citeseer under SGA-High. The former replaces the original GNN backbone with robust GNNGuard (Zhang and Zitnik 2020), while the latter applies Jaccard (Wu et al. 2019) to purify the attacked structure with a threshold of 0.5. β¨ Existing graph defenses do not consistently improve zero-shot adversarial robustness and may even degrade model performance. Replacing the original GNNs with GNNGuard generally fails to improve robustness and substantially reduces the clean performance of GNNPreds (Figure 3). Similarly, Jaccard provides no consistent improvement and even degrades model performance (Figure 4). One possible explanation is that both defenses identify suspicious edges using fixed feature-similarity rules, which may not transfer across unseen target graphs with distinct similarity patterns. Summary and Future Work Based on the above experimental observations, we summarize 3 key conclusions: (1) Despite promising performance on clean graphs, all ZGMs suffer substantial degradation under adversarial attacks. GNNPreds are more vulnerable to structural and node injection attacks due to their reliance on neighborhood aggregation, whereas GTextLLMs and GTokenLLMs are more vulnerable to textual attacks because their predictions depend more heavily on node text. (2) Stronger LLM backbones improve robustness to corrupted structural context but increase sensitivity to misleading textual semantics, revealing a structureβtext robustness trade-off. (3) Existing graph defenses do not consistently improve robustness and may even compromise clean zero-shot performance. These observations raise alarms about the secure deployment of ZGMs in real-world applications and point to several future directions: For GNNPreds, robustness should be improved at the neighborhood aggregation stage by reducing the influence of adversarial edges and injected nodes. For LLM-based models, future methods should verify textual evidence against graph context to reduce their sensitivity to misleading semantics. Moreover, the observed structureβtext trade-off calls for methods that dynamically balance structural and textual evidence. Finally, since existing supervised defenses may remove information essential for zero-shot transfer, new defenses should identify adversarial perturbations without target labels while preserving clean zero-shot performance. Conclusion In this work, we introduced ZeroGAR, the first systematic benchmark for evaluating the adversarial robustness of zero-shot graph models on unseen target graphs. ZeroGAR provides a unified evaluation across 13 representative models, diverse text-attributed graphs, in-domain and cross-domain transfer settings, and structural, textual, and node injection attacks, while also examining existing graph defenses. Our experiments show that strong clean zero-shot performance does not guarantee adversarial robustness. GNN-based methods are more vulnerable to structural and node injection attacks, whereas LLM-based methods are more vulnerable to textual attacks; stronger LLMs introduce a structureβtext robustness trade-off; and existing graph defenses do not consistently improve zero-shot robustness and may compromise clean performance. We hope ZeroGAR will provide a standardized testbed for developing robustness methods specifically designed for zero-shot deployment on unseen graphs. References Chen et al. (2024a) Chen, R.; Zhao, T.; JAISWAL, A. K.; et al. 2024a. LLaGA: Large Language and Graph Assistant. In Forty-first International Conference on Machine Learning. Chen et al. (2024b) Chen, Z.; Mao, H.; Li, H.; et al. 2024b. Exploring the potential of large language models (llms) in learning on graphs. ACM SIGKDD Explorations Newsletter, 25(2): 42β61. Chiang et al. (2023) Chiang, W.-L.; Li, Z.; Lin, Z.; et al. 2023. Vicuna: An open-source chatbot impressing gpt-4 with 90%* chatgpt quality. See https://vicuna. lmsys. org (accessed 14 April 2023), 2(3): 6. Gosch et al. (2023) Gosch, L.; Geisler, S.; Sturm, D.; et al. 2023. Adversarial training for graph neural networks: Pitfalls, solutions, and new directions. Advances in neural information processing systems, 36: 58088β58112. Grattafiori et al. (2024) Grattafiori, A.; Dubey, A.; Jauhri, A.; et al. 2024. The Llama 3 herd of models. In Neural Information Processing Systems. Curran Associates. Guo et al. (2024) Guo, K.; Liu, Z.; Chen, Z.; et al. 2024. Learning on graphs with large language models (LLMs): A deep dive into model robustness. arXiv preprint arXiv:2407.12068. Guo et al. (2025a) Guo, X.; Li, A.; Wang, Y.; et al. 2025a. G1: Teaching LLMs to Reason on Graphs with Reinforcement Learning. In Advances in Neural Information Processing Systems, volume 38. Guo et al. (2025b) Guo, Y.; Bo, D.; Yang, C.; Lu, Z.; Zhang, Z.; Liu, J.; Peng, Y.; and Shi, C. 2025b. Data-Centric Graph Learning: A Survey. IEEE Trans. Big Data, 11(1): 1β20. Hu et al. (2020) Hu, W.; Fey, M.; Zitnik, M.; et al. 2020. Open graph benchmark: Datasets for machine learning on graphs. Advances in neural information processing systems, 33: 22118β22133. Huang et al. (2024) Huang, X.; Han, K.; Yang, Y.; et al. 2024. Can gnn be good adapter for llms? In Proceedings of the ACM web conference 2024, 893β904. Kong et al. (2025) Kong, L.; Feng, J.; Liu, H.; et al. 2025. GOFA: A Generative One-For-All Model for Joint Graph Language Modeling. In The Thirteenth International Conference on Learning Representations. Lei et al. (2024) Lei, R.; Hu, Y.; Ren, Y.; et al. 2024. Intruding with Words: Towards Understanding Graph Injection Attacks at the Text Level. In Advances in Neural Information Processing Systems, volume 37, 49214β49251. Lei et al. (2026) Lei, R.; Yi, L.; He, M.; et al. 2026. Robustness in Text-Attributed Graph Learning: Insights, Trade-offs, and New Defenses. In The Fourteenth International Conference on Learning Representations. Li et al. (2021) Li, J.; Xie, T.; Chen, L.; et al. 2021. Adversarial attack on large scale graph. IEEE Transactions on Knowledge and Data Engineering, 35(1): 82β95. Li et al. (2024a) Li, Y.; Wang, P.; Li, Z.; et al. 2024a. Zerog: Investigating cross-dataset zero-shot transferability in graphs. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, 1725β1735. Li et al. (2024b) Li, Y.; Wang, P.; Zhu, X.; et al. 2024b. Glbench: A comprehensive benchmark for graph with large language models. Advances in Neural Information Processing Systems, 37: 42349β42368. Liu et al. (2024) Liu, H.; Feng, J.; Kong, L.; et al. 2024. One for all: Towards training one graph model for all classification tasks. In International conference on learning representations, volume 2024, 20188β20210. Liu et al. (2025) Liu, J.; Yang, C.; Lu, Z.; et al. 2025. Graph foundation models: Concepts, opportunities and challenges. IEEE Transactions on Pattern Analysis and Machine Intelligence. Ma, Wang, and Yan (2026) Ma, Y.; Wang, J.; and Yan, Z. 2026. Are LLM-Enhanced Graph Neural Networks Robust against Poisoning Attacks? In 2026 IEEE Symposium on Security and Privacy (SP), 398β416. IEEE. Olatunji et al. (2025) Olatunji, I. E.; Boenisch, F.; Xu, J.; et al. 2025. Adversarial Attacks and Defenses on Graph-aware Large Language Models (LLMs). arXiv preprint arXiv:2508.04894. Sun et al. (2022) Sun, L.; Dou, Y.; Yang, C.; et al. 2022. Adversarial attack and defense on graph data: A survey. IEEE Transactions on Knowledge and Data Engineering, 35(8): 7693β7711. Tan et al. (2026) Tan, J.; Zhang, Z.; Guo, Y.; Liu, J.; Xing, Y.; Zhang, M.; Yang, C.; and Shi, C. 2026. GABench: A Comprehensive Benchmark for Evaluating LLM Agents on Graph Analysis Tasks. arXiv preprint arXiv:2608.01684. Tan et al. (2024) Tan, Y.; Zhou, Z.; Lv, H.; et al. 2024. Walklm: A uniform language model fine-tuning framework for attributed graph embedding. Advances in Neural Information Processing Systems, 36. Tang et al. (2024) Tang, J.; Yang, Y.; Wei, W.; et al. 2024. Graphgpt: Graph instruction tuning for large language models. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, 491β500. Wang et al. (2024a) Wang, D.; Zuo, Y.; Li, F.; et al. 2024a. Llms as zero-shot graph learners: Alignment of gnn representations with llm token embeddings. Advances in neural information processing systems, 37: 5950β5973. Wang et al. (2026a) Wang, D.; Zuo, Y.; Lu, G.; et al. 2026a. Unigte: Unified graphβtext encoding for zero-shot generalization across graph tasks and domains. Advances in Neural Information Processing Systems, 38: 92095β92120. Wang et al. (2024b) Wang, J.; Wu, J.; Hou, Y.; et al. 2024b. InstructGraph: Boosting Large Language Models via Graph-centric Instruction Tuning and Preference Alignment. arXiv preprint arXiv:2402.08785. Wang et al. (2022) Wang, J.; Zhang, S.; Xiao, Y.; et al. 2022. A Review on Graph Neural Network Methods in Financial Applications. Journal of Data Science, 20(2): 111β134. Wang et al. (2026b) Wang, Y.; Dai, X.; Fan, W.; et al. 2026b. Exploring Graph Learning Tasks with Pure LLMs: A Comprehensive Benchmark and Investigation. In Findings of the Association for Computational Linguistics: ACL 2026, 7909β7942. Association for Computational Linguistics. Wen and Fang (2023) Wen, Z.; and Fang, Y. 2023. Augmenting low-resource text classification with graph-grounded pre-training and prompting. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, 506β516. Wu et al. (2019) Wu, H.; Wang, C.; Tyshetskiy, Y.; et al. 2019. Adversarial Examples for Graph Data: Deep Insights into Attack and Defense. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, 4816β4823. International Joint Conferences on Artificial Intelligence Organization. Wu et al. (2025) Wu, X.; Shen, Y.; Ge, F.; et al. 2025. When Do LLMs Help With Node Classification? A Comprehensive Analysis. In International Conference on Machine Learning, 67623β67649. PMLR. Wu et al. (2020) Wu, Z.; Pan, S.; Chen, F.; et al. 2020. A comprehensive survey on graph neural networks. IEEE transactions on neural networks and learning systems, 32(1): 4β24. Yan et al. (2025) Yan, B.; Zhang, Z.; Sun, H.; Zhang, M.; Cao, Y.; and Shi, C. 2025. Data-centric federated graph learning with large language models. arXiv preprint arXiv:2503.19455. Yan et al. (2023) Yan, H.; Li, C.; Long, R.; et al. 2023. A comprehensive study on text-attributed graphs: Benchmarking and rethinking. Advances in Neural Information Processing Systems, 36: 17238β17264. Yang et al. (2025) Yang, A.; Li, A.; Yang, B.; et al. 2025. Qwen3 technical report. arXiv preprint arXiv:2505.09388. Yu et al. (2026) Yu, S.; Wang, Y.; Li, R.; et al. 2026. Graph2text or graph2token: A perspective of large language models for graph learning. ACM Transactions on Information Systems, 44(3): 1β49. Zhang et al. (2025a) Zhang, Q.; Sheng, X.; Sun, Y.; et al. 2025a. Trustglm: Evaluating the robustness of graphllms against prompt, text, and structure attacks. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2, 5912β5923. Zhang and Zitnik (2020) Zhang, X.; and Zitnik, M. 2020. Gnnguard: Defending graph neural networks against adversarial attacks. Advances in neural information processing systems, 33: 9263β9275. Zhang et al. (2026a) Zhang, Z.; Wang, X.; Zhang, M.; et al. 2026a. Toward Graph-Tokenizing Large Language Models with Reconstructive Graph Instruction Tuning. In Proceedings of the ACM Web Conference 2026, 430β441. Zhang et al. (2025b) Zhang, Z.; Wang, X.; Zhou, H.; Yu, Y.; Zhang, M.; Yang, C.; and Shi, C. 2025b. Can Large Language Models Improve the Adversarial Robustness of Graph Neural Networks? In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining, V.1, KDD 2025, Toronto, ON, Canada, August 3-7, 2025, 2008β2019. ACM. Zhang et al. (2026b) Zhang, Z.; Yu, Y.; Zhang, M.; Du, J.; Wang, X.; and Shi, C. 2026b. Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understanding. arXiv preprint arXiv:2605.03514. Zhang et al. (2025c) Zhang, Z.; Zhang, M.; Wang, X.; Lyu, L.; Yan, B.; Du, J.; and Shi, C. 2025c. Rethinking Byzantine Robustness in Federated Recommendation from Sparse Aggregation Perspective. In Thirty-Ninth AAAI Conference on Artificial Intelligence, AAAI 2025, Philadelphia, PA, USA, February 25 - March 4, 2025, 13331β13338. AAAI Press. Zhang et al. (2026c) Zhang, Z.; Zhang, M.; Xu, D.; Shi, R.; Liu, J.; Meng, F.; Xu, H.; Wang, X.; Wang, R.; Chen, J.; Tang, M.; and Shi, C. 2026c. FRiskGPT: A Generative Foundation Model for Financial Risk Detection. In Hacid, H.; Maarek, Y.; Bonchi, F.; Guy, I.; and Yilmaz, E., eds., Proceedings of the ACM Web Conference 2026, W 2026, Dubai, United Arab Emirates, originally scheduled for April 13-17, 2026, rescheduled for June 29 - July 3, 2026, 7733β7744. ACM. Zhang et al. (2024) Zhang, Z.; Zhang, M.; Yu, Y.; Yang, C.; Liu, J.; and Shi, C. 2024. Endowing Pre-trained Graph Models with Provable Fairness. In Proceedings of the ACM on Web Conference 2024, W 2024, Singapore, May 13-17, 2024, 1045β1056. ACM. Zhao et al. (2023) Zhao, J.; Zhuo, L.; Shen, Y.; et al. 2023. Graphtext: Graph reasoning in text space. arXiv preprint arXiv:2310.01089. Zheng et al. (2021) Zheng, Q.; Zou, X.; Dong, Y.; et al. 2021. Graph Robustness Benchmark: Benchmarking the Adversarial Robustness of Graph Machine Learning. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2). Zhu et al. (2025) Zhu, Y.; Shi, H.; Wang, X.; et al. 2025. Graphclip: Enhancing transferability in graph foundation models for text-attributed graphs. In Proceedings of the ACM on Web Conference 2025, 2183β2197. Related Work Zero-Shot Graph Models Based on their prediction mechanism, existing zero-shot graph models can be broadly divided into 3 categories: GNNPreds, GTextLLMs, and GTokenLLMs. GNNPreds train a TAG encoder on source graphs, to encode the textual and structural information of target nodes, while an off-the-shelf text encoder encodes target class descriptions. For zero-shot inference, G2P2 (Wen and Fang 2023), ZeroG (Li et al. 2024a), and GraphCLIP (Zhu et al. 2025) compute contrastive similarities between the representation of each node and those of the candidate classes, whereas OFA (Liu et al. 2024) concatenates their representations and trains a set of binary classifiers to determine whether the node belongs to each candidate class. Unlike GNNPreds, GTextLLMs and GTokenLLMs use GPT-style LLMs as predictors, but differ in how they provide graph information to the LLM (Yu et al. 2026; Zhang et al. 2026b). GTextLLMs convert node attributes and graph structure into textual descriptions and prompt an LLM to predict node labels (Chen et al. 2024b; Tan et al. 2026; Yan et al. 2025). To better model graph structure, existing methods use structured representations such as syntax trees (Zhao et al. 2023), random walks (Tan et al. 2024), and code-like formats (Wang et al. 2024b). Some studies further fine-tune open-source LLMs to improve their performance on graph tasks (Wang et al. 2026b). In contrast, GTokenLLMs encode node text and graph structure into graph tokens, project them into the input space of an LLM, and combine them with textual task instructions for prediction (Zhang et al. 2026a). This design provides a more compact way to pass graph information to LLMs. Representative methods include LLaGA (Chen et al. 2024a), TEA-GLM (Wang et al. 2024a), and GOFA (Kong et al. 2025). Although these models achieve promising zero-shot performance on clean graphs, their robustness against structure, text, and node injection attacks remains unexplored. Graph Robustness Benchmark Existing studies have evaluated graph robustness across an increasingly broad range of models and attacks. For example, GRB (Zheng et al. 2021) provides a unified benchmark for evaluating GNNs and robust GNNs under graph injection attacks. Guo et al. (Guo et al. 2024) and LLM4RGNN (Zhang et al. 2025b) extend the evaluation to LLM-enhanced graph learning, considering both LLMs as feature enhancers and predictors under structural and textual perturbations. Guo et al. (Ma, Wang, and Yan 2026) further investigate the poisoning robustness of LLM-enhanced GNNs, evaluating different language model encoders and GNN backbones under structural and textual attacks. TrustGLM (Zhang et al. 2025a) evaluates GraphLLMs against prompt, textual, and structural attacks, while Olatunji et al. (Olatunji et al. 2025) further examine graph-aware LLMs under poisoning and evasion attacks. More recently, Lei et al. (Lei et al. 2026) compare GNNs, robust GNNs, and GraphLLMs under textual and structural attacks. However, existing evaluations mainly focus on supervised settings, where models are trained and evaluated on the same graph or task. They therefore provide limited insight into whether ZGMs remain robust when transferred to unseen target graphs without target-domain supervision. Additional Details on ZeroGAR Datasets All datasets used in ZeroGAR are publicly available and cover multiple domains. For each dataset, we store the graph data in PyTorch .pt format, including sentence bert embeddings commonly used in existing methods, original node texts, edge indices, node labels, label names, and train, validation, and test masks. Unless otherwise specified, all datasets are released under the MIT license. Detailed descriptions of these datasets are provided below. β Cora. The Cora dataset is a citation network in the computer science domain, where nodes represent research papers and edges denote citation relationships between papers. The raw text attributes are collected from the GitHub repository provided in Chen et al. (Chen et al. 2024b). Each node contains the paper title and abstract as its text feature, and the node label corresponds to the paper category. β Citeseer. The Citeseer dataset is a citation network in the computer science domain. Each node represents a research paper, and each edge indicates a citation relationship between two papers. The TAG version contains text attributes for 3,186 nodes, where the raw texts are collected from the GitHub repository provided in Chen et al. (Chen et al. 2024b). β OGBN-Products. OGBN-Products (Hu et al. 2020) contains over 2 million nodes and 61 million edges. Each node represents an Amazon product, and each edge indicates a co-purchase relationship between two products. The task is to classify each product into one of 47 top-level categories. β Ogbn-Arxiv. The Ogbn-Arxiv dataset is a citation network collected from the arXiv platform, where nodes represent papers and edges denote citation relationships. The raw text attributes are collected from the GitHub repository provided in OFA (Liu et al. 2024). β Child. The Child dataset (Yan et al. 2023) is an Amazon co-purchase and co-view graph of childrenβs books. Each node represents a book, and each edge connects two books that are frequently purchased or viewed together. Each node is associated with textual attributes, including the book title and descriptive metadata. β History. The History dataset (Yan et al. 2023) is a subset of Amazon-Books containing books in the βHistoryβ category. Each node represents a book, and each edge connects two books that are frequently purchased or viewed together. The title and description of each book serve as its textual attributes. Each node is assigned one of 12 labels derived from the three-level book classification system. β WikiCS. The WikiCS dataset is an internet link network, where nodes represent Wikipedia pages and edges denote reference links between pages. The raw text attributes are collected from OFA (Liu et al. 2024), including the page name and content of each Wikipedia entry. Each node is labeled according to the category of the corresponding entry. β Instagram. The Instagram is a social network, where nodes represent users and edges indicate following relationships. The raw text attributes are collected from GraphAdapter (Huang et al. 2024), consisting of user personal introductions. Each node is labeled as either commercial or normal. Details of Victim Models In ZeroGAR, we benchmark 13 representative ZGMs, comprising four GNN-based Predictors, four Graph-Textualizing LLMs, and five Graph-Tokenizing LLMs. Detailed descriptions of these benchmarked methods are provided below. β GNN-based Predictors β G2P2 (Wen and Fang 2023) jointly pre-trains graph and text encoders using graph-grounded contrastive objectives over node texts, node representations, and neighborhood summaries. During inference, it compares node representations with prompted class descriptions to perform zero-shot node classification. β ZeroG (Li et al. 2024a) uses a language model to encode node attributes and class descriptions into a shared semantic space. It combines prompt-based subgraph sampling with lightweight fine-tuning and predicts unseen classes by measuring the similarity between node and class representations. β GraphCLIP (Zhu et al. 2025) constructs graph-summary pairs with an LLM and contrastively aligns graph representations with summary embeddings. It further introduces invariant learning to improve cross-domain transfer and performs zero-shot prediction by matching target subgraphs with textual class descriptions. β OFA (Liu et al. 2024) represents nodes, edges, and task descriptions as natural-language text and encodes them into a unified feature space. It introduces nodes of interest and graph prompting substructures to support node-, link-, and graph-level classification across domains. β Graph-Textualizing LLMs β Llama3.1-8B (Grattafiori et al. 2024) directly processes the target node and its local neighborhood after they are converted into a natural-language prompt. Without graph-specific training, it predicts the node label from candidate classes using its pretrained semantic knowledge and instruction-following ability. β Qwen3-8B (Yang et al. 2025) follows the same graph-textualization setting, where node attributes and neighborhood information are represented in natural language. It directly reasons over the resulting prompt and selects the predicted label from the candidate classes without target-graph adaptation. β Vicuna-7B (Chiang et al. 2023) receives textual descriptions of the target node and its neighborhood under the same prompt template. It serves as an instruction-tuned LLM baseline that directly produces node predictions without explicitly encoding the graph into specialized representations. β G1 (Guo et al. 2025a) improves the graph reasoning ability of an LLM through reinforcement learning on synthetic graph-theoretic tasks with verifiable rewards. It directly reasons over textualized graph inputs and transfers the learned reasoning ability to unseen real-world node classification tasks. β Graph-Tokenizing LLMs β GraphGPT (Tang et al. 2024) first aligns a graph encoder with language semantics through text-graph grounding and then maps graph representations into the LLM token space using a projector. Its two-stage graph instruction tuning enables natural-language prediction across graph datasets and tasks. β LLaGA (Chen et al. 2024a) reorganizes local graph structures into structure-aware node sequences using node-level templates and maps these sequences into the LLM token space through a versatile projector. This design enables the LLM to generalize across previously unseen graph datasets and tasks. β TEA-GLM (Wang et al. 2024a) pre-trains a GNN and aligns its representations with the LLM token embedding space. A lightweight linear projector converts each graph representation into a fixed number of graph tokens, which a frozen LLM processes under unified instructions for zero-shot prediction. β GOFA (Kong et al. 2025) interleaves trainable GNN layers with a frozen pre-trained LLM to jointly model graph structure and textual semantics. It is pre-trained with graph-level language modeling, question-answering, and structural tasks, enabling generative zero-shot inference across different graph tasks. β UniGTE (Wang et al. 2026a) adopts an instruction-tuned encoderβdecoder architecture that jointly processes graph tokens and natural-language task prompts. Learnable alignment tokens produce compact task-aware graph representations, while a frozen LLM decoder predicts task answers and reconstructs graph prompts to preserve structural and semantic information. Additional Details on Implementations Hyperparameter Settings All implementations strictly follow the settings in the original papers and official repositories. We use a unified random seed of 42 for all experiments. The implementation details are provided below: β Structure attack We use SGA as the structural attack. The attack is a direct targeted evasion attack with structure perturbation enabled and feature perturbation disabled. The SGA surrogate is an SGC model with K=3K=3 and learning rate 0.010.01; the auxiliary GCN used for evasion evaluation has hidden size 64, dropout 0.5, and early-stopping patience 30. β Textual attack. We evaluate an LLM-based textual rewriting attack using Qwen3.6-27B; API generation uses temperature 0.7 and max tokens 1000. β Node injection attack We use WTGIA with the ATDGIA injection strategy. Injected node features are initialized as zeros and optimized with FGSM-style binary feature flipping. We use sparsity level 0.15, sequential injection step 0.2, epsilon 0.01, seed 42, and BoW features. The feature-flipping batch size is 1 for Cora/Citeseer and 50 for the other datasets. β G2P2: We use SBERT-384 node features and train for 2 epochs with batch size 64 and learning rate 2Γ10β52Γ 10^-5. The graph encoder has input dimension 384, hidden dimension 128, and output dimension 128. The text encoder uses context length 128, transformer width 512, 12 layers, and 8 attention heads. For OGBN-Arxiv, the edge coefficient is 0.1 and full-graph training is used. For OGBN-Products and the Arxiv+Products setting, the edge coefficient is 10 and 2-hop neighbor sampling with fanout [25,10][25,10] is used. β ZeroG: We train ZeroG for 50 epochs using SentenceBERT textual features, learning rate 10β410^-4, weight decay 0.1, gradient accumulation steps 4, and gradient clipping 1.0. The feature propagation round is R=10R=10, normalization is enabled, and the maximum sampled subgraph size is 100 nodes. Checkpoints are saved after each epoch. β GraphCLIP: We use BERT-384 graph inputs, a GPS graph encoder with hidden/output dimension 1024 and 12 layers, and a frozen MiniLM text encoder. Training uses AdamW with learning rate 10β510^-5, weight decay 10β510^-5, batch size 1024, and 30 epochs. Graph augmentation drops 30% of feature dimensions and 20% of edges. The adversarial augmentation step size is 10β210^-2 with 3 update steps. The contrastive logit scale is initialized as 1/0.071/0.07. β OFA: We use SBERT-384 node features projected to hidden dimension 768. The OFA model uses 7 GNN layers, dropout 0.15, JK set to βnoneβ, MiniLM textual embeddings, batch size 512, learning rate 10β310^-3, validation interval 50, and 50 training epochs. The same settings are used for Arxiv, Products, and Arxiv+Products source configurations. β Llama3.1-8B: Evaluated with vLLM using the 2-hop without-label prompt format. The prompt includes full target-node text, at most 20 hop-1 neighbors, and at most 5 hop-2 neighbors. Generation uses temperature 0.6, top-p 0.95, top-k 30, max new tokens 4096, and seed 42. β Qwen3-8B: Uses the same vLLM inference settings as Llama3.1-8B. Thinking is disabled by default. β Vicuna-7B: Uses the same sampling settings. Since Vicuna has no built-in chat template in the current code, the evaluation falls back to the Vicuna single-turn chat format. The effective context length is treated as 16K. β G1: We evaluate G1-7B with the same 2-hop without-label prompts and the same vLLM sampling settings: temperature 0.6, top-p 0.95, top-k 30, max new tokens 4096, and seed 42. β GraphGPT: We use Vicuna-7B-v1.5-16K as the base LLM. The per-GPU batch size is set to 2, and the learning rate is 2Γ10β32Γ 10^-3. We use a warmup ratio of 3Γ10β23Γ 10^-2 and set the maximum LLM input length to 2048. The model is trained for 3 epochs. β LLaGA: We use Vicuna-7B-v1.5-16K as the frozen language backbone and SBERT graph embeddings. The model uses the ND template, 2-hop graph context, neighbor sample size 10, and a linear graph projector by default. Only the multimodal projector is tuned. Training uses bf16/tf32, model max length 4096, 1 epoch, per-device batch size 4, gradient accumulation 1, learning rate 2Γ10β32Γ 10^-3, weight decay 0, cosine scheduler, warmup ratio 0.03. Inference uses temperature 0.2, and max new tokens 1024. β TEA-GLM: TEA-GLM uses a two-stage training pipeline. Stage 1 pretrains the GNN for 60 epochs with learning rate 0.02, batch size 512, hidden size 2048, output size 4096, 2 layers, fanout [25,10][25,10], edge-drop rates 0.3/0.4, feature-drop rates 0.0/0.1, and temperature Ο=0.4Ο=0.4. Stage 2 freezes the Vicuna-7B-v1.5-16K backbone and aligns the graph encoder for 1 epoch with batch size 2, gradient steps 1, learning rate 10β310^-3, weight decay 0, max text length 700, 5 graph tokens, attention dimension 2048, and GNN output dimension 4096. Inference uses batch size 4 and max text length 700. β GOFA: We use Mistral-7B-Instruct-v0.2 with decoder LoRA enabled. Fine-tuning runs for 1 epoch with batch size 1, gradient accumulation 64, learning rate 10β410^-4, weight decay 0.1, gradient clipping 0.5, LLM max length 256, and 6 GNN layers. The graph context uses 3 hops with at most 5 nodes per hop. Node-classification training uses 10-way sampled choices, and link prediction uses binary choices. β UniGTE: We use Vicuna-7B-v1.5-16K as both graph-text encoder and LLM backbone, with 64 memory tokens and node dimension 768. PEFT/LoRA is enabled with rank 128, LoRA alpha 32, dropout 0.05, and target modules q_proj and v_proj. Training uses bf16, 1 epoch, per-device batch size 2, gradient accumulation 2, base/projector learning rate 2Γ10β42Γ 10^-4, graph learning rate 2Γ10β32Γ 10^-3, cosine scheduler, warmup ratio 0.03, max gradient norm 10. Evaluation uses per-device batch size 1; generation uses temperature 0.7 and max new tokens 80. Prompt Template for the Text-based Attack In ZeroGAR, we adopt an LLM-based attack (Lei et al. 2026) to generate fluent text perturbations. The detailed prompt template is provided below: Prompt Template (instantiated per target node) Graph node classification task Available classes: classes_str Target node node_id: Original text: βtextβ Original label: βcurrent_labelβ neighbor_info (e.g., βNeighbor labels: [β¦] (counts: β¦)β or βNo neighbors foundβ) Task. Rewrite the text to be as different as possible from the original while keeping a similar length. Requirements: β’ Must not belong to the original class: βcurrent_labelβ. β’ Should not belong to neighbor classes: unique_neighbor_labels or None. β’ target_instruction (e.g., prefer a class from the allowed set, or the least frequent neighbor class if all are forbidden). β’ Make the content maximally dissimilar from the original semantics. β’ Keep the word count roughly similar. β’ Produce content that is most unlikely under the node/neighbor context for the target class. Goal: create text that is jointly inconsistent with the original content and its local graph context. Return only the modified text, with no explanations or notes. Modified text: Text Prompt for GTextLLM For all GTextLLMs, we adopt the 2-hop w/o Label prompt template introduced by Wang et al. (Wang et al. 2026b), as shown below: Prompt Template for 2-hop w/o Label (instantiated per target node) βContextβ: βYou are a good graph reasoner. Give you a graph language that describes a graph structure and node information from the dataset_name dataset. You need to understand the graph and the task definition and answer the question. (<Target node>, <Node attributes>), (<1-hop neighbors>, <Node attributes>), (<2-hop neighbors>, <Node attributes>).β βQuestionβ: βPlease predict the most appropriate category for the Target node. Choose from the following categories: <Categories>. Do not provide your reasoning. Answer:β βAnswerβ: β<Correct answer>β (<Target node>, <Node attributes>): ## Target node: Paper id: target_node_id Title: target_node_text (<1-hop neighbors>, <Node attributes>): Known neighbor papers at hop 1 (partial, may be incomplete): one_hop_neighbor_information (<2-hop neighbors>, <Node attributes>): Known neighbor papers at hop 2 (partial, may be incomplete): two_hop_neighbor_information <Categories>: categories <Correct answer>: correct_answer Computing Environment and Resources The publicly available source code is provided in the supplementary material to support future research on the adversarial robustness of zero-shot graph models. ZeroGAR is implemented using PyTorch Geometric (PyG). All experiments are conducted in the following computing environment: β’ OS: Ubuntu Linux 5.15.0-102-generic; β’ CPU: Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz; β’ GPU: NVIDIA A800 80GB. Additional Evaluation Results for ZeroGAR Results for the ASR Metric We also report the attack success rate (ASR), defined as: ASR =βviβtestβ‘(y^cleanβi=yiβ§y^advβiβ yi)βviββtestβ(y^cleanβi=yi), = _v_i _testI ( y^cleani=y_i y^adviβ y_i )Ξ£v_i testI ( y^cleani=y_i ), (6) where βtestVtest denotes the set of test nodes, yiy_i is the ground-truth label of node viv_i, and y^iclean y^clean_i and y^iadv y^adv_i denote its predictions on the clean and adversarial graphs, respectively. β‘(β )I(Β·) is the indicator function. ASR measures the proportion of initially correctly classified test nodes that are misclassified after the attack. The ASR results for structural, textual, and node injection attacks are reported in Table 7, Table 8, and Table 9, respectively. The results are consistent with the observations reported in the main paper. Table 7: Attack success rate (ASR, %) under structural attacks across different perturbation sizes. Lower values indicate stronger robustness. Best results are bolded and runner-up results are underlined. Method Cora Citeseer History Child Instagram WikiCS Avg. Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High GNNPred OFA 7.80 11.35 12.77 11.66 15.19 17.31 19.68 17.87 22.09 38.10 45.24 45.24 4.00 7.67 13.22 13.49 16.08 18.67 18.75 G2P2 6.45 20.56 27.82 13.39 27.38 30.95 17.94 20.70 23.92 16.45 23.18 27.35 7.54 7.78 12.44 3.15 5.75 8.23 16.72 ZeroG 16.67 41.49 59.22 12.95 23.80 33.13 46.97 57.06 69.64 40.97 52.02 58.68 39.63 52.35 76.13 12.63 27.63 36.57 42.09 GraphCLIP 15.79 27.19 31.09 8.64 8.88 13.08 39.24 42.77 51.17 32.45 35.35 36.30 1.61 1.61 1.53 16.90 22.60 25.98 22.90 GTextLLM Llama3.1-8B 10.67 14.89 15.21 16.32 19.43 20.98 31.56 30.41 33.01 29.68 33.22 33.83 27.26 26.43 25.12 12.38 14.82 16.98 22.90 Qwen3-8B 8.40 10.30 14.40 12.09 13.74 18.96 28.49 28.69 30.74 22.73 25.66 28.05 17.68 19.20 18.03 5.94 7.63 9.08 17.77 Vicuna-7B 19.35 30.32 31.39 26.76 28.17 32.75 47.33 49.75 54.58 50.87 52.42 53.74 59.40 57.55 61.41 43.88 49.96 50.79 44.47 G1 8.63 14.56 18.92 14.55 14.24 22.73 28.99 28.09 30.85 24.98 25.38 28.36 24.56 25.08 25.39 8.62 10.82 12.70 20.41 GTokenLLM GraphGPT 26.36 33.64 47.71 16.67 28.79 35.86 39.21 53.51 72.90 57.37 63.37 66.74 8.90 10.21 9.42 3.93 3.79 4.48 32.38 LLaGA 22.50 25.00 25.00 38.46 27.88 25.96 23.80 27.45 33.49 33.17 36.11 37.52 49.85 48.35 43.84 14.74 16.85 17.57 30.42 TEA-GLM 2.27 3.03 3.03 1.52 3.03 5.45 19.51 19.80 20.26 11.67 12.14 13.60 7.48 6.04 6.89 10.11 10.99 11.37 9.34 GOFA 7.10 16.67 18.36 13.77 17.39 21.74 20.54 24.07 31.49 14.14 15.35 16.85 8.65 9.20 12.23 10.85 13.46 13.99 15.88 UniGTE 3.52 6.53 7.07 4.55 8.08 10.61 3.93 4.75 6.03 7.62 8.95 9.42 16.45 21.00 26.95 6.29 8.01 10.49 9.46 Table 8: Attack success rate (ASR, %) under textual attacks across different perturbation sizes. Lower values indicate stronger robustness. Best results are bolded and runner-up results are underlined. Method Cora Citeseer History Child Instagram WikiCS Avg. Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High GNNPred OFA 5.67 13.48 14.18 7.27 18.34 40.48 7.03 10.84 21.69 11.90 23.81 30.95 5.48 11.80 24.17 10.96 15.58 25.00 16.59 G2P2 2.02 5.65 9.68 5.54 10.50 13.39 3.77 7.82 12.88 6.28 10.12 16.84 5.14 8.33 13.08 4.35 7.79 14.29 8.75 ZeroG 1.77 4.26 4.96 3.57 8.33 12.20 10.28 18.09 31.32 6.81 10.60 16.35 10.30 24.57 31.20 9.95 22.77 37.00 14.68 GraphCLIP 5.56 12.57 24.27 5.80 15.08 34.57 3.01 5.84 13.42 8.38 15.59 34.18 0.55 0.69 2.83 7.21 16.03 37.28 13.49 GTextLLM Llama3.1-8B 18.54 26.12 43.54 24.87 34.67 53.77 40.95 47.27 57.35 36.01 45.17 61.20 32.32 41.02 51.56 18.74 28.06 48.08 39.40 Qwen3-8B 15.72 23.04 42.55 20.48 33.78 55.59 34.24 39.45 51.49 30.04 39.07 57.12 25.93 37.32 49.57 14.52 24.78 45.00 35.54 Vicuna-7B 28.06 33.55 50.97 31.97 36.05 51.02 42.95 47.11 52.28 48.04 54.15 60.34 58.71 59.43 62.71 40.45 49.46 65.94 48.51 G1 19.68 25.61 43.94 19.06 29.91 51.32 32.12 35.30 46.91 30.82 37.28 52.04 32.49 40.42 55.66 13.06 21.23 41.18 34.89 GTokenLLM GraphGPT 32.73 33.64 61.82 17.31 29.81 52.40 25.82 38.89 61.60 30.00 41.16 52.42 10.22 13.04 20.00 12.45 22.94 42.23 33.25 LLaGA 23.75 28.75 46.25 25.00 31.25 57.14 23.44 32.50 47.76 28.86 35.69 48.57 31.20 32.85 37.19 18.54 24.64 42.32 34.21 TEA-GLM 14.02 23.11 42.42 15.09 26.63 52.66 24.28 32.15 50.70 15.41 22.37 35.91 6.17 12.35 21.18 17.54 28.21 49.34 27.20 GOFA 10.11 21.31 36.07 11.62 22.89 46.48 7.26 14.26 29.50 8.17 13.62 25.97 9.35 17.71 28.62 10.54 20.61 42.67 20.93 UniGTE 10.05 24.12 41.21 11.71 24.88 48.78 3.56 7.58 17.63 6.05 13.39 31.17 3.32 6.93 13.66 9.32 19.77 41.87 18.61 Table 9: Attack success rate (ASR, %) under node injection attacks across different perturbation sizes. Lower values indicate stronger robustness. Best results are bolded and runner-up results are underlined. Method Cora Citeseer History Child Instagram WikiCS Avg. Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High GNNPred OFA 3.55 5.67 8.51 7.27 12.11 17.30 24.30 30.72 40.16 54.76 57.14 57.14 8.50 14.64 19.26 17.98 22.26 27.74 23.83 G2P2 8.06 14.52 19.76 12.24 16.62 21.28 23.64 27.14 31.46 28.46 37.08 51.36 14.92 16.96 24.03 6.38 11.89 21.04 21.49 ZeroG 9.57 13.83 39.01 12.80 29.46 49.40 68.68 83.89 91.26 45.51 68.21 81.84 46.18 65.52 67.86 18.05 26.77 51.50 48.30 GraphCLIP 5.85 10.82 29.53 5.80 11.37 15.55 24.32 33.06 41.97 26.44 27.83 30.60 4.14 6.08 12.50 13.17 16.55 19.72 18.63 GTextLLM Llama3.1-8B 8.71 10.96 11.80 15.83 16.83 15.58 29.84 30.05 33.43 29.68 30.16 30.81 28.61 28.42 28.32 10.22 11.85 12.48 21.31 Qwen3-8B 7.32 7.05 10.30 14.36 15.16 13.30 29.13 31.17 30.59 25.51 27.11 27.07 22.78 26.89 25.55 6.01 7.83 10.04 18.73 Vicuna-7B 20.00 22.26 32.58 29.59 30.27 44.22 47.44 47.72 49.63 53.36 53.06 54.34 56.00 55.00 56.57 40.01 44.91 49.34 43.68 G1 9.97 9.97 16.17 14.66 14.66 19.06 24.73 23.82 27.77 23.33 24.05 24.58 26.74 29.97 31.88 5.50 8.70 10.89 19.25 GTokenLLM GraphGPT 48.18 70.00 91.82 28.85 46.15 60.10 71.02 85.16 85.97 79.47 80.42 80.95 10.00 10.00 10.00 10.00 13.83 16.34 49.90 LLaGA 28.75 23.75 27.50 33.04 33.04 48.21 32.66 37.55 42.81 34.29 37.52 38.88 59.09 51.65 52.89 15.20 13.02 13.10 34.61 TEA-GLM 2.65 2.27 2.27 3.85 2.66 3.55 22.99 27.26 29.16 10.77 12.44 14.50 11.99 18.16 20.67 6.08 5.49 6.44 11.29 GOFA 3.28 7.92 6.56 6.34 8.80 9.15 15.07 20.54 27.89 9.13 10.98 12.09 11.02 13.59 13.70 5.10 6.47 7.07 10.82 UniGTE 3.52 5.53 12.06 4.39 5.85 9.76 7.03 8.86 9.13 6.20 6.56 7.11 27.32 32.92 38.14 4.92 5.95 6.88 11.23 Results against TextFooler Attack In ZeroGAR, we primarily use LLM-based text generation to perform textual attacks. However, the generated replacements may not always be sufficiently imperceptible. To address this concern, we additionally evaluate four word-level attack methods implemented in the TextAttack library: TextFooler, BAE, PWWS, and HotFlip. We use TextFooler as the primary method and treat the other three methods as additional baselines. TextFooler replaces selected words while preserving the original semantics, producing subtle lexical changes that are suitable for evaluating attacks with stronger imperceptibility requirements. For all target datasets, the perturbed-node ratios are set to 0.1,0.2,0.4\0.1,0.2,0.4\ under low, medium, and high attack budgets, respectively. We fix the text encoder as MiniLM and attack only correctly classified test nodes selected through degree-weighted sampling. For MiniLM-based attacks, the input text is truncated to at most 256 tokens. TextAttack is executed in batch mode with a batch size of 4. The experimental results are reported in Table 10. These results suggest that text-based adversarial attacks still overfit to the surrogate model and embedding type, resulting in limited attack effectiveness. To ensure consistently strong attacks and evaluate worst-case robustness, we therefore adopt the LLM-based textual attack, which generally degrades the performance of all backbones across different text encoders. Table 10: Performance comparison under TextFooler attacks across different perturbation sizes. Each cell reports the ACC (top) and RDA (%, bottom). Best scores are bolded and runner-up scores are underlined. Method Cora Citeseer History Child Instagram WikiCS Avg. Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High Low Mid High GNNPred OFA 24.72 β 4.96 23.62 β 9.19 23.06 β 11.34 43.89 β 3.11 42.48 β 6.23 38.56 β 14.88 6.12 β 2.17 6.20 β 3.51 6.27 β 4.67 0.27 0.00 0.29 β 7.41 0.28 β 3.70 46.76 β 3.92 46.19 β 5.10 45.84 β 5.81 9.65 β 3.40 9.47 β 5.21 8.79 β 12.01 21.25 β 2.78 G2P2 45.39 β 0.81 44.65 β 2.43 43.17 β 5.66 51.72 β 3.79 52.51 β 2.33 50.00 β 6.99 12.89 β 1.45 12.83 β 1.91 12.63 β 3.44 11.47 β 1.97 11.29 β 3.50 10.51 β 10.17 45.57 β 0.20 45.48 0.00 44.78 β 1.54 41.29 0.00 41.06 β 0.56 39.97 β 3.20 34.29 β 2.75 ZeroG 51.29 β 1.42 51.29 β 1.42 51.11 β 1.77 52.35 β 0.59 53.45 β 1.50 53.13 β 0.89 37.25 β 0.88 36.60 β 2.61 36.54 β 2.77 13.03 β 1.09 13.14 β 1.94 11.99 β 6.98 56.54 β 0.07 55.80 β 1.24 55.84 β 1.17 37.64 β 0.03 37.40 β 0.61 37.18 β 1.20 41.20 β 1.13 GraphCLIP 60.70 β 3.80 57.01 β 9.65 53.69 β 14.91 65.05 β 3.70 64.11 β 5.09 61.29 β 9.27 54.12 β 4.80 51.14 β 10.04 44.30 β 22.08 20.16 β 4.50 19.00 β 10.00 16.29 β 22.83 63.82 β 1.54 63.86 β 1.48 63.55 β 1.96 66.84 β 3.76 62.70 β 9.72 53.48 β 22.99 52.28 β 9.71 GTextLLM Llama3.1-8B 64.58 β 1.67 65.50 β 0.27 64.39 β 1.96 59.09 β 5.27 58.31 β 6.52 55.64 β 10.80 40.22 β 0.95 38.11 β 4.34 37.73 β 5.30 31.04 β 0.67 29.87 β 4.42 28.74 β 8.03 45.04 β 0.20 44.91 β 0.49 44.60 β 1.17 73.17 β 0.39 72.67 β 1.08 72.81 β 0.88 51.47 β 3.11 Qwen3-8B 68.08 0.00 67.71 β 0.54 65.68 β 3.53 57.52 β 2.39 56.11 β 4.79 57.37 β 2.65 24.17 β 2.15 24.14 β 2.27 23.82 β 3.56 29.89 β 1.84 29.64 β 2.66 27.97 β 8.14 46.06 0.00 46.14 β 0.17 46.36 β 0.65 76.77 β 0.49 76.40 β 0.97 75.63 β 1.97 49.97 β 2.15 Vicuna-7B 58.49 β 2.26 59.41 β 3.86 56.27 β 1.63 42.63 β 7.49 41.54 β 9.85 42.95 β 6.79 21.62 β 0.98 21.67 β 1.21 22.04 β 2.94 17.28 β 0.23 16.63 β 3.54 16.01 β 7.13 30.01 β 2.72 31.42 β 1.85 30.28 β 1.85 41.32 β 2.85 40.60 β 4.54 39.66 β 6.75 34.99 β 1.88 G1 65.68 β 4.05 64.58 β 5.65 64.02 β 6.47 51.57 β 3.52 52.51 β 1.76 50.63 β 5.28 26.23 β 1.09 26.03 β 1.85 26.77 β 0.94 25.40 β 2.16 25.12 β 3.24 23.85 β 8.13 49.89 β 1.38 48.96 β 3.22 50.02 β 1.13 74.91 β 0.03 75.01 β 0.11 73.95 β 1.31 48.62 β 2.51 GTokenLLM GraphGPT 19.93 β 1.82 20.30 0.00 16.42 β 19.11 31.19 β 4.33 28.68 β 12.02 25.86 β 20.67 20.80 β 7.39 19.34 β 13.89 17.18 β 23.51 5.84 β 5.50 5.74 β 7.12 5.44 β 11.97 34.21 β 0.06 34.15 β 0.23 33.71 β 1.52 51.00 β 1.54 49.82 β 3.82 46.35 β 10.52 25.89 β 9.12 LLaGA 13.10 β 11.25 13.10 β 11.25 9.78 β 33.74 17.55 0.00 15.67 β 10.71 12.70 β 27.64 22.16 β 4.07 21.44 β 7.19 19.72 β 14.63 15.06 β 4.14 14.50 β 7.70 13.16 β 16.23 21.46 β 0.61 20.85 β 2.25 22.61 β 6.00 40.77 β 1.78 39.94 β 3.78 37.69 β 9.20 20.63 β 9.04 TEA-GLM 47.79 β 1.89 45.02 β 7.58 41.14 β 15.54 52.35 β 1.19 50.94 β 3.85 45.30 β 14.50 28.61 β 1.51 26.50 β 8.78 23.70 β 18.42 19.08 β 2.20 18.19 β 6.77 16.85 β 13.63 61.70 β 0.50 62.01 β 1.01 62.85 β 2.38 30.79 β 4.91 29.02 β 10.38 25.12 β 22.42 38.16 β 7.84 GOFA 66.61 β 1.36 59.23 β 12.29 58.86 β 12.84 42.63 β 4.22 42.48 β 4.56 39.81 β 10.56 27.58 β 2.72 26.80 β 5.47 25.10 β 11.46 19.93 β 2.21 19.49 β 4.37 18.52 β 9.13 38.78 β 2.02 39.36 β 0.56 38.61 β 2.45 65.06 β 1.50 64.14 β 2.89 61.89 β 6.30 41.94 β 5.69 UniGTE 35.79 β 2.53 34.13 β 7.05 34.32 β 6.54 30.72 β 4.39 30.56 β 4.89 27.12 β 15.59 13.05 β 0.99 12.95 β 1.75 12.60 β 4.40 16.20 β 2.23 15.71 β 5.19 14.44 β 12.85 45.97 β 1.03 46.41 β 0.09 45.92 β 1.14 48.76 β 1.99 47.58 β 4.36 44.74 β 10.07 30.94 β 4.66