Context-aware Inductive Knowledge Graph Completion with Latent Type Constraints and Subgraph Reasoning

Authors

  • Muzhi Li Department of Computer Science and Engineering, The Chinese University of Hong Kong IDEA Research, International Digital Economy Academy
  • Cehao Yang Artificial Intelligence Thrust, Hong Kong University of Science and Technology (Guangzhou) IDEA Research, International Digital Economy Academy
  • Chengjin Xu IDEA Research, International Digital Economy Academy
  • Zixing Song Department of Engineering, University of Cambridge
  • Xuhui Jiang IDEA Research, International Digital Economy Academy
  • Jian Guo IDEA Research, International Digital Economy Academy
  • Ho-fung Leung Independent Researcher
  • Irwin King Department of Computer Science and Engineering, The Chinese University of Hong Kong

DOI:

https://doi.org/10.1609/aaai.v39i11.33318

Abstract

Inductive knowledge graph completion (KGC) aims to predict missing triples with unseen entities. Recent works focus on modeling reasoning paths between the head and tail entity as direct supporting evidence. However, these methods depend heavily on the existence and quality of reasoning paths, which limits their general applicability in different scenarios. In addition, we observe that latent type constraints and neighboring facts inherent in KGs are also vital in inferring missing triples. To effectively utilize all useful information in KGs, we introduce CATS, a novel context-aware inductive KGC solution. With sufficient guidance from proper prompts and supervised fine-tuning, CATS activates the strong semantic understanding and reasoning capabilities of large language models to assess the existence of query triples, which consist of two modules. First, the type-aware reasoning module evaluates whether the candidate entity matches the latent entity type as required by the query relation. Then, the subgraph reasoning module selects relevant reasoning paths and neighboring facts, and evaluates their correlation to the query triple. Experiment results on three widely used datasets demonstrate that CATS significantly outperforms state-of-the-art methods in 16 out of 18 transductive, inductive, and few-shot settings with an average absolute MRR improvement of 7.2%.

Downloads

Published

2025-04-11

How to Cite

Li, M., Yang, C., Xu, C., Song, Z., Jiang, X., Guo, J., … King, I. (2025). Context-aware Inductive Knowledge Graph Completion with Latent Type Constraints and Subgraph Reasoning. Proceedings of the AAAI Conference on Artificial Intelligence, 39(11), 12102–12111. https://doi.org/10.1609/aaai.v39i11.33318

Issue

Section

AAAI Technical Track on Data Mining & Knowledge Management I