Computer Science > Machine Learning
[Submitted on 4 Dec 2023 (v1), last revised 26 Aug 2024 (this version, v8)]
Title:HGPROMPT: Bridging Homogeneous and Heterogeneous Graphs for Few-shot Prompt Learning
View PDF HTML (experimental)Abstract:Graph neural networks (GNNs) and heterogeneous graph neural networks (HGNNs) are prominent techniques for homogeneous and heterogeneous graph representation learning, yet their performance in an end-to-end supervised framework greatly depends on the availability of task-specific supervision. To reduce the labeling cost, pre-training on self-supervised pretext tasks has become a popular paradigm,but there is often a gap between the pre-trained model and downstream tasks, stemming from the divergence in their objectives. To bridge the gap, prompt learning has risen as a promising direction especially in few-shot settings, without the need to fully fine-tune the pre-trained model. While there has been some early exploration of prompt-based learning on graphs, they primarily deal with homogeneous graphs, ignoring the heterogeneous graphs that are prevalent in downstream applications. In this paper, we propose HGPROMPT, a novel pre-training and prompting framework to unify not only pre-training and downstream tasks but also homogeneous and heterogeneous graphs via a dual-template design. Moreover, we propose dual-prompt in HGPROMPT to assist a downstream task in locating the most relevant prior to bridge the gaps caused by not only feature variations but also heterogeneity differences across tasks. Finally, we thoroughly evaluate and analyze HGPROMPT through extensive experiments on three public datasets.
Submission history
From: Xingtong Yu [view email][v1] Mon, 4 Dec 2023 13:20:15 UTC (3,002 KB)
[v2] Sun, 10 Dec 2023 06:47:33 UTC (3,002 KB)
[v3] Thu, 14 Dec 2023 14:47:32 UTC (3,003 KB)
[v4] Fri, 15 Dec 2023 04:09:44 UTC (3,003 KB)
[v5] Fri, 5 Jan 2024 09:35:52 UTC (2,647 KB)
[v6] Wed, 24 Jan 2024 08:11:38 UTC (2,647 KB)
[v7] Sun, 28 Jan 2024 11:45:20 UTC (2,647 KB)
[v8] Mon, 26 Aug 2024 10:13:43 UTC (2,647 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender
(What is IArxiv?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.