Manuscript Offprint

arXiv:2610.38335

Learning a Prior-Data Fitted Network for Graph Foundation Models via Structural Causal Model Priors

Ziwei Zhang, Tianyin Liao, Chunyu Hu, Ge Lan, Nuo Xu, Yi Huang, Qingyun Sun, Xingxuan Zhang, Peng Cui, Jianxin Li

Ziwei Zhang

Beihang University

Haidian District, Beijing, China

zwzhang@buaa.edu.cn

Ge Lan

Nankai University

Binhai New Area, Tianjin, China

grettelan@mail.nankai.edu.cn

Qingyun Sun

Beihang University

Haidian District, Beijing, China

sunqy@buaa.edu.cn

Tianyin Liao

Nankai University

Binhai New Area, Tianjin, China

1120230329@mail.nankai.edu.cn

Nuo Xu

Tsinghua University

Haidian District, Beijing, China

xunuo0109@hotmail.com

Xingxuan Zhang

Tsinghua University

Haidian District, Beijing, China

xingxuanzhang@hotmail.com

Chunyu Hu

Nankai University

Binhai New Area, Tianjin, China

huchunyu@mail.nankai.edu.cn

Yi Huang

Beihang University

Haidian District, Beijing, China

yihuang@buaa.edu.cn

Peng Cui

Tsinghua University

Haidian District, Beijing, China

cuip@tsinghua.edu.cn

Jianxin Li

Beihang University

Haidian District, Beijing, China

lijx@buaa.edu.cn

Abstract

Graph Foundation Models (GFMs) have recently emerged as a promising paradigm for learning transferable representations across different graphs and domains. However, existing GFMs face notable limitations, including limited pre-training scale or reliance on aligning with textual information in Large Language Models (LLMs). To overcome these limitations, recent studies have drawn inspiration from prior-data fitted networks (PFNs), which learn from large synthetic datasets and support multi-domain prediction backed by causal learning. However, existing graph PFNs encounter severe difficulties in modeling causal relationships within and across node and edge sets, generating diverse graph structures, and designing suitable architectures that can learn from complex synthetic datasets. To address these challenges, we propose GSCM-PFN (Graph SCM-based Prior-Data Fitted Network), a graph PFN pre-trained on synthetic data generated from an SCM-based prior that jointly models nodes and graph topology. Specifically, we first design a joint feature-edge-label SCM to guide the generation of nodes and edges in synthetic graphs, enabling the PFN to capture causal relationships within and across node and edge sets. Next, we introduce a prior-guided node-edge dependency modeling module that instantiated diverse synthetic graph generation strategies. We prove that our SCM-based graph generation strategy is more expressive than existing priors. Finally, we propose a feature-permutation-invariant dual-path graph network to learn from diverse synthetic graph data with theoretical guarantees. Experiments on 23 real-world benchmarks show that GSCM-PFN outperforms both conventional GFMs and PFN-based GFMs, without utilizing real-world graph data for pre-training. Our code is available at https://anonymous.4open.science/r/GSCM-PFN-A3A3/.

CCS Concepts

• Mathematics of computing → Graph algorithms; • Computing methodologies → Neural networks.

References (11)