All models

ULTRA-KG

A pre-trained graph neural network that predicts links on any knowledge graph without graph-specific embeddings.

Graphs and geometry · 351 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (11 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
168.7K
Operations
351
Framework
PyTorch
Recurrent
No
Published
ICLR 2024
Cited by
10 (as of 27 October 2026)
Authors
Mikhail Galkin, Xinyu Yuan, Hesham Mostafa and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m21126
Graph hash
7d9a2bc10aabcd38a89a40b7f216597e63701b896105a5aa81f905351289f162
Skeleton hash
81d3b984ce8b245692f388429839e33da7ac56fa19fcda6494d5ef4f115e0c8f
Architecture hash
646e3bb41b724d8c25cd3b54be623b4aa2199f94c31575065949e61b10157f9d
Diagram SHA-256
a96b8fe3c57b1ec66c5746d083c5114eaaaf808e31c2532e208b4998abf2d736
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

ULTRA is a foundation model for knowledge graph reasoning: a single pre-trained model performs link prediction on any multi-relational graph with any entity and relation vocabulary. The difficulty, as the paper puts it, is that knowledge graphs have different entity and relation vocabularies that generally do not overlap.

ULTRA does not learn entity or relation embeddings specific to a downstream graph. Instead it builds relation representations as a function conditioned on the interactions between relations, which lets a pre-trained model generalize inductively to an unseen graph with any relation vocabulary. Under the hood it uses graph neural networks and modified versions of NBFNet. The released checkpoints share one model size, with 6-layer GNNs for the relation graph and the entity graph at 64 dimensions, and the readme lists 168k total parameters for them.

In link prediction experiments on 57 knowledge graphs, the paper finds that zero-shot inference with a single pre-trained ULTRA model on unseen graphs is often on par with or better than strong baselines trained on specific graphs. The repository also includes UltraQuery, released in April 2024 for complex multi-hop logical query answering on any knowledge graph.

Key idea. ULTRA builds relation representations as a function of the interactions between relations, so one pre-trained model can run link prediction on unseen knowledge graphs with any relation vocabulary.

  • ultra
  • ultra-kg
  • knowledge graph foundation model
  • knowledge graph reasoning
  • link prediction
  • zero-shot link prediction
  • inductive link prediction
  • knowledge graph completion
  • kg reasoning

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{galkin2024foundationmodelsknowledgegraph,
      title={Towards Foundation Models for Knowledge Graph Reasoning}, 
      author={Mikhail Galkin and Xinyu Yuan and Hesham Mostafa and Jian Tang and Zhaocheng Zhu},
      year={2024},
      eprint={2310.04562},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2310.04562}, 
}