TL;DR
This paper surveys the emerging field of "graph prompt learning," which adapts powerful pre-trained models to graph-structured data using task-specific prompts. It aims to bridge the gap between successful prompt learning in NLP/CV and its nascent application in graphs, offering a comprehensive taxonomy, analysis of methods, and future directions.
What Problem Does This Paper Address?
The success of "pre-train and prompt learning" in domains like NLP and Computer Vision has been remarkable, allowing large models to adapt to new tasks with minimal data. However, applying these paradigms to graph-structured data is challenging. Graphs have unique complexities: disparate node/edge features and intricate topological structures that differ significantly from pre-training data. This mismatch creates a "gap" that hinders effective transfer learning. This survey aims to bridge this gap by systematically reviewing and categorizing existing approaches to graph prompt learning, highlighting their design principles, applications, and challenges.
Methods
The paper provides a comprehensive taxonomy of graph prompt learning methods, categorizing them based on:
- Prompt Design Principles:
- Tokenization: How information is segmented and represented as prompts, including node tokens (for features), structure tokens (for local/global graph patterns), and task tokens (for specific task objectives).
- Alignment Strategy: How prompts bridge the gap between pre-trained and downstream tasks, focusing on node-level (e.g., cross-entropy for node classification) and graph-level alignment (e.g., contrastive learning for graph classification).
- Prompt Tuning: Strategies for optimizing prompts, including tuning in line with pre-training objectives and task-oriented tuning.
- Prompting Paradigms:
- Input Graph Prompting: Modifying the input graph by adding virtual nodes or edges.
- Model Output Prompting: Adjusting the output of Graph Neural Networks (GNNs) to incorporate prompt information.
- Heterogeneous Graph Prompting: Specialized methods for graphs with diverse node and edge types, using function-based or template-based approaches.
The survey also contrasts graph prompt learning with traditional graph pre-training/fine-tuning and few-shot learning, emphasizing its efficiency and flexibility.
Datasets
The paper discusses various datasets used for evaluating graph prompt learning methods, broadly categorized into:
- Homogeneous Datasets:
- Citation Networks: Cora, Citeseer, PubMed, CoraFull, ogbn-arxiv, DBLP.
- Social Networks: Reddit, REDDIT-BINARY, REDDIT-MULTI-5K, REDDIT-MULTI-12K, Flickr, COLLAB.
- Molecular/Biological Datasets: PROTEINS, COX2, ENZYMES, BZR (often simplified to homogeneous for experiments).
- Heterogeneous Datasets:
- WebKB Webpage: Cornell, Texas, Wisconsin.
- Author Co-occurrence: Wikipedia.
- Other: Chameleon, Squirrel.
The paper notes that while molecular and biological graphs are inherently heterogeneous, they are often treated as homogeneous for experimental purposes. It also highlights challenges in dataset standardization and reporting.
Key Insights and Ideas
- Bridging the Pre-train/Fine-tune Gap: Graph prompt learning offers a more efficient and flexible way to adapt pre-trained models to new graph tasks compared to traditional fine-tuning, which can be computationally intensive and prone to overfitting.
- The Power of Prompts in Graphs: Prompts, inspired by NLP, can effectively guide GNNs by injecting task-specific information, improving performance without extensive retraining. This is crucial for handling the unique structural and feature disparities in graph data.
- Heterogeneity is Key: Real-world graphs are often heterogeneous. The survey emphasizes the growing importance of methods that can handle diverse node and edge types, moving beyond simpler homogeneous graph assumptions.
- LLMs as Enablers: Large Language Models (LLMs) are increasingly integrated into graph learning, particularly for text-attributed graphs, by generating prompts or enhancing node features, leading to improved performance and zero-shot capabilities.
- Need for Theoretical Grounding: Much of the current work in graph prompt learning is empirically driven. There's a significant need for theoretical foundations to explain why prompts work and to guide more robust and generalizable designs.
Key Results
The paper is a survey, so it doesn't present new experimental results. Instead, it synthesizes findings from over 100 existing works. Key qualitative findings highlighted include:
- Graph prompt learning significantly reduces the need for extensive labeled data and computational resources.
- It enhances model adaptability and applicability across a wide range of downstream tasks.
- Methods are being developed to address specific challenges like molecular property prediction, drug-drug interactions, text-attributed graph analysis, and recommendation systems.
- The integration of LLMs with GNNs via prompting shows promise for tasks involving both textual and structural information.
Limitations and Future Work
The authors identify several key limitations and suggest future research directions:
- Theoretical Foundations: A lack of comprehensive theoretical analysis explaining the effectiveness of graph prompts and their transferability. Future work should focus on establishing robust theoretical frameworks.
- Robustness: Graph prompt methods are hypothesized to be more robust than fine-tuning, but this needs empirical validation, especially against adversarial attacks and during optimization.
- Standardization: Discrepancies in dataset reporting and a lack of unified standards for evaluation criteria hinder reproducible research. Future work should focus on standardizing datasets and evaluation protocols.
- Universal Applicability: While NLP prompts are broadly applicable, graph prompts are often task-specific due to graph variability. Developing more universally applicable prompting mechanisms is a key challenge.
- Improving Expressiveness: Exploring how graph prompts can amplify the inherent expressiveness of GNNs and transcend their limitations is an important research avenue.
Summary updated