The rapid advancement of knowledge graph (KG) technology has led to the emergence of temporal knowledge graphs (TKGs), which represent dynamic relationships over time. Temporal knowledge graph embedding (TKGE) techniques are commonly employed for link prediction and knowledge graph completion, among other tasks. However, existing TKGE models mainly rely on basic arithmetic operations, such as addition, subtraction, and multiplication, which limits their capacity to capture complex, non-linear relationships between entities. Moreover, many neural network-based TKGE models focus on static entities and relationships, overlooking the temporal dynamics of entity neighborhoods and their potential for encoding relational patterns, which can result in significant semantic loss. To address these limitations, we propose DuaTHP, a novel model that integrates Transformer blocks with Householder projections in the dual quaternion space. DuaTHP utilizes Householder projections to map head-to-tail entity relations, effectively capturing key relational patterns. The model incorporates two Transformer blocks: the entity Transformer, which models entity–relationship interactions, and the context Transformer, which aggregates relational and temporal information. Additionally, we introduce a time-restricted neighbor selector, which focuses on neighbors interacting within a specific time frame to enhance domain-specific analysis. Experimental results demonstrate that DuaTHP significantly outperforms existing methods in link prediction and knowledge graph completion, effectively addressing both semantic loss and time-related issues in TKGs.
Read full abstract