Abstract
While Foundation Models (FMs) have revolutionized natural language processing and computer vision, developing universal Graph Foundation Models (GFMs) remains challenging due to extreme feature heterogeneity across domains. This paper introduces G2T-FM (Graph-to-Table Foundation Model), a framework that repurposes Tabular Foundation Models (TFMs) to solve graph machine learning tasks. By augmenting node features with structural and neighborhood information, G2T-FM enables TFMs to outperform specialized graph models and traditional Graph Neural Networks (GNNs) in both zero-shot "in-context" and fine-tuned settings.
Introduction
The primary hurdle in creating general-purpose GFMs is the diversity of node attributes; for instance, social networks utilize user profiles while molecular graphs rely on atomic properties. Most current GFMs bypass this by focusing exclusively on text-attributed graphs using Large Language Models (LLMs). However, many critical real-world applications—such as fraud detection and traffic prediction—depend on arbitrary numerical and categorical data. G2T-FM addresses this gap by "tabularizing" graph data, allowing it to leverage the robust generalization capabilities of pretrained tabular models.
Methodology: The G2T-FM Framework
The core insight of G2T-FM is that a node in a graph can be treated as a row in a table if its neighborhood and structural position are encoded as additional columns. The framework follows a three-step augmentation process to prepare data for a TFM backbone (such as TabPFNv2 or LimiX):
- Neighborhood Feature Aggregation (NFA): Local context is captured by calculating statistics (mean, max, min) of a node's neighbors' features.
- Structural Features (SF): Classic graph metrics, including node degree, PageRank, and Laplacian eigenvectors, are extracted to provide a sense of relative positioning within the graph topology.
- Learnable Encodings (PEARL): A randomly initialized GNN generates additional node embeddings to break structural symmetries that simple statistics might overlook.
These augmented features are concatenated and fed into the TFM, which can then be utilized for In-Context Learning (ICL)—making predictions on unseen graphs without further training—or through standard Finetuning (FT).
Experimental Evaluation
The authors evaluated G2T-FM across two distinct collections: eight non-textual (tabular) graphs from the GraphLand benchmark (e.g., social networks, road networks) and five classic text-based benchmarks (e.g., PubMed, Facebook).
Key Results
The experimental results highlight the superiority of the "Graphs as Tables" paradigm over existing specialized GFMs and traditional GNNs:
- In-Context Superiority: In a zero-shot regime, G2T-LimiX achieved an Average Rank (AR) of 3.12 on tabular datasets, significantly outperforming the best-trained GNN baseline (GAT, AR 5.12).
- Finetuning Dominance: When fine-tuned, G2T-LimiX reached an AR of 1.38, establishing itself as the clear leader across the benchmark suite.
- Robust Generalization: Surprisingly, many existing GFMs (like OpenGraph or AnyGraph) performed worse than well-tuned traditional GNNs, whereas TFMs demonstrated remarkable robustness when applied to graph structures.
Discussion and Limitations
While G2T-FM demonstrates powerful performance, it inherits certain limitations from its underlying TFM backbones. Current models like TabPFNv2 are restricted to small-to-medium datasets (approximately 10,000 samples) and a limited number of classes. Furthermore, while G2T-FM is highly effective for tabular data, specialized text-processing models may still maintain an edge on graphs where raw text is the primary feature source. Future work will focus on improving scalability and integrating more complex multi-hop aggregation mechanisms to capture even more intricate graph topologies.
Summary updated