betaFeedback

WorksComputer Science

Beyond Fixed Prompt Configuration: Alternating Policy Learning for Adaptive Topology-Based Prompting in Few-Shot Graph Learning

Abstract

Graph Prompt Learning (GPL) adapts frozen pre-trained graph models to few-shot graph tasks through a small set of trainable prompts that encode task-specific information. Topology-based prompting instantiates this idea by augmenting an input graph with new prompt nodes and edges, yielding promising performance. However, prompt content and propagation structure are coupled, making it difficult to assess their individual effects and learn compatible configurations. In this paper, we empirically analyze two challenges in learning adaptive policies for topology-based prompting: asymmetric performance effects and coupled configuration selection. We then propose TTPR, a two-stage reinforcement framework that alternately optimizes two policies to generate adaptive configurations, with each policy conditioned on configurations generated by the other fixed policy. These conditional updates separate policy evaluation while preserving configuration compatibility. Specifically, TTPR models an edge-level policy to construct connection patterns and optimizes it with Connection Relative Policy Optimization (CRPO) through group-wise comparisons of complete connection patterns. The other is a node-level policy that generates prompt-node schemes and is optimized with Incremental Node Proximal Policy Optimization (INPPO) through incremental prompt-count decisions and feature generation. Across diverse datasets and pre-training strategies, TTPR ranks first in 8/10 few-shot node classification settings and attains the highest average performance across graph classification benchmarks.

Introduction

Graph pre-training captures transferable knowledge from unlabeled data, yet adapting this knowledge to downstream tasks remains challenging when annotations are scarce [1], [2]. Graph Prompt Learning (GPL) addresses this challenge by adapting frozen pretrained models through a small set of learnable prompts [3, 4, 5]. These prompts modify graph features or structures and are optimized using downstream labels, guiding the frozen encoder to produce task-relevant representations. Most approaches adopt the Prompt as Tokens (PT) paradigm, injecting prompt vectors into node attributes or subgraph representations [6]. GPF [7] learns a shared feature prompt, while RELIEF [8] uses reinforcement learning to tailor prompt placement and content to each input. Such feature-level adaptation controls the information supplied by prompts, but its propagation remains constrained by the original graph connectivity.

Prompt as Graphs (PG) expands this design space by introducing auxiliary nodes and connections that provide additional paths for task-relevant information [9]. This topology-based prompting combines a prompt-node scheme that specifies prompt content with a connection pattern that governs its propagation. For example, All-in-One [10] constructs a graph of learnable prompt nodes and attaches it to the input graph using feature-similarity thresholds. PSP [11] further introduces class prototypes as virtual nodes and learns their connection weights to original nodes, improving prototype estimation under limited supervision. These methods focus on learning prompt features or connections within predefined configuration schemes, leaving the coordinated adaptation of prompt-node counts, features, and connection patterns underexplored. Our empirical analysis reveals two challenges in coordinating these configurations.

Asymmetric performance effects. Different prompt-node schemes introduce distinct prompt information into the graph, whereas different connection patterns produce distinct propagation patterns, causing downstream performance to vary at different scales. Figure 1(a–Figure 1b) shows that connection patterns constructed using different node-similarity thresholds produce substantially smaller performance variations than prompt-node schemes with different prompt-node counts across both datasets. Simultaneous changes to both configurations confound their contributions to the shared performance feedback, allowing larger node-level effects to overshadow gains from connection refinement.

Observational experiments on topology-based prompting configurations for 10-shot node classification

Figure 1. Observational experiments on topology-based prompting configurations for 10-shot node classification on Cora and CiteSeer with a frozen, GPPT-pretrained GNN. The node-similarity threshold specifies the minimum feature similarity required to connect a prompt node with an input node, while the prompt-node count denotes the number of auxiliary prompt nodes. For each configuration, we select the checkpoint with the highest validation accuracy and report its test accuracy. Figures (a–b) fix the prompt-node count at 5 and the node-similarity threshold at 0.5, respectively, and vary the other parameter. Figures (c–d) fix the parameter on the horizontal axis and select the best value of the other parameter based on validation accuracy.

Coupled configuration selection. Effective topology-based prompting requires compatible prompt-node schemes and connection patterns, as different pairings yield different downstream outcomes. Figure 1(c–Figure 1d) substantiates this requirement, showing that a configuration value that is optimal in one pairing may not remain optimal in another, resulting in different best-performing combinations. Prompt counts and features shape the choice of connections, whose propagation effects in turn determine the utility of the prompt-node scheme. Independent selection can therefore produce incompatible configurations.

These observations show that effective policy learning requires distinguishable evaluation of the two policies while preserving configuration compatibility. To address this, we propose TTPR, a Two-stage Topology-based Prompting Reinforcement framework that separately models node-level and edge-level policies to learn prompt-node schemes and connection patterns, respectively. By keeping one policy fixed while optimizing the other, TTPR provides distinguishable performance feedback without breaking the compatibility between their generated configurations. In Stage I, we model connection selection as a binary decision process over candidate prompt-related edges, with each action specifying a complete connection pattern. We propose Connection Relative Policy Optimization (CRPO), which evaluates alternative patterns under a fixed prompt-node scheme and learns from their relative downstream rewards. Building on GRPO’s group-relative advantage estimation [12], CRPO forms comparison groups by sampling graph connections at the input of the frozen GNN, allowing the edge policy to assess the collective propagation effects of its decisions under shared prompt content. In Stage II, we model prompt-node configuration as an incremental decision process that adjusts the prompt count and generates corresponding features under a fixed edge policy. We propose Incremental Node Proximal Policy Optimization (INPPO), which couples discrete count adjustments with conditional feature generation and learns these hybrid decisions from downstream feedback along configuration trajectories. INPPO adopts PPO’s clipped policy objective [13] to jointly update the count and feature policies, allowing changes in prompt capacity to be evaluated together with the content they introduce. The two stages alternate until the iteration limit is reached. Our contributions are summarized as follows:

  1. We conduct observational experiments on topology-based prompting configurations for few-shot graph learning and identify two key challenges: asymmetric performance effects and coupled configuration selection.

  1. We propose TTPR for adaptive topology-based prompting, which separately models node-level and edge-level policies and alternately optimizes them with CRPO and INPPO to learn compatible prompt configurations.

  1. Across diverse datasets and pre-training strategies, TTPR ranks first in 8/10 few-shot node classification settings and attains the highest average performance across graph classification benchmarks.

Graph Prompt Learning

Graph prompt learning adapts pretrained graph models to downstream tasks through learnable prompts [14]. Prompt as Tokens represents prompts as learnable vectors applied to node attributes or representations. GPF [7] adds a shared prompt vector to node features, while SUPT [15] assigns prompts at the subgraph level. SGL-PT [16] bridges pre-training and graph classification through a task-compatible prompting function, and DAGPrompt [17] combines hop-specific prompts with low-rank adaptation to accommodate distribution shifts. Further work explores the role of edges in graph prompting. EdgePrompt [18] incorporates learnable edge prompt vectors into message passing [19]. Subsequent studies adjust local connections through probabilistic [20] edge selection and differentiable relaxation [21], or learn edge weights on feature-similarity-based candidate connections and progressively integrate them with the original graph [22]. Prompt as Graphs constructs prompt-augmented graphs by introducing prompt nodes and their connections. All-in-One [10] uses similarity-based prompt graphs, while PSP [11] learns connections to class-prototype nodes. Further studies combine cluster prompt nodes with meta-path information [23] for heterogeneous graph adaptation [24], or organize query attributes and virtual nodes into prompt graphs for attributed community search [25]. These methods typically construct prompts according to predefined rules or task semantics [26] and optimize prompt parameters or connection weights through gradient-based learning. Recent work further investigates reinforcement learning for input-adaptive prompt construction. RELIEF [8] formulates prompt placement and content generation as sequential decisions, while LEAP [27] adapts node prompts through RL selection and editing. Despite their effectiveness, these RL methods primarily configure prompts on existing nodes, with information propagation governed by the original connections [28]. TTPR introduces auxiliary prompt structures, jointly configuring prompt-node counts, features, and connections through alternating node-level and edge-level policy learning to coordinate prompt content and propagation structure.

Reinforcement Learning

RL supports structured decision-making across combinatorial optimization, graph learning, and data-driven planning [29, 30, 31, 32]. Hybrid Actor–Critic methods address parameterized action spaces that combine discrete choices with continuous parameters [33]. Proximal Policy Optimization (PPO) [13] constrains policy updates with a clipped surrogate objective, while Group Relative Policy Optimization (GRPO) [12] derives relative advantages from rewards within groups of sampled responses. RL has also supported foundation-model alignment through RL from human feedback [34], graph subset selection and pooling [35, 36, 37], and sequential node acquisition for active learning [38]. These studies establish RL as an effective tool for structured graph decisions. Yet topology-based prompting combines combinatorial search over connection patterns with sequential node refinement, requiring policies tailored to these distinct action spaces.

Preliminaries

Topology-based Prompting on Graph

Let G=(V,X,A)\mathcal{G} = (\mathcal{V}, \mathbf{X}, \mathbf{A}) denote the downstream graph, where V\mathcal{V} contains NN nodes, X∈RN×d\mathbf{X} \in\mathbb{R}^{N \times d} is the node feature matrix, and A∈{0,1}N×N\mathbf{A} \in\{0,1\}^{N \times N} is the adjacency matrix. A self-supervised pre-trained GNN fθf_\theta remains frozen during adaptation. Topology-based prompting introduces MM learnable prompt nodes U={u1,…,uM}\mathcal{U} = \{u_1, \ldots, u_M\} with features P∈RM×d\mathbf{P} \in\mathbb{R}^{M \times d}, together with cross-connections between prompt and original nodes and connections among prompt nodes. The resulting prompt-augmented graph G′=(V′,X′,A′)\mathcal{G}' = (\mathcal{V}', \mathbf{X}', \mathbf{A}') is defined as:

V′=V∪U,X′=[XP]∈R(N+M)×d,A′=[AEopEpoEpp],(1)\mathcal{V}' = \mathcal{V} \cup\mathcal{U},\quad\mathbf{X}' = \begin{bmatrix}\mathbf{X}\\\mathbf{P}\end{bmatrix} \in\mathbb{R}^{(N+M)\times d},\quad\mathbf{A}' = \begin{bmatrix}\mathbf{A} & \mathbf{E}_{op}\\\mathbf{E}_{po} & \mathbf{E}_{pp}\end{bmatrix}, \tag*{(1)}

For molecular graphs, X\mathbf{X} denotes the continuous atom embeddings produced by the frozen pretrained input embedding layer. where Eop∈{0,1}N×M\mathbf{E}_{op} \in\{0,1\}^{N \times M} and Epo∈{0,1}M×N\mathbf{E}_{po} \in\{0,1\}^{M \times N} encode original–prompt cross-connections, and Epp∈{0,1}M×M\mathbf{E}_{pp} \in\{0,1\}^{M \times M} encodes prompt–prompt connections.

With fθf_\theta frozen, downstream adaptation jointly optimizes the prompt parameters ϕ\phi, comprising the prompt features P\mathbf{P} and the added edges, and the task classifier parameters ψ\psi by maximizing the joint likelihood of the correct labels over labeled samples:

max⁡ϕ,ψ∏i∈DLp(yi∣gψ(R(fθ(X′,A′;ϕ))i)).(2)\max_{\phi,\psi} \prod_{i\in\mathcal{D}_L} p\left(y_i \mid g_\psi\left(\mathcal{R}\left(f_\theta(\mathbf{X}', \mathbf{A}'; \phi)\right)_i\right)\right). \tag*{(2)}

where DL\mathcal{D}_L denotes the set of labeled samples, fθf_\theta is the frozen pre-trained graph encoder, R\mathcal{R} is a readout operator that averages the node representations within each input prompt-augmented graph, and gψg_\psi is the task classifier. For node classification, the input is the prompt-augmented induced subgraph associated with the target node. For graph classification, the input is the entire prompt-augmented graph. The subscript ii identifies the corresponding sample, and p(yi∣⋅)p(y_i \mid\cdot) is the predicted probability of its label yiy_i. Node classification uses cross-entropy loss, while molecular graph classification uses binary cross-entropy loss computed only over available labels. Both policy-learning stages use the negative task loss as the reward, and the task head is trained with the same task loss under supervision.

Reinforcement Learning (RL) Basics

RL learns sequential decisions through interactions with an environment. Formally, the environment is modeled as a Markov Decision Process (MDP) (S,A,πθ,r)(\mathcal{S}, \mathcal{A}, \pi_\theta,r), where S\mathcal{S}, A\mathcal{A}, πθ\pi_\theta, and rr denote the state space, action space, state-conditioned policy parameterized by θ\theta, and reward function, respectively. At each discrete step t=0,1,…t = 0,1,\ldots, the agent observes st∈Ss_t \in\mathcal{S}, samples at∈Aa_t \in\mathcal{A} from πθ\pi_\theta, receives a scalar reward rtr_t, and transitions to st+1s_{t+1}, producing the trajectory:

