cs.LGMay 17, 2025

Relation-Aware Graph Foundation Model

Authors: Jianxiang Yu, Jiapeng Zhu, Yibo Zhao, Hao Qian, Ziqi Liu, Zhiqiang Zhang, Xiang Li

Organizations: School of Data Science and Engineering, East China Normal University · Ant Group

Abstract

In recent years, large language models (LLMs) have demonstrated remarkable capability to generalize across diverse natural language processing tasks, inspiring the development of graph foundation models (GFMs) for large-scale pre-training. However, unlike language models with explicit token units, graphs lack a well-defined unit for generalization, making it challenging to design effective pre-training strategies. In this work, we propose REEF, a novel GFM framework that leverages relation tokens as the fundamental units. We construct a vocabulary of relation tokens to encode relational information within graphs. To accommodate diverse relations, we introduce two hypernetworks that adaptively generate the parameters of aggregators and classifiers in graph neural networks based on relation tokens. In addition, we design another hypernetwork to construct dataset-specific projectors and incorporate a dataset-level feature bias into the initial node representations, enhancing flexibility across different datasets with the same relation. Extensive experiments demonstrate that REEF consistently outperforms existing methods in both pre-training and transfer learning, highlighting its potential as a general-purpose graph foundation model.

Figures & tables

Appendix figures & tables14 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning Graph Foundation Models on Riemannian Graph-of-Graphs

    May 11, 2026Haokun Liu, Zezhong Ding, Xike XieGraph Foundation ModelGraph Representation Learning

  2. Surprisingly Simple and Effective Multi-Domain Graph Foundation Model through Graph-to-Table Alignment

    Jul 13, 2026Chunyu Hu, Tianyin Liao, Ge Lan +4Graph Foundation ModelTabular Foundation Models

  3. Empowering Heterogeneous Graph Foundation Models via Decoupled Relation Alignment

    May 1, 2026Ziyu Zheng, Yaming Yang, Zhe Wang +2Graph Foundation ModelSubspace