Manuscript Offprint

arXiv:2609.11347

Reification as a Transferable Vocabulary: Zero-Shot Link Prediction with Vanilla GNNs

Camille Pradel

Abstract

Knowledge graph foundation models such as ULTRA achieve zero-shot link prediction on unseen graphs through dedicated architectures that hard-code a transfer mechanism. In this work we move that mechanism out of the architecture and into the representation, by reifying the input graph: every fact becomes a node, connected to its subject, object, and relation type through a fixed vocabulary of six meta-relations, with relation types as anonymous shared nodes rather than model parameters. On this representation, five textbook GNNs (GAT, GINE with sum and with mean+max aggregation, GraphSAGE, R-GCN), each trained on a single knowledge graph of 4,245 triples for 30 minutes on one NVIDIA A100, transfer zero-shot to 40 inductive link-prediction benchmarks. The best of them, an off-the-shelf GAT, matches ULTRA, a dedicated foundation model pretrained on three graphs, across ULTRA's own evaluation suite. The same fixed vocabulary extends to relational databases, a row becoming an entity and a foreign-key column a relation type; a preliminary probe on two unseen databases, with no cell values, schema text or in-context labels, shows a model of this family pretrained on three knowledge graphs ranking foreign-key targets far above random-initialization and degree controls. We release the code, the checkpoints, and the evaluation pipeline for all 40 benchmarks.

1 Introduction

The foundation-model recipe (pre-train on broad data, apply zero-shot to unseen inputs) rests on a shared input vocabulary. A language model can read any document because every document is written in the same tokens. Relational data offers no such shared vocabulary. Every knowledge graph names its own entities and its own relation types; every relational database adds one more private layer: a schema of tables and columns found nowhere else, its foreign keys playing the role of a knowledge graph's relation types. Any model that allocates parameters to a vocabulary item (an entity embedding, a relation embedding, a per-table encoder) is structurally unable to read the next dataset. Recent position work on graph foundation models identifies exactly this as the central open problem: finding a transferable vocabulary shared across graphs (Mao et al., 2024).

Two research lines answer it today, each confined to one data model and each with a dedicated architecture. On the knowledge graph side, knowledge graph foundation models (KGFMs) achieve structural transfer: ULTRA (Galkin et al., 2024) conditions on the query and learns relative relation representations built from a relation graph with four fixed relation-to-relation interactions; TRIX, MOTIF, and Gamma refine the same design (Zhang et al., 2025; Huang et al., 2025; Xin et al., 2025); Flock replaces message passing with random-walk sequence encoding (Kim et al., 2025); prompt- and in-context variants condition a pretrained reasoner with graph prompts (Cui et al., 2024; Wang et al., 2024), and SEMMA adds text embeddings of relation names (Arun et al., 2025). These models generalize to unseen entities and relations, but they are KG-only, and each hard-codes its transfer mechanism into a bespoke architecture. On the relational database side, relational foundation models transfer through a mix of schema text and in-context conditioning: the Relational Transformer (Ranjan et al., 2026) tokenizes every cell with its column name and value text, while KumoRFM (Hudovernik et al., 2026) learns in-context over a relational graph transformer. These generalize to unseen schemas, but they are RDB-only. A knowledge graph can certainly be stored as a database, as one triple table or as one table per relation type, and its relation names then provide a thin layer of schema text; what the standard link-prediction benchmarks cannot provide is the labeled task table that carries most of these models' transfer (Section 2). No single model covers both, and in every one of them the transfer mechanism lives in the model.

