Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Beyond Completion: A Foundation Model for General Knowledge Graph Reasoning

About

In natural language processing (NLP) and computer vision (CV), the successful application of foundation models across diverse tasks has demonstrated their remarkable potential. However, despite the rich structural and textual information embedded in knowledge graphs (KGs), existing research of foundation model for KG has primarily focused on their structural aspects, with most efforts restricted to in-KG tasks (e.g., knowledge graph completion, KGC). This limitation has hindered progress in addressing more challenging out-of-KG tasks. In this paper, we introduce MERRY, a foundation model for general knowledge graph reasoning, and investigate its performance across two task categories: in-KG reasoning tasks (e.g., KGC) and out-of-KG tasks (e.g., KG question answering, KGQA). We not only utilize the structural information, but also the textual information in KGs. Specifically, we propose a multi-perspective Conditional Message Passing (CMP) encoding architecture to bridge the gap between textual and structural modalities, enabling their seamless integration. Additionally, we introduce a dynamic residual fusion module to selectively retain relevant textual information and a flexible edge scoring mechanism to adapt to diverse downstream tasks. Comprehensive evaluations on 28 datasets demonstrate that MERRY outperforms existing baselines in most scenarios, showcasing strong reasoning capabilities within KGs and excellent generalization to out-of-KG tasks such as KGQA.

Yin Hua, Zhiqiang Liu, Mingyang Chen, Zheng Fang, Chi Man Wong, Lingxiao Li, Chi Man Vong, Huajun Chen, Wen Zhang• 2025

Related benchmarks

TaskDatasetResultRank
Inductive Knowledge Graph CompletionIndE(NL) (test)
MRR56.7
10
Inductive Knowledge Graph CompletionIndE(FB) (test)
MRR0.486
10
Inductive Knowledge Graph CompletionTotal AVG 24 datasets (test)
MRR44.5
5
Inductive Knowledge Graph CompletionIndE(WN) (test)
MRR0.563
5
Inductive Knowledge Graph CompletionIndER(WK) (test)
MRR37.8
5
Inductive Knowledge Graph CompletionFB v4
MRR48.4
3
Inductive Knowledge Graph CompletionNL v2
MRR55.8
3
Inductive Knowledge Graph CompletionNL v3
MRR0.564
3
Inductive Knowledge Graph CompletionNL v4
MRR0.498
3
Inductive Knowledge Graph CompletionILPC small
MRR0.335
3
Showing 10 of 32 rows

Other info

Code

Follow for update