τ=(s0,a0,r0,s1,a1,r1,…,sT),(3)\tau= (s_0,a_0,r_0,s_1,a_1,r_1,\ldots,s_T), \tag*{(3)}

where TT is the trajectory length. In this paper, the state ss is a vector representation of the current graph and prompt configuration.

Methodology

Figure 2 illustrates the alternating training process of TTPR. The framework comprises an edge-policy module containing πe\pi_e and a node-policy module containing the prompt-count policy πn\pi_n and feature-generation component πp\pi_p. Stage I learns connection patterns with the node-policy parameters fixed. Stage II incrementally updates the prompt configuration with the edge-policy parameters fixed. The policy modules are then held fixed while the task head is optimized, followed by the next alternating cycle.

Figure 2. Overview of TTPR. Each cycle includes (a) edge-level policy learning, (b) node-level policy learning, and (c) task-head optimization. The loop stops at the iteration limit.

Stage I: Edge-level Policy Learning

Motivation 1. With a fixed prompt-node scheme, there are up to NcM+(M2)N_cM + \binom{M}{2} candidate undirected connections, yielding 2NcM+(M2)2^{N_cM+\binom{M}{2}} possible connection patterns, where Nc=1N_c = 1 for node classification and Nc=NN_c = N for graph classification. Here, NcN_c counts the original nodes eligible for prompt connections, namely the target node for node classification and all original nodes for graph classification. The number of possible patterns grows exponentially with the number of candidate connections. Moreover, Figure 1(a) shows that different connection patterns under a fixed prompt-node scheme often yield only small performance gaps, making it harder to compare their effects using absolute downstream rewards alone. We therefore represent each connection pattern through edge-level decisions and evaluate complete patterns through group-wise comparison. Specifically, multiple patterns are sampled from the same graph state by varying combinations of edges. Their prompt-augmented graphs are evaluated by the frozen GNN, and relative advantages derived from downstream performance provide discriminative feedback for optimizing these decisions.

Edge-level Policy. We define the edge-level policy πe\pi_e over the action space Ae\mathcal{A}^e, where each action specifies binary decisions for undirected prompt–original and prompt–prompt connections. Each selected connection is represented by two directed edges for message passing, with Eop=Epo⊤E_{op} = E_{po}^{\top}. Given state ss, πe\pi_e predicts the connection probability of each candidate node pair (u,v)(u, v) from their concatenated features. Here, hih_i denotes the corresponding row of XX for an original node i∈Vi \in\mathcal{V}, or of PP for a prompt node i∈Ui \in\mathcal{U}:

zuv=[hu;hv]∈R2d.(4)z_{uv} = [h_u; h_v] \in\mathbb{R}^{2d}. \tag*{(4)}

An MLP geg_e followed by a sigmoid activation produces the connection probability:

puv=σ(ge(zuv)),puv∈(0,1).(5)p_{uv} = \sigma(g_e(z_{uv})), \quad p_{uv} \in(0, 1). \tag*{(5)}

The binary connection decision is then sampled as:

euv∼Bernoulli⁡(puv),(6)e_{uv} \sim\operatorname{Bernoulli}(p_{uv}), \tag*{(6)}

where euv=1e_{uv} = 1 adds an edge between uu and vv, and euv=0e_{uv} = 0 leaves them unconnected.

Connection Relative Policy Optimization. We seek to update the edge-level policy πe\pi_e through within-group reward comparisons, drawing on GRPO’s relative advantage estimation [12]. However, the frozen GNN produces deterministic predictions for a fixed input rather than sampled responses for group comparison. We therefore sample complete connection patterns at its input under a shared prompt-node scheme and develop Connection Relative Policy Optimization (CRPO) to learn from the relative task rewards of the resulting augmented graphs. Let CC denote the set of candidate undirected prompt–original and prompt–prompt connections allowed by the current prompt-node scheme. Each complete action aeka_e^k specifies all binary connection decisions over CC. For each group, we fix the input graph, prompt count, and prompt features, and sample KK complete actions under the same state ss using the old policy πeold\pi_e^{\mathrm{old}} at the start of sampling. Each action produces a prompt-augmented graph G′(k)\mathcal{G}^{\prime(k)}.

The pre-trained GNN and task head remain frozen throughout Stage I. Each augmented graph is evaluated using the available labels from the training split to obtain the task loss Ltask(k)\mathcal{L}_{\mathrm{task}}^{(k)}, whose negative value serves as the reward. The relative advantage of the kk-th candidate connection pattern is computed as:

Arel(k)=−Ltask(k)−μgroupσgroup+ϵnum,(7)A_{\mathrm{rel}}^{(k)} = \frac{-\mathcal{L}_{\mathrm{task}}^{(k)} - \mu_{\mathrm{group}}}{\sigma_{\mathrm{group}} + \epsilon_{\mathrm{num}}}, \tag*{(7)}

where μgroup\mu_{\mathrm{group}} and σgroup\sigma_{\mathrm{group}} are the mean and standard deviation of the rewards for the KK candidate connection patterns of the same input, and ϵnum>0\epsilon_{\mathrm{num}} > 0 is a numerical stability constant. Only the connection pattern varies within a group, allowing complete connection actions to be evaluated through their relative task performance.

Given a state, candidate edges are sampled independently from the Bernoulli distributions defined above. The probability of a complete connection action is:

πe(aek∣s)=∏(u,v)∈Cpuveuv(k)(1−puv)1−euv(k),(8)\pi_e(a_e^k \mid s) = \prod_{(u,v)\in C} p_{uv}^{e_{uv}^{(k)}}(1-p_{uv})^{1-e_{uv}^{(k)}}, \tag*{(8)}

where euv(k)e_{uv}^{(k)} is the binary decision for candidate connection (u,v)(u, v) in the kk-th complete action, and puvp_{uv} is its connection probability under the corresponding policy. During policy updates, we retain the sampled states and actions, their old-policy log-probabilities, and the group-relative advantages. The likelihood ratio compares the current and old policies on the same sampled action:

ρ(k)=πe(ae(k)∣s)πeold(ae(k)∣s)(9)\rho^{(k)} = \frac{\pi_e(a_e^{(k)} \mid s)}{\pi_e^{\mathrm{old}}(a_e^{(k)} \mid s)} \tag*{(9)}

where the numerator is the probability of the sampled action under the current policy, and the denominator is its old-policy probability recorded during sampling. The candidate edge set and prompt-node scheme remain fixed throughout the policy updates for this group. The clipped surrogate objective is:

Lclip=−Ek∈K[min⁡(ρ(k)Arel(k),clip⁡(ρ(k),1−ϵ,1+ϵ)Arel(k))](10)\mathcal{L}_{\mathrm{clip}} = -\mathbb{E}_{k \in\mathcal{K}}\left[\min\left(\rho^{(k)} A_{\mathrm{rel}}^{(k)}, \operatorname{clip}\left(\rho^{(k)},1-\epsilon,1+\epsilon\right)A_{\mathrm{rel}}^{(k)}\right)\right] \tag*{(10)}

where ϵ\epsilon controls the clipping range of the likelihood ratio. Policy entropy regularization maintains exploration over connection patterns:

LentropyI=E[H(πe(⋅∣s))](11)\mathcal{L}_{\mathrm{entropy}}^{\mathrm{I}} = \mathbb{E}\left[H\left(\pi_e(\cdot\mid s)\right)\right] \tag*{(11)}

where H(πe(⋅∣s))H\left(\pi_e(\cdot\mid s)\right) is the entropy of the complete connection-action distribution. The entropy term and clipped objective form the Stage I training objective:

LtotalI=Lclip−βLentropyI,(12)\mathcal{L}_{\mathrm{total}}^{\mathrm{I}} = \mathcal{L}_{\mathrm{clip}} - \beta\mathcal{L}_{\mathrm{entropy}}^{\mathrm{I}}, \tag*{(12)}

where β\beta controls the strength of entropy regularization. Before each gradient update, we compute the batch-averaged KL divergence DKL(πeold∥πe)D_{\mathrm{KL}}(\pi_e^{\mathrm{old}} \Vert\pi_e). If it exceeds a threshold δ\delta, we stop further CRPO updates on the current batch of sampled data.

Stage II: Node-level Policy Learning

Motivation 2. The limited range of prompt-node counts makes direct configuration prediction a coarse formulation for learning a policy to refine prompt-node configurations. Downstream evaluation provides only a holistic performance signal for each resulting prompt-node scheme, offering little guidance on how the current configuration should be adjusted for the training inputs. We therefore formulate prompt-node configuration as an incremental evolution process. Each decision adjusts the prompt count of the current prompt-augmented graph and generates prompt features consistent with the resulting state. The state transitions induced by these hybrid actions define an MDP, transforming one-shot configuration selection into a sequence of state-dependent decisions. This formulation provides richer local performance comparisons and allows the prompt-count and feature-generation policies to be jointly learned along state trajectories through proximal policy optimization.

Node-level Policy. The node-level policy comprises a prompt-count policy πn\pi_n and a feature-generation policy πp\pi_p. Stage II starts from the prompt configuration of the current alternating cycle. At step tt, let MtM_t and PtP_t denote the prompt count and features, respectively, and let Gt′G'_t denote the corresponding augmented graph. The state sts_t contains the current shared prompt count and a batch-level representation. For each augmented graph, we first mean-pool the node representations produced by the frozen encoder:

H~t=1N+Mt∑i=1N+Mthi,t,(13)\widetilde{H}_t = \frac{1}{N+M_t}\sum_{i=1}^{N+M_t} h_{i,t}, \tag*{(13)}

where hi,th_{i,t} is the encoded representation of node ii in the current augmented graph. For a training batch B\mathcal{B}, the node policy uses the batch mean H~t=∣B∣−1∑G∈BH~G,t\widetilde{H}_t = |\mathcal{B}|^{-1}\sum_{\mathcal{G}\in\mathcal{B}}\widetilde{H}_{\mathcal{G},t} and generates one prompt-node scheme shared by its inputs. Here, H~G,t\widetilde{H}_{\mathcal{G},t} denotes the pooled representation above for graph G\mathcal{G}. The count network gng_n maps the pooled representation to two logits. A softmax yields the probabilities of adding or removing a prompt node, from which the count action is sampled:

atn∼πn(⋅∣st)=softmax⁡(gn(H~t)),(14)a_t^n \sim\pi_n(\cdot\mid s_t) = \operatorname{softmax}(g_n(\widetilde{H}_t)), \tag*{(14)}

where addition and removal correspond to Δt=+1\Delta_t=+1 and Δt=−1\Delta_t=-1, respectively. The updated prompt count is constrained to the prescribed range:

kt=Mt+1=clip⁡(Mt+Δt,1,Mmax⁡),(15)k_t = M_{t+1} = \operatorname{clip}(M_t+\Delta_t,1,M_{\max}), \tag*{(15)}

where Mmax⁡M_{\max} is the maximum prompt count. At a boundary, an action that would exceed the allowed range leaves the count unchanged.

After the count action determines ktk_t, the feature-generation policy πp\pi_p produces a feature action atp∈Rkt×da_t^p \in\mathbb{R}^{k_t \times d}. Two feature networks, gμg_\mu and gσg_\sigma, map the same state representation to mean and standard deviation matrices, respectively:

μt=gμ(H~t),σt=exp⁡(gσ(H~t)),(16)\mu_t = g_\mu(\widetilde{H}_t), \qquad\sigma_t = \exp(g_\sigma(\widetilde{H}_t)), \tag*{(16)}

where both network outputs are reshaped into Mmax⁡×dM_{\max}\times d matrices indexed by prompt position, dd is the prompt feature dimension, and the elementwise exponential ensures positive standard deviations. During training, feature components are sampled independently, and the first ktk_t rows are retained according to the updated prompt count:

Zt,jℓ∼N(μt,jℓ,σt,jℓ2),atp=Pt+1=Zt[1:kt,:],(17)Z_{t,j\ell} \sim\mathcal{N}(\mu_{t,j\ell},\sigma_{t,j\ell}^{2}), \qquad a_t^p = P_{t+1} = Z_t[1:k_t,:], \tag*{(17)}

where j=1,…,Mmax⁡j=1,\ldots,M_{\max} and ℓ=1,…,d\ell=1,\ldots,d. Let at=(atn,atp)a_t=(a_t^n,a_t^p), and let ω\omega collect the parameters of the count network and the two feature networks. The joint node-action distribution is:

πω(at∣st)=πn(atn∣st)πp(atp∣st,kt),(18)\pi_\omega(a_t \mid s_t) = \pi_n(a_t^n \mid s_t)\pi_p(a_t^p \mid s_t,k_t), \tag*{(18)}

