TL;DR
Researchers have introduced GFMBenchmark, the first comprehensive framework to evaluate Graph Foundation Models (GFMs) across two distinct dimensions: topic (what the graph describes) and format (how it is represented). Their extensive evaluation of eight state-of-the-art models across 33 datasets reveals that while GFMs show promise, they often struggle with structural shifts—particularly in heterogeneous graphs—and don't always outperform simple, task-specific GNNs.
What Problem Does This Paper Address?
In the world of Natural Language Processing and Computer Vision, "Foundation Models" (like GPT-4 or CLIP) have set a gold standard: pre-train on everything, then adapt to anything. Graph Foundation Models (GFMs) aim to do the same for graph-structured data.
However, the authors argue that benchmarking GFMs has been fundamentally flawed. Domain shift in graphs is two-dimensional:
- Topic Domains: The "what" (e.g., a social network vs. a molecular graph).
- Format Domains: The "how" (e.g., a simple homogeneous graph vs. a complex heterogeneous or dynamic graph).
Existing benchmarks usually only vary the topic, keeping the format fixed. This makes it impossible to tell if a model is failing because it doesn't understand "biology" or because it can't handle the "relational format" of a specific dataset. This paper introduces a "two-axis" evaluation to disentangle semantic knowledge from structural robustness.
Methods
The authors developed a standardized pipeline to evaluate eight representative GFMs (including GCOPE, MDGPT, SAMGPT, G2P2, GraphCLIP, GFT, and UniGraph2).
They designed four controlled evaluation settings:
- Setting I (Extrapolation): Pre-train on diverse data, test on entirely unseen datasets.
- Setting II (Interpolation): Pre-train on diverse data, test on the same datasets (but for new tasks).
- Setting III (Topic Shift): Pre-train on one topic (e.g., Citations) and test on others (e.g., Finance).
- Setting IV (Format Shift): Pre-train on a "base" format (static, homogeneous) and test on complex formats (dynamic, heterogeneous).
To make this possible, they built a Unified Data Object Interface that canonicalizes 33 different datasets into a single format while preserving their unique semantic and structural metadata.
Datasets
The benchmark utilizes 33 datasets spanning:
- 7 Topic Domains: Citation, Social & Web, E-commerce, Common Sense, Finance, Molecule, and Protein.
- 6 Format Domains: Heterogeneous, Homophilic/Heterophilic, Relational, Dynamic, and Text-attributed.
This includes well-known datasets like ogbn-arxiv and Reddit, alongside specialized ones like T-Finance and FB15K-237.
Key Insights and Ideas
- No "One Model to Rule Them All": No single GFM dominated across all tasks. Performance was highly dependent on the specific dataset and task, suggesting we haven't reached a "GPT-3 moment" for graphs yet.
- The Heterogeneity Hurdle: GFMs generally handle topic shifts well, but they struggle significantly with heterogeneous graphs (graphs with different types of nodes and edges). Specialized, non-foundation models often still outperform general GFMs on these complex structures.
- Topic Proximity is a Lie: You might assume a model pre-trained on "Citations" would adapt better to "Social Networks" than to "Molecules." The authors found this isn't always true; dataset-level statistics (like graph scale and feature semantics) matter more than broad topic labels.
- The Text Trap: GFMs that rely on Large Language Models (LLMs) for feature encoding (like G2P2) perform excellently when text is available but degrade severely when adapting to "text-sparse" graphs.
Key Results
- GFMs vs. Supervised GNNs: GFMs generally outperform standard GNNs (like GCN or GAT) on unseen datasets, but the margin is inconsistent. On some datasets like ogbn-mag, a simple supervised GNN trained from scratch remained competitive.
- Zero-Shot/Few-Shot Potential: Leading GFMs showed strong one-shot performance on unseen targets, particularly on node classification tasks, proving that multi-domain pre-training does provide a useful "prior" for new domains.
- Format Robustness: Most GFMs are surprisingly robust to shifts in homophily (how similar connected nodes are) but fail when the fundamental schema changes (e.g., moving from static to dynamic interactions).
Limitations and Future Work
The authors identify a major bottleneck: Multi-domain knowledge integration. Current models struggle to fuse information from vastly different graph types without interference.
Future Directions: 1. Format-Aware Objectives: We need pre-training tasks that explicitly model typed structures and temporal dynamics rather than treating all graphs as uniform. 2. Better Alignment: Future research should focus on better aligning cross-domain signals (like text and structure) so that models don't become "underfit" when one modality is missing. 3. Dataset-Level Invariance: Moving beyond "topic" labels to find deeper, structural invariants that allow for more predictable transfer learning.
Source Code & Data: https://github.com/smufang/GFMBenchmark
Summary updated