Papers › RELIEF: Reinforcement Learning Empowered Graph Feature Prompt Tuning

RELIEF: Reinforcement Learning Empowered Graph Feature Prompt Tuning

6 Aug 2024arXiv:2408.03195archive 2025-07-28

Jiapeng Zhu, Zichen Ding, Jianxiang Yu, Jiaqi Tan, Xiang Li, Weining Qian

The advent of the "pre-train, prompt" paradigm has recently extended its generalization ability and data efficiency to graph representation learning, following its achievements in Natural Language Processing (NLP). Initial graph prompt tuning approaches tailored specialized prompting functions for Graph Neural Network (GNN) models pre-trained with specific strategies, such as edge prediction, thus limiting their applicability. In contrast, another pioneering line of research has explored universal prompting via adding prompts to the input graph's feature space, thereby removing the reliance on specific pre-training strategies. However, the necessity to add feature prompts to all nodes remains an open question. Motivated by findings from prompt tuning research in the NLP domain, which suggest that highly capable pre-trained models need less conditioning signal to achieve desired behaviors, we advocate for strategically incorporating necessary and lightweight feature prompts to certain graph nodes to enhance downstream task performance. This introduces a combinatorial optimization problem, requiring a policy to decide 1) which nodes to prompt and 2) what specific feature prompts to attach. We then address the problem by framing the prompt incorporation process as a sequential decision-making problem and propose our method, RELIEF, which employs Reinforcement Learning (RL) to optimize it. At each step, the RL agent selects a node (discrete action) and determines the prompt content (continuous action), aiming to maximize cumulative performance gain. Extensive experiments on graph and node-level tasks with various pre-training strategies in few-shot scenarios demonstrate that our RELIEF outperforms fine-tuning and other prompt-based approaches in classification performance and data efficiency. The code is available at https://github.com/JasonZhujp/RELIEF.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2408.03195")

Code

Syntology Ran 10 of 15 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 9 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

JasonZhujp/RELIEF officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 10 ran; 1 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
9ran
5unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from JasonZhujp/RELIEF. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

act JasonZhujp/RELIEF/node_level/model.py official repository ran no licence file found · pointer only · 4f889a3f511e5688 · report
compute_acc_f1 JasonZhujp/RELIEF/node_level/base.py official repository ran no licence file found · pointer only · bdacd4343b5f189b · report
compute_auc JasonZhujp/RELIEF/graph_level/base.py official repository ran no licence file found · pointer only · 7704b623591b1777 · report
graph_data_obj_to_nx_simple JasonZhujp/RELIEF/graph_level/loader.py official repository ran · honoured contract no licence file found · pointer only · 287484b87212f47d · report
index_new_batch JasonZhujp/RELIEF/graph_level/util.py official repository ran no licence file found · pointer only · 2df6ffa7e9fcd02e · report
niceprint JasonZhujp/RELIEF/graph_level/util.py official repository ran no licence file found · pointer only · 9f4264652469074d · report
reshape_reward JasonZhujp/RELIEF/graph_level/reward.py official repository ran no licence file found · pointer only · 2890d744d2853964 · report
reward_reshape JasonZhujp/RELIEF/graph_level/reward.py official repository ran fingerprinted no licence file found · pointer only · 84ca8cb0e314e41b · report
reward_scaling JasonZhujp/RELIEF/graph_level/reward.py official repository ran no licence file found · pointer only · e55364295e61d890 · report
seed_everything JasonZhujp/RELIEF/node_level/pretrain_gppt.py official repository ran no licence file found · pointer only · 310641cfd279407f · report
load4link_prediction_single_graph JasonZhujp/RELIEF/node_level/pretrain_gppt.py official repository unverified no licence file found · pointer only · 456c37ccc04762a6 · report
load4node JasonZhujp/RELIEF/node_level/preprocess.py official repository unverified no licence file found · pointer only · e59aa76a99f6ad62 · report
split_subgraph JasonZhujp/RELIEF/node_level/preprocess.py official repository unverified no licence file found · pointer only · 9ef4f85d40909997 · report
subgraph_node_num JasonZhujp/RELIEF/node_level/preprocess.py official repository unverified no licence file found · pointer only · da3dbf71c8d03d72 · report
tasknet_loss JasonZhujp/RELIEF/node_level/base.py official repository unverified no licence file found · pointer only · 53d5135d0826a45f · report

Tasks

Combinatorial OptimizationGraph Neural NetworkGraph Representation LearningReinforcement LearningReinforcement Learning (RL)Representation LearningSequential Decision Makingreinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Graph Neural Network

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections