A context-aware temporal knowledge graph completion method based on logical paths
Author Identifier (ORCID)
Jianxin Li: https://orcid.org/0000-0002-9059-330X
Abstract
Temporal Knowledge Graph Completion (TKGC) plays a critical role in dynamic knowledge expansion by predicting entity relationships at specific time points based on existing facts. This enhances the performance of downstream applications. Existing TKGC methods mainly generate dynamic entity representations by capturing the structural characteristics of facts and the sequential properties of data. Some approaches also attempt to extract temporal logical rules from historical query data. However, these methods do not fully account for the contextual relevance of queries, which limits the accuracy of entity predictions. To address this gap, we propose a Context-Aware TKGC method based on Logical Paths (LPCA). This method integrates embedding representations and logical rules to create an interpretable TKGC completion framework, improving both prediction transparency and accuracy. Our approach mines query-specific logical paths, incorporating a time-aware sampling mechanism that prioritizes temporally recent facts to enhance temporal relevance and adaptability. Additionally, we design a self-attention mechanism to capture enriched contextual features of these temporal logical paths, modeling dependencies among the head entity, tail entity, query relation, and associated path elements to strengthen semantic and structural relevance. Experimental results show that the proposed method improves MRR scores by 3.59%, 0.99%, and 2.67% on the ICEWS14, ICEWS18, and ICEWS05-15 datasets, respectively.
Keywords
Context-aware, self-attention mechanism, temporal knowledge graphs
Document Type
Journal Article
Date of Publication
5-1-2026
Volume
676
Publication Title
Neurocomputing
Publisher
Elsevier
School
School of Business and Law
Funders
National Natural Science Foundation of China (62476247, 62402447, 62073295, 62072409) / R&D Program of Zhejiang (2024C0-1214) / Zhejiang Provincial Natural Science Foundation (LR21F020003, LQN25F020005) / Supcon Research Fund (KYY-HX-20230833) / Lantai Research Fund (KYY-HX-20240573, KYY-HX-20230365)
Copyright
subscription content
Comments
Zhang, Y., Kong, X., Ye, K., Zheng, S., Pan, Q., Shen, G., & Li, J. (2026). A context-aware temporal knowledge graph completion method based on logical paths. Neurocomputing, 676. https://doi.org/10.1016/j.neucom.2026.133049