MERIT: Scaling KG Foundation Models with Relation Transformers
Not on the map. Why?
Abstract (arXiv)
Knowledge graph (KG) foundation models (KGFMs) predict links on unseen graphs zero-shot. KGFMs have been pioneered by ULTRA which builds a relation graph from co-occurrences that match motif templates, and passes messages over it to obtain relation representations. More recent KGFMs such as MOTIF and TRIX increase the size of this relation graph, and FLOCK replaces message-passing with probabilistic random-walk ensembles. However, larger relation graphs mean more messages, and more walks mean more sequences to encode, so they improve performance at higher training and inference cost. This cost hinders their use in more complex reasoning tasks, such as complex query answering. To reverse this trend, we design MERIT, the first KGFM with a transformer relation encoder: every relation name attends to every other, and the motifs enter as a soft prior rather than as edges. Over 56 benchmarks, MERIT matches the zero-shot MRR of SoTA KGFMs while being 6x faster than TRIX and over 100x faster than FLOCK at inference. Fine-tuned for complex query answering like UltraQuery, MERITQuery improves over it at matched cost.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 29 of its 33 references that are in the map. First posted on arXiv 11 Oct 2026.
Builds on
29 of 33 references.
References · 29
- 2017Attention Is All You Needcited by 60,361
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2017Mixed Precision Trainingcited by 1,156
- 2020On Layer Normalization in the Transformer Architecturecited by 922
- 2016Complex Embeddings for Simple Link Predictioncited by 902
- 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 898
- 2020Knowledge Graphscited by 621
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 275
- 2019Inductive Relation Prediction by Subgraph Reasoningcited by 239
- 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 198
- 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 185
17 more
- 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 171
- 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 129
- 2020Complex Query Answering with Neural Link Predictorscited by 99
- 2023Towards Foundation Models for Knowledge Graph Reasoningcited by 86
- 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 61
- 2023InGram: Inductive Knowledge Graph Embedding via Relation Graphscited by 52
- 2022Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimizationcited by 29
- 2022Inductive Logical Query Answering in Knowledge Graphscited by 26
- 2025TRIX: A More Expressive Model for Zero-shot Domain Transfer in Knowledge Graphscited by 24
- 2025How Expressive are Knowledge Graph Foundation Models?cited by 23
- 2022Saga: A Platform for Continuous Construction and Serving of Knowledge At Scalecited by 19
- 2024A Foundation Model for Zero-shot Logical Query Reasoningcited by 14
- 2023Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictorscited by 13
- 2025Flock: A Knowledge Graph Foundation Model via Learning on Random Walkscited by 9
- 2024Is Complex Query Answering Really Complex?cited by 8
- 2025SEMMA: A Semantic Aware Knowledge Graph Foundation Modelcited by 8
- 2026Half a Link can Be Enough to Predict a Whole Link: Understanding Generalization in Knowledge Graph Foundation Modelscited by 1
Built on by
Not cited yet.