Proceedings

A Unified Prompt for Enhancing Heterogeneous Graph Pre-training via Edge-based Message Passing

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 3160-3168.

https://doi.org/10.24963/ijcai.2026/351

Abstract

Inspired by natural language processing prompt learning, recent heterogeneous graph prompt-tuning methods have been developed to better align pre-trained models with downstream tasks. However, existing heterogeneous prompt methods primarily focus on holistic framework design, causing prompts to heavily depend on specific pre-trained models and thus limiting generalization. To address this, we focus on the common encoder module shared across pre-trained models and the multi-relational edge structure unique to heterogeneous graphs, proposing a novel heterogeneous graph prompt-tuning method named HGMRP. It simultaneously resolves the issue of inconsistent objectives during prompt optimization when messages propagate across different relational edges. By assigning learnable prompt vectors to different types of edges, HGMRP integrates multi-relational prompts directly into the message-passing process. Furthermore, we extend single-relation prompts into a composite structure that includes both relation-specific and shared components, thereby enhancing expressive capability. Extensive experiments conducted on four widely used heterogeneous graph datasets show that HGMRP can adapt to various types of pre-trained models and significantly outperforms existing heterogeneous prompt methods, validating its effectiveness and superiority.

  1. [Brown et al., 2020] Tom Brown, Benjamin Mann, Nick Ry- der, Melanie Subbiah, Jared D Kaplan, Prafulla Dhari- wal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learn- ers. In Advances in Neural Information Processing Sys- tems, volume 33, pages 1877-1901, 2020.
  2. [Cao et al., 2025] Yuwei Cao, Liangwei Yang, Zhiwei Liu, Yuqing Liu, Chen Wang, Yueqing Liang, Hao Peng, and Philip S. Yu. Graph-sequential alignment and uniformity: Toward enhanced recommendation systems. In Compan- ion Proceedings of the ACM on Web Conference 2025, WWW 2025, pages 888-892. ACM, 2025.
  3. [Devlin et al., 2019] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understand- ing. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171-4186, 2019.
  4. [Fang et al., 2023] Taoran Fang, Yunchao Zhang, Yang Yang, Chunping Wang, and Lei Chen. Universal prompt tuning for graph neural networks. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 -16, 2023, 2023.
  5. [Fu et al., 2020a] Xinyu Fu, Jiani Zhang, Ziqiao Meng, and Irwin King. MAGNN: metapath aggregated graph neural network for heterogeneous graph embedding. In WWW '20: The Web Conference 2020, pages 2331-2341, 2020.
  6. [Fu et al., 2020b] Xinyu Fu, Jiani Zhang, Ziqiao Meng, and Irwin King. MAGNN: metapath aggregated graph neural network for heterogeneous graph embedding. In WWW '20: The Web Conference 2020, pages 2331-2341. ACM / IW3C2, 2020.
  7. [Fu et al., 2025] Xingbo Fu, Yinhan He, and Jundong Li. Edge prompt tuning for graph neural networks. In The Thirteenth International Conference on Learning Repre- sentations, ICLR 2025, 2025.
  8. [Hu et al., 2019] Binbin Hu, Yuan Fang, and Chuan Shi. Adversarial learning on heterogeneous information net- works. In Proceedings of the 25th ACM SIGKDD Interna- tional Conference on Knowledge Discovery & Data Min- ing, KDD 2019, pages 120-129, 2019.
  9. [Hu et al., 2020] Ziniu Hu, Yuxiao Dong, Kuansan Wang, and Yizhou Sun. Heterogeneous graph transformer. In WWW '20: The Web Conference 2020, pages 2704-2710, 2020.
  10. [Huang et al., 2026] Yongqi Huang, Jitao Zhao, Dongxiao He, Xiaobao Wang, Yawen Li, Yuxiao Huang, Di Jin, and Zhiyong Feng. One prompt fits all: Universal graph adap- tation for pretrained models. Advances in Neural Informa- tion Processing Systems, 38:85497-85530, 2026.
  11. [Hui et al., 2025] Yunming Hui, Inez Maria Zwetsloot, Si- mon Trimborn, and Stevan Rudinac. Domain-informed negative sampling strategies for dynamic graph embed- ding in meme stock-related social networks. In Proceed- ings of the ACM on Web Conference 2025, WWW 2025, pages 518-529. ACM, 2025.
  12. [Jiao et al., 2025] Pengfei Jiao, Jialong Ni, Di Jin, Xuan Guo, Huan Liu, Hongjiang Chen, and Yanxian Bi. HGMP: heterogeneous graph multi-task prompt learning. In Pro- ceedings of the Thirty-Fourth International Joint Confer- ence on Artificial Intelligence, IJCAI 2025, pages 2982- 2990, 2025. IJCAI
  13. [Jing et al., 2021] Baoyu Jing, Chanyoung Park, and Hang- hang Tong. HDMI: high-order deep multiplex infomax. In WWW '21: The Web Conference 2021, pages 2414-2424, 2021.
  14. [Liu et al., 2023] Zemin Liu, Xingtong Yu, Yuan Fang, and Xinming Zhang. Graphprompt: Unifying pre-training and downstream tasks for graph neural networks. In Proceed- ings of the ACM Web Conference 2023, page 417-428, 2023.
  15. [Lv et al., 2021] Qingsong Lv, Ming Ding, Qiang Liu, Yuxi- ang Chen, Wenzheng Feng, Siming He, Chang Zhou, Jian- guo Jiang, Yuxiao Dong, and Jie Tang. Are we really mak- ing much progress?: Revisiting, benchmarking and refin- ing heterogeneous graph neural networks. In KDD '21: The 27th ACM SIGKDD Conference on Knowledge Dis- covery and Data Mining, pages 1150-1160, 2021.
  16. [Ma et al., 2024] Yihong Ma, Ning Yan, Jiayu Li, Masood S. Mortazavi, and Nitesh V. Chawla. Hetgpt: Harnessing the power of prompt tuning in pre-trained heterogeneous graph neural networks. In Proceedings of the ACM on Web Conference 2024, WWW 2024, pages 1015-1023. ACM, 2024.
  17. [Mo et al., 2024] Yujie Mo, Feiping Nie, Ping Hu, Heng Tao Shen, Zheng Zhang, Xinchao Wang, and Xiaofeng Zhu. Self-supervised heterogeneous graph learning: a ho- mophily and heterogeneity view. In The Twelfth Inter- national Conference on Learning Representations, ICLR 2024, 2024.
  18. [Park et al., 2020] Chanyoung Park, Donghyun Kim, Jiawei Han, and Hwanjo Yu. Unsupervised attributed multiplex network embedding. In The Thirty-Fourth AAAI Confer- ence on Artificial Intelligence, AAAI 2020, pages 5371- 5378. AAAI Press, 2020.
  19. [Radford et al., 2018] Alec Radford, Karthik Narasimhan, Tim Salimans, Ilya Sutskever, et al. Improving language understanding by generative pre-training, 2018.
  20. [Sun et al., 2023] Xiangguo Sun, Hong Cheng, Jia Li, Bo Liu, and Jihong Guan. All in one: Multi-task prompt- ing for graph neural networks. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, 2023.
  21. [Tian et al., 2023] Yijun Tian, Kaiwen Dong, Chunhui Zhang, Chuxu Zhang, and Nitesh V. Chawla. Hetero- geneous graph masked autoencoders. In Thirty-Seventh AAAI Conference on Artificial Intelligence, AAAI 2023, pages 9997-10005, 2023.
  22. [Velickovic et al., 2018] Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. In 6th Inter- national Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 -May 3, 2018, Conference Track Proceedings. OpenReview.net, 2018.
  23. [Wang et al., 2019] Xiao Wang, Houye Ji, Chuan Shi, Bai Wang, Yanfang Ye, Peng Cui, and Philip S. Yu. Hetero- geneous graph attention network. In The World Wide Web Conference, WWW 2019, pages 2022-2032, 2019.
  24. [Wang et al., 2021] Xiao Wang, Nian Liu, Hui Han, and Chuan Shi. Self-supervised heterogeneous graph neural network with co-contrastive learning. In KDD '21: The 27th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 1726-1736, 2021.
  25. [Yu et al., 2024] Xingtong Yu, Yuan Fang, Zemin Liu, and Xinming Zhang. Hgprompt: Bridging homogeneous and heterogeneous graphs for few-shot prompt learning. In Thirty-Eighth AAAI Conference on Artificial Intelligence, AAAI 2024, pages 16578-16586. AAAI Press, 2024.
  26. [Zhao et al., 2020] Jianan Zhao, Xiao Wang, Chuan Shi, Zekuan Liu, and Yanfang Ye. Network schema preserving heterogeneous information network embedding. In Pro- ceedings of the Twenty-Ninth International Joint Confer- ence on Artificial Intelligence, IJCAI 2020, pages 1366- 1372. ijcai.org, 2020. IJCAI

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards