Task-Specific Prompt with Global Context for Multi-Task Graph Pre-Training

arXiv cs.LG Papers

Summary

The paper introduces TPGC, a dual-prior prompt initialization method for multi-task graph pre-training that combines task and structural priors to improve alignment and transferability, achieving superior performance in few-shot scenarios.

arXiv:2609.00047v1 Announce Type: new Abstract: Graph prompt learning is an effective paradigm to adapt pre-trained graph models to downstream tasks in low-resource scenarios. However, existing multi-task graph pre-training frameworks generally use randomly initialized prompts, leading to poor alignment between the prompt space, pretext objectives and graph structural characteristics. This greatly weakens the task relevance, structural awareness and transferability of prompt representations. To address this challenge, we propose TPGC, a dual-prior prompt initialization solution that explicitly models the synergy between task prior and structural prior. Specifically, the Task-Prior Injection Module first conducts a short homologous multi-task pre-training on an auxiliary graph, enabling prompt initialization to inherit optimization preferences associated with multiple pretext tasks. Built on the task-aware representations, the Structure-Prior Injection Module further extracts transferable global structural context from the auxiliary graph, converting it into layer-wise prompt vectors by aggregating structurally informative node embeddings. Extensive experiments on 6 mainstream benchmarks covering node and graph classification show that TPGC achieves consistently better performance under few-shot settings than state-of-the-art baselines, with fewer downstream tunable parameters and lower runtime. The code is available at https://github.com/Virgilqiu/TPGC
Original Article
View Cached Full Text

Cached at: 09/02/26, 06:06 AM

# Task-Specific Prompt with Global Context for Multi-Task Graph Pre-Training
Source: [https://arxiv.org/html/2609.00047](https://arxiv.org/html/2609.00047)
\[orcid=0009\-0005\-1149\-6472\]

\[orcid=0000\-0003\-4605\-9270\]

\[orcid=0000\-0002\-5971\-2331\]

\[orcid=0000\-0002\-9274\-2807\]

\[orcid=0000\-0001\-9272\-4804\]

\[orcid=0000\-0003\-0752\-941X\]

Yangtao Wangytaowang@gzhu\.edu\.cnXiaocui LiXiaocuiworld@163\.comYanzhao Xieyzhx@gzhu\.edu\.cnSiyuan Chenchensiyuan@gzhu\.edu\.cnWensheng Zhangzhangwenshengia@hotmail\.comorganization=School of Computer Science and Cyber Engineering, Guangzhou University, city=Guang Zhou, postcode=510006, state=Guangdong, country=Chinaorganization=Hunan University of Technology and Business, city=Changsha, postcode=410205, state=Hunan, country=China

###### Abstract

Graph prompt learning is an effective paradigm to adapt pre\-trained graph models to downstream tasks in low\-resource scenarios\. However, existing multi\-task graph pre\-training frameworks generally use randomly initialized prompts, leading to poor alignment between the prompt space, pretext objectives and graph structural characteristics\. This greatly weakens the task relevance, structural awareness and transferability of prompt representations\. To address this challenge, we propose TPGC, a dual\-prior prompt initialization solution that explicitly models the synergy between task prior and structural prior\. Specifically, the Task\-Prior Injection Module first conducts a short homologous multi\-task pre\-training on an auxiliary graph, enabling prompt initialization to inherit optimization preferences associated with multiple pretext tasks\. Built on the task\-aware representations, the Structure\-Prior Injection Module further extracts transferable global structural context from the auxiliary graph, converting it into layer\-wise prompt vectors by aggregating structurally informative node embeddings\. Extensive experiments on 6 mainstream benchmarks covering node and graph classification show that TPGC achieves consistently better performance under few\-shot settings than state\-of\-the\-art baselines, with fewer downstream tunable parameters and lower runtime\. The code is available at[https://github\.com/Virgilqiu/TPGC](https://github.com/Virgilqiu/TPGC)\.

###### keywords

Task\-Specific Prompt ,Global Context ,Graph Pre\-Training ,Multi\-Task

††corresponding:Corresponding author## 1Introduction

Graph neural networks \(GNNs\) have become a fundamental paradigm for learning on graph\-structured data by jointly modeling node attributes and relational dependencies\[[17](https://arxiv.org/html/2609.00047#bib.bib1),[33](https://arxiv.org/html/2609.00047#bib.bib3)\]\. By extending neural representation learning to irregular graph domains, GNNs have achieved remarkable achievements in recommendation, molecular property prediction, biological network analysis, and knowledge graph reasoning\[[8](https://arxiv.org/html/2609.00047#bib.bib4),[37](https://arxiv.org/html/2609.00047#bib.bib2)\]\. However, most existing GNN\-based solutions rely heavily on large amounts of task\-specific labeled data, which becomes impractical and encounters severe performance bottlenecks in low\-resource graph domains\. To alleviate this issue, graph pre\-training has emerged as an important research direction, aiming to learn transferable graph knowledge from large\-scale unlabeled graphs\[[12](https://arxiv.org/html/2609.00047#bib.bib5),[11](https://arxiv.org/html/2609.00047#bib.bib6),[13](https://arxiv.org/html/2609.00047#bib.bib7)\]\. Recent contrastive and mutual\-information\-based pre\-training methods further improve downstream adaptation in few\-shot scenarios by designing effective self\-supervised objectives\[[44](https://arxiv.org/html/2609.00047#bib.bib8),[34](https://arxiv.org/html/2609.00047#bib.bib9),[24](https://arxiv.org/html/2609.00047#bib.bib10)\]\.

Existing graph pre\-training methods like DGI\[[34](https://arxiv.org/html/2609.00047#bib.bib9)\]and GraphCL\[[44](https://arxiv.org/html/2609.00047#bib.bib8)\]generally follow a common pre\-train\-then\-transfer paradigm, where a graph encoder is first optimized on auxiliary or unlabeled graphs and then adapted to downstream tasks such as node classification, graph classification, and link prediction\. Building upon this line of research, graph prompt learning has recently emerged as a promising lightweight paradigm, which bridges graph pre\-training and downstream adaptation by introducing learnable prompts into the input or hidden representation space\. Representative studies \(such as GPPT\[[27](https://arxiv.org/html/2609.00047#bib.bib11)\], GraphPrompt\[[21](https://arxiv.org/html/2609.00047#bib.bib12)\], GPF\[[6](https://arxiv.org/html/2609.00047#bib.bib14)\], MultiGPrompt\[[47](https://arxiv.org/html/2609.00047#bib.bib15)\], ProNoG\[[46](https://arxiv.org/html/2609.00047#bib.bib39)\], and MKGPL\[[40](https://arxiv.org/html/2609.00047#bib.bib45)\]\) have consistently demonstrated the effectiveness of prompt\-based adaptation across various graph tasks\. Despite these advancements, the prompt information used during the graph pre\-training phase is randomly initialized, making it irrelevant to downstream tasks\. In contrast, the importance of prompt initialization has already attracted widespread attention in numerous fields\. For instance, Lester et al\.\[[18](https://arxiv.org/html/2609.00047#bib.bib16)\]point out that prompt tuning is sensitive to initialization: semantically informed initialization is often more effective than purely random initialization\. Wu et al\.\[[36](https://arxiv.org/html/2609.00047#bib.bib17)\]further reveal that soft prompt tuning is highly sensitive to prompt initialization and seek more task\-informative prompt initialization from an information\-theoretic perspective\. IAPT\[[50](https://arxiv.org/html/2609.00047#bib.bib18)\]generates instance\-aware soft prompts for each input instruction, showing that prompt representations should be conditioned on task or input semantics rather than treated as fixed random tokens\. MVLPT\[[26](https://arxiv.org/html/2609.00047#bib.bib19)\]learns transferable prompts from multiple source vision tasks to initialize target\-task prompts, demonstrating that cross\-task prompt knowledge can improve few\-shot vision\-language adaptation\. These findings indicate that prompt initialization is not a trivial implementation detail, but a key factor affecting optimization stability and task adaptation\. Nevertheless, this insight has not yet been systematically introduced into graph pre\-training with prompt learning\.

Figure 1:Visualization of prompt initialization quality in the representation space\. \(a\): The left illustrates that random initialization places prompt vectors in arbitrary low\-density regions, far from informative node clusters\. \(b\): The right shows that TPGC initialization aligns prompt vectors with high\-density and semantically meaningful regions of the node embedding space, providing a more informative and structurally aligned starting point for subsequent pre\-training\.Based on the aforementioned analysis and observations, the existing graph prompt learning paradigm still leaves two key challenges insufficiently addressed\.\(1\) How to endow prompt initialization with task\-relevant information\.Current methods usually initialize pre\-training prompts randomly, without providing an explicit mechanism to encode information associated with pre\-training objectives at the initialization stage\. As a result, the initialized prompts are often irrelevant to the target pretext tasks and cannot serve as effective task\-aware starting points before target\-domain pre\-training\.\(2\) How to endow prompt initialization with graph structural information\.Unlike Euclidean data, the semantics of graph data are determined not only by node attributes, but also more fundamentally by topological distributions, neighborhood relations, and global structural patterns\. Existing random prompt initialization in graph prompt learning does not exploit such intrinsic structural information of graph data to guide prompt construction\. This issue can be intuitively understood from Figure[1](https://arxiv.org/html/2609.00047#S1.F1)\(a\), where randomly initialized prompts tend to fall into arbitrary low\-density noisy regions of the representation space, far away from meaningful node clusters\. Consequently, the initialized prompts fail to offer sufficiently discriminative structural support for different tasks, and can be easily biased toward a specific task during optimization, thus undermining the effectiveness of multi\-task collaboration\. As a result, how to explicitly injecttask\-specific priorand make prompt initializationgraph\-structure\-awareremains a core challenge in multi\-task graph pre\-training\.

To address the above challenges, we proposeTask\-SpecificPrompt withGlobalContext for Multi\-Task Graph Pre\-Training \(termed TPGC\), which aims to construct prompts that are both task\-specific and global\-context\-aware, thereby providing a more informative prompt initialization to boost graph pre\-training\. Specifically, TPGC decomposes prompt initialization into two collaborative components: a task\-prior injection module \(TPIM\) and a structure\-prior injection module \(SPIM\)\. \(1\) TPIM aims to inject task\-specific prior associated with pre\-training objectives into prompts before target\-domain pre\-training, thereby alleviating the mismatch between randomly initialized prompts and pre\-training objectives\. Notably, this task\-prior extraction process is highly efficient: on an auxiliary graph that is highly related to the target graph in terms of domain semantics and structural characteristics, only one epoch of homologous pre\-training is sufficient to provide an effective task\-related prior for prompt initialization\. \(2\) Furthermore, SPIM captures transferable structural prior from the global context of the auxiliary graph and injects it into the prompt space, thereby making the initialized prompts more aligned with informative regions in the graph representation space\. This effect is conceptually illustrated by Figure[1](https://arxiv.org/html/2609.00047#S1.F1)\(b\), where the initialized prompts are no longer scattered in noisy areas, but instead lie close to high\-density and semantically meaningful node clusters\. In this way, TPIM mainly improves the task relevance and optimization stability of prompt initialization, while SPIM further enhances its structural awareness and cross\-graph transferability\. Notably, the prompt initialization stages of SPIM and TPIM can be completed offline on the auxiliary graph, so the proposed method does not incur noticeable additional computation in the target\-domain pre\-training stage\. The prompts initialized by these two modules are then used in subsequent multi\-task pre\-training and transferred to downstream prompt tuning, enabling lightweight graph adaptation without modifying the backbone architecture\.

The main contributions of this study are summarized as follows:

- •New perspective\.To the best of our knowledge, this study is the first to revisit multi\-task graph pre\-training from the perspective of prompt initialization rather than prompt design/tuning alone\. Different from conventional random initialization, the proposed initialization paradigm explicitly constructs task\-specific prompts with global context, so that prompt initialization can simultaneously preserve task\-specific prior and transferable structural knowledge\.
- •New method\.We propose a novel prompt initialization method, termed TPGC, which constructs prompts through two complementary components\. Specifically, TPIM extracts task\-specific prior through only one epoch of homologous pre\-training on an auxiliary graph, while SPIM captures transferable structural prior from the global context of the auxiliary graph and injects it into the prompt space\. In this way, TPGC produces prompts that are both task\-specific and global\-context\-aware for multi\-task graph pre\-training\.
- •High performance\.We conduct extensive experiments on multiple mainstream node\-level and graph\-level benchmark datasets\. Experimental results show that our TPGC consistently outperforms strong graph prompt learning baselines under various few\-shot settings\. In addition, TPGC demonstrates strong robustness across all few\-shot settings, while introducing lower downstream tunable parameter count and runtime\.

## 2Related Works

### 2\.1Graph Pre\-Training

Graph pre\-training\[[45](https://arxiv.org/html/2609.00047#bib.bib44),[9](https://arxiv.org/html/2609.00047#bib.bib43),[42](https://arxiv.org/html/2609.00047#bib.bib42),[14](https://arxiv.org/html/2609.00047#bib.bib41)\]seeks to distill transferable knowledge from unlabeled graph data, thereby reducing the reliance of graph learning on expensive task\-specific annotations\. Following the success of self\-supervised learning, a growing body of work has shown that graph encoders can be effectively improved by optimizing carefully designed pretext tasks without manual labels\[[12](https://arxiv.org/html/2609.00047#bib.bib5),[13](https://arxiv.org/html/2609.00047#bib.bib7)\]\. These pretext tasks are usually constructed to capture intrinsic graph signals from different views, including structural dependency, attribute semantics, local\-global consistency, and topology\-aware context\[[12](https://arxiv.org/html/2609.00047#bib.bib5),[11](https://arxiv.org/html/2609.00047#bib.bib6),[38](https://arxiv.org/html/2609.00047#bib.bib22)\]\. Along this line, some studies improve graph representation learning through bootstrap\-based or contrastive\-style objectives that enhance invariance and representation robustness, while others adopt generative or reconstruction\-based objectives to recover informative graph patterns and preserve semantic content\[[11](https://arxiv.org/html/2609.00047#bib.bib6),[13](https://arxiv.org/html/2609.00047#bib.bib7),[31](https://arxiv.org/html/2609.00047#bib.bib21),[10](https://arxiv.org/html/2609.00047#bib.bib20)\]\. However, pretext tasks defined from a single perspective often provide only partial supervision for complex graph data, which has motivated recent efforts to incorporate multiple pretext tasks into unified pre\-training frameworks\[[12](https://arxiv.org/html/2609.00047#bib.bib5),[38](https://arxiv.org/html/2609.00047#bib.bib22)\]\.

When multiple tasks are optimized jointly, the model may still suffer from task interference, since different objectives can emphasize different graph properties and lead to inconsistent optimization directions\. In addition, recent studies have further extended graph pre\-training to broader transfer settings, where transferable knowledge is expected to generalize across heterogeneous graph domains rather than a single distribution\[[20](https://arxiv.org/html/2609.00047#bib.bib23)\]\. Nevertheless, a central challenge remains how to effectively coordinate diverse pretext tasks while improving the alignment between transferred knowledge and downstream objectives\. Different from existing studies that mainly refine pretext objectives or encoder architectures, our method enhances multi\-task graph pre\-training by introducing task\-specific prompts with global contextual guidance, enabling more effective integration of transferable task semantics and structural information\.

### 2\.2Graph Prompt Learning

Prompt learning\[[35](https://arxiv.org/html/2609.00047#bib.bib50),[41](https://arxiv.org/html/2609.00047#bib.bib49),[4](https://arxiv.org/html/2609.00047#bib.bib48)\]was first popularized in vision and language research as a parameter\-efficient paradigm for adapting pre\-trained models to downstream tasks\. Instead of updating all model parameters, prompt\-based methods introduce learnable context vectors to steer model behavior, preserving general knowledge while improving task adaptation\[[49](https://arxiv.org/html/2609.00047#bib.bib24),[48](https://arxiv.org/html/2609.00047#bib.bib25),[16](https://arxiv.org/html/2609.00047#bib.bib26)\]\. Inspired by these advances, prompt learning has been introduced into graph representation learning to bridge pre\-training and downstream adaptation\. Early studies reformulated graph tasks into prompt\-based forms for lightweight adaptation\[[27](https://arxiv.org/html/2609.00047#bib.bib11),[21](https://arxiv.org/html/2609.00047#bib.bib12)\], while subsequent work improved generality by unifying multiple tasks under shared prompting frameworks\[[29](https://arxiv.org/html/2609.00047#bib.bib13),[6](https://arxiv.org/html/2609.00047#bib.bib14)\]\. More recently, graph prompt learning\[[1](https://arxiv.org/html/2609.00047#bib.bib47),[43](https://arxiv.org/html/2609.00047#bib.bib46),[40](https://arxiv.org/html/2609.00047#bib.bib45)\]has extended to multi\-task pre\-training, heterogeneous graph learning, and fairness\-aware modeling\[[47](https://arxiv.org/html/2609.00047#bib.bib15),[28](https://arxiv.org/html/2609.00047#bib.bib29),[15](https://arxiv.org/html/2609.00047#bib.bib30),[19](https://arxiv.org/html/2609.00047#bib.bib31)\]\. Despite these advances, existing methods mainly emphasize prompt design or downstream adaptation, while paying less attention to how prompts can effectively capture transferable task semantics and graph structural cues when multiple pre\-training objectives coexist\.

Prompt initialization has received increasing attention in natural language processing, revealing that prompt tuning is highly sensitive to initialization and semantically informed initialization is often more effective than random initialization\[[18](https://arxiv.org/html/2609.00047#bib.bib16),[36](https://arxiv.org/html/2609.00047#bib.bib17)\]\. TPV shows that task prompt vectors can effectively initialize prompt tuning on related tasks through multi\-task soft\-prompt transfer\[[2](https://arxiv.org/html/2609.00047#bib.bib27)\]\. VPTTA\[[3](https://arxiv.org/html/2609.00047#bib.bib28)\]also demonstrates that prompt initialization can be enhanced with memory\-based visual knowledge to support more reliable test\-time adaptation\. These findings suggest that prompt initialization is a key factor affecting the effectiveness of prompt\-based learning\. In graph prompt learning, however, initialization remains insufficiently explored\. Although meta\-learning\-based initialization has been proposed in a unified prompting framework\[[29](https://arxiv.org/html/2609.00047#bib.bib13)\], such designs mainly target single pretext\-task settings and do not address multi\-task graph pre\-training, where multiple tasks jointly optimize a shared prompt space\. To address this limitation, our method studies prompt initialization from the perspective of multi\-task graph pre\-training by incorporating task\-specific prior and global structural context into the initialization process\. In this way, we provide a more informative starting point for shared prompts, enabling better multi\-task coordination and stronger transfer of structural and semantic knowledge\.

## 3Proposed Methodology

In this section, we present and formulate the detailed workflow of our designed TPGC, i\.e\., an innovative prompt initialization strategy for multi\-task graph pre\-training\. By jointly injecting task\-aware prior and transferable global structural context into the prompt space, TPGC produces a more informative initialization that improves the alignment between pretext objectives and graph representations\.

Figure 2:The overall architecture of our proposed TPGC consists of three successive stages, namely prompt initialization, target\-domain multi\-task pre\-training, and downstream prompt\-based adaptation\. Note that the ”fire” means the corresponding modules/parameters are learnable, while the ”snow” means those are frozen\.### 3\.1Overall Architecture

As illustrated in Figure[2](https://arxiv.org/html/2609.00047#S3.F2), TPGC consists of three successive stages, namely prompt initialization, target\-domain multi\-task pre\-training, and downstream prompt\-based adaptation\. \(1\) In the first stage, instead of initializing prompts from random noise, we construct task\-specific prompt groups through a dual\-prior injection process\. Specifically, TPIM first performs a short auxiliary multi\-task pre\-training process on a homologous auxiliary graphGaG^\{a\}, so that the shared graph encoder can absorb optimization preference associated with different pretext objectives and evolve into a task\-aware auxiliary encoder\. Based on this optimized encoder, SPIM further extracts transferable global structural context from auxiliary graph representations, computes task\-relevant similarity scores, and aggregates informative node embeddings into layer\-wise initialized prompt vectors\. After an input\-layer projection for cross\-graph feature alignment, the resulting initialized prompt groups are transferred to the target graph as the starting prompts for subsequent optimization\. \(2\) In the second stage, the initialized prompt groups are injected into the target graph encoder and jointly optimized with the shared encoder under multiple pretext objectives, yielding a target\-domain pre\-trained encoder together with task\-aware prompt knowledge\. \(3\) In the final stage, the pre\-trained prompt groups are frozen and reused as transferable prompt prior for downstream adaptation, while another downstream\-task\-specific prompt group is introduced to complement task\-specific flexibility\. The two prompt branches are then fused to support downstream prediction in a lightweight manner\. Through this three\-stage pipeline, TPGC establishes a coherent flow from informative prompt initialization to target\-domain pre\-training and finally to downstream prompt adaptation\.

### 3\.2Prompt Initialization

Before target\-domain multi\-task pre\-training, we introduce a dedicated prompt initialization stage to construct a more informative starting point for each task\-specific prompt group\. Rather than directly optimizing prompts from unconstrained initial values, we first organize the initialization process into two successive modules that jointly determine where the prompt starts in the representation space\. Specifically, TPIM performs a short auxiliary multi\-task pre\-training step on a homologous auxiliary graph, so that the shared graph encoder can first absorb optimization preference associated with the pretext objectives and evolve into a task\-aware auxiliary encoder\. Built upon this optimized encoder, SPIM further extracts transferable global structural context from auxiliary graph representations and converts it into layer\-wise prompt vectors by selecting and aggregating structurally informative node embeddings\. In this way, TPIM provides the task\-related basis for prompt construction, while SPIM further refines this basis with transferable structural guidance, and their combination finally yields the initialized prompt groups that will be transferred to the target graph for subsequent multi\-task pre\-training\.

#### 3\.2\.1Task\-Prior Injection Module \(TPIM\)

In the graph setting, different encoder layers may emphasize different semantic levels of representation\. The input layer mainly preserves raw node attributes and is therefore more relevant to node\-level pretext objectives, whereas the hidden and output layers gradually encode higher\-order structural context and are thus more beneficial for relation\-oriented or graph\-level objectives\. Inspired by prompt\-based graph pre\-training frameworks, we assign layer\-wise pretext tokens to every pretext task so that each task can inject its own inductive preference into the input, hidden, and output layers of the encoder in a unified manner\.

Specifically, given a graphGG, a graph encoder withLLlayers, andKKpretext tasks𝒮=\{τ1,τ2,…,τK\}\\mathcal\{S\}=\\\{\\tau\_\{1\},\\tau\_\{2\},\\dots,\\tau\_\{K\}\\\}, for each pretext taskτk∈𝒮\\tau\_\{k\}\\in\\mathcal\{S\}, we associate a layer\-wise prompt groupPτk=\{pτk\(0\),pτk\(1\),…,pτk\(L\)\}P\_\{\\tau\_\{k\}\}=\\\{p\_\{\\tau\_\{k\}\}^\{\(0\)\},p\_\{\\tau\_\{k\}\}^\{\(1\)\},\\dots,p\_\{\\tau\_\{k\}\}^\{\(L\)\}\\\}with the encoder, wherepτk\(l\)p\_\{\\tau\_\{k\}\}^\{\(l\)\}denotes the prompt token injected at thell\-th encoder layer for thekk\-th pretext task\. In this way, each task is equipped with its own prompt group spanning all encoder layers, enabling task\-specific modulation of graph representations while preserving a shared backbone for multi\-task optimization\.

To provide transferable prior before target\-domain optimization, we introduce an auxiliary graph that is semantically and structurally related to the target graph\. For example, when Cora is used as the target graph, Citeseer can serve as the auxiliary graph because both belong to citation\-network domains and exhibit similar semantic and structural properties\. As shown in Figure[2](https://arxiv.org/html/2609.00047#S3.F2), let the auxiliary graph and the target graph be denoted byGa=\(Va,Ea,Xa,Aa\)G^\{a\}=\(V^\{a\},E^\{a\},X^\{a\},A^\{a\}\)andGt=\(Vt,Et,Xt,At\)G^\{t\}=\(V^\{t\},E^\{t\},X^\{t\},A^\{t\}\), respectively, whereXXandAAdenote the node feature matrix and adjacency matrix\. Based on the above pretext\-task formulation, our goal here is to construct an informative initialized prompt groupPτtP\_\{\\tau\}^\{t\}for each taskτ∈𝒮\\tau\\in\\mathcal\{S\}before target\-domain optimization starts\.

Then, we first perform a short homologous pre\-training process on an auxiliary graphGaG^\{a\}that is semantically and structurally related to the target graphGtG^\{t\}\. This auxiliary optimization follows the same pretext\-task setting as the target stage, so that the shared graph encoder can absorb supervisory signals jointly induced by multiple pretext tasks\. To express this process more explicitly, let𝒮\\mathcal\{S\}denote the set of pretext tasks considered during auxiliary optimization\. The auxiliary multi\-task pre\-training objective is written as:

ℒaux​\(fθ→fθa\)=∑τ∈𝒮λτ​ℒτa,\\mathcal\{L\}\_\{\\mathrm\{aux\}\}\(f\_\{\\theta\}\\rightarrow f\_\{\\theta^\{a\}\}\)=\\sum\_\{\\tau\\in\\mathcal\{S\}\}\\lambda\_\{\\tau\}\\mathcal\{L\}\_\{\\tau\}^\{a\},\(1\)whereℒτa\\mathcal\{L\}\_\{\\tau\}^\{a\}denotes the auxiliary loss of pretext taskτ\\tauonGaG^\{a\}, andλτ\\lambda\_\{\\tau\}is the corresponding task weight\. After the auxiliary multi\-task pre\-training stage in TPIM, the graph encoder is updated from the initial encoderfθf\_\{\\theta\}to the task\-aware auxiliary encoderfθaf\_\{\\theta^\{a\}\}, which is then used by SPIM to extract transferable structural context for prompt initialization\.

#### 3\.2\.2Structure\-Prior Injection Module \(SPIM\)

While TPIM provides a task\-aware encoder, it does not explicitly determine how the prompt vectors should be initialized in the graph representation space\. To address this issue, we further propose a Structure\-Prior Injection Module \(SPIM\), which uses the optimized encoder parametersθa\\theta^\{a\}to extract transferable global structural context and convert it into layer\-wise prompt initialization\. Specifically, for each layerl∈\{0,1,…,L\}l\\in\\\{0,1,\\dots,L\\\}, we first obtain the corresponding auxiliary node representations under the condition ofθa\\theta^\{a\}:

Ha=fθa​\(Xa,Aa\),H^\{a\}=f\_\{\\theta^\{a\}\}\(X^\{a\},A^\{a\}\),\(2\)whereHa,\(l\)H^\{a,\(l\)\}denotes the feature matrix at thell\-th encoder layer on the auxiliary graph\. Based on these layer\-wise node representations, we construct a task\-related global embeddingcτa,\(l\)c\_\{\\tau\}^\{a,\(l\)\}for each pretext task and prompting location:

cτa,\(l\)=\{Aggτ​\(Ha,\(l\)\)Mean⁡\(Ha,\(l\)\)\.c\_\{\\tau\}^\{a,\(l\)\}=\\begin\{cases\}\\mathrm\{Agg\}\_\{\\tau\}\(H^\{a,\(l\)\}\)\\\\ \\mathrm\{Mean\}\(H^\{a,\(l\)\}\)\\end\{cases\}\.\(3\)Note that for pretext tasks such as DGI\[[34](https://arxiv.org/html/2609.00047#bib.bib9)\]and GraphCL\[[44](https://arxiv.org/html/2609.00047#bib.bib8)\], which emphasize local\-global consistency or augmentation\-invariant discrimination,cτa,\(l\)c\_\{\\tau\}^\{a,\(l\)\}is obtained by applying a task\-aware aggregation operatorAggτ​\(⋅\)\\mathrm\{Agg\}\_\{\\tau\}\(\\cdot\)toHa,\(l\)H^\{a,\(l\)\}so as to preserve informative global contextual cues\. By contrast, for relation\-oriented tasks such as link prediction and edge reconstruction,cτa,\(l\)c\_\{\\tau\}^\{a,\(l\)\}is computed by global mean pooling overHa,\(l\)H^\{a,\(l\)\}, since these tasks rely more on stable pairwise regularities and overall connectivity statistics\. After obtainingcτa,\(l\)c\_\{\\tau\}^\{a,\(l\)\}, we compute the cosine similarity between each node embedding and the corresponding task\-related global embedding:

si,τ\(l\)=cos⁡\(hia,\(l\),cτa,\(l\)\)\.s\_\{i,\\tau\}^\{\(l\)\}=\\mathrm\{cos\}\(h\_\{i\}^\{a,\(l\)\},c\_\{\\tau\}^\{a,\(l\)\}\)\.\(4\)
We then select the top\-kknodes with the highest similarity scores and denote the selected node set by𝒮τ\(l\)\\mathcal\{S\}\_\{\\tau\}^\{\(l\)\}\. Their embeddings are aggregated with similarity\-aware weights to obtain the initialized prompt vector for pretext taskτ\\tauat layerll:

pτa,\(l\)=Norm⁡\(∑i∈𝒮τ\(l\)si,τ\(l\)​hia,\(l\)\),\{p\}\_\{\\tau\}^\{a,\(l\)\}=\\mathrm\{Norm\}\\left\(\\sum\_\{i\\in\\mathcal\{S\}\_\{\\tau\}^\{\(l\)\}\}s\_\{i,\\tau\}^\{\(l\)\}\\,h\_\{i\}^\{a,\(l\)\}\\right\),\(5\)whereNorm⁡\(⋅\)\\mathrm\{Norm\}\(\\cdot\)denotes feature normalization\. This operation directly determines the initialized prompt parameter for taskτ\\tauat layerll\. Repeating the same procedure over all prompting layers yields the layer\-wise initialized prompts for the corresponding pretext task\.

Since pre\-training also introduces prompt parameters at the input layer, an additional dimension adaptation step is required when the layer\-wise prompt group is transferred across graphs\. When the auxiliary graph and the target graph have different input feature dimensions, the input\-layer prompt is mapped from the auxiliary feature space to the target feature space through a learnable projection matrixWproj∈ℝdt×daW\_\{\\mathrm\{proj\}\}\\in\\mathbb\{R\}^\{d\_\{t\}\\times d\_\{a\}\}, yieldingpτt,\(0\)p\_\{\\tau\}^\{t,\(0\)\}frompτa,\(0\)p\_\{\\tau\}^\{a,\(0\)\}\. For hidden prompting layers, the initialized prompts are directly transferred, i\.e\.,pτt,\(l\)p\_\{\\tau\}^\{t,\(l\)\}is directly obtained frompτa,\(l\)p\_\{\\tau\}^\{a,\(l\)\}forl=1,2,…,Ll=1,2,\\dots,L, since their dimensions have already been unified by the graph encoder\. Accordingly, for each pretext taskτk∈𝒮\\tau\_\{k\}\\in\\mathcal\{S\}, the final initialized prompt group on the target graph is given by:

Pτkt=\{pτkt,\(0\),pτkt,\(1\),…,pτkt,\(L\)\}\.P\_\{\\tau\_\{k\}\}^\{t\}=\\\{p\_\{\\tau\_\{k\}\}^\{t,\(0\)\},p\_\{\\tau\_\{k\}\}^\{t,\(1\)\},\\dots,p\_\{\\tau\_\{k\}\}^\{t,\(L\)\}\\\}\.\(6\)
After the above dual\-prior injection process, the prompt group no longer starts from a random distribution, but from an initialization that jointly encodes task\-aware optimization preference and transferable structural context\. This initialized prompt group is then used as the starting point of multi\-task pre\-training on the target graphGtG^\{t\}\.

### 3\.3Target\-Domain Multi\-Task Pre\-Training

After the above dual\-prior injection process, each pretext taskτk∈𝒮\\tau\_\{k\}\\in\\mathcal\{S\}is equipped with an initialized prompt groupPτktP\_\{\\tau\_\{k\}\}^\{t\}on the target graph\. These initialized prompt tokens are then injected into the shared graph encoder and used to guide target\-domain multi\-task pre\-training\. In this way, the target\-stage optimization starts from transferred task\-aware and structure\-aware prompt initialization rather than from random prompt parameters\.

Starting from the transferred auxiliary encoderfθaf\_\{\\theta^\{a\}\}, the target graph is encoded into layer\-wise node representationsHtH^\{t\}, whereHt,\(l\)H^\{t,\(l\)\}denotes the feature matrix at thell\-th encoder layer\. For thell\-th layer, the corresponding prompt token rewrites the current feature matrix by row\-wise modulation, and the modulated output is further propagated to the next layer\. Whenll¡LL, the next layer will be generated as:

Ht,\(l\+1\)=M​e​s​s​a​g​e​P​a​s​s​i​n​g​\(pt,\(l\)⊙Ht,\(l\),At,fθa\),H^\{t,\(l\+1\)\}=MessagePassing\(p^\{t,\(l\)\}\\odot H^\{t,\(l\)\},A^\{t\},f\_\{\\theta^\{a\}\}\),\(7\)where⊙\\odotdenotes row\-wise element\-wise multiplication between the prompt token and the layer\-wise feature matrix\. Repeating this process over all layers yields a sequence of prompt\-conditioned representations for thekk\-th pretext task, denoted by\{Hτkt,\(l\)\}l=0L\\\{H\_\{\\tau\_\{k\}\}^\{t,\(l\)\}\\\}\_\{l=0\}^\{L\}\. These layer\-wise representations are then aggregated into the final task\-specific representation:

Hτkt=∑l=0Lαl​Hτkt,\(l\),H^\{t\}\_\{\\tau\_\{k\}\}=\\sum\_\{l=0\}^\{L\}\\alpha\_\{l\}H\_\{\\tau\_\{k\}\}^\{t,\(l\)\},\(8\)whereαl\\alpha\_\{l\}denotes the fusion weight of thell\-th encoder layer\. This weighted aggregation allows the final pre\-training representation to preserve both shallow feature information and deep structural semantics, so that each pretext task can make fuller use of multi\-level graph representations\.

Based on the resulting task\-specific representation, the target\-domain multi\-task pre\-training objective is defined as:

ℒtar\(Hτkt,fθa→fθt\)=∑τ∈𝒮λτℒτt\.\\mathcal\{L\}\_\{\\mathrm\{tar\}\}\(H^\{t\}\_\{\\tau\_\{k\}\},f\_\{\\theta^\{a\}\}\\rightarrow f\_\{\\theta^\{t\}\}\)=\\sum\_\{\\tau\\in\\mathcal\{S\}\}\\lambda\_\{\\tau\}\\mathcal\{L\}\_\{\\tau\}^\{t\}\.\(9\)Under this objective, the initialized prompt tokens and the shared encoder are jointly optimized on the target graph\. Starting from the transferred auxiliary encoderfθaf\_\{\\theta^\{a\}\}, the target\-domain multi\-task pre\-training stage further updates the graph encoder tofθtf\_\{\\theta^\{t\}\}under the guidance of the initialized prompt groups\. Therefore, the target\-stage pre\-training inherits both the task prior encoded by TPIM and the structure prior injected by SPIM, while preserving the original multi\-task collaborative learning paradigm\.

### 3\.4Prompt\-Based Downstream Adaptation

After target\-domain multi\-task pre\-training, the graph encoder has been updated fromfθaf\_\{\\theta^\{a\}\}tofθtf\_\{\\theta^\{t\}\}\. The downstream stage is built onfθtf\_\{\\theta^\{t\}\}, where the transferred prompt groups\{Pτkt\}k=1K\\\{P\_\{\\tau\_\{k\}\}^\{t\}\\\}\_\{k=1\}^\{K\}are frozen as a prompt prior, while another randomly initialized prompt group is introduced for downstream adaptation\.

Specifically, for each layerl∈\{0,1,…,L\}l\\in\\\{0,1,\\dots,L\\\}, we aggregate the frozen prompts transferred from all pretext tasks with learnable weights to obtain a layer\-wise pre\-trained prompt for downstream taskdd:

ppd,\(l\)=∑k=1Kβk\(l\)​pτkt,\(l\),p\_\{\\mathrm\{p\}\}^\{d,\(l\)\}=\\sum\_\{k=1\}^\{K\}\\beta\_\{k\}^\{\(l\)\}\\,p\_\{\\tau\_\{k\}\}^\{t,\(l\)\},\(10\)whereβk\(l\)\\beta\_\{k\}^\{\(l\)\}denotes the learnable contribution weight of thekk\-th pretext task at thell\-th layer\. Collecting the layer\-wise promptsppd,\(l\)p\_\{\\mathrm\{p\}\}^\{d,\(l\)\}over all encoder layers yields the transferred pre\-trained prompt groupPpdP\_\{\\mathrm\{p\}\}^\{d\}\. In parallel, the downstream\-task\-specific prompt group is defined asQd=\{qd,\(0\),qd,\(1\),…,qd,\(L\)\}Q^\{d\}=\\\{q^\{d,\(0\)\},q^\{d,\(1\)\},\\\\ \\dots,q^\{d,\(L\)\}\\\}\.

To remain consistent with target\-domain pre\-training, downstream adaptation is also performed in a layer\-wise manner\. LetEd,\(l\)E^\{d,\(l\)\}denote the downstream instance representations extracted from thell\-th layer offθtf\_\{\\theta^\{t\}\}, where each instance corresponds to a node representation or a graph representation after readout\. Based on the transferred pre\-trained prompt group and the downstream\-task\-specific prompt group, we obtain two branch representations by weighted aggregation across layers:

Hpd=∑l=0Lαl​\(ppd,\(l\)⊙Ed,\(l\)\),\\displaystyle H\_\{\\mathrm\{p\}\}^\{d\}=\\sum\_\{l=0\}^\{L\}\\alpha\_\{l\}\\big\(p\_\{\\mathrm\{p\}\}^\{d,\(l\)\}\\odot E^\{d,\(l\)\}\\big\),\(11\)Hqd=∑l=0Lαl​\(qd,\(l\)⊙Ed,\(l\)\),\\displaystyle H\_\{\\mathrm\{q\}\}^\{d\}=\\sum\_\{l=0\}^\{L\}\\alpha\_\{l\}\\big\(q^\{d,\(l\)\}\\odot E^\{d,\(l\)\}\\big\),whereαl\\alpha\_\{l\}denotes the learnable fusion weight of thell\-th layer, and⊙\\odotdenotes row\-wise element\-wise modulation\. The two branch representations are then fused by a learnable scalar parameter:

Hd=γ​Hpd\+\(1−γ\)​Hqd\.H^\{d\}=\\gamma H\_\{\\mathrm\{p\}\}^\{d\}\+\(1\-\\gamma\)H\_\{\\mathrm\{q\}\}^\{d\}\.\(12\)whereγ\\gammais a learnable scalar balancing the two branches\. LetHd=\{hmd\}H^\{d\}=\\\{h\_\{m\}^\{d\}\\\}denote the final downstream instance representations\. Based on the labeled support instances, we construct a prototypercdr\_\{c\}^\{d\}for each classccby averaging the fused representationshmdh\_\{m\}^\{d\}belonging to that class, whereℐc\\mathcal\{I\}\_\{c\}denotes the set of labeled support instances from classcc\. The downstream adaptation is then optimized under the corresponding task\-specific objectiveℒdownstream\\mathcal\{L\}\_\{\\mathrm\{downstream\}\}, which is defined over the fused instance representations and the induced class prototypes\. In this way, both node\-level and graph\-level downstream tasks share the same transfer mechanism, where frozen pre\-trained prompts provide transferable prior and downstream\-task\-specific prompts supply task\-adaptive flexibility\.

## 4Experiments

### 4\.1Experimental Settings

#### 4\.1\.1Datasets

We evaluate the proposed method on six widely used benchmark datasets, including two citation network datasets \(Cora\[[22](https://arxiv.org/html/2609.00047#bib.bib32)\]andCiteseer\[[7](https://arxiv.org/html/2609.00047#bib.bib33)\]\) and four bioinformatics/chemical graph datasets \(PROTEINS\[[5](https://arxiv.org/html/2609.00047#bib.bib34)\],ENZYMES\[[25](https://arxiv.org/html/2609.00047#bib.bib35)\],COX2\[[30](https://arxiv.org/html/2609.00047#bib.bib36)\], andBZR\[[23](https://arxiv.org/html/2609.00047#bib.bib37)\]\)\. These datasets cover both node\-level and graph\-level prediction settings, which helps comprehensively verify the effectiveness of our method across different graph tasks\.

- •Corais a widely used citation network dataset for node classification\[[22](https://arxiv.org/html/2609.00047#bib.bib32)\]\. It contains 2,708 scientific publications connected by citation links, where each node denotes a paper, each edge denotes a citation relation, and each paper is represented by a 1,433\-dimensional bag\-of\-words feature vector\. With both node attributes and graph topology available, Cora is a standard benchmark for evaluating node\-level representation learning and prompt\-based adaptation across 7 research categories\.
- •Citeseeris another classic citation network benchmark for node classification\[[7](https://arxiv.org/html/2609.00047#bib.bib33)\]\. It consists of 3,327 scientific publications and 4,732 citation links, where each node corresponds to a document described by a 3,703\-dimensional feature vector\. Compared with Cora, Citeseer is relatively sparser and more challenging, making it suitable for evaluating the robustness and transferability of graph prompt learning methods over 6 subject categories\.
- •PROTEINSis a protein graph dataset commonly used in graph learning\[[5](https://arxiv.org/html/2609.00047#bib.bib34)\]\. It contains 1,113 protein graphs with 2 graph labels, where each graph represents a protein, nodes usually correspond to secondary structure elements, and edges describe their structural or spatial relations\. Because it preserves both structural patterns and node\-level biological information, PROTEINS can be used to evaluate both graph\-level classification performance and node\-level adaptation ability under our experimental setting\.
- •ENZYMESis a benchmark dataset of protein tertiary structures derived from the BRENDA enzyme database\[[25](https://arxiv.org/html/2609.00047#bib.bib35)\]\. It contains 600 enzyme graphs, where each graph represents an enzyme structure and the task is to classify it into one of 6 enzyme commission \(EC\) top\-level classes\. Owing to its relatively fine\-grained category division and graph topology that reflects interactions among structural components, ENZYMES is a representative benchmark for evaluating both node\-level and graph\-level graph learning methods\.
- •COX2is a molecular graph classification dataset containing 467 molecule graphs with binary labels\[[30](https://arxiv.org/html/2609.00047#bib.bib36)\]\. Each graph denotes a chemical compound, where nodes represent atoms and edges represent chemical bonds, and the task is to distinguish whether the compound is associated with the target biochemical property related to cyclooxygenase\-2 \(COX2\)\. Since molecular graphs usually exhibit diverse local substructures, COX2 is suitable for assessing the ability of the model to capture discriminative structural patterns at the graph level\.
- •BZRis a molecular graph benchmark from the TUDataset collection\[[23](https://arxiv.org/html/2609.00047#bib.bib37)\]\. It contains 405 molecule graphs with 2 graph classes, where each graph corresponds to a chemical compound with atoms as nodes and bonds as edges\. Due to its relatively small scale, nontrivial structural diversity, and classification target related to biochemical activity on benzodiazepine receptors, BZR is frequently used to evaluate the generalization ability of graph classification models in few\-shot and low\-resource settings\.

In our experiments, we evaluate the proposed method on both node classification and graph classification tasks\.

- •Node classification datasets:Cora,Citeseer,PROTEINS, andENZYMES\. Among them,CoraandCiteseerare standard citation\-network node classification benchmarks, whilePROTEINSandENZYMESare further adopted under our node\-level setting to verify the transferability of the method on biological graph data\.
- •Graph classification datasets:PROTEINS,ENZYMES,COX2, andBZR\. These datasets cover protein graphs and molecular graphs, enabling us to evaluate the effectiveness of the proposed method on graph\-level prediction tasks with different semantic domains and structural characteristics\.

Table 1:Performance \(%\) comparisons \(mean accuracy±\\pmstandard deviation\) on node classification datasets under 1\-shot and 5\-shot settings\. Note that for each dataset in each shot setting, we mark the best result inbold, and the second\-best result inunderline\.MethodsCoraCiteseerPROTEINSENZYMES1\-shotGCN\[[17](https://arxiv.org/html/2609.00047#bib.bib1)\]\(ICLR 2017\)28\.57±\\pm5\.0731\.27±\\pm4\.5343\.31±\\pm9\.3548\.08±\\pm4\.71GAT\[[32](https://arxiv.org/html/2609.00047#bib.bib38)\]\(ICLR 2018\)28\.40±\\pm6\.2530\.76±\\pm5\.4031\.79±\\pm20\.1135\.32±\\pm18\.72DGI/InfoGraph\[[34](https://arxiv.org/html/2609.00047#bib.bib9)\]\(ICLR 2019\)54\.11±\\pm9\.6045\.00±\\pm9\.1945\.22±\\pm11\.0948\.05±\\pm14\.83GraphCL\[[44](https://arxiv.org/html/2609.00047#bib.bib8)\]\(NeurIPS 2020\)51\.96±\\pm9\.4343\.21±\\pm9\.6146\.15±\\pm10\.9448\.88±\\pm15\.98GPPT\[[27](https://arxiv.org/html/2609.00047#bib.bib11)\]\(KDD 2022\)15\.37±\\pm4\.5121\.45±\\pm3\.4535\.15±\\pm11\.4035\.37±\\pm9\.37GraphPrompt\[[21](https://arxiv.org/html/2609.00047#bib.bib12)\]\(WWW 2023\)54\.25±\\pm9\.3845\.34±\\pm10\.5347\.22±\\pm11\.0553\.54±\\pm15\.46MultiGPrompt\[[47](https://arxiv.org/html/2609.00047#bib.bib15)\]\(WWW 2024\)57\.73±\\pm9\.9653\.89±\\pm11\.6848\.23±\\pm11\.2953\.95±\\pm15\.50ProNoG\[[46](https://arxiv.org/html/2609.00047#bib.bib39)\]\(KDD 2025\)57\.85±\\pm10\.1848\.57±\\pm9\.7948\.95±\\pm10\.8565\.87±\\pm21\.15TPGC \(Ours\)58\.57±\\pm9\.9154\.77±\\pm11\.2949\.10±\\pm12\.0355\.45±\\pm15\.015\-shotGCN\[[17](https://arxiv.org/html/2609.00047#bib.bib1)\]\(ICLR 2017\)52\.32±\\pm3\.3850\.43±\\pm2\.3744\.23±\\pm8\.3957\.43±\\pm4\.27GAT\[[32](https://arxiv.org/html/2609.00047#bib.bib38)\]\(ICLR 2018\)53\.49±\\pm3\.9351\.06±\\pm3\.0125\.29±\\pm25\.3450\.89±\\pm11\.22DGI/InfoGraph\[[34](https://arxiv.org/html/2609.00047#bib.bib9)\]\(ICLR 2019\)71\.31±\\pm2\.7165\.28±\\pm3\.3747\.10±\\pm9\.1367\.86±\\pm12\.12GraphCL\[[44](https://arxiv.org/html/2609.00047#bib.bib8)\]\(NeurIPS 2020\)71\.41±\\pm2\.7164\.28±\\pm3\.3748\.90±\\pm9\.9866\.56±\\pm11\.32GPPT\[[27](https://arxiv.org/html/2609.00047#bib.bib11)\]\(KDD 2022\)50\.46±\\pm3\.3945\.86±\\pm2\.7226\.74±\\pm13\.5648\.33±\\pm7\.47GraphPrompt\[[21](https://arxiv.org/html/2609.00047#bib.bib12)\]\(WWW 2023\)71\.51±\\pm2\.7165\.38±\\pm3\.3747\.95±\\pm11\.2668\.26±\\pm10\.07MultiGPrompt\[[47](https://arxiv.org/html/2609.00047#bib.bib15)\]\(WWW 2024\)72\.93±\\pm2\.1868\.88±\\pm3\.2947\.85±\\pm9\.4567\.99±\\pm9\.07ProNoG\[[46](https://arxiv.org/html/2609.00047#bib.bib39)\]\(KDD 2025\)71\.51±\\pm2\.7164\.59±\\pm3\.2749\.08±\\pm8\.7979\.13±\\pm7\.06TPGC \(Ours\)76\.13±\\pm2\.7069\.59±\\pm3\.1749\.33±\\pm9\.1869\.47±\\pm9\.15

#### 4\.1\.2Baselines

To comprehensively evaluate the effectiveness of the proposed method, we compare it with three categories of representative baselines, namely end\-to\-end graph neural network methods, graph pre\-training methods, and graph prompt learning methods\.

- •End\-to\-end graph neural networkmethods serve as the most direct supervised baselines, since they are trained on downstream tasks without separate pre\-training or prompt tuning\. GCN\[[17](https://arxiv.org/html/2609.00047#bib.bib1)\]performs neighborhood aggregation through graph convolutions and has become one of the most widely adopted benchmark models in graph learning\. GAT\[[32](https://arxiv.org/html/2609.00047#bib.bib38)\]further introduces an attention mechanism into neighborhood aggregation, enabling the model to assign adaptive importance weights to different neighbors\.
- •Graph pre\-trainingmethods first learn transferable graph representations from unlabeled data through self\-supervised objectives and then adapt the learned encoder to downstream tasks\. DGI\[[34](https://arxiv.org/html/2609.00047#bib.bib9)\]maximizes the mutual information between local node embeddings and a global graph summary, thereby capturing informative structural and semantic patterns\. GraphCL\[[44](https://arxiv.org/html/2609.00047#bib.bib8)\]learns robust graph representations by contrasting different augmented views of the same graph, and has become a representative contrastive pre\-training baseline in graph representation learning\.
- •Graph prompt learningmethods aim to efficiently adapt pre\-trained graph models to downstream tasks through learnable prompts\. GPPT\[[27](https://arxiv.org/html/2609.00047#bib.bib11)\]is one of the earliest frameworks to introduce prompt tuning into graph learning, although it only supports node classification tasks\. GraphPrompt\[[21](https://arxiv.org/html/2609.00047#bib.bib12)\]further unifies graph pre\-training and downstream task modeling within a unified prompting framework\. MultiGPrompt\[[47](https://arxiv.org/html/2609.00047#bib.bib15)\]extends this line of research to the multi\-task setting by jointly modeling multiple pre\-training objectives under a unified prompting paradigm\. ProNoG\[[46](https://arxiv.org/html/2609.00047#bib.bib39)\]combines graph pre\-training with prompt learning and further considers the challenges introduced by non\-homophilic graph structures\. Its strong adaptability under different graph structural properties makes it a competitive recent graph prompt learning baseline in our experiments\.

Table 2:Performance \(%\) comparisons \(mean accuracy±\\pmstandard deviation\) on graph classification datasets under 1\-shot and 5\-shot settings\. Note that for each dataset in each shot setting, we mark the best result inbold, and the second\-best result inunderline\.MethodsBZRCOX2PROTEINSENZYMES1\-shotGCN\[[17](https://arxiv.org/html/2609.00047#bib.bib1)\]\(ICLR 2017\)45\.06±\\pm16\.3043\.84±\\pm13\.9451\.66±\\pm10\.8719\.30±\\pm6\.36GAT\[[32](https://arxiv.org/html/2609.00047#bib.bib38)\]\(ICLR 2018\)46\.28±\\pm15\.2651\.72±\\pm13\.7051\.33±\\pm11\.0220\.24±\\pm6\.39DGI/InfoGraph\[[34](https://arxiv.org/html/2609.00047#bib.bib9)\]\(ICLR 2019\)49\.07±\\pm20\.3453\.14±\\pm14\.3850\.32±\\pm13\.4717\.73±\\pm7\.89GraphCL\[[44](https://arxiv.org/html/2609.00047#bib.bib8)\]\(NeurIPS 2020\)50\.07±\\pm21\.3850\.94±\\pm13\.7850\.69±\\pm10\.9219\.73±\\pm7\.30GraphPrompt\[[21](https://arxiv.org/html/2609.00047#bib.bib12)\]\(WWW 2023\)52\.20±\\pm19\.2754\.54±\\pm16\.3253\.61±\\pm8\.9021\.43±\\pm6\.60MultiGPrompt\[[47](https://arxiv.org/html/2609.00047#bib.bib15)\]\(WWW 2024\)56\.49±\\pm19\.4854\.63±\\pm16\.1455\.01±\\pm10\.1921\.73±\\pm6\.54ProNoG\[[46](https://arxiv.org/html/2609.00047#bib.bib39)\]\(KDD 2025\)50\.43±\\pm11\.8755\.88±\\pm14\.3055\.71±\\pm11\.1021\.45±\\pm6\.74TPGC \(Ours\)56\.87±\\pm18\.5055\.05±\\pm15\.0955\.73±\\pm9\.1322\.10±\\pm6\.375\-shotGCN\[[17](https://arxiv.org/html/2609.00047#bib.bib1)\]\(ICLR 2017\)51\.43±\\pm13\.3247\.49±\\pm11\.3251\.66±\\pm10\.8823\.47±\\pm5\.48GAT\[[32](https://arxiv.org/html/2609.00047#bib.bib38)\]\(ICLR 2018\)52\.84±\\pm13\.0252\.32±\\pm10\.2153\.93±\\pm9\.0324\.92±\\pm5\.30DGI/InfoGraph\[[34](https://arxiv.org/html/2609.00047#bib.bib9)\]\(ICLR 2019\)52\.57±\\pm18\.1454\.52±\\pm15\.3648\.21±\\pm12\.3521\.69±\\pm5\.98GraphCL\[[44](https://arxiv.org/html/2609.00047#bib.bib8)\]\(NeurIPS 2020\)54\.11±\\pm16\.6354\.09±\\pm17\.3153\.69±\\pm11\.9221\.57±\\pm5\.20GraphPrompt\[[21](https://arxiv.org/html/2609.00047#bib.bib12)\]\(WWW 2023\)54\.60±\\pm10\.5354\.35±\\pm14\.7854\.73±\\pm8\.8725\.06±\\pm7\.56MultiGPrompt\[[47](https://arxiv.org/html/2609.00047#bib.bib15)\]\(WWW 2024\)61\.15±\\pm11\.6356\.30±\\pm12\.4656\.16±\\pm9\.2326\.70±\\pm6\.33ProNoG\[[46](https://arxiv.org/html/2609.00047#bib.bib39)\]\(KDD 2025\)59\.69±\\pm10\.8857\.47±\\pm11\.7956\.43±\\pm9\.2825\.36±\\pm6\.90TPGC \(Ours\)61\.54±\\pm11\.6456\.48±\\pm13\.0656\.69±\\pm8\.6727\.13±\\pm6\.44

#### 4\.1\.3Implementation Details

Implementation details of baselines\.For each baseline, we implement its released official code, which is configured according to the recommended settings reported in its corresponding reference\. For the end\-to\-end graph neural network baselines, GCN is implemented as a 3\-layer architecture with a hidden dimension of 256\. GAT is implemented as a 2\-layer architecture with a hidden dimension of 64 and 8 attention heads\. For the graph pre\-training baselines, DGI adopts a 1\-layer GCN backbone with a hidden dimension of 256 and uses PReLU as the activation function\. GraphCL also adopts a 1\-layer GCN backbone with a hidden dimension of 256, where edge dropping is used as the graph augmentation strategy with an augmentation ratio of 0\.2\. For the graph prompt learning baselines, GPPT uses a 2\-layer GraphSAGE backbone with a hidden dimension of 256, where the mean aggregator is adopted in the GraphSAGE encoder\. GraphPrompt uses a 2\-layer GCN backbone with a hidden dimension of 256\. MultiGPrompt uses a 1\-layer GCN backbone with a hidden dimension of 256, and employs DGI, GraphCL, and LP as pre\-training tasks with task weights of 0\.9, 0\.9, and 0\.1, respectively\. ProNoG uses a 1\-layer GCN backbone with a default hidden dimension of 256, while the hidden dimension is set to 64 onPROTEINSandENZYMES; for pre\-training, DSSL\[[39](https://arxiv.org/html/2609.00047#bib.bib40)\]is used onENZYMES, LP is used onPROTEINS, and GraphCL is used on the remaining datasets\.

Implementation details of our proposed TPGC\.All experiments are conducted on a single NVIDIA GeForce RTX 3090 GPU\. TPGC uses a 1\-layer GCN backbone with a hidden dimension of 256\. In the prompt initialization stage, the number of pre\-training epochs is set to 1\. The adopted pre\-training tasks include DGI, GraphCL, LP, and DSSL, with default task weights of 0\.9, 0\.9, 0\.1, and 0, respectively, where DSSL is enabled only onENZYMES\. The default top\-k sampling value is set to 10\. In addition, the auxiliary dataset is selected from datasets of the same type as the target dataset; for example, when the target dataset isCora, the auxiliary dataset is chosen asCiteseer, since both belong to citation network datasets\. To ensure a fair comparison, both the subsequent pre\-training stage and the downstream task stage are conducted under the same settings as MultiGPrompt\[[47](https://arxiv.org/html/2609.00047#bib.bib15)\]\.

Node Classification

Graph Classification

Figure 3:Performance change under different shot settings on node classification and graph classification\.

### 4\.2Performance Comparisons

#### 4\.2\.1Node Classification under 1\-shot and 5\-shot Settings

As shown in Table[1](https://arxiv.org/html/2609.00047#S4.T1), TPGC achieves highly competitive performance across the 1\-shot and 5\-shot node classification settings\. In particular, under each setting, TPGC obtains the best results on three out of four datasets and remains the second\-best method on the remaining one\. Compared with MultiGPrompt, TPGC brings consistent improvements on all four node classification datasets across both shot settings\. TakingCoraas an example, TPGC improves over MultiGPrompt by 0\.84% and 3\.20% under the 1\-shot and 5\-shot settings, respectively, which indicates that the proposed initialization strategy can stably enhance the effectiveness of multi\-task graph prompting from extremely low\-resource scenarios to relatively less sparse settings\. Compared with ProNoG, TPGC maintains clear advantages on the citation\-network benchmarks across both shot settings and remains competitive onPROTEINSandENZYMES, although ProNoG performs better onENZYMES\. We attribute these improvements to the collaborative effect of TPIM and SPIM: TPIM injects task\-related prior into prompts before target\-domain pre\-training, while SPIM further guides the prompt space toward structurally informative regions through global\-context\-aware initialization\. As a result, the initialized prompts are better aligned with downstream objectives and exhibit stronger optimization stability under limited supervision\. Another important observation is that prompt\-based methods, including GraphPrompt, MultiGPrompt, ProNoG, and TPGC, generally perform better than traditional graph pre\-training baselines such as DGI and GraphCL across different shot settings, which further verifies that prompt\-based adaptation is more effective than directly transferring pre\-trained graph encoders in low\-resource node classification\.

#### 4\.2\.2Graph Classification under 1\-shot and 5\-shot Settings

We further report the graph classification results under the 1\-shot and 5\-shot settings in Table[2](https://arxiv.org/html/2609.00047#S4.T2)\. The overall trend is largely consistent with that observed in node classification: TPGC remains one of the strongest methods across different supervision budgets and achieves either the best or the second\-best performance on most graph classification benchmarks\. More specifically, under the 1\-shot and 5\-shot settings, TPGC obtains the best results onBZR,PROTEINS, andENZYMES, while ranking second onCOX2\. Compared with MultiGPrompt, TPGC achieves improvements on all four graph classification datasets across both shot settings\. TakingPROTEINSas an example, TPGC improves over MultiGPrompt by 0\.72% and 0\.53% under the 1\-shot and 5\-shot settings, respectively, which shows that the proposed prompt initialization strategy is also effective for multi\-task prompted graph classification\. Compared with ProNoG, these two methods show different strengths on graph classification benchmarks: TPGC is more competitive onENZYMESacross both shot settings and also achieves stronger results onBZRandPROTEINSunder the 1\-shot and 5\-shot settings, whereas ProNoG performs better on some datasets such asCOX2\. Overall, these results suggest that TPGC also delivers strong and reliable performance on graph classification tasks\.

Table 3:Comparison of downstream\-stage runtime and tunable parameter count onENZYMESunder the 1\-shot setting with 50 downstream training epochs\. Runtime is reported in milliseconds \(ms\)\.MethodsTotal Runtime \(ms\)Tunable ParametersMultiGPrompt\[[47](https://arxiv.org/html/2609.00047#bib.bib15)\]\(WWW 2024\)2859\.65522ProNoG\[[46](https://arxiv.org/html/2609.00047#bib.bib39)\]\(KDD 2025\)5358\.242564TPGC \(Ours\)2885\.47522

Figure 4:Performance comparison before and after removing downstream\-task\-specific prompts \(abbreviated as D\-prompt\) onCoranode classification andCOX2graph classification\. Solid lines denote the original methods, while dashed lines denote the variants that discard D\-prompt and only use pre\-trained prompt vectors for downstream classification\.
#### 4\.2\.3Strong Robustness under Different Shots

To further evaluate the robustness of TPGC under different few\-shot settings, we vary the number of shotsmmfrom 1 to 10 for both node classification and graph classification tasks\. The corresponding results are illustrated in Figure[3](https://arxiv.org/html/2609.00047#S4.F3), and we make several observations below\.

- •First, TPGC consistently achieves competitive performance across different shot settings and remains one of the strongest methods on most datasets\. In particular, under low\-shot settings \(e\.g\.,m≤5m\\leq 5\), TPGC generally performs better than or on par with strong prompt\-learning baselines such as GraphPrompt, MultiGPrompt, and ProNoG, demonstrating its effectiveness when only very limited labeled data are available\.
- •Second, as the number of shots increases, the performance of all methods generally improves, which is expected since more supervision is provided\. Nevertheless, TPGC still maintains clear advantages or highly competitive results in most cases, indicating that the proposed prompt initialization strategy is not only beneficial in extremely low\-resource scenarios but also remains effective when more labeled samples are given\.

Table 4:Effectiveness of key component in prompt initialization on node classification datasets\.MethodsSPIMTPIMCoraCiteseerPROTEINSENZYMES1\-shotRandom Init\.57\.7353\.8948\.2353\.95TPGC w/o T√\\surd57\.9553\.7346\.9253\.54TPGC w/o S√\\surd57\.0953\.2847\.3053\.90TPGC \(Ours\)√\\surd√\\surd58\.5754\.7749\.1055\.455\-shotRandom Init\.72\.9368\.8847\.8567\.99TPGC w/o T√\\surd72\.8368\.9048\.6766\.81TPGC w/o S√\\surd72\.6768\.5748\.2166\.81TPGC \(Ours\)√\\surd√\\surd76\.1369\.0949\.2369\.47

Table 5:Effectiveness of key component in prompt initialization on graph classification datasets\.MethodsSPIMTPIMBZRCOX2PROTEINSENZYMES1\-shotRandom Init\.56\.4954\.6355\.1121\.73TPGC w/o T√\\surd56\.1853\.6754\.5621\.53TPGC w/o S√\\surd55\.1753\.1554\.1321\.03TPGC \(Ours\)√\\surd√\\surd56\.8755\.0555\.7322\.105\-shotRandom Init\.61\.1556\.3056\.1626\.70TPGC w/o T√\\surd60\.5754\.4855\.4925\.90TPGC w/o S√\\surd60\.2054\.1855\.0825\.70TPGC \(Ours\)√\\surd√\\surd61\.5456\.4856\.6927\.13

Overall, these results further verify the robustness and generalization of TPGC across both node\-level and graph\-level tasks under a wide range of few\-shot learning settings\.

#### 4\.2\.4Downstream Complexity Analysis

In addition to accuracy comparisons, we further conduct a downstream\-stage complexity study onMultiGPrompt,ProNoG, and ourTPGC\. The overall runtime comparison and tunable\-parameter comparison are reported in Table[3](https://arxiv.org/html/2609.00047#S4.T3)\. Since TPGC follows the same downstream implementation as MultiGPrompt, both methods have exactly the same number of tunable parameters in the downstream stage, namely 522, and their computational overheads also remain very close\. In contrast, ProNoG introduces a much larger downstream parameter budget of 2564 and substantially heavier computation during downstream inference\. Specifically, ProNoG requires additional neighbor retrieval, prompt\-based transformation, similarity\-weighted aggregation, and meta\-network inference for each test node before prototype matching\. Such a multi\-step neighbor\-aware pipeline introduces substantially higher computational overhead than TPGC\. TakingENZYMESas an example, the total downstream runtime of ProNoG reaches 5358\.24 ms, which is about 1\.86×\\timesthat of TPGC \(2885\.47 ms\)\. This result suggests that the relatively strong accuracy of ProNoG onENZYMESis associated with both a larger downstream parameter scale and a noticeably heavier computational overhead, whereas TPGC maintains a more favorable efficiency–effectiveness trade\-off while still achieving highly competitive predictive performance\.

Figure 5:Visualization \(t\-SNE\) of initialized prompt vectors and graph node embeddings\. DGI, GraphCL, and LP correspond to the three default pretext tasks adopted in the pre\-training stage, and the plotted prompt vectors illustrate how task\-specific prompt initialization is positioned in the graph representation space\.

### 4\.3Ablation Studies

#### 4\.3\.1Discussion on the Pivotal Role of Prompt Initialization

To further compare the behavior of multi\-task pre\-trained prompt learning under different prompt initialization strategies with the most related work MultiGPrompt, we conduct an ablation study by removing the downstream\-task\-specific prompt and only keeping the initialized prompt\. In this setting, both MultiGPrompt and TPGC discard the prompt introduced specifically for downstream adaptation, and only the pre\-trained prompt vectors are used to guide downstream classification\. As shown in Figure[4](https://arxiv.org/html/2609.00047#S4.F4), MultiGPrompt relies heavily on the downstream\-task\-specific prompt\. After removing it, the accuracy drops substantially in all cases, typically by around 5 percentage points, and the degradation onCoracan reach roughly 10–20 percentage points across different shot settings\. This observation suggests that randomly initialized pre\-training prompts still contain high information entropy and strong optimization uncertainty, so the learned prompt vectors alone are not sufficiently stable to guide downstream classification without additional task\-specific adaptation\. In contrast, TPGC effectively alleviates this issue through a more informative initialization strategy\. After discarding the downstream\-task\-specific prompt, TPGC is much less sensitive to this removal, with a slight performance drop\. This result indicates that, by jointly injecting task priors and global contextual information into the prompt initialization process, TPGC learns pre\-trained prompt vectors that are better aligned with downstream decision boundaries and can provide more stable, transferable, and task\-aware guidance for downstream classification\.

#### 4\.3\.2Effectiveness of Key Component in Prompt Initialization

To verify the effectiveness of each component \(i\.e\., TPIM and SPIM\) in our proposed prompt initialization strategy, we further conduct ablation studies under the 1\-shot and 5\-shot settings and compare the full model with three representative variants\. The corresponding results are reported in Table[4](https://arxiv.org/html/2609.00047#S4.T4)and Table[5](https://arxiv.org/html/2609.00047#S4.T5)\. Overall, the full TPGC achieves the strongest or tied\-strongest performance on almost all datasets across both shot settings, which confirms the effectiveness of combining TPIM and SPIM in prompt initialization\. Specifically,Random Init\.denotes the original MultiGPrompt\-style random initialization without either TPIM or SPIM\.TPGC w/o Tdenotes TPGC without TPIM, which directly uses the prompt vectors obtained after structural aggregation on the auxiliary graph as initialization for target\-domain pre\-training, without performing auxiliary\-graph pre\-training in advance\.TPGC w/o Sdenotes TPGC without SPIM, where the top\-k similarity\-based sampling operation is removed and replaced with global average pooling over all nodes\. The fullTPGCjointly incorporates both TPIM and SPIM, so that prompt initialization can simultaneously encode task\-related prior and transferable structural information\. From Table[4](https://arxiv.org/html/2609.00047#S4.T4)and Table[5](https://arxiv.org/html/2609.00047#S4.T5), we can draw the following observations\.

- •First, removing either TPIM or SPIM generally leads to performance degradation under both the 1\-shot and 5\-shot settings, which indicates that both components are beneficial\. In particular, the drop ofTPGC w/o Tverifies that auxiliary\-graph pre\-training is important for injecting task\-aware prior before target\-domain optimization, while the weaker performance ofTPGC w/o Son several datasets shows that replacing top\-k sampling with simple global averaging makes it harder to preserve informative structural patterns\.
- •Second, compared withRandom Init\., the full TPGC yields more consistent gains across both node classification and graph classification tasks in the two shot settings, suggesting that the proposed prompt initialization is more reliable than purely random initialization\.

In summary, these results demonstrate that TPIM and SPIM are complementary, and their combination provides the most effective prompt initialization strategy for multi\-task graph pre\-training under different few\-shot settings\.

Figure 6:Visualization of pre\-training loss convergence under random initialization and TPGC initialization\.

### 4\.4Visualization

#### 4\.4\.1Visualization of Prompt Vectors

To further understand the effect of prompt initialization from a representation\-space perspective, we visualize the initialized prompt vectors together with graph node embeddings after t\-SNE dimensionality reduction, as shown in Figure[5](https://arxiv.org/html/2609.00047#S4.F5)\. Overall, the visualization clearly shows that TPGC produces prompt vectors that are better aligned with the structure of the graph representation space, whereas random initialization tends to place prompts in less informative regions\. This observation provides intuitive evidence for why the proposed prompt initialization strategy improves subsequent multi\-task graph pre\-training and downstream adaptation\. As shown in the left of Figure[5](https://arxiv.org/html/2609.00047#S4.F5), under random initialization, the prompt vectors are scattered in arbitrary noisy regions of the representation space and are often far away from meaningful node clusters\. Such a distribution indicates that the initialized prompts are poorly aligned with the intrinsic organization of graph embeddings\. As a result, the prompts cannot provide informative guidance at the beginning of pre\-training, and the optimization process must spend additional effort to move them toward task\-relevant regions\. In contrast, as shown in the right of Figure[5](https://arxiv.org/html/2609.00047#S4.F5), with TPGC initialization, the prompt vectors are located much closer to high\-density and semantically meaningful regions of the node embedding distribution\. Instead of lying in isolated noisy areas, they are naturally aligned with the overall geometry of the representation space and better match the underlying node clusters\. This phenomenon directly supports the role of SPIM, namely, aligning prompt initialization with high\-information regions in the graph representation space by injecting transferable structural prior from the auxiliary graph\.

#### 4\.4\.2Visualization of Convergence

In addition to the representation\-space visualization, the loss convergence curves in Figure[6](https://arxiv.org/html/2609.00047#S4.F6)further confirm the optimization advantage of the proposed initialization strategy\. After applying TPGC\-based prompt initialization, the pre\-training loss decreases more rapidly and reaches a lower level in earlier stages than random initialization\. This indicates that a better\-aligned prompt initialization not only places the prompts in more informative regions of the representation space, but also provides a more favorable starting point for optimization\. As a result, the model can enter an effective training regime more quickly, which demonstrates that TPGC helps the pre\-training process converge faster and more stably\.

## 5Conclusion and Future Works

In this paper, we propose a new prompt initialization method \(TPGC\) for multi\-task graph pre\-training\. The core idea of TPGC is to initialize graph prompts with both task\-aware prior knowledge and transferable structural context, so that the subsequent pre\-training and downstream adaptation stages can start from a more informative and stable prompt space\. Extensive benchmark experiments demonstrate that the two designed modules, SPIM and TPIM, can effectively enhance prompt quality, improve few\-shot performance, and promote more stable optimization across both node classification and graph classification tasks\. Despite these encouraging results, we also recognize that the current design may still be limited when handling heterophilous graphs, where connected nodes often have different labels or semantics, and we leave more effective prompt initialization for such scenarios as our future works\.

## CRediT Authorship Contribution Statement

Zhiyang Qiu:Conceptualization, Data curation, Investigation, Validation, Writing \- original draft\.Yangtao Wang:Conceptualization, Investigation, Methodology, Resources, Writing \- review & editing, Supervision\.Xiaocui Li:Conceptualization, Writing \- review & editing\.Yanzhao Xie:Conceptualization, Writing \- review & editing\.Siyuan Chen:Conceptualization, Writing \- review & editing\.Wensheng Zhang:Conceptualization, Supervision\.

## Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper\.

## Data Availability

## Acknowledgments

This work is supported by National Natural Science Foundation of China \(No\. 62406082, No\. 62506085, No\. 62394334\), Guangdong Basic and Applied Basic Research Foundation \(No\. 2023A1515110650, No\. 2023A1515110659\), Guangzhou Science and Technology Planning Project \(No\. 2024A03J0013, No\. 2025A04J4590\), Guangdong Provincial Department of Education Innovation Strong School Youth Innovation Talent Project \(No\. 2023KQNCX055\), and Youth S&T Talent Support Programme of Guangdong Provincial Association for Science and Technology \(GDSTA\) \(No\. SKXRC2026111\)\.

## References

- \[1\]Z\. Ai, Z\. Liu, and J\. Zhou\(2025\)Vision graph prompting via semantic low\-rank decomposition\.InProceedings of International Conference on Machine Learning,Vol\.267\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[2\]R\. Belanec, S\. Ostermann, I\. Srba, and M\. Bieliková\(2025\)Task prompt vectors: effective initialization through multi\-task soft\-prompt transfer\.InProceedings of Machine Learning and Knowledge Discovery in Databases,Vol\.16020,pp\. 77–94\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p2.1)\.
- \[3\]Z\. Chen, Y\. Ye, M\. Lu, Y\. Pan, and Y\. Xia\(2024\)Each test image deserves a specific prompt: continual test\-time adaptation for 2d medical image segmentation\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 11184–11193\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p2.1)\.
- \[4\]X\. Deng, Y\. Wang, Y\. Xie, X\. Li, M\. Tang, M\. Fang, and W\. Zhang\(2026\)Prompt\-affinity multi\-modal class centroids for unsupervised domain adaption\.Pattern Recognition170,pp\. 112095\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[5\]P\. D\. Dobson and A\. J\. Doig\(2003\)Distinguishing enzyme structures from non\-enzymes without alignments\.Journal of Molecular Biology330\(4\),pp\. 771–783\.Cited by:[3rd item](https://arxiv.org/html/2609.00047#S4.I1.i3.p1.1),[§4\.1\.1](https://arxiv.org/html/2609.00047#S4.SS1.SSS1.p1.1)\.
- \[6\]T\. Fang, Y\. Zhang, Y\. Yang, C\. Wang, and L\. Chen\(2023\)Universal prompt tuning for graph neural networks\.InAdvances in Neural Information Processing Systems,Vol\.36,pp\. 52464–52489\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p2.1),[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[7\]C\. L\. Giles, K\. D\. Bollacker, and S\. Lawrence\(1998\)CiteSeer: an automatic citation indexing system\.InProceedings of the 3rd ACM International Conference on Digital Libraries,pp\. 89–98\.Cited by:[2nd item](https://arxiv.org/html/2609.00047#S4.I1.i2.p1.1),[§4\.1\.1](https://arxiv.org/html/2609.00047#S4.SS1.SSS1.p1.1)\.
- \[8\]W\. L\. Hamilton, Z\. Ying, and J\. Leskovec\(2017\)Inductive representation learning on large graphs\.InAdvances in Neural Information Processing Systems,pp\. 1024–1034\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p1.1)\.
- \[9\]V\. T\. Hoang and O\. Lee\(2025\)Pre\-training graph neural networks on molecules by using subgraph\-conditioned graph information bottleneck\.InProceedings of AAAI Conference on Artificial Intelligence,pp\. 17204–17213\.Cited by:[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p1.1)\.
- \[10\]Z\. Hou, Y\. He, Y\. Cen, X\. Liu, Y\. Dong, E\. Kharlamov, and J\. Tang\(2023\)GraphMAE2: a decoding\-enhanced masked self\-supervised graph learner\.InProceedings of the ACM Web Conference,pp\. 737–746\.Cited by:[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p1.1)\.
- \[11\]Z\. Hou, X\. Liu, Y\. Cen, Y\. Dong, H\. Yang, C\. Wang, and J\. Tang\(2022\)GraphMAE: self\-supervised masked graph autoencoders\.InProceedings of the ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 594–604\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p1.1),[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p1.1)\.
- \[12\]W\. Hu, B\. Liu, J\. Gomes, M\. Zitnik, P\. Liang, V\. Pande, and J\. Leskovec\(2020\)Strategies for pre\-training graph neural networks\.InProceedings of International Conference on Learning Representations,Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p1.1),[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p1.1)\.
- \[13\]Z\. Hu, Y\. Dong, K\. Wang, K\. Chang, and Y\. Sun\(2020\)GPT\-gnn: generative pre\-training of graph neural networks\.InProceedings of the ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 1857–1867\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p1.1),[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p1.1)\.
- \[14\]Z\. Huang, W\. Zhou, Y\. Jiang, Z\. Jia, L\. Lü, and Y\. Ma\(2026\)An efficient community\-aware pre\-training method for graph neural networks\.Pattern Recognition172,pp\. 112340\.Cited by:[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p1.1)\.
- \[15\]P\. Jiao, J\. Ni, D\. Jin, X\. Guo, H\. Liu, H\. Chen, and Y\. Bi\(2025\)HGMP: heterogeneous graph multi\-task prompt learning\.InProceedings of the International Joint Conference on Artificial Intelligence,pp\. 2982–2990\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[16\]M\. U\. Khattak, H\. Rasheed, M\. Maaz, S\. Khan, and F\. S\. Khan\(2023\)MaPLe: multi\-modal prompt learning\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 19113–19122\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[17\]T\. N\. Kipf and M\. Welling\(2017\)Semi\-supervised classification with graph convolutional networks\.InProceedings of International Conference on Learning Representations,Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p1.1),[1st item](https://arxiv.org/html/2609.00047#S4.I3.i1.p1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.13.1.1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.3.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.12.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.3.1.1.1)\.
- \[18\]B\. Lester, R\. Al\-Rfou, and N\. Constant\(2021\)The power of scale for parameter\-efficient prompt tuning\.InProceedings of the Conference on Empirical Methods in Natural Language Processing,pp\. 3045–3059\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p2.1),[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p2.1)\.
- \[19\]Z\. Li, M\. Lin, J\. Wang, and S\. Wang\(2025\)Fairness\-aware prompt tuning for graph neural networks\.InProceedings of the ACM Web Conference,pp\. 3586–3597\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[20\]M\. Lin, X\. Hong, W\. Li, and S\. Lu\(2025\)Unified graph neural networks pre\-training for multi\-domain graphs\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.39,pp\. 12165–12173\.Cited by:[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p2.1)\.
- \[21\]Z\. Liu, X\. Yu, Y\. Fang, and X\. Zhang\(2023\)GraphPrompt: unifying pre\-training and downstream tasks for graph neural networks\.InProceedings of the ACM Web Conference,pp\. 417–428\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p2.1),[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1),[3rd item](https://arxiv.org/html/2609.00047#S4.I3.i3.p1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.18.1.1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.8.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.16.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.7.1.1.1)\.
- \[22\]A\. K\. McCallum, K\. Nigam, J\. Rennie, and K\. Seymore\(2000\)Automating the construction of internet portals with machine learning\.Information Retrieval3\(2\),pp\. 127–163\.Cited by:[1st item](https://arxiv.org/html/2609.00047#S4.I1.i1.p1.1),[§4\.1\.1](https://arxiv.org/html/2609.00047#S4.SS1.SSS1.p1.1)\.
- \[23\]C\. Morris, N\. M\. Kriege, F\. Bause, K\. Kersting, P\. Mutzel, and M\. Neumann\(2020\)TUDataset: a collection of benchmark datasets for learning with graphs\.CoRRabs/2007\.08663\.Cited by:[6th item](https://arxiv.org/html/2609.00047#S4.I1.i6.p1.1),[§4\.1\.1](https://arxiv.org/html/2609.00047#S4.SS1.SSS1.p1.1)\.
- \[24\]J\. Qiu, Q\. Chen, Y\. Dong, J\. Zhang, H\. Yang, M\. Ding, K\. Wang, and J\. Tang\(2020\)GCC: graph contrastive coding for graph neural network pre\-training\.InProceedings of the ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 1150–1160\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p1.1)\.
- \[25\]I\. Schomburg, A\. Chang, C\. Ebeling, M\. Gremse, C\. Heldt, G\. Huhn, and D\. Schomburg\(2004\)BRENDA, the enzyme database: updates and major new developments\.Nucleic Acids Research32\(Database issue\),pp\. D431–D433\.Cited by:[4th item](https://arxiv.org/html/2609.00047#S4.I1.i4.p1.1),[§4\.1\.1](https://arxiv.org/html/2609.00047#S4.SS1.SSS1.p1.1)\.
- \[26\]S\. Shen, S\. Yang, T\. Zhang, B\. Zhai, J\. E\. Gonzalez, K\. Keutzer, and T\. Darrell\(2024\)Multitask vision\-language prompt tuning\.InProceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision,pp\. 5656–5667\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p2.1)\.
- \[27\]M\. Sun, K\. Zhou, X\. He, Y\. Wang, and X\. Wang\(2022\)GPPT: graph pre\-training and prompt tuning to generalize graph neural networks\.InProceedings of the ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 1717–1727\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p2.1),[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1),[3rd item](https://arxiv.org/html/2609.00047#S4.I3.i3.p1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.17.1.1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.7.1.1.1)\.
- \[28\]M\. Sun, J\. Hou, Y\. Zhang, Y\. Li, and Y\. Wang\(2025\)Generalizable graph prompt learning framework with model\-level prompt injection and two\-stage prompt tuning\.InProceedings of the ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 2747–2755\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[29\]X\. Sun, H\. Cheng, J\. Li, B\. Liu, and J\. Guan\(2023\)All in one: multi\-task prompting for graph neural networks\.InProceedings of the ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 2120–2131\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1),[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p2.1)\.
- \[30\]J\. J\. Sutherland, L\. A\. O’Brien, and D\. F\. Weaver\(2003\)Spline\-fitting with a genetic algorithm: a method for developing classification structure\-activity relationships\.Journal of Chemical Information and Computer Sciences43\(6\),pp\. 1906–1915\.Cited by:[5th item](https://arxiv.org/html/2609.00047#S4.I1.i5.p1.1),[§4\.1\.1](https://arxiv.org/html/2609.00047#S4.SS1.SSS1.p1.1)\.
- \[31\]S\. Thakoor, C\. Tallec, M\. G\. Azar, M\. Azabou, E\. Dyer, R\. Munos, P\. Veličković, and M\. Valko\(2022\)Bootstrapped representation learning on graphs\.InProceedings of International Conference on Learning Representations,Cited by:[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p1.1)\.
- \[32\]P\. Veličković, G\. Cucurull, A\. Casanova, A\. Romero, P\. Liò, and Y\. Bengio\(2018\)Graph attention networks\.InProceedings of International Conference on Learning Representations,Cited by:[1st item](https://arxiv.org/html/2609.00047#S4.I3.i1.p1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.14.1.1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.4.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.13.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.4.1.1.1)\.
- \[33\]P\. Veličković, G\. Cucurull, A\. Casanova, A\. Romero, P\. Liò, and Y\. Bengio\(2018\)Graph attention networks\.InProceedings of International Conference on Learning Representations,Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p1.1)\.
- \[34\]P\. Veličković, W\. Fedus, W\. L\. Hamilton, P\. Liò, Y\. Bengio, and R\. D\. Hjelm\(2019\)Deep graph infomax\.InProceedings of International Conference on Learning Representations,Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p1.1),[§1](https://arxiv.org/html/2609.00047#S1.p2.1),[§3\.2\.2](https://arxiv.org/html/2609.00047#S3.SS2.SSS2.p1.3),[2nd item](https://arxiv.org/html/2609.00047#S4.I3.i2.p1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.15.1.1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.5.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.14.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.5.1.1.1)\.
- \[35\]J\. Wu, R\. Wang, H\. Zhao, R\. Zhang, C\. Lu, S\. Li, and R\. Henao\(2023\)Few\-shot composition learning for image retrieval with prompt tuning\.InProceedings of AAAI Conference on Artificial Intelligence,pp\. 4729–4737\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[36\]J\. Wu, T\. Yu, R\. Wang, Z\. Song, R\. Zhang, H\. Zhao, C\. Lu, S\. Li, and R\. Henao\(2023\)InfoPrompt: information\-theoretic soft prompt tuning for natural language understanding\.InAdvances in Neural Information Processing Systems,Vol\.36\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p2.1),[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p2.1)\.
- \[37\]Z\. Wu, S\. Pan, F\. Chen, G\. Long, C\. Zhang, and P\. S\. Yu\(2021\)A comprehensive survey on graph neural networks\.IEEE Transactions on Neural Networks and Learning Systems32\(1\),pp\. 4–24\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p1.1)\.
- \[38\]J\. Xia, C\. Zhao, B\. Hu, Z\. Gao, C\. Tan, Y\. Liu, S\. Li, and S\. Z\. Li\(2023\)Mole\-bert: rethinking pre\-training graph neural networks for molecules\.InProceedings of International Conference on Learning Representations,Cited by:[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p1.1)\.
- \[39\]T\. Xiao, Z\. Chen, Z\. Guo, Z\. Zhuang, and S\. Wang\(2022\)Decoupled self\-supervised learning for graphs\.InAdvances in Neural Information Processing Systems,Vol\.35,pp\. 620–634\.Cited by:[§4\.1\.3](https://arxiv.org/html/2609.00047#S4.SS1.SSS3.p1.1)\.
- \[40\]Y\. Xie, M\. Qiu, Y\. Wang, S\. Chen, M\. Fang, M\. Tang, and W\. Zhang\(2026\)MKGPL: graph prompt learning with multi\-view knowledge for few\-shot recognition\.Pattern Recognition172,pp\. 112737\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p2.1),[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[41\]C\. Xu, Y\. Zhu, H\. Shen, B\. Chen, Y\. Liao, X\. Chen, and L\. Wang\(2025\)Progressive visual prompt learning with contrastive feature re\-formation\.International Journal of Computer Vision133\(2\),pp\. 511–526\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[42\]Y\. Xu, Q\. Zhang, K\. Wang, Z\. Liu, C\. Huang, and Y\. Fang\(2026\)Web page tampering detection based on dynamic temporal graph pre\-training\.IEEE Transactions on Dependable and Secure Computing‌23\(2\),pp\. 2012–2029\.Cited by:[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p1.1)\.
- \[43\]C\. Yang, Y\. Hao, Q\. Zhang, and C\. Shi\(2026\)Disentangled graph prompting for out\-of\-distribution detection\.IEEE Transactions on Knowledge and Data Engineering38\(7\),pp\. 4227–4238\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[44\]Y\. You, T\. Chen, Y\. Sui, T\. Chen, Z\. Wang, and Y\. Shen\(2020\)Graph contrastive learning with augmentations\.InAdvances in Neural Information Processing Systems,Vol\.33,pp\. 5812–5823\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p1.1),[§1](https://arxiv.org/html/2609.00047#S1.p2.1),[§3\.2\.2](https://arxiv.org/html/2609.00047#S3.SS2.SSS2.p1.3),[2nd item](https://arxiv.org/html/2609.00047#S4.I3.i2.p1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.16.1.1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.6.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.15.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.6.1.1.1)\.
- \[45\]X\. Yu, Z\. Liu, Y\. Fang, Z\. Liu, S\. Chen, and X\. Zhang\(2024\)Generalized graph prompt: toward a unification of pre\-training and downstream tasks on graphs\.IEEE Transactions on Knowledge and Data Engineering36\(11\),pp\. 6237–6250\.Cited by:[§2\.1](https://arxiv.org/html/2609.00047#S2.SS1.p1.1)\.
- \[46\]X\. Yu, J\. Zhang, Y\. Fang, and R\. Jiang\(2025\)Non\-homophilic graph pre\-training and prompt learning\.InProceedings of the ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 1844–1854\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p2.1),[3rd item](https://arxiv.org/html/2609.00047#S4.I3.i3.p1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.10.1.1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.20.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.18.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.9.1.1.1),[Table 3](https://arxiv.org/html/2609.00047#S4.T3.6.1.3.1)\.
- \[47\]X\. Yu, C\. Zhou, Y\. Fang, and X\. Zhang\(2024\)MultiGPrompt for multi\-task pre\-training and prompting on graphs\.InProceedings of the ACM Web Conference,pp\. 515–526\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p2.1),[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1),[3rd item](https://arxiv.org/html/2609.00047#S4.I3.i3.p1.1),[§4\.1\.3](https://arxiv.org/html/2609.00047#S4.SS1.SSS3.p2.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.19.1.1.1),[Table 1](https://arxiv.org/html/2609.00047#S4.T1.12.1.9.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.17.1.1.1),[Table 2](https://arxiv.org/html/2609.00047#S4.T2.12.1.8.1.1.1),[Table 3](https://arxiv.org/html/2609.00047#S4.T3.6.1.2.1)\.
- \[48\]K\. Zhou, J\. Yang, C\. C\. Loy, and Z\. Liu\(2022\)Conditional prompt learning for vision\-language models\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 16795–16804\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[49\]K\. Zhou, J\. Yang, C\. C\. Loy, and Z\. Liu\(2022\)Learning to prompt for vision\-language models\.International Journal of Computer Vision130\(9\),pp\. 2337–2348\.Cited by:[§2\.2](https://arxiv.org/html/2609.00047#S2.SS2.p1.1)\.
- \[50\]T\. Zhu, X\. Qu, D\. Dong, J\. Ruan, J\. Tong, C\. He, and Y\. Cheng\(2024\)IAPT: instance\-aware prompt tuning for large language models\.InProceedings of the Annual Meeting of the Association for Computational Linguistics,pp\. 14622–14637\.Cited by:[§1](https://arxiv.org/html/2609.00047#S1.p2.1)\.

Similar Articles

Target-Oriented Pretraining Data Selection via Neuron-Activated Graph

arXiv cs.CL

This paper introduces Neuron-Activated Graph (NAG) Ranking, a training-free framework for selecting pretraining data aligned with target tasks by identifying and ranking candidate data based on similarity in neuron activation patterns. The approach achieves 4.9% average improvement over random sampling and demonstrates that sparse neuron patterns capture functional capabilities for target learning.