Learning Posterior Predictive Distributions for Node Classification from Synthetic Graph Priors

Jeongwhan Choi, Jongwoo Kim, Woosung Kang, Noseong Park
4/21/2026
20 citations
cs.LG
gnn

No official code found. Best implementation: jeongwhanchoi/NodePFN (21 stars, Apache-2.0, last commit 2026-04-02).

Abstract

One of the most challenging problems in graph machine learning is generalizing across graphs with diverse properties. Graph neural networks (GNNs) face a fundamental limitation: they require separate training for each new graph, preventing universal generalization across diverse graph datasets.

Show full abstract

A critical challenge facing GNNs lies in their reliance on labeled training data for each individual graph, a requirement that hinders the capacity for universal node classification due to the heterogeneity inherent in graphs -- differences in homophily levels, community structures, and feature distributions across datasets. Inspired by the success of large language models (LLMs) that achieve in-context learning through massive-scale pre-training on diverse datasets, we introduce NodePFN. This universal node classification method generalizes to arbitrary graphs without graph-specific training. NodePFN learns posterior predictive distributions (PPDs) by training only on thousands of synthetic graphs generated from carefully designed priors. Our synthetic graph generation covers real-world graphs through the use of random networks with controllable homophily levels and structural causal models for complex feature-label relationships. We develop a dual-branch architecture combining context-query attention mechanisms with local message passing to enable graph-aware in-context learning. Extensive evaluation on 23 benchmarks demonstrates that a single pre-trained NodePFN achieves 71.27 average accuracy. These results validate that universal graph learning patterns can be effectively learned from synthetic priors, establishing a new paradigm for generalization in node classification.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

"NodePFN: Learning Posterior Predictive Distributions for Node Classification from Synthetic Graph Priors", ICLR 2026

215Mar 26, 20268 months agoApache-2.0

Similar Papers

Cite this paper

@article{choi2026learning,
  title  = {Learning Posterior Predictive Distributions for Node Classification from Synthetic Graph Priors},
  author = {Jeongwhan Choi and Jongwoo Kim and Woosung Kang and Noseong Park},
  year   = {2026},
  eprint = {2604.19028},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.19028v1},
  journal = {ICLR 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.19028.svg)](https://codeofpaper.com/paper/2604.19028)

Discussion