Our idea is to move the problem from the architecture to the representation. We reify the data (Figure 1): every fact becomes a node, connected to its subject, its object, and its relation type through a fixed vocabulary of six meta-relations. Relation types become anonymous shared nodes rather than model parameters, and so do entity types (tables) in the database case. The nodes are shared in that two facts of the same relation point to the same relation-type node, so “being of the same kind” is now structure in the graph rather than a row in an embedding table. They are anonymous in that they carry no learned identity: the model reads nothing but a node’s kind and its structural position. After reification, every dataset is a homogeneous graph over the same finite input vocabulary: three node kinds (entities, facts, relation types), four with entity types for databases, and six meta-relations, eight with is_a and its inverse (Section 3.1). Nothing dataset-specific remains for a model to parameterize. Any GNN that is inductive over nodes, given query conditioning implemented as a labeling trick (Zhang et al., 2022), can be trained on one dataset and applied unchanged to any other.

The question is then empirical: with the representation fixed and the architecture deliberately generic, how much zero-shot inductive transfer is left? We report two findings and one probe.

  1. Zero-shot transfer works with unmodified architectures. Five textbook backbones (GAT (Veličković et al., 2018), GINE with sum and with mean+max aggregation (Xu et al., 2019; Hu et al., 2020), GraphSAGE (Hamilton et al., 2017), and R-GCN (Schlichtkrull et al., 2018)), trained under one frozen recipe (64 dimensions, 12 layers, a 30-minute budget on one NVIDIA A100, 3 seeds fixed a priori) on a single 4,245-triple knowledge graph, all transfer zero-shot to 40 inductive benchmarks. None collapses, with one exception, identified and explained (Section 5.3), and the ordering between them is stable across evaluation panels up to one swap (Section 5.1).

  2. The best of them matches the dedicated foundation model. Over all 40 benchmarks the GAT averages 0.3565±0.00490.3565 \pm 0.0049 against 0.3732 for ULTRA re-run from its released checkpoint with our evaluation code; on the 13 benchmarks whose families appear in neither pretraining corpus, 0.3600±0.00550.3600 \pm 0.0055 against 0.3617; and on the twelve inductive-(e) GraIL benchmarks it scores higher, 0.5457 against 0.5224 (Section 5.2).

  3. A probe of the same representation on relational databases. A model of this family pretrained on three knowledge graphs, applied to two unseen reified databases with no features, no fine-tuning, no schema text and no in-context labels, ranks foreign-key targets far above random-initialization and degree controls, while the single-graph models of Section 5 do not (Section 6). This is where the vocabulary's coverage of both data models is put to the test; we report the outcome as a preliminary probe, not as a transfer result.

We do not claim to beat the state of the art: ULTRA remains ahead on the full aggregate, the KGFMs that refine ULTRA's design (TRIX, MOTIF, Gamma, Flock) publish figures up to 0.03 MRR above ULTRA's on the inductive-(e) splits (Table 5), and Section 5.4 shows the remaining gap is not closed by choosing a different single training graph. The contribution is the demonstration that a fixed structural representation carries most of zero-shot inductive transfer with none of the dedicated machinery. The representation itself is not new as an encoding: the literature uses reification for n-ary facts, and HYPER (Huang et al., 2026) treats it as a hostile

Figure

(a) two facts of a knowledge graph

(b) the same facts, reified

results
resultIdraceIddriverId...
881214...
891314...
⋮\vdots⋮\vdots⋮\vdots
⋮\vdots⋮\vdots⋮\vdots
drivers
driverIdname...
14Alonso...
⋮\vdots⋮\vdots
⋮\vdots⋮\vdots

Figure

(c) a database extract

(d) the extract, reified

Figure 1: Reification as a fixed structural vocabulary. Panels (a) and (b): two facts of a knowledge graph and their reification. Panels (c) and (d): an extract of a relational database, two tables linked by one foreign key, and its reification into the same vocabulary. Inverse meta-relations are omitted for readability; annotations in parentheses are for the reader, the model sees only anonymous node identities and kinds.

baseline, showing that ULTRA pretrained on ordinary KGs transfers poorly to reified graphs. To our knowledge, no prior work pre-trains natively on reification or proposes it as the cross-dataset transfer mechanism (Section 2).

References (45)