Can TabPFN Compete with GNNs for Node Classification via Graph Tabularization?

Jeongwhan Choi, Woosung Kang, Minseo Kim, Jongwoo Kim, Noseong ParkarXiv 2025 · OpenReview

Abstract: Foundation models pretrained on large data have demonstrated remarkable zero-shot generalization capabilities across domains. Building on the success of TabPFN for tabular data and its recent extension to time series, we investigate whether graph node classification can be effectively reformulated as a tabular learning problem. We introduce TabPFN-GN, which transforms graph data into tabular features by extracting node attributes, structural properties, positional encodings, and optionally smoothed neighborhood features. This enables TabPFN to perform direct node classification without any graph-specific training or language model dependencies. Our experiments on 12 benchmark datasets reveal that TabPFN-GN achieves competitive performance with GNNs on homophilous graphs and consistently outperforms them on heterophilous graphs. These results demonstrate that principled feature engineering can bridge the gap between tabular and graph domains, providing a practical alternative to task-specific GNN training and LLM-dependent graph foundation models.

Introduction

Traditionally, Graph Neural Networks (GNNs) have been the primary tool for node classification, requiring custom architectures and dataset-specific training. While "Graph Foundation Models" have recently emerged to provide more generalizable solutions, they often rely heavily on Large Language Models (LLMs). This dependency creates bottlenecks, including text dependency, high computational costs, and potential linguistic biases. This paper explores a provocative alternative: can we treat a graph node as a row in a table and leverage powerful, pretrained tabular foundation models?

The TabPFN-GN Framework

The authors propose TabPFN-GN, a framework that "tabularizes" graph data to enable direct node classification using the pretrained TabPFN model. TabPFN is a Prior-Data Fitted Network (PFN) trained on millions of synthetic tabular datasets to perform instant, in-context classification without any fine-tuning.

The TabPFN-GN pipeline: transforming graph structure and node attributes into tabular features for zero-shot classification.

Graph Tabularization

To capture the essential information of a graph in a tabular format, TabPFN-GN extracts four types of features for each node:

  • Node Attributes: Raw features are used directly or compressed via Truncated SVD for high-dimensional data.
  • Structural Features: These capture the node's topological role, including local patterns (degree, clustering coefficient) and global patterns (PageRank, Betweenness centrality).
  • Positional Encodings (PE): These provide a coordinate system for the graph, using Laplacian PE or Random Walk Structural Encodings (RWSE) to distinguish nodes with similar local structures.
  • Optional Smoothing: Features aggregated from neighbors via linear graph convolutions can be included to mimic the neighborhood-averaging effect of GNNs.

Key Results

TabPFN-GN was evaluated on 12 diverse benchmark datasets, demonstrating strong performance without any graph-specific training.

Competitive Performance on Homophily

On homophilous graphs (where neighbors tend to be similar), TabPFN-GN achieves results competitive with established GNNs like GCN, GAT, and GraphSAGE. On datasets like Pubmed and WikiCS, it ranked first among the compared models.

Performance comparison of TabPFN-GN against standard GNN baselines on homophilous datasets.

Superiority on Heterophilous Graphs

The framework's most significant advantage appears in heterophilous graphs (where neighbors are dissimilar). Standard GNNs often struggle here because their neighborhood smoothing operation can wash out critical differences. TabPFN-GN treats neighborhood information as just another feature, allowing it to adaptively ignore noisy neighbor data. It consistently outperformed both standard GNNs and specialized heterophily models in 5 out of 6 datasets.

Conclusion

TabPFN-GN demonstrates that principled feature engineering can effectively bridge the gap between tabular and graph domains. By extracting structural and positional information into a tabular format, researchers can leverage the zero-shot generalization capabilities of models like TabPFN. This approach provides a practical, efficient alternative to task-specific GNN training and resource-intensive LLM-based graph models.

Summary updated

BibTeX
@misc{choi2025can,
  author = {Jeongwhan Choi and Woosung Kang and Minseo Kim and Jongwoo Kim and Noseong Park},
  title = {{Can TabPFN Compete with GNNs for Node Classification via Graph Tabularization?}},
  year = {2025},
  eprint = {2512.08798},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.08798},
}
Figure