LLM as GNN: Graph Vocabulary Learning for Text-Attributed Graph Foundation Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhu, Xi, Xue, Haochen, Zhao, Ziwei, Xu, Wujiang, Huang, Jingyuan, Guo, Minghao, Wang, Qifan, Zhou, Kaixiong, Razzak, Imran, Zhang, Yongfeng
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909854977753088
author Zhu, Xi
Xue, Haochen
Zhao, Ziwei
Xu, Wujiang
Huang, Jingyuan
Guo, Minghao
Wang, Qifan
Zhou, Kaixiong
Razzak, Imran
Zhang, Yongfeng
author_facet Zhu, Xi
Xue, Haochen
Zhao, Ziwei
Xu, Wujiang
Huang, Jingyuan
Guo, Minghao
Wang, Qifan
Zhou, Kaixiong
Razzak, Imran
Zhang, Yongfeng
contents Text-Attributed Graphs (TAGs), where each node is associated with text descriptions, are ubiquitous in real-world scenarios. They typically exhibit distinctive structure and domain-specific knowledge, motivating the development of a Graph Foundation Model (GFM) that generalizes across diverse graphs and tasks. Despite large efforts to integrate Large Language Models (LLMs) and Graph Neural Networks (GNNs) for TAGs, existing approaches suffer from decoupled architectures with two-stage alignment, limiting their synergistic potential. Even worse, existing methods assign out-of-vocabulary (OOV) tokens to graph nodes, leading to graph-specific semantics, token explosion, and incompatibility with task-oriented prompt templates, which hinders cross-graph and cross-task transferability. To address these challenges, we propose PromptGFM, a versatile GFM for TAGs grounded in graph vocabulary learning. PromptGFM comprises two key components: (1) Graph Understanding Module, which explicitly prompts LLMs to replicate the finest GNN workflow within the text space, facilitating seamless GNN-LLM integration and elegant graph-text alignment; (2) Graph Inference Module, which establishes a language-based graph vocabulary ensuring expressiveness, transferability, and scalability, enabling readable instructions for LLM fine-tuning. Extensive experiments demonstrate our superiority and transferability across diverse graphs and tasks. The code is available at this: https://github.com/agiresearch/PromptGFM.
format Preprint
id arxiv_https___arxiv_org_abs_2503_03313
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LLM as GNN: Graph Vocabulary Learning for Text-Attributed Graph Foundation Models
Zhu, Xi
Xue, Haochen
Zhao, Ziwei
Xu, Wujiang
Huang, Jingyuan
Guo, Minghao
Wang, Qifan
Zhou, Kaixiong
Razzak, Imran
Zhang, Yongfeng
Machine Learning
Computation and Language
Text-Attributed Graphs (TAGs), where each node is associated with text descriptions, are ubiquitous in real-world scenarios. They typically exhibit distinctive structure and domain-specific knowledge, motivating the development of a Graph Foundation Model (GFM) that generalizes across diverse graphs and tasks. Despite large efforts to integrate Large Language Models (LLMs) and Graph Neural Networks (GNNs) for TAGs, existing approaches suffer from decoupled architectures with two-stage alignment, limiting their synergistic potential. Even worse, existing methods assign out-of-vocabulary (OOV) tokens to graph nodes, leading to graph-specific semantics, token explosion, and incompatibility with task-oriented prompt templates, which hinders cross-graph and cross-task transferability. To address these challenges, we propose PromptGFM, a versatile GFM for TAGs grounded in graph vocabulary learning. PromptGFM comprises two key components: (1) Graph Understanding Module, which explicitly prompts LLMs to replicate the finest GNN workflow within the text space, facilitating seamless GNN-LLM integration and elegant graph-text alignment; (2) Graph Inference Module, which establishes a language-based graph vocabulary ensuring expressiveness, transferability, and scalability, enabling readable instructions for LLM fine-tuning. Extensive experiments demonstrate our superiority and transferability across diverse graphs and tasks. The code is available at this: https://github.com/agiresearch/PromptGFM.
title LLM as GNN: Graph Vocabulary Learning for Text-Attributed Graph Foundation Models
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2503.03313