Introduction
In the fields of Natural Language Processing and Computer Vision, Foundation Models (FMs) have become the standard paradigm: large-scale pretraining on massive datasets followed by fine-tuning on specific downstream tasks. However, developing FMs for graphs remains a significant challenge. The primary obstacle is the fundamental incompatibility between graph domains; for instance, the node features of a social network (demographics) differ entirely from those of a molecular graph (atom types).
To achieve a true Graph Foundation Model, architectures must be feature-agnostic—capable of processing diverse graphs without relying on specific feature encodings, while still capturing transferable structural patterns. This paper investigates the efficacy of cross-dataset transfer in pretrained Graph Neural Networks (GNNs) and introduces a novel approach to bridge the feature gap.
Methodology: Feature-Structuralization
The authors build upon GPSE (Graph Positional and Structural Encoder), a framework that pretrains GNNs on featureless graphs to predict structural properties like Laplacian eigenvectors. To incorporate categorical information without sacrificing feature-agnosticism, the authors propose Feature-Structuralization.
In this process, categorical features are converted into pure graph structure. For each feature category (e.g., a specific atom type), an abstract "feature-node" is created and connected to every original node possessing that feature. The explicit labels are then discarded, leaving the GNN to process an augmented, abstract topology. This allows the model to learn how features interact with structure while remaining technically feature-agnostic.
Experimental Framework
The study focuses on the biochemical domain using three primary datasets:
- ZINC-12k: Small molecules with a single node feature category.
- ogbg-molpcba: Small molecules with nine feature categories.
- peptides-func: Long amino acid chains sharing feature categories with
molpcbabut possessing distinct structural properties.
Models were pretrained on various dataset combinations and evaluated on downstream tasks with varying training data fractions (1%, 10%, 25%, and 50%) to assess generalization limits.
Key Results and Discussion
The Data Threshold for Pretraining
A critical finding is that pretraining is not a universal remedy for low-data regimes. As shown in the performance metrics, injecting pretrained embeddings can actually degrade performance if the downstream dataset is too small. The model requires a minimum threshold of data to learn how to effectively utilize pretrained representations without overfitting to noise.
On the ZINC dataset, pretrained models began outperforming baselines at the 10% data mark. Conversely, on the peptides dataset, pretraining was detrimental at 10% and only provided clear benefits when 50% of the training data was available.
Transferability and Feature Semantics
While mixing multiple datasets during pretraining generally improves structural generalization, the success of Feature-Structuralization is highly dependent on feature semantics. The method excels when source and target datasets share similar feature spaces (e.g., molpcba to peptides). However, when feature spaces are entirely dissimilar (e.g., molpcba to ZINC), the model struggles to generalize, suggesting that structuralizing features currently relies on underlying semantic commonalities.
Conclusion and Future Work
Feature-Structuralization offers a promising path toward feature-agnostic GNNs, though it introduces increased complexity in pretraining tasks. Future research should focus on extending this analysis to non-molecular domains, such as social networks, and developing strategies to handle continuous features (e.g., 3D coordinates) within a structuralized framework. Ultimately, the goal is to design architectures that are natively compatible with these augmented, structuralized graph representations.
Summary updated