DT4KGR: Decision transformer for fast and effective multi-hop reasoning over knowledge graphs
Yi Xia,Junyong Luo,Gang Zhou,Mingjing Lan,Xiaohui Chen,Jing Chen
DOI: https://doi.org/10.1016/j.ipm.2024.103648
IF: 7.466
2024-01-21
Information Processing & Management
Abstract:Multi-hop reasoning over knowledge graphs has received plenty of attention from researchers and is being widely applied to facilitate the development of recommender systems , question answering systems, and other information retrieval systems. Existing multi-hop reasoning methods tend to suffer from poor training efficiency as a result of the large search space and have difficulty tackling missing paths during the reasoning process. Accordingly, we propose a sequence-to-sequence model called DT 4 KGR , in which an encoder–decoder Transformer framework was designed for knowledge graph reasoning. We trained our Transformer model using teacher forcing, so the model processes the entire sequence of reasoning paths in a highly parallel fashion. In this way, faster training speeds are achieved. The model conditions an autoregressive architecture to implement sequence path generation, rather than preceding path exploration, thus performed more robustly to missing paths. We also designed a rule-guided path exploration strategy by combining the local path semantic similarity with the attention mechanism and the global graph information with rule guidance, to sample high-quality training paths for our model. We evaluated DT 4 KGR through various tasks on seven different real-world datasets. The experimental results reveal DT 4 KGR achieves better link prediction results compared with the state-of-the-art baseline models while converging 5–8 times faster, especially achieving an approximately 7.8% relative improvement for MRR on NELL-995 dataset. In addition, efficiency studies indicate our model performs better scalability in large-scale knowledge graph environments compared with other methods.
computer science, information systems,information science & library science