where πp\pi_p is the product of the Gaussian component densities over the first ktk_t rows. The edge-level policy πe\pi_e, with its parameters fixed, constructs connections from the updated prompt count and features to form Gt+1′G'_{t+1}. The frozen encoder then computes the next state st+1s_{t+1}. Each count adjustment builds on the preceding configuration, and the feature distribution is conditioned on the current augmented-graph representation, passing state information from the preceding configuration to subsequent decisions.

Incremental Node Proximal Policy Optimization. We propose Incremental Node Proximal Policy Optimization (INPPO), which builds on PPO’s clipped policy objective [13] to jointly learn count adjustments and conditional feature generation from task feedback along incremental configuration trajectories. Before collecting trajectories, we save the old policy πold\pi_{\mathrm{old}} and keep it fixed during collection and updates on the current batch. At each step, the count action and prompt features are sampled from the old policy. The resulting augmented graphs are evaluated to obtain the batch-averaged task reward:

rt=−1∣B∣∑(G,y)∈BLtask(Gt+1′,y),(19)r_t = -\frac{1}{|\mathcal{B}|}\sum_{(\mathcal{G},y)\in\mathcal{B}}\mathcal{L}_{\mathrm{task}}(G'_{t+1},y), \tag*{(19)}

Algorithm 1 TTPR

  1. Input: fθf_\theta, DL\mathcal{D}_L, DV\mathcal{D}_V, KK, LL, Mmax⁡M_{\max}, γ\gamma, λ\lambda, β\beta, δ\delta, ϵ\epsilon, TT

  2. Initialize πe\pi_e, πn\pi_n, πp\pi_p, VνV_\nu, gψg_\psi and freeze fθf_\theta

  3. M←⌈Mmax⁡/2⌉M \leftarrow\lceil M_{\max}/2\rceil, Pjℓ∼iidN(0,1)P_{j\ell} \overset{\mathrm{iid}}{\sim} \mathcal{N}(0,1), q∗←−∞q^* \leftarrow-\infty

  4. for epoch i=1,…,Ti=1,\ldots,T do

  5. Stage I: CRPO (update πe\pi_e only)

  6. for each training batch B⊆DLB\subseteq\mathcal{D}_L do

  7. πeold←πe\pi_e^{\mathrm{old}}\leftarrow\pi_e, Be←[ ]\mathcal{B}_e\leftarrow[\,]

  8. (M,P,_)←Rollout⁡L(B,M,P∣πn,πp,πeold)(M,P,\_)\leftarrow\operatorname{Rollout}_L(B,M,P\mid\pi_n,\pi_p,\pi_e^{\mathrm{old}})

  9. for each (G,y)∈B(\mathcal{G},y)\in B do

  10. Form ss from (G,M,P)(\mathcal{G},M,P)

  11. ake∼πeold(⋅∣s)a_k^e\sim\pi_e^{\mathrm{old}}(\cdot\mid s), k=1,…,Kk=1,\ldots,K

  12. Construct G′(k)\mathcal{G}^{\prime(k)}, r(k)←−Ltask(G′(k),y)r^{(k)}\leftarrow-\mathcal{L}_{\mathrm{task}}(\mathcal{G}^{\prime(k)},y)

  13. Arel(k)←A_{\mathrm{rel}}^{(k)}\leftarrow Eq. (7)

  14. Cache (s,ake,log⁡πeold(ake∣s),Arel(k))(s,a_k^e,\log\pi_e^{\mathrm{old}}(a_k^e\mid s),A_{\mathrm{rel}}^{(k)}) in Be\mathcal{B}_e

  15. end for

  16. Update πe\pi_e on Be\mathcal{B}_e by Eq. (12) with KL limit δ\delta

  17. end for

  18. Stage II: INPPO (update ω,ν\omega,\nu only)

  19. for each training batch B⊆DLB\subseteq\mathcal{D}_L do

  20. (πωold,Vold)←(πω,Vν)(\pi_\omega^{\mathrm{old}},V_{\mathrm{old}})\leftarrow(\pi_\omega,V_\nu), Bn←[ ]\mathcal{B}_n\leftarrow[\,]

  21. (M0,P0)←(M,P)(M_0,P_0)\leftarrow(M,P)

  22. Construct {G′}G∈B\{\mathcal{G}^{\prime}\}_{\mathcal{G}\in B} with πe\pi_e and compute Hˉ0\bar{H}_0 using fθf_\theta

  23. for t=0,…,L−1t=0,\ldots,L-1 do

  24. st←(Mt,Hˉt)s_t\leftarrow(M_t,\bar{H}_t), atn∼πnold(⋅∣st)a_t^n\sim\pi_n^{\mathrm{old}}(\cdot\mid s_t)

  25. Mt+1←clip⁡(Mt+Δt,1,Mmax⁡)M_{t+1}\leftarrow\operatorname{clip}(M_t+\Delta_t,1,M_{\max})

  26. Pt+1∼πpold(⋅∣st,Mt+1)P_{t+1}\sim\pi_p^{\mathrm{old}}(\cdot\mid s_t,M_{t+1}) [Eq. (17)]

  27. Construct {Gt+1′}G∈B\{\mathcal{G}^{\prime}_{t+1}\}_{\mathcal{G}\in B} with fixed πe\pi_e

  28. Compute Hˉt+1\bar{H}_{t+1} using fθf_\theta, st+1←(Mt+1,Hˉt+1)s_{t+1}\leftarrow(M_{t+1},\bar{H}_{t+1})

  29. rt←−1∣B∣∑(G,y)∈BLtask(Gt+1′,y)r_t\leftarrow-\frac{1}{|B|}\sum_{(\mathcal{G},y)\in B}\mathcal{L}_{\mathrm{task}}(\mathcal{G}^{\prime}_{t+1},y)

  30. Cache (st,(atn,Pt+1),rt,st+1)(s_t,(a_t^n,P_{t+1}),r_t,s_{t+1}) in Bn\mathcal{B}_n

  31. Cache {HˉG,t}G∈B\{\bar{H}_{\mathcal{G},t}\}_{\mathcal{G}\in B} and old log probabilities/values in Bn\mathcal{B}_n

  32. end for

  33. (A^t,R^t)←GAE⁡(\hat{A}_t,\hat{R}_t)\leftarrow\operatorname{GAE} [Eqs. (21)–(22)]

  34. Atλ←Normalize⁡Bn(A^t)A_t^\lambda\leftarrow\operatorname{Normalize}_{\mathcal{B}_n}(\hat{A}_t)

  35. Update (ω,ν)(\omega,\nu) on Bn\mathcal{B}_n by Eq. (27) with KL limit δ\delta

  36. (M,P)←(ML,PL)(M,P)\leftarrow(M_L,P_L)

  37. end for

  38. Task-head update (update ψ\psi only)

  39. for each training batch B⊆DLB\subseteq\mathcal{D}_L do

  40. M0←⌈Mmax⁡/2⌉M_0\leftarrow\lceil M_{\max}/2\rceil, P0,jℓ∼iidN(0,1)P_{0,j\ell}\overset{\mathrm{iid}}{\sim}\mathcal{N}(0,1)

  41. (ML,PL,BL′)←Rollout⁡L(B,M0,P0∣πn,πp,πe)(M_L,P_L,\mathcal{B}^{\prime}_L)\leftarrow\operatorname{Rollout}_L(B,M_0,P_0\mid\pi_n,\pi_p,\pi_e)

  42. Update ψ\psi with 1∣BL′∣∑(GL′,y)∈BL′Ltask(GL′,y)\frac{1}{|\mathcal{B}^{\prime}_L|}\sum_{(\mathcal{G}^{\prime}_L,y)\in\mathcal{B}^{\prime}_L}\mathcal{L}_{\mathrm{task}}(\mathcal{G}^{\prime}_L,y)

  43. end for

  44. M0←⌈Mmax⁡/2⌉M_0\leftarrow\lceil M_{\max}/2\rceil, P0,jℓ∼iidN(0,1)P_{0,j\ell}\overset{\mathrm{iid}}{\sim}\mathcal{N}(0,1)

  45. (M∗,P∗,_)←Rollout⁡L(DL,M0,P0∣πn,πp,πe)(M^*,P^*,\_)\leftarrow\operatorname{Rollout}_L(\mathcal{D}_L,M_0,P_0\mid\pi_n,\pi_p,\pi_e)

  46. q←Evaluate⁡(DV∣πe,gψ,M∗,P∗)q\leftarrow\operatorname{Evaluate}(\mathcal{D}_V\mid\pi_e,g_\psi,M^*,P^*)

  47. If q>q∗q>q^*, save C∗←(πe,πn,πp,gψ,M∗,P∗)\mathcal{C}^*\leftarrow(\pi_e,\pi_n,\pi_p,g_\psi,M^*,P^*) and q∗←qq^*\leftarrow q

  48. end for

  49. Output: C∗\mathcal{C}^*

where Gt+1′\mathcal{G}^{\prime}_{t+1} is the augmented graph corresponding to input graph G\mathcal{G}, and yy denotes its available training labels. The parameters of the edge-level policy, pre-trained encoder, and task head remain fixed throughout Stage II. Executing LL steps yields transitions (st,at,rt,st+1)(s_t,a_t,r_t,s_{t+1}), together with the recorded old-policy log probability of each action.

The value network is implemented as an MLP gνg_\nu parameterized by ν\nu:

Vν(st)=1∣B∣∑G∈Bgν(HˉG,t)∈R,(20)V_\nu(s_t)=\frac{1}{|B|}\sum_{\mathcal{G}\in B}g_\nu(\bar{H}_{\mathcal{G},t})\in\mathbb{R}, \tag*{(20)}

where the value estimates recorded during collection are denoted by VoldV_{\mathrm{old}}. Task rewards and value estimates are used to compute generalized advantage estimates and value regression targets:

δt=rt+γ(1−dt)Vold(st+1)−Vold(st),(21)\delta_t=r_t+\gamma(1-d_t)V_{\mathrm{old}}(s_{t+1})-V_{\mathrm{old}}(s_t), \tag*{(21)}
A^t=δt+γλ(1−dt)A^t+1,R^t=A^t+Vold(st),(22)\hat{A}_t=\delta_t+\gamma\lambda(1-d_t)\hat{A}_{t+1},\qquad\hat{R}_t=\hat{A}_t+V_{\mathrm{old}}(s_t), \tag*{(22)}

where γ\gamma is the discount factor, λ\lambda controls advantage estimation, and dtd_t indicates trajectory termination. The complete process of generating a configuration terminates after LL steps, with dL−1=1d_{L-1}=1 and dt=0d_t=0 at earlier steps. The recursion starts at A^L=0\hat{A}_L=0 and uses a zero next-state value at the final step. Value targets are constructed from the unnormalized A^t\hat{A}_t. Advantages are normalized within the current batch to obtain AtλA_t^\lambda for policy updates.

During updates, the current joint probability is recomputed for the same sampled count action and feature matrix. Let ℓt(ω)=log⁡πω(at∣st)\ell_t(\omega)=\log\pi_\omega(a_t\mid s_t) denote the joint log probability. The likelihood ratio between the current and old policies is:

ρt(ω)=exp⁡(ℓt(ω)−ℓt(ωold)),(23)\rho_t(\omega)=\exp\left(\ell_t(\omega)-\ell_t(\omega^{\mathrm{old}})\right), \tag*{(23)}

where the feature log probability is summed over the retained rows and feature dimensions. The clipped policy loss for INPPO is:

LINPPO=−Et[min⁡{ρtAtλ,clip⁡(ρt,1−ϵ,1+ϵ)Atλ}],(24)\mathcal{L}_{\mathrm{INPPO}}=-\mathbb{E}_t\left[\min\left\{\rho_t A_t^\lambda,\operatorname{clip}(\rho_t,1-\epsilon,1+\epsilon)A_t^\lambda\right\}\right], \tag*{(24)}

where ϵ\epsilon controls the clipping range of the joint likelihood ratio. Old log probabilities, advantages, and value regression targets remain fixed during updates on the current batch. The value network is trained to regress to the trajectory targets:

LVF(ν)=Et[(Vν(st)−R^t)2],(25)\mathcal{L}_{\mathrm{VF}}(\nu)=\mathbb{E}_t\left[(V_\nu(s_t)-\hat{R}_t)^2\right], \tag*{(25)}

where the expectation is taken over the current batch of sampled data. Entropy regularization uses the entropy of the joint node-action distribution:

LentropyII=Et[H(πω(⋅∣st))],(26)\mathcal{L}_{\mathrm{entropy}}^{\mathrm{II}}=\mathbb{E}_t\left[H(\pi_\omega(\cdot\mid s_t))\right], \tag*{(26)}

where the joint entropy consists of the count-action entropy and the conditional feature entropy. The conditional feature entropy is summed over the valid components for each count ktk_t and then averaged under the current count policy. The overall Stage II objective is:

LtotalII=LINPPO+LVF−βLentropyII,(27)\mathcal{L}_{\mathrm{total}}^{\mathrm{II}}=\mathcal{L}_{\mathrm{INPPO}}+\mathcal{L}_{\mathrm{VF}}-\beta\mathcal{L}_{\mathrm{entropy}}^{\mathrm{II}}, \tag*{(27)}

where β\beta controls the strength of entropy regularization. The joint policy loss updates the count network and both feature networks that generate the means and standard deviations.

Before each gradient update, we compute the mean KL divergence from the old joint policy to the current joint policy over states sampled in the current batch. This divergence consists of the KL divergence between the count distributions and that between the conditional feature distributions. The latter is summed over the valid feature dimensions and weighted by the old count policy. If the batch-averaged KL divergence exceeds δ\delta, further INPPO updates on the current batch of sampled data are stopped. Together with the edge-level policy learned in Stage I, the learned node-level policy constructs final prompt configurations.

Task Head Optimization

After the two policy-learning stages, we freeze the encoder fθf_\theta and the policy parameters. For each training batch, we initialize M0=⌈Mmax⁡/2⌉M_0=\lceil M_{\max}/2\rceil and independently sample the entries of P0P_0 from a standard normal distribution. The edge-level policy constructs the initial augmented graph. At each step, the node-level policy adjusts the prompt count and generates features, and the edge-level policy samples connections to update the graph state. After LL steps, we encode the final graph GL′\mathcal{G}^{\prime}_{L} and feed its mean-pooled representation to the task head gψg_{\psi}. We compute Ltask\mathcal{L}_{\mathrm{task}} using the available training labels and update only ψ\psi. Edge-level policy learning, node-level policy learning, and task-head updates alternate for TT cycles. Model parameters are retained across cycles, and the updated task head provides feedback for the next policy-learning cycle.

DatasetNodesEdgesClassesMinNMaxNHops
Cora27085429751504
CiteSeer332791046201503
PubMed19717886483503002
Computers137524917221010010002
Photo7650238162820020002

Table I. Statistics of datasets for node classification.

After task-head optimization in each epoch, a rollout over the training set produces a shared prompt count and feature matrix, which are retained with the checkpoint selected by validation performance. At inference, all model parameters and this prompt-node scheme remain fixed. The edge policy constructs connections separately for each input, and gψg_{\psi} predicts from the resulting augmented-graph representation. The settings of LL and Mmax⁡M_{\max} are given in Table III.

CategoryParameterCandidate Values
ArchitectureGNN layers (node / graph)2 / 5
ArchitectureGNN type{GIN}
ArchitectureNode feature dim after SVD{100}
ArchitectureMolecular atom embedding dim{300}
ArchitectureGNN hidden dim (node / graph)128 / 300
ArchitectureTask head layers2
ArchitectureTask hidden dim{128,256}
Task/TrainingEpochs{50}
Task/TrainingTrain batch size{8,16,32}
Task/TrainingMinibatch size{5,10,15,20}
Task/TrainingLearning rate of task optimization{1e-2,5e-3}
Task/TrainingGamma (discount factor){0.99}
RL-specificGroup size KK{2,4,8,16,32,64}
RL-specificTrajectory length LL{5,10,15,20,25,30}
RL-specificMax prompt nodes Mmax⁡M_{\max}{3,5,7,9,11}
RL-specificLearning rate of Policy πe\pi_e{5e-4,1e-3,5e-3}
RL-specificLearning rate of Policy πn\pi_n{5e-4,1e-3,5e-3}
RL-specificLearning rate of Policy πp\pi_p{5e-4,1e-3,5e-3}
RL-specificLearning rate of Value Function VV{5e-4,1e-3,5e-3}
RL-specificClip param ϵ\epsilon{0.2}
RL-specificGAE coefficient λ\lambda{0.90,0.95,1.00}
RL-specificEntropy coefficient β\beta{0.005,0.01,0.02,0.05}
RL-specificKL threshold δ\delta{0.01}

Table III. Key hyperparameters and typical candidate values used in our experiments.

Experiments

Datasets and Baselines: We evaluate node classification on Cora, CiteSeer, and PubMed [39], and Computers and Photo [40]. For graph classification, we use BBBP, ClinTox, BACE, Tox21, ToxCast, HIV, MUV, and SIDER from MoleculeNet [41]. We compare TTPR with GPT, GPPT [42], GPrompt [43], GPF and GPF-Plus [7], SUPTsoft_{\mathrm{soft}} and SUPThard_{\mathrm{hard}} [15], EdgePrompt and EdgePrompt+_+ [18], All-in-One [10], PSP [11], RELIEF [8], and LEAP [27].

Experimental Details

Experimental Setup: For backbone pre-training, we adopt GPPT [42] and GPrompt [43] for node classification, AttrMasking [44], ContextPred [44], Infomax [45], GCL [46] for graph classification. Reproduced baselines use the same backbone, preprocessing, and data partitions as TTPR. Results taken from prior studies are identified in the tables. For node classification, we randomly sample 10 labeled nodes per class for training and select two disjoint sets of 500 remaining nodes for validation and testing, respectively. All experiments are performed on subgraphs sampled from the original dataset graphs. For each target node, we construct its induced subgraph by expanding to a fixed hop distance and enforcing upper and lower bounds on the number of nodes retained (MaxN, MinN, and Hops), with settings reported in § 5-A. For graph classification, we partition each dataset into training, validation, and test sets using an 80/10/10 scaffold split. We then randomly sample a total of 50 graphs from the training partition for few-shot adaptation, while retaining the validation and test partitions for evaluation. Further implementation details are provided in § 5-A.

DatasetMoleculesTasksDatasetMoleculesTasks
BBBP2,0391Tox217,83112
ClinTox1,4782HIV41,1271
BACE1,5131MUV93,08717
ToxCast8,575617SIDER1,42727

Table II. Statistics of datasets for graph classification.

Dataset Details. We train and evaluate TTPR on both node classification and graph classification tasks. Cora, CiteSeer, and PubMed are citation networks, while Computers and Photo are co-purchase graphs. For graph classification, we adopt eight molecular property prediction benchmarks from MoleculeNet. Each molecule is represented as an attributed graph, where nodes correspond to atoms and edges correspond to chemical bonds, and labels indicate biomedical endpoints. These benchmarks span a wide range of scales, from 1.4k to 93k molecules, and cover both single-task and multi-task classification with 1–617 prediction targets. We evaluate node classification using Accuracy and Macro-F1, and graph classification using ROC-AUC.

Implementation Details. Experiments are conducted on an NVIDIA GeForce RTX 4090 GPU. For node classification, input features are reduced to 100 dimensions using SVD before pre-training and prompt tuning. We train for a fixed number of epochs and select hyperparameters and checkpoints based on validation performance. Task-specific architecture settings and training hyperparameters are summarized in Table III.

Main Results

As shown in Table IV, TTPR achieves the highest accuracy in eight of the ten node classification settings and the highest Macro-F1 in all ten settings. The gains are more pronounced on citation networks. On CiteSeer, TTPR improves Macro-F1 over the strongest baseline by 11.40 and 11.91 percentage points under GPPT and GPrompt pre-training, respectively. Sparse citation networks provide limited local context, and learned prompt features and connections introduce additional task information that helps the frozen encoder form representations suited to downstream classification. Denser graphs such as Computers already contain rich neighborhood relations, leaving less room for improvements in overall accuracy. On Computers, TTPR achieves the highest Macro-F1 under both pre-training strategies despite lower accuracy than the best baseline. Macro-F1 weights all classes equally, highlighting improvements in average per-class performance that are less evident from overall accuracy.

MethodCora AccCora F1CiteSeer AccCiteSeer F1PubMed AccPubMed F1Computers AccComputers F1Photo AccPhoto F1
Pre-training Strategy: GPPT
FT†54.40±1.4454.40 \pm1.4453.27±1.4553.27 \pm1.4561.28±0.9361.28 \pm0.9356.60±0.9256.60 \pm0.9271.40±1.6171.40 \pm1.6167.11±1.5167.11 \pm1.5180.52±1.1880.52 \pm1.1876.35±1.5776.35 \pm1.5783.40±3.0083.40 \pm3.0081.31±2.8881.31 \pm2.88
GPPT†45.76±0.3445.76 \pm0.3446.05±0.3046.05 \pm0.3057.00±0.5557.00 \pm0.5551.03±0.6851.03 \pm0.6871.36±0.7071.36 \pm0.7064.53±0.8464.53 \pm0.8475.80±0.4275.80 \pm0.4269.97±0.5769.97 \pm0.5782.48±0.7482.48 \pm0.7480.65±0.7180.65 \pm0.71
GPF†55.04±1.8255.04 \pm1.8254.20±2.0354.20 \pm2.0360.48±1.1160.48 \pm1.1155.57±0.9755.57 \pm0.9764.96±6.7764.96 \pm6.7760.63±5.1760.63 \pm5.1773.32±2.5673.32 \pm2.5668.53±2.2168.53 \pm2.2183.08±0.6883.08 \pm0.6880.60±1.0480.60 \pm1.04
GPF-plus†56.36±1.4656.36 \pm1.4655.84±1.3355.84 \pm1.3361.36±0.7061.36 \pm0.7056.50±0.4456.50 \pm0.4472.32±4.1772.32 \pm4.1767.52±3.5167.52 \pm3.5180.56±1.9780.56 \pm1.9776.69±1.8776.69 \pm1.8785.08±1.2285.08 \pm1.2282.26±0.9482.26 \pm0.94
SUPTsoft_{\text{soft}}†55.24±1.0155.24 \pm1.0154.69±1.1854.69 \pm1.1859.60±1.9759.60 \pm1.9754.88±1.4554.88 \pm1.4562.40±7.6762.40 \pm7.6758.76±6.1758.76 \pm6.1777.28±4.1877.28 \pm4.1872.63±4.8672.63 \pm4.8684.52±1.5584.52 \pm1.5582.22±1.3682.22 \pm1.36
SUPThard_{\text{hard}}†56.96±1.2856.96 \pm1.2855.86±1.2855.86 \pm1.2861.28±1.8461.28 \pm1.8456.81±1.4556.81 \pm1.4571.64±5.9871.64 \pm5.9865.20±5.7065.20 \pm5.7077.96±1.6177.96 \pm1.6173.60±1.7273.60 \pm1.7285.24±0.8185.24 \pm0.8182.92±0.5682.92 \pm0.56
PSP*55.48±1.4255.48 \pm1.4254.93±1.0854.93 \pm1.0859.44±0.8959.44 \pm0.8954.72±1.3254.72 \pm1.3262.76±4.2662.76 \pm4.2659.12±4.1759.12 \pm4.1777.08±5.1077.08 \pm5.1072.43±3.8272.43 \pm3.8284.64±1.9584.64 \pm1.9582.34±1.0782.34 \pm1.07
All-in-One*54.24±1.9154.24 \pm1.9152.10±1.8652.10 \pm1.8663.20±1.7263.20 \pm1.7257.43±1.7557.43 \pm1.7567.56±2.5267.56 \pm2.5266.80±1.9566.80 \pm1.9574.12±1.2974.12 \pm1.2973.50±1.4573.50 \pm1.4581.84±0.9481.84 \pm0.9479.53±0.7179.53 \pm0.71
EdgePrompt*58.20±2.2158.20 \pm2.2152.18±3.1452.18 \pm3.1459.52±2.8359.52 \pm2.8355.59±2.5655.59 \pm2.5662.92±3.1962.92 \pm3.1958.88±2.8858.88 \pm2.8872.16±1.9572.16 \pm1.9569.60±1.1069.60 \pm1.1080.12±0.7280.12 \pm0.7279.55±0.9479.55 \pm0.94
EdgePrompt+*62.96±2.3562.96 \pm2.3561.22±2.7561.22 \pm2.7563.76±3.3263.76 \pm3.3256.40±2.9756.40 \pm2.9765.24±2.5965.24 \pm2.5959.80±3.4059.80 \pm3.4073.24±1.7673.24 \pm1.7671.80±1.1271.80 \pm1.1281.84±1.8081.84 \pm1.8081.20±0.8681.20 \pm0.86
RELIEF†56.76±0.2356.76 \pm0.2355.94±0.2555.94 \pm0.25<u>65.16±1.2165.16 \pm1.21</u><u>58.55±1.1258.55 \pm1.12</u><u>72.36±1.0572.36 \pm1.05</u>66.71±1.1066.71 \pm1.1077.68±0.9377.68 \pm0.9372.53±1.2672.53 \pm1.2685.16±0.8985.16 \pm0.89<u>84.07±0.6984.07 \pm0.69</u>
LEAP‡58.32±1.5058.32 \pm1.5056.81±0.9456.81 \pm0.9464.24±1.5664.24 \pm1.5657.67±1.5457.67 \pm1.5471.68±1.4871.68 \pm1.4866.65±1.6166.65 \pm1.6175.48±1.3375.48 \pm1.3371.09±1.0971.09 \pm1.09<u>85.20±1.5085.20 \pm1.50</u>83.35±1.4283.35 \pm1.42
TTPR65.16±0.6465.16 \pm0.6463.21±1.2563.21 \pm1.2573.00±1.2473.00 \pm1.2469.95±0.3769.95 \pm0.3777.12±0.4377.12 \pm0.4375.12±0.5975.12 \pm0.5979.04±0.3479.04 \pm0.3478.15±0.9478.15 \pm0.9486.52±0.1086.52 \pm0.1085.16±0.8985.16 \pm0.89
Pre-training Strategy: GPrompt
FT†60.60±1.8960.60 \pm1.8959.82±2.0159.82 \pm2.0160.88±2.7960.88 \pm2.7956.90±2.2056.90 \pm2.2072.20±1.0272.20 \pm1.0267.44±0.8167.44 \pm0.8180.64±1.2380.64 \pm1.2376.02±1.7576.02 \pm1.7582.24±1.9282.24 \pm1.9279.71±1.7979.71 \pm1.79
GPrompt†57.20±2.1357.20 \pm2.1353.98±2.8253.98 \pm2.8259.52±0.6559.52 \pm0.6555.46±0.7055.46 \pm0.7070.00±0.6270.00 \pm0.6266.17±0.5166.17 \pm0.5167.44±0.8067.44 \pm0.8064.81±1.4264.81 \pm1.4274.08±2.5574.08 \pm2.5571.26±2.6671.26 \pm2.66
GPF†59.12±1.9559.12 \pm1.9558.70±1.9258.70 \pm1.9263.24±3.0963.24 \pm3.0955.00±2.5455.00 \pm2.5471.24±1.9871.24 \pm1.9866.35±2.8466.35 \pm2.8480.68±1.4880.68 \pm1.4876.29±1.6076.29 \pm1.6083.64±1.3083.64 \pm1.3081.33±1.2781.33 \pm1.27
GPF-plus†60.60±1.0860.60 \pm1.0860.63±0.8760.63 \pm0.8762.44±1.8662.44 \pm1.8656.81±0.5556.81 \pm0.5573.64±3.7373.64 \pm3.7369.95±3.6769.95 \pm3.6780.68±0.6580.68 \pm0.6576.93±0.9276.93 \pm0.9286.20±1.1586.20 \pm1.1583.57±1.1983.57 \pm1.19
SUPTsoft_{\text{soft}}†60.28±1.3260.28 \pm1.3260.05±1.0860.05 \pm1.0863.16±2.3563.16 \pm2.3555.95±1.6955.95 \pm1.6973.52±3.8173.52 \pm3.8169.70±3.3169.70 \pm3.3180.84±0.8580.84 \pm0.8575.30±0.8175.30 \pm0.8185.36±1.7585.36 \pm1.7582.47±1.9482.47 \pm1.94
SUPThard_{\text{hard}}†58.92±0.8658.92 \pm0.8658.75±0.8258.75 \pm0.8264.32±2.3864.32 \pm2.3855.96±2.2055.96 \pm2.2073.56±1.9773.56 \pm1.9769.48±2.1869.48 \pm2.1880.52±0.9580.52 \pm0.9576.69±0.8776.69 \pm0.8786.28±0.5586.28 \pm0.5583.92±0.3483.92 \pm0.34
PSP*60.08±1.1160.08 \pm1.1159.85±0.6859.85 \pm0.6863.44±1.9763.44 \pm1.9756.23±1.4256.23 \pm1.4273.20±3.9873.20 \pm3.9869.38±2.4269.38 \pm2.4279.64±1.2279.64 \pm1.2275.14±0.7175.14 \pm0.7185.60±1.4485.60 \pm1.4482.71±1.8082.71 \pm1.80
All-in-One*58.80±0.8258.80 \pm0.8257.12±1.1557.12 \pm1.1565.44±0.9565.44 \pm0.9556.12±1.2456.12 \pm1.2470.96±1.6470.96 \pm1.6467.58±1.5567.58 \pm1.5579.80±0.4779.80 \pm0.4776.60±0.9276.60 \pm0.9285.52±0.8285.52 \pm0.82<u>84.15±0.7484.15 \pm0.74</u>
EdgePrompt*62.36±2.2662.36 \pm2.2661.44±2.9561.44 \pm2.9561.80±1.8161.80 \pm1.8155.66±2.5655.66 \pm2.5670.60±3.9370.60 \pm3.9368.12±3.6768.12 \pm3.6777.40±1.1077.40 \pm1.1074.80±1.0074.80 \pm1.0083.80±0.8083.80 \pm0.8081.42±0.5781.42 \pm0.57
EdgePrompt+*<u>63.12±0.9763.12 \pm0.97</u><u>62.30±2.9062.30 \pm2.90</u>62.60±2.2062.60 \pm2.2057.30±2.6457.30 \pm2.6471.64±4.5071.64 \pm4.5068.80±4.5668.80 \pm4.5679.80±1.4679.80 \pm1.4676.95±1.4676.95 \pm1.4684.12±0.9884.12 \pm0.9883.44±0.7583.44 \pm0.75
RELIEF†61.20±1.2061.20 \pm1.2060.89±0.9160.89 \pm0.9166.28±0.2766.28 \pm0.2758.01±0.3258.01 \pm0.3274.96±1.7274.96 \pm1.7270.22±1.7070.22 \pm1.7082.04±0.8382.04 \pm0.8378.03±0.7778.03 \pm0.7786.48±0.9086.48 \pm0.9083.88±0.6283.88 \pm0.62
LEAP‡61.32±0.9261.32 \pm0.9261.12±1.1461.12 \pm1.1465.92±1.0165.92 \pm1.0157.90±0.8557.90 \pm0.8571.84±1.1471.84 \pm1.1466.95±1.2166.95 \pm1.21<u>81.32±1.5581.32 \pm1.55</u><u>78.21±1.6078.21 \pm1.60</u>86.40±1.3986.40 \pm1.3983.95±1.3283.95 \pm1.32
TTPR67.92±2.1267.92 \pm2.1266.84±1.7066.84 \pm1.7072.36±1.3672.36 \pm1.3669.92±1.0369.92 \pm1.0376.52±0.8876.52 \pm0.8874.41±0.8274.41 \pm0.8281.16±0.3481.16 \pm0.3478.65±0.9478.65 \pm0.9487.24±0.2787.24 \pm0.2785.72±1.0485.72 \pm1.04

Table IV. Accuracy (%) and Macro-F1 (%) (with standard deviations) of various prompt-tuning strategies in the 10-shot node classification task. † indicates results cited directly from RELIEF [8], ‡ indicates results cited directly from LEAP [27], and * represents results reproduced using official code. Boldface marks the highest performance among all models and underlining denotes the second-best performance.

We further evaluate TTPR on 50-shot molecular graph classification under four pre-training strategies. Table V shows that TTPR achieves the highest average ROC-AUC under each strategy. This consistent advantage suggests that task-specific propagation and aggregation can complement knowledge learned under different pre-training objectives. Prompt nodes participate in both message passing and graph readout, providing additional paths to combine information beyond the original bond neighborhoods. Learning their features and connectivity allows the graph representation to adapt to the downstream objective while preserving the original molecular bonds and keeping the encoder frozen.

Tuning StrategyBBBPTox21ToxCastSIDERClinToxMUVHIVBACEAvg.
Pre-training Strategy: AttrMasking
FT†66.48±0.4466.48 \pm0.4472.32±0.1972.32 \pm0.1957.35±0.4257.35 \pm0.4254.62±0.5854.62 \pm0.5859.71±4.4359.71 \pm4.4361.49±1.0461.49 \pm1.0458.37±1.5158.37 \pm1.5165.41±2.0965.41 \pm2.0961.97
GPF†66.67±0.6066.67 \pm0.6072.31±0.3072.31 \pm0.3058.01±0.2758.01 \pm0.2755.65±1.9255.65 \pm1.9267.25±2.4167.25 \pm2.4162.58±0.3162.58 \pm0.3158.71±2.5658.71 \pm2.5668.54±1.2468.54 \pm1.2463.72
GPF-plus†66.29±0.3666.29 \pm0.3672.75±0.3872.75 \pm0.3857.91±0.3857.91 \pm0.3855.05±1.2055.05 \pm1.2068.89±2.8668.89 \pm2.8662.70±0.4862.70 \pm0.4858.71±1.0758.71 \pm1.0768.07±1.2068.07 \pm1.2063.80
SUPTsoft†66.28±0.8166.28 \pm0.8172.76±0.4172.76 \pm0.4158.28±0.3458.28 \pm0.3454.70±1.0354.70 \pm1.0368.58±4.5468.58 \pm4.5462.81±0.2562.81 \pm0.2558.95±1.7158.95 \pm1.7166.41±0.4966.41 \pm0.4963.60
SUPThard†66.93±0.9166.93 \pm0.9172.75±0.4172.75 \pm0.4158.18±0.4458.18 \pm0.4455.20±1.2655.20 \pm1.2668.36±3.5768.36 \pm3.5762.81±0.2262.81 \pm0.2259.02±1.6159.02 \pm1.6168.92±0.9668.92 \pm0.9664.02
PSP*66.29±0.8666.29 \pm0.8672.75±0.4172.75 \pm0.4158.23±0.4158.23 \pm0.4155.13±1.1255.13 \pm1.1268.74±3.2268.74 \pm3.2262.76±0.3762.76 \pm0.3758.99±1.3858.99 \pm1.3867.38±1.0167.38 \pm1.0163.78
All-in-One*65.70±1.0365.70 \pm1.0369.41±0.4369.41 \pm0.4358.33±0.5458.33 \pm0.5455.90±0.4455.90 \pm0.4470.74±2.5970.74 \pm2.5960.30±1.5360.30 \pm1.5359.12±1.1459.12 \pm1.1466.69±1.0566.69 \pm1.0563.27
EdgePrompt*66.22±0.7566.22 \pm0.7570.20±0.3870.20 \pm0.3856.41±0.7956.41 \pm0.7953.40±0.3253.40 \pm0.3264.13±2.2364.13 \pm2.2360.80±1.1260.80 \pm1.1257.22±1.4457.22 \pm1.4465.42±1.1565.42 \pm1.1561.73
EdgePrompt+*66.35±0.4766.35 \pm0.4771.11±0.5571.11 \pm0.5557.12±0.5657.12 \pm0.5655.12±0.4355.12 \pm0.4368.20±2.5468.20 \pm2.5460.92±1.0360.92 \pm1.0358.01±1.3258.01 \pm1.3267.16±0.9467.16 \pm0.9463.00
RELIEF†67.18±0.5567.18 \pm0.5572.40±0.3272.40 \pm0.3258.41±0.1458.41 \pm0.1456.54±0.7556.54 \pm0.7574.39±1.1874.39 \pm1.1863.18±0.1763.18 \pm0.1759.42±0.5559.42 \pm0.5569.37±0.7069.37 \pm0.7065.11
LEAP‡66.95±0.3566.95 \pm0.3572.79±0.2272.79 \pm0.2258.43±0.2058.43 \pm0.2056.17±0.9156.17 \pm0.9173.33±2.2273.33 \pm2.2263.42±0.2063.42 \pm0.2059.33±0.8259.33 \pm0.8269.45±0.8869.45 \pm0.8864.98
TTPR68.29±0.5668.29 \pm0.5671.84±0.3271.84 \pm0.3258.31±0.2558.31 \pm0.2558.12±0.6358.12 \pm0.6373.92±3.2573.92 \pm3.2563.77±0.5963.77 \pm0.5961.33±0.7861.33 \pm0.7872.21±0.1472.21 \pm0.1465.97
Pre-training Strategy: ContextPred
FT†62.82±0.8362.82 \pm0.8370.11±0.3870.11 \pm0.3857.68±0.6957.68 \pm0.6956.68±0.7856.68 \pm0.7860.99±2.2860.99 \pm2.2861.28±1.9361.28 \pm1.9359.14±1.9359.14 \pm1.9364.47±2.4764.47 \pm2.4761.65
GPF†61.65±0.7661.65 \pm0.7670.42±0.2970.42 \pm0.2958.51±0.3858.51 \pm0.3856.55±0.4656.55 \pm0.4658.80±2.5758.80 \pm2.5764.83±0.3264.83 \pm0.3259.68±2.2059.68 \pm2.2068.57±1.1968.57 \pm1.1962.38
GPF-plus†61.25±0.7361.25 \pm0.7370.12±0.4270.12 \pm0.4257.64±0.7057.64 \pm0.7056.86±0.5256.86 \pm0.5261.43±3.0661.43 \pm3.0664.59±0.2864.59 \pm0.2859.15±2.2359.15 \pm2.2368.58±1.4268.58 \pm1.4262.45
SUPTsoft†61.85±1.5661.85 \pm1.5670.37±0.1470.37 \pm0.1457.82±0.3757.82 \pm0.3756.57±0.5056.57 \pm0.5059.13±1.9959.13 \pm1.9964.59±1.0064.59 \pm1.0056.58±1.9456.58 \pm1.9468.92±0.9268.92 \pm0.9261.98
SUPThard†62.29±1.4162.29 \pm1.4170.40±0.1570.40 \pm0.1558.06±0.3958.06 \pm0.3956.34±0.7256.34 \pm0.7259.18±2.0759.18 \pm2.0764.57±0.6964.57 \pm0.6959.08±1.4759.08 \pm1.4769.40±1.6269.40 \pm1.6262.42
PSP*61.55±1.1461.55 \pm1.1470.25±0.2970.25 \pm0.2957.81±0.5357.81 \pm0.5356.51±0.5856.51 \pm0.5859.69±2.4059.69 \pm2.4064.59±0.8564.59 \pm0.8557.90±1.7157.90 \pm1.7168.75±1.3068.75 \pm1.3062.13
All-in-One*61.22±0.8661.22 \pm0.8669.90±0.6969.90 \pm0.6957.80±0.6657.80 \pm0.6656.44±0.6356.44 \pm0.6360.20±2.7260.20 \pm2.7264.62±1.1464.62 \pm1.1456.72±1.4856.72 \pm1.4867.19±1.1767.19 \pm1.1761.76
EdgePrompt*61.75±0.7561.75 \pm0.7569.44±0.4569.44 \pm0.4556.32±0.6856.32 \pm0.6855.32±0.4155.32 \pm0.4159.72±1.7259.72 \pm1.7262.32±1.2562.32 \pm1.2555.20±1.1255.20 \pm1.1267.62±1.1967.62 \pm1.1960.96
EdgePrompt+*62.12±0.6462.12 \pm0.6470.12±0.5270.12 \pm0.5258.01±0.9758.01 \pm0.9756.11±0.5256.11 \pm0.5259.98±2.0359.98 \pm2.0362.55±1.5362.55 \pm1.5356.34±1.4456.34 \pm1.4468.35±1.0868.35 \pm1.0861.70
RELIEF†62.99±0.6762.99 \pm0.6770.51±0.1470.51 \pm0.1458.58±0.0458.58 \pm0.0456.89±0.2556.89 \pm0.2563.06±1.7463.06 \pm1.7464.87±0.3164.87 \pm0.3159.72±1.6759.72 \pm1.6770.19±0.9670.19 \pm0.9663.35
LEAP‡62.98±0.8162.98 \pm0.8170.68±0.1770.68 \pm0.1758.53±0.3558.53 \pm0.3556.96±0.5856.96 \pm0.5862.29±1.6562.29 \pm1.6564.92±0.6164.92 \pm0.6159.99±1.5859.99 \pm1.5870.33±0.8470.33 \pm0.8463.34
TTPR63.48±0.2563.48 \pm0.2570.39±0.2470.39 \pm0.2457.42±0.2857.42 \pm0.2856.95±0.7056.95 \pm0.7064.13±2.1964.13 \pm2.1963.72±0.7063.72 \pm0.7061.89±1.9961.89 \pm1.9973.01±1.1673.01 \pm1.1663.87
Pre-training Strategy: Infomax
FT†65.26±1.0565.26 \pm1.0571.54±0.7371.54 \pm0.7357.98±0.4257.98 \pm0.4253.45±0.4953.45 \pm0.4959.01±2.1859.01 \pm2.1864.08±0.8464.08 \pm0.8465.13±2.5065.13 \pm2.5064.57±0.7164.57 \pm0.7162.63
GPF†66.30±0.9466.30 \pm0.9471.26±0.3071.26 \pm0.3058.33±0.2758.33 \pm0.2753.65±0.3453.65 \pm0.3463.11±2.3563.11 \pm2.3567.19±0.1067.19 \pm0.1064.09±0.6664.09 \pm0.6664.32±0.8864.32 \pm0.8863.53
GPF-plus†66.12±1.2766.12 \pm1.2771.54±0.6371.54 \pm0.6358.43±0.2758.43 \pm0.2753.76±1.1553.76 \pm1.1565.06±1.5665.06 \pm1.5667.20±0.1767.20 \pm0.1764.81±1.6264.81 \pm1.6265.88±1.7265.88 \pm1.7264.10
SUPTsoft†66.45±0.8566.45 \pm0.8571.82±0.1671.82 \pm0.1658.71±0.4458.71 \pm0.4453.72±0.4553.72 \pm0.4565.96±3.3765.96 \pm3.3766.52±0.5566.52 \pm0.5565.51±2.3165.51 \pm2.3166.26±2.4566.26 \pm2.4564.37
SUPThard†66.14±0.8566.14 \pm0.8571.55±0.3771.55 \pm0.3758.65±0.3358.65 \pm0.3353.82±0.4953.82 \pm0.4965.90±3.4165.90 \pm3.4166.53±0.3566.53 \pm0.3565.59±2.2665.59 \pm2.2666.40±0.7066.40 \pm0.7064.32
PSP*66.13±0.9466.13 \pm0.9471.55±0.4071.55 \pm0.4058.54±0.3958.54 \pm0.3953.79±0.4753.79 \pm0.4765.93±2.9865.93 \pm2.9866.53±0.4566.53 \pm0.4565.16±1.9465.16 \pm1.9466.33±1.3966.33 \pm1.3964.25
All-in-One*65.95±1.0365.95 \pm1.0370.21±0.4370.21 \pm0.4357.32±0.5457.32 \pm0.5455.15±0.4455.15 \pm0.4467.71±2.5967.71 \pm2.5965.30±1.5365.30 \pm1.5364.21±1.1464.21 \pm1.1466.65±1.0566.65 \pm1.0564.06
EdgePrompt*65.91±0.8565.91 \pm0.8569.91±0.5969.91 \pm0.5956.25±0.5156.25 \pm0.5153.04±0.4253.04 \pm0.4263.20±2.7363.20 \pm2.7364.80±1.5364.80 \pm1.5363.79±1.5663.79 \pm1.5666.19±0.9466.19 \pm0.9462.89
EdgePrompt+*67.12±0.9567.12 \pm0.9570.90±0.3870.90 \pm0.3858.12±0.4158.12 \pm0.4153.42±0.6653.42 \pm0.6664.33±2.3464.33 \pm2.3465.12±1.6165.12 \pm1.6164.12±1.0864.12 \pm1.0868.21±0.6468.21 \pm0.6462.93
RELIEF†67.93±0.7367.93 \pm0.7371.58±0.1371.58 \pm0.1358.78±0.1758.78 \pm0.1753.95±0.4053.95 \pm0.4066.28±2.0766.28 \pm2.0767.23±0.0867.23 \pm0.0867.00±0.5567.00 \pm0.5567.95±0.5267.95 \pm0.5265.09
LEAP‡68.27±1.0968.27 \pm1.0971.85±0.2171.85 \pm0.2158.79±0.2258.79 \pm0.2254.00±0.5654.00 \pm0.5666.44±2.2966.44 \pm2.2967.28±0.4967.28 \pm0.4967.15±1.3867.15 \pm1.3867.31±0.9167.31 \pm0.9165.14
TTPR68.65±0.9268.65 \pm0.9271.32±0.7771.32 \pm0.7758.41±0.5058.41 \pm0.5056.57±0.2456.57 \pm0.2469.96±2.7269.96 \pm2.7266.64±2.6966.64 \pm2.6965.84±1.2365.84 \pm1.2372.91±0.7572.91 \pm0.7566.29
Pre-training Strategy: GCL
FT†62.13±1.6662.13 \pm1.6661.35±0.8861.35 \pm0.8853.96±0.8053.96 \pm0.8052.63±0.7152.63 \pm0.7168.73±4.7468.73 \pm4.7451.96±1.9351.96 \pm1.9358.67±1.4158.67 \pm1.4149.94±3.8049.94 \pm3.8057.42
GPF†61.58±1.8161.58 \pm1.8159.92±1.2959.92 \pm1.2954.44±0.3154.44 \pm0.3151.21±0.5651.21 \pm0.5675.52±3.0875.52 \pm3.0852.26±1.2852.26 \pm1.2858.37±1.1658.37 \pm1.1656.09±2.4456.09 \pm2.4458.67
GPF-plus†62.19±1.4562.19 \pm1.4560.13±0.5260.13 \pm0.5254.43±0.4354.43 \pm0.4350.90±0.7850.90 \pm0.7875.50±1.1175.50 \pm1.1152.40±1.5552.40 \pm1.5558.30±1.6858.30 \pm1.6859.55±3.1759.55 \pm3.1759.18
SUPTsoft†63.96±0.8563.96 \pm0.8560.13±0.5260.13 \pm0.5254.57±0.7654.57 \pm0.7651.44±1.2451.44 \pm1.2478.03±2.3278.03 \pm2.3251.86±1.4851.86 \pm1.4859.30±2.5959.30 \pm2.5957.39±2.6457.39 \pm2.6459.59
SUPThard†64.15±0.9664.15 \pm0.9660.56±0.2060.56 \pm0.2054.72±0.7154.72 \pm0.7151.60±0.8551.60 \pm0.8577.88±2.0677.88 \pm2.0651.78±1.7251.78 \pm1.7259.24±2.4259.24 \pm2.4259.68±1.4659.68 \pm1.4659.95
PSP*63.43±1.2163.43 \pm1.2160.35±0.5260.35 \pm0.5254.65±0.7454.65 \pm0.7451.52±0.8551.52 \pm0.8576.69±2.1976.69 \pm2.1952.13±1.6452.13 \pm1.6459.27±2.5159.27 \pm2.5159.56±2.9159.56 \pm2.9159.70
All-in-One†62.90±3.7762.90 \pm3.7761.49±0.9661.49 \pm0.9654.72±1.0354.72 \pm1.0352.73±0.8452.73 \pm0.8466.59±3.8466.59 \pm3.8453.34±3.2053.34 \pm3.2060.60±3.8060.60 \pm3.8059.57±5.6259.57 \pm5.6258.99
EdgePrompt*61.25±0.7261.25 \pm0.7259.42±0.5359.42 \pm0.5353.12±0.3453.12 \pm0.3452.54±0.6252.54 \pm0.6269.55±1.9769.55 \pm1.9750.80±1.1350.80 \pm1.1359.72±1.2559.72 \pm1.2556.98±0.9856.98 \pm0.9857.92
EdgePrompt+*64.44±0.8564.44 \pm0.8560.19±0.5960.19 \pm0.5954.66±0.5154.66 \pm0.5154.40±0.4254.40 \pm0.4274.20±2.7374.20 \pm2.7352.72±1.5352.72 \pm1.5360.89±1.5660.89 \pm1.5660.12±0.9460.12 \pm0.9460.20
RELIEF†64.80±0.6964.80 \pm0.6961.45±0.3561.45 \pm0.3555.03±0.3955.03 \pm0.3952.82±0.5952.82 \pm0.5979.75±1.2879.75 \pm1.2853.52±2.1753.52 \pm2.1760.44±2.3960.44 \pm2.3962.97±1.1962.97 \pm1.1961.35
LEAP‡63.55±1.0863.55 \pm1.0861.54±0.3961.54 \pm0.3954.89±0.3554.89 \pm0.3552.33±1.0152.33 \pm1.0179.93±1.9679.93 \pm1.9653.59±1.9153.59 \pm1.9160.53±1.3860.53 \pm1.3862.50±1.4162.50 \pm1.4161.11
TTPR64.92±1.2364.92 \pm1.2360.68±0.2660.68 \pm0.2655.51±0.9955.51 \pm0.9955.29±1.4255.29 \pm1.4277.54±1.9877.54 \pm1.9857.21±0.6157.21 \pm0.6162.28±0.8062.28 \pm0.8070.36±0.6470.36 \pm0.6462.97

Table V. ROC-AUC (%) with standard deviations for prompt-tuning methods under four pre-training strategies on the 50-shot graph classification task. † indicates results cited directly from RELIEF [8], ‡ indicates results cited directly from LEAP [27], and * represents results reproduced using official code. Boldface marks the highest performance among all models and underlining denotes the second-best performance. Avg. is the arithmetic mean across the eight datasets.

Ablation Study

We evaluate prompt configuration components and training schemes on CiteSeer, PubMed, and Photo node classification with GPPT pre-training, and BACE, BBBP, and HIV graph classification with AttrMasking pre-training. w/o INPPO fixes both the prompt count and randomly initialized features to assess the node-learning module as a whole. w/o CRPO replaces the learned connection policy with a fixed cosine-threshold rule to compare learned and heuristic connections. w/o Count assesses adaptive prompt capacity by fixing the count while retaining feature learning, whereas w/o Feature fixes the randomly initialized features, uses the rows corresponding to the current count, and retains count learning to examine the contribution of learned prompt content. Fixed counts are selected from {1,3,5,7,9,11}\{1, 3, 5, 7, 9, 11\} within the corresponding full model’s count limit, and thresholds from {0.1,0.3,0.5,0.7,0.9}\{0.1, 0.3, 0.5, 0.7, 0.9\}. Each candidate is trained separately, with the best fixed value selected on the validation set. Each variant retains the remaining components and their update rules.

To compare incremental RL with direct task-loss training, w/o N-RL replaces INPPO with direct count prediction and feature learning while retaining CRPO and alternating training. It predicts count probabilities in one pass and jointly learns the count predictor and prompt features using the probability-weighted task losses of candidate counts, treating the generated connections as fixed during these updates. During inference, it selects the most probable count. This comparison changes both the incremental decision process and the optimization method. To assess whether repeated mutual adaptation helps coordinate prompt content and connection structure, we compare three training variants.

w/o Alt jointly optimizes count, feature, and connection decisions as a single action using PPO. w/o Alt-EN trains CRPO followed by INPPO, holding the other component fixed in each phase, while w/o Alt-NE reverses this order. Both sequential variants start from the same initialization as TTPR and exhaust the first phase’s training budget before entering the second, without returning to the first. Both variants retain the original optimizers under matched training budgets and an identical task-head update protocol.

VariantNode Classification: CiteSeer AccNode Classification: CiteSeer F1Node Classification: PubMed AccNode Classification: PubMed F1Node Classification: Photo AccNode Classification: Photo F1Graph Classification: BACE ROC-AUCGraph Classification: BBBP ROC-AUCGraph Classification: HIV ROC-AUC
TTPR73.00 ± 1.2469.95 ± 0.3777.12 ± 0.4375.12 ± 0.5986.52 ± 0.1085.16 ± 0.8972.21 ± 0.1468.29 ± 0.5661.33 ± 0.78
w/o INPPO69.36 ± 1.4665.82 ± 1.2170.96 ± 1.1768.23 ± 1.3682.36 ± 0.7480.53 ± 1.1368.14 ± 0.6265.64 ± 1.2859.46 ± 1.07
w/o CRPO68.72 ± 1.1864.93 ± 1.5774.84 ± 0.8472.36 ± 0.9282.44 ± 1.2680.68 ± 1.5566.58 ± 0.8366.04 ± 1.0957.76 ± 1.34
w/o Count71.84 ± 0.9868.17 ± 0.8376.56 ± 0.6174.43 ± 0.7883.64 ± 0.7381.92 ± 1.0171.63 ± 0.3867.12 ± 0.9760.87 ± 0.93
w/o Feature70.92 ± 1.0767.48 ± 1.0472.64 ± 1.0970.08 ± 1.1884.84 ± 0.4883.23 ± 0.8269.36 ± 0.5466.28 ± 1.1660.42 ± 0.88
w/o N-RL71.24 ± 1.0967.68 ± 0.7273.44 ± 1.0871.61 ± 1.1585.76 ± 0.3984.62 ± 0.7668.87 ± 0.6767.84 ± 0.9158.63 ± 1.12
w/o Alt68.24 ± 1.4264.68 ± 1.3171.12 ± 0.8670.90 ± 1.1078.96 ± 1.1377.31 ± 1.4967.81 ± 0.2164.34 ± 0.6458.10 ± 1.20
w/o Alt-EN67.92 ± 0.9264.12 ± 1.1171.08 ± 0.9570.22 ± 0.8381.36 ± 1.2478.31 ± 1.0268.21 ± 0.2165.12 ± 0.3359.05 ± 0.90
w/o Alt-NE70.32 ± 1.4266.72 ± 0.7973.04 ± 0.6971.66 ± 0.9580.12 ± 1.2279.21 ± 1.1269.11 ± 0.4165.34 ± 0.6059.55 ± 0.97

Table VI. Ablation results (Acc, Macro-F1, and ROC-AUC in %). The reporting protocol is mean ± standard deviation over five independent runs. Node classification uses GPPT and graph classification uses AttrMasking.

tbl:VI shows that removing either INPPO or CRPO reduces average performance. Fixed thresholds rely on feature similarity, whereas CRPO evaluates connection patterns through task feedback. Its gains may therefore reflect the importance of propagating prompt content through connections suited to the task. PubMed is more sensitive to fixed features, while Photo is more sensitive to a fixed count. Counts constrain prompt capacity and the space of possible connections, while features determine the injected information. These distinct roles may explain their varying contributions across datasets. Retaining either learning component outperforms fixing both, and joint learning achieves higher average performance. Compared with direct prediction in w/o N-RL, INPPO can progressively refine configurations using the updated augmented-graph state. TTPR outperforms all three training variants across the reported metrics, suggesting that coordinated node and edge learning benefits from both separate updates and continued mutual adaptation. The degradation of w/o Alt, which places all decisions under a single PPO objective, is consistent with the difficulty of distinguishing node and edge contributions in joint feedback. The sequential variants retain separate optimization, but the component trained first cannot continue adapting to subsequent configuration changes. The generally stronger performance of

w/o Alt-NE suggests that learning connections after prompt content is established may be more effective, whereas changing prompt features under a frozen edge policy may weaken their learned compatibility. Both sequential variants outperform w/o Alt on graph classification, while w/o Alt-EN offers no corresponding gains on CiteSeer or PubMed, indicating that the benefits of separate updates depend on both training order and dataset. Alternating training combines conditional updates with repeated mutual adaptation, supporting more effective joint configurations.

Cross-Dataset Generalization

We evaluate the cross-dataset generalization of prompt configuration policies by learning them on Cora or Photo and transferring them to multiple target datasets. Node features are independently reduced to 100 dimensions using SVD for each dataset, which uses a GNN pretrained on its own data with GPPT. All encoders have the same architecture and representation dimensionality, and their parameters remain frozen during policy learning and target-domain adaptation. For each target dataset, we transfer and freeze the source-trained edge policy, prompt-count policy, and prompt feature generator to construct prompt configurations for target-domain adaptation. We train a task head with the appropriate output dimension on the target training set while keeping the target pretrained GNN frozen. The baselines follow the same adaptation protocol, transferring and freezing their source-trained prompt parameters or policies while training the target task head. For each run, all methods use the same training, validation, and test splits on each dataset. We select source checkpoints with the highest sourcedomain validation accuracy and adapted task-head checkpoints with the highest target-domain validation accuracy. During inference, we retain the prompt-node scheme associated with the selected target checkpoint and use the transferred edge policy to construct connections, with all model parameters fixed. Figure 3 reports the corresponding cross-dataset accuracy.

Figure 3. Cross-dataset accuracy (%) under GPPT pre-training when transferring from (a) Cora and (b) Photo. TTPR transfers frozen source policies to each target dataset, using its own frozen pretrained GNN and a classifier trained on its 10-shot training set. Results are averaged over five independent runs with different random seeds.

Across both source settings, TTPR achieves higher accuracy than the baselines on most target datasets, with clear advantages in transfers between citation and co-purchase networks. These results suggest that learned configuration policies can generalize beyond the source domain. Jointly adapting prompt features and connections offers flexibility in both prompt content and propagation, which may help exploit relational information under attribute shifts. RELIEF trails simpler feature-prompting baselines on some targets, suggesting that source-domain dependencies may limit policy transfer and highlighting the potential value of structural adaptation.

Time Analysis

To assess the computational overhead of the proposed two-stage optimization, we compare the average training time per epoch across methods on six datasets using the hardware specified in the experimental settings. Each TTPR epoch includes CRPO, INPPO, and task-head optimization. As shown in Table VII, TTPR requires less time per epoch than RELIEF and LEAP on most evaluated datasets, although its advantage varies across datasets. TTPR restricts policy search to prompt-related configurations. CRPO samples a fixed number of complete connection patterns. INPPO incrementally adjusts the prompt count within a bounded range that does not expand with the number of original nodes. This allows a fixed trajectory length independent of input graph size, limiting the number of configuration evaluations. These results show that the two-stage optimization achieves competitive per-epoch training costs relative to the evaluated RL baselines.

MethodCoraPubMedPhotoBACEBBBPMUV
GPF7.9s8.5s19.2s10.3s15.1s22.6s
SUPThard_{\text{hard}}8.8s9.9s20.4s10.9s16.0s24.3s
All-in-One8.2s10.7s19.7s12.2s17.9s30.2s
RELIEF37.5s81.4s168.1s55.7s53.8s503.2s
LEAP33.4s47.0s98.4s39.3s49.2s279.5s
TTPR31.2s37.1s62.5s78.3s51.2s114.6s

Table VII. Average training time per epoch across different methods. TTPR includes CRPO, INPPO, and task-head training.

Hyperparameter Sensitivity

We conduct a sensitivity study on key hyperparameters of TTPR to examine their effects on model stability. Specifically, we examine the maximum number of prompt nodes (MmaxM_{max}), the group size KK in stage I, the trajectory length LL in stage II, and the entropy coefficient β\beta used in both stages. The analysis is performed under two representative conditions: node classification on the PubMed dataset using the GPPT pre-training strategy, and graph classification on the HIV dataset using the AttrMasking pre-training strategy.

Figure 4 illustrates the effects of several key hyperparameters on performance. For the maximum number of prompt nodes (MmaxM_{max}), performance remains relatively stable across a broad range, and near-optimal values can be discovered within each range, indicating the robustness of the framework. For the group size KK, performance benefits from increasing small groups but shows limited further gains at larger values, suggesting diminishing returns from additional sampled connection patterns. The trajectory length LL exhibits a similar pattern, with longer trajectories offering limited additional performance gains beyond a suitable range. Regarding the entropy coefficient β\beta, intermediate values generally provide favorable performance, consistent with a balance between exploration and task-directed policy learning. These results support choosing suitable hyperparameter ranges for consistent downstream performance.

Figure 4. Parameter sensitivity analysis evaluating the impact of maximum prompt nodes (MmaxM_{max}), group size (KK), trajectory length (LL), and entropy coefficient (β\beta) on the PubMed and HIV datasets.

Prompt Configuration Analysis

To better understand how TTPR adapts to downstream tasks, we analyze its learned prompt configurations. The prompt count and feature matrix are shared across inputs at the selected checkpoint, while connections are generated for each input by the learned edge policy. For each input with at least one edge, we compute the ratio of augmented to original graph density and express its absolute deviation from one as a percentage. We average these changes across inputs to characterize changes in graph sparsity. Edge density is the fraction of possible unordered node pairs joined by an edge, counting each undirected edge once and excluding self-loops. The augmented graph includes all original nodes, prompt nodes, and their connections. Feature magnitude ratio (FMR) is the ratio of the mean absolute feature values of prompt nodes to those of original nodes, with its deviation from one indicating a mismatch in feature scale. Prompt feature similarity (PFS) is the mean pairwise cosine similarity between distinct prompt feature vectors, evaluated for inputs with at least two prompts. Lower values indicate greater separation between their feature directions. Both feature statistics are computed per input in the continuous space where prompts are injected and then averaged across inputs. We compare All-in-One [10], PSP [11], and TTPR on 10-shot node classification with GPPT pre-training on CiteSeer and PubMed, and 50-shot graph classification with AttrMasking pre-training on BACE and BBBP. Node classification statistics cover the input subgraphs of the same 500 test targets, while graph classification statistics cover all test graphs. Both include every original node in each input. Prompt counts are reported as integers, and the remaining metrics are averaged across all five independent runs.

Compared with All-in-One and PSP, TTPR induces smaller changes in edge density and keeps FMR closer to one (Table VIII), indicating better preservation of graph sparsity and feature scale. Its lower PFS also indicates more distinct feature directions. Together, these properties allow prompts to participate in message passing at scales comparable to those of original nodes while contributing distinguishable feature content. Alongside the performance gains in the main experiments, these observations suggest that TTPR enables effective adaptation through distinct prompt representations while limiting deviations from the original graph structure and feature scale during downstream adaptation.

MetricCiteSeerPubMedBACEBBBP
All-in-OnePSPTTPRAll-in-OnePSPTTPRAll-in-OnePSPTTPRAll-in-OnePSPTTPR
#P565533524523
Δρ\Delta\rho (%)57.80188.4023.6024.7061.309.4062.40132.8038.7094.60117.5051.20
FMR1.360.601.190.710.730.861.240.851.121.470.810.88
PFS0.510.500.390.410.830.330.350.940.320.610.910.46

Table VIII. Comparison of All-in-One, PSP, and TTPR in prompt count (#P), absolute relative density change (Δρ\Delta\rho), feature magnitude ratio (FMR), and prompt feature similarity (PFS) for 10-shot node classification (CiteSeer and PubMed) and 50-shot graph classification (BACE and BBBP). The three continuous metrics are averaged over test inputs and runs.

Case Study

We conduct a case study on PubMed to examine the structural benefits of topology-based prompting configuration learned by our framework. The dataset contains three classes. We compare two configurations: (a) Rule-based, with M=3M = 3 prompt nodes connected to original nodes whose cosine similarity exceeds 0.7, and (b) TTPR-optimized, where both the prompt connection patterns and embeddings are learned via our TTPR framework. For each configuration, we visualize the test-center node representations together with three prompt points in two dimensions, each representing the mean encoded representation of the corresponding prompt node across test subgraphs. As shown in Figure 5, the Rule-based configuration yields more dispersed node representations in the visualization. The learned configuration uses a shared scheme with M=3M = 3 prompt nodes. In the visualization, the prompt points lie near class centers. These anchors act as global structural cues that enhance graph-wide information propagation, promote interactions between related class regions, and improve class separability.

Node and prompt embeddings for PubMed under Rule-based and TTPR-optimized configurations

Figure 5. Node and prompt embeddings for PubMed after dimensionality reduction under two different configurations.

Conclusion

This paper studies adaptive topology-based prompting for few-shot graph learning, where prompt configurations govern both task information and its structural propagation. Our analysis reveals asymmetric performance effects and coupled configuration selection, making a unified policy difficult to evaluate while preventing the two configurations from being learned independently. TTPR addresses this tension through alternating node-level and edge-level policy learning. CRPO derives edge-level updates from group-wise comparisons of complete connection patterns, whereas INPPO learns prompt-node schemes through incremental decisions with the edge-policy parameters fixed while connections are reconstructed for each updated prompt-node scheme. Across datasets and pre-training strategies, TTPR ranks first in 8/10 node classification settings and achieves the highest average graph classification performance.

AI-Generated Content Acknowledgement

OpenAI ChatGPT and Codex assisted with drafting and revising passages in the Abstract and Sections I–VI, including paragraph organization, language refinement, and terminology consistency. They also assisted with LaTeX formatting and figure and table layout throughout the manuscript, as well as code editing and debugging. The authors retain responsibility for the accuracy and originality of the manuscript and the validity of the reported results.

References

  1. [1]Y. Xie, Z. Xu, J. Zhang, Z. Wang, and S. Ji, “Self-supervised learning of graph neural networks: A unified review,” IEEE TAMI, vol. 45, no. 2, pp. 2412–2429, 2023.
  2. [2]Y. Lu, X. Jiang, Y. Fang, and C. Shi, “Learning to pre-train graph neural networks,” in AAAI, 2021, pp. 4276–4284.
  3. [3]H. Liu, J. Feng, L. Kong, N. Liang, D. Tao, Y. Chen, and M. Zhang, “One for all: Towards training one graph model for all classification tasks,” in ICLR, 2024.arxiv.org/abs/2310.00149
  4. [4]Y. Li and B. Hooi, “Prompt-based zero- and few-shot node classification: A multimodal approach,” CoRR, vol. abs/2307.11572, 2023.arxiv.org/abs/2307.11572
  5. [5]Y. Fang, Y. Wu, X. Yu, and S. Pan, “Few-shot learning on graphs: From meta-learning to llm-empowered pre-training and beyond,” in WWW, 2025, p. 9–12.DOI
  6. [6]Y. Zhu, Y. Wang, H. Shi, Z. Zhang, D. Jiao, and S. Tang, “Graphcontrol: Adding conditional control to universal graph pre-trained models for graph domain transfer learning,” in WWW, 2024, pp. 539–550.DOI
  7. [7]T. Fang, Y. Zhang, Y. Yang, C. Wang, and L. Chen, “Universal prompt tuning for graph neural networks,” in NeurIPS, 2023.arxiv.org/abs/2209.15240
  8. [8]J. Zhu, Z. Ding, J. Yu, J. Tan, X. Li, and W. Qian, “RELIEF: reinforcement learning empowered graph feature prompt tuning,” in SIGKDD, 2025, pp. 2159–2170.arxiv.org/abs/2408.03195
  9. [9]Q. Huang, H. Ren, P. Chen, G. Krzmanс, D. Zeng, P. Liang, and J. Leskovec, “PRODIGY: enabling in-context learning over graphs,” in NeurIPS, 2023.arxiv.org/abs/2305.12600
  10. [10]X. Sun, H. Cheng, J. Li, B. Liu, and J. Guan, “All in one: Multi-task prompting for graph neural networks,” in SIGKDD, 2023, pp. 2120–2131.arxiv.org/abs/2307.01504
  11. [11]Q. Ge, Z. Zhao, Y. Liu, A. Cheng, X. Li, S. Wang, and D. Yin, “PSP: pre-training and structure prompt tuning for graph neural networks,” in ECML PKDD, vol. 14495, 2024, pp. 423–439.arxiv.org/abs/2310.17394
  12. [12]Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, M. Zhang, Y. K. Li, Y. Wu, and D. Guo, “Deepseekmath: Pushing the limits of mathematical reasoning in open language models,” CoRR, vol. abs/2402.03300, 2024.
  13. [13]J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov, “Proximal policy optimization algorithms,” CoRR, vol. abs/1707.06347, 2017.arxiv.org/abs/1707.06347
  14. [14]X. Sun, J. Zhang, X. Wu, H. Cheng, Y. Xiong, and J. Li, “Graph prompt learning: A comprehensive survey and beyond,” CoRR, vol. abs/2311.16534, 2023.arxiv.org/abs/2311.16534
  15. [15]J. Lee, W. Yang, and J. Kang, “Subgraph-level universal prompt tuning,” CoRR, vol. abs/2402.10380, 2024.DOI
  16. [16]Q. Zhu, J. Guo, and S. Tang, “SGL-PT: A strong graph learner with graph prompt tuning,” CoRR, vol. abs/2302.12449, 2023.arxiv.org/abs/2302.12449
  17. [17]Q. Chen, L. Wang, B. Zheng, and G. Song, “Dagprompt: Pushing the limits of graph prompting with a distribution-aware graph prompt tuning approach,” in WWW, 2025, pp. 4346–4358.DOI
  18. [18]X. Fu, Y. He, and J. Li, “Edge prompt tuning for graph neural networks,” in ICLR, 2025.arxiv.org/abs/2503.00750
  19. [19]J. Li, R. Wang, Y. Ma, S. Liang, G. Luo, and K. Qin, “DSAS: A universal plug-and-play framework for attention optimization in multi-document question answering,” in NeurIPS, 2025.arxiv.org/abs/2510.12251
  20. [20]Y. Ma, K. Qin, and S. Liang, “Beta-LR: Interpretable logical reasoning based on beta distribution,” in NAACL, 2024.
  21. [21]X. Fu, Z. Lei, Z. Chen, B. Zhang, C. Zhang, and J. Li, “GraphTOP: Graph topology-oriented prompting for graph neural networks,” in NeurIPS, 2025.
  22. [22]Y. Huang, J. Zhao, D. He, X. Wang, Y. Li, Y. Huang, D. Jin, and Z. Feng, “One prompt fits all: Universal graph adaptation for pretrained models,” in NeurIPS, 2025.
  23. [23]J. Li, R. Wang, Y. Huang, Q. Chen, J. Zhang, and S. Liang, “Neuropath: Neurobiology-inspired path tracking and reflection for semantically coherent retrieval,” in NeurIPS, 2025.arxiv.org/abs/2511.14096
  24. [24]F. Wang, Z. Zhang, J. Ye, L. Sun, and J. Qi, “CLEAR: Cluster-based prompt learning on heterogeneous graphs,” in PAKDD, 2025, pp. 264–276.arxiv.org/abs/2502.08918
  25. [25]S. Fang, K. Zhao, R. Zhang, Y. Rong, and J. X. Yu, “PLACE: prompt learning for attributed community search in large graphs,” in SIGKDD, 2026, pp. 1039–1050.arxiv.org/abs/2507.05311
  26. [26]R. Wang, S. Liang, Q. Chen, J. Zhang, and K. Qin, “Graphtool-instruction: Revolutionizing graph reasoning in llms through decomposed subtask instruction,” in SIGKDD, 2025, pp. 1492–1503.DOI
  27. [27]J. Xu, Z. Chen, S. Yang, J. Li, H. Wang, Y. Li, and E. C. H. Ngai, “Learning and editing universal graph prompt tuning via reinforcement learning,” in SIGKDD, 2026, pp. 1673–1682.arxiv.org/abs/2512.08763
  28. [28]Q. Chen, C. Qi, Y. Huang, M. Li, R. Wang, D. Zhang, K. Qin, and S. Liang, “Kepo: Knowledge evolution poison on graph-based retrieval-augmented generation,” in ACM WWW, 2026, pp. 2308–2319.
  29. [29]Y. Ma, R. Wang, S. Liang, G. Luo, and K. Qin, “Topollm: Llm-driven adaptive tool learning for real-time emergency network topology planning,” Digital Communications and Networks, vol. 12, no. 2, pp. 273–282, 2026.DOI
  30. [30]N. Mazyavkina, S. Sviridov, S. Ivanov, and E. Burnaev, “Reinforcement learning for combinatorial optimization: A survey,” COMPUT OPER RES, vol. 134, p. 105400, 2021.arxiv.org/abs/2003.03600
  31. [31]V. Darvariu, S. Hailes, and M. Musolesi, “Graph reinforcement learning for combinatorial optimization: A survey and unifying perspective,” TMLR, vol. 2024, 2024.arxiv.org/abs/2404.06492
  32. [32]G. P. de Carvalho, T. Sawanobori, and T. Horii, “Data-driven motion planning: A survey on deep neural networks, reinforcement learning, and large language model approaches,” IEEE Access, vol. 13, pp. 52 195–52 245, 2025.
  33. [33]Z. Fan, R. Su, W. Zhang, and Y. Yu, “Hybrid actor-critic reinforcement learning in parameterized action space,” in IJCAI, 2019, pp. 2279–2285.arxiv.org/abs/1903.01344
  34. [34]N. Lambert, “Reinforcement learning from human feedback,” 2025.arxiv.org/abs/2504.12501
  35. [35]R. Wang, S. Liang, Q. Chen, Y. Huang, M. Li, Y. Ma, D. Zhang, K. Qin, and M. Leung, “Graphagent: Mitigating llms’ working memory constraints via multi-agent collaboration in complex graph understanding,” in ACM WWW, 2026, pp. 3811–3822.arxiv.org/abs/2508.12379
  36. [36]L. Kong, J. Feng, H. Liu, D. Tao, Y. Chen, and M. Zhang, “MAG-GNN: reinforcement learning boosted graph neural network,” in NeurIPS, 2023.arxiv.org/abs/2310.19142
  37. [37]Q. Sun, J. Li, H. Peng, J. Wu, Y. Ning, P. S. Yu, and L. He, “SUGAR: subgraph neural network with reinforcement pooling and self-supervised mutual information mechanism,” in WWW, 2021, pp. 2081–2091.arxiv.org/abs/2101.08170
  38. [38]S. Hu, Z. Xiong, M. Qu, X. Yuan, M. Côté, Z. Liu, and J. Tang, “Graph policy network for transferable active learning on graphs,” in NeurIPS, 2020.arxiv.org/abs/2006.13463
  39. [39]T. N. Kipf and M. Welling, “Semi-supervised classification with graph convolutional networks,” in ICLR, 2017.arxiv.org/abs/1609.02907
  40. [40]O. Schuur, M. Mumme, A. Bojchevski, and S. Günnemann, “Pitfalls of graph neural network evaluation,” CoRR, vol. abs/1811.05868, 2018.
  41. [41]Z. Wu, B. Ramsundar, E. N. Feinberg, J. Gomes, C. Geniesse, A. S. Pappu, K. Leswing, and V. S. Pande, “MoleculeNet: A benchmark for molecular machine learning,” CoRR, vol. abs/1703.00564, 2017.arxiv.org/abs/1703.00564
  42. [42]M. Sun, K. Zhou, X. He, Y. Wang, and X. Wang, “GPPT: graph pre-training and prompt tuning to generalize graph neural networks,” in SIGKDD, 2022, pp. 1717–1727.DOI
  43. [43]Z. Liu, X. Yu, Y. Fang, and X. Zhang, “Graphprompt: Unifying pre-training and downstream tasks for graph neural networks,” in WWW, 2023, pp. 417–428.arxiv.org/abs/2302.08043
  44. [44]W. Hu, B. Liu, J. Gomes, M. Zitnik, P. Liang, V. S. Pande, and J. Leskovec, “Strategies for pre-training graph neural networks,” in ICLR, 2020.arxiv.org/abs/1905.12265
  45. [45]P. Velickovic, W. Fedus, W. L. Hamilton, P. Liò, Y. Bengio, and R. D. Hjelm, “Deep graph infomax,” in ICLR, 2019.
  46. [46]Y. You, T. Chen, Y. S. Shen, Z. Wang, and Y. Shen, “Graph contrastive learning with augmentations,” in NeurIPS, 2020.arxiv.org/abs/2010.13902

Paper details

vlnc:W_te8skyzf
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents