Concepedia

Publication | Open Access

TimeTraveler: Reinforcement Learning for Temporal Knowledge Graph Forecasting

155

Citations

36

References

2021

Year

TLDR

Temporal knowledge graph reasoning has attracted growing interest, yet most work targets past timestamps and few address forecasting, which is harder due to time modeling and inductive inference of unseen entities. This paper introduces the first reinforcement‑learning approach for forecasting future facts in temporal knowledge graphs. The method trains an agent to traverse historical snapshots, employing a relative time‑encoding function, a Dirichlet‑based time‑shaped reward, and a novel representation for unseen entities to guide inductive inference. Experiments on four benchmark datasets show that the approach achieves substantial performance gains, higher explainability, and reduced computation and parameter count compared with state‑of‑the‑art methods.

Abstract

Temporal knowledge graph (TKG) reasoning is a crucial task that has gained increasing research interest in recent years. Most existing methods focus on reasoning at past timestamps to complete the missing facts, and there are only a few works of reasoning on known TKGs to forecast future facts. Compared with the completion task, the forecasting task is more difficult that faces two main challenges: (1) how to effectively model the time information to handle future timestamps? (2) how to make inductive inference to handle previously unseen entities that emerge over time? To address these challenges, we propose the first reinforcement learning method for forecasting. Specifically, the agent travels on historical knowledge graph snapshots to search for the answer. Our method defines a relative time encoding function to capture the timespan information, and we design a novel time-shaped reward based on Dirichlet distribution to guide the model learning. Furthermore, we propose a novel representation method for unseen entities to improve the inductive inference ability of the model. We evaluate our method for this link prediction task at future timestamps. Extensive experiments on four benchmark datasets demonstrate substantial performance improvement meanwhile with higher explainability, less calculation, and fewer parameters when compared with existing state-of-the-art methods.

References

YearCitations

Page 1