Combining Structural and Textual Knowledge for Knowledge Graph Link Prediction via Large Language Models

Read full text
Authors: Shijie Luo, X. X. Lu, Qinpei Zhao, Weixiong Rao
Cited by: 3
References: 20

Abstract

In recent years, large language models (LLMs) have emerged as powerful tools for link prediction in knowledge graphs (KGs) due to their strong capabilities in understanding and generation. However, many LLM-based methods still heavily rely on textual descriptions of KGs, limiting their ability to capture structural information and to model complex relational patterns. Although some methods integrate structural embeddings into LLMs, their ability to harness the complementary strengths of both modalities and dynamically prioritize candidate entities based on query context remains limited. In this paper, we propose ST-KGLP, a novel framework that improves link prediction by aligning structural knowledge with textual knowledge and employing query-aware adaptive weighting for candidate selection. Specifically, our proposed ST-KGLP employs a knowledge aligner to bridge the information gap between structural and textual knowledge, and then utilizes a query-aware adaptive weighting strategy that dynamically computes attention weights between query representations and candidate entities, enabling contextually relevant candidate re-ranking for more accurate prediction. Extensive experiments on various datasets show that our ST-KGLP outperforms state-of-the-art approaches, achieving average improvements of 3.81%, 11.52%, 2.22%, and 1.55% across four evaluation metrics. Our code and datasets are available at https://github.com/shijielaw/ST-KGLP.

Fields of Study & Subjects

Advanced Graph Neural Networks Graph Theory and Algorithms Data Quality and Management

Publication details

Journal / source
Proceedings of the Nineteenth ACM International Conference on Web Search and Data Mining
Publisher
ACM
Pages
479–488
Publication date
16 February 2026