cs.LGSep 28, 2026

The Universal Classifier for Graph Learning

Authors: Ben Finkelshtein, André Linhares, Petar Veličković, Bryan Perozzi, Mikhail Galkin

Organizations: Google Research · Google DeepMind

Abstract

While foundation models have revolutionized natural language processing and computer vision by leveraging universal vocabularies, Graph Machine Learning (GML) remains fractured due to the absence of a unified feature and structural representation across diverse domains. Existing works claiming to be Graph Foundation Models (GFMs) are typically restricted to node-level predictions or require fixed feature dimensions, failing to provide a truly task-agnostic backbone for the full spectrum of graph learning applications. In this paper, we introduce the Universal Classifier (UC), which supports arbitrary feature and class cardinalities, unifying node-, edge-, and graph-level objectives under a single similarity-based classification objective. The UC reformulates all node-, edge-, and graph-level prediction tasks as maximizing similarity in the latent space: by lifting heterogeneous features and labels into 3D latent tensors, the model learns transferable features independent of specific input schemas. This architecture allows a single pre-trained model to generalize to node classification, node regression, and link prediction across unseen graphs with varying feature semantics. Experiments show strong zero-shot transfer performance across node-, link-, and graph-level tasks.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. To Learn is to Wander: Learning Across Graphs and Tasks with Random Walks

    Oct 5, 2026Louis Tichelman, Xingyue Huang, Jinwoo Kim +1Multi-Task LearningGraph Transfer Learning

  2. Bridging Input Feature Spaces Towards Graph Foundation Models

    May 6, 2026Moshe Eliasof, Krishna Sri Ipsit Mantri, Beatrice Bevilacqua +2Graph Representation LearningTransfer Learning