atlas

Research map / Graph learning / GNN architectures

HePa: Heterogeneous Graph Prompting for All-Level Classification Tasks

AAAI 2025 · Graph learning › GNN architectures · approach: Graph structure learning · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes HePa, a heterogeneous graph prompting framework that uses a unified prompt template-graph with prototype nodes and a learnable pre-prompt token to enable in-context learning for node, edge, and graph classification in few-shot settings.

Problem

Heterogeneous graph prompt learning is limited to the "prompt as tokens" paradigm, cannot handle all levels (node, edge, graph) of classification downstream, and randomly initialized downstream prompts give incomplete task representations.

Approach

Builds HGNN-compatible prompt template-graphs with a virtual prompt node and class prototype nodes (computed from k-shot support subgraphs), pretrains jointly on all-level tasks, and optimizes a pre-prompt token per task level during upstream training so downstream tasks get task information via in-context learning without fine-tuning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add the full HePa prompt mechanism, including a separate prompt node (ablation)HePa · IMDB node classificationaccuracy: 47.16 -> 54.53Helped
Add task information using the Pre-prompt token (ablation)HePa · IMDB node classificationaccuracy: 50.72 -> 54.53Helped
Use the computed prototype feature instead of average labeled-node features (ablation)HePa · IMDB node classificationaccuracy: 51.82 -> 54.53Helped
Add the full HePa prompt mechanism, including a separate prompt node (ablation)HePa · ACM graph classificationaccuracy: 30.81 -> 40.51Helped
Add task information using the Pre-prompt token (ablation)HePa · ACM edge classificationaccuracy: 42.38 -> 57.21Helped
Use the computed prototype feature instead of average labeled-node features (ablation)HePa · ACM edge classificationaccuracy: 52.19 -> 57.21Helped
Use HePa rather than HGPromptFew-shot node classification · IMDBaccuracy: 51.73± 7.86 -> 54.53± 6.82Helped
Use HePa rather than HGPromptFew-shot graph classification · DBLPaccuracy: 56.49±11.68 -> 61.08± 8.13Helped
Use HePa rather than MAGNNFew-shot edge classification · ACMaccuracy: 45.36± 1.78 -> 57.21± 6.05Helped

Surprising findings

Limitations

Experimental setup

Datasets: IMDB DBLP ACM

Benchmarks: IMDB DBLP ACM

Metrics: accuracy

Baselines: GAT GCN HAN MAGNN GraphCL HeCo GPPT GraphPrompt HGPrompt

Builds on: GraphPrompt HGPrompt PRODIGY One-for-All R-GCN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy