journal article·2024-04-08Open access

Memory-Enhanced Knowledge Reasoning with Reinforcement Learning

Jinhui Guo, Xiaoli Zhang, Kun Liang, Guoqiang Zhang

Applied Sciences· Volume 14· Issue 7

Abstract

In recent years, the emergence of large-scale language models, such as ChatGPT, has presented significant challenges to research on knowledge graphs and knowledge-based reasoning. As a result, the direction of research on knowledge reasoning has shifted. Two critical issues in knowledge reasoning research are the algorithm of the model itself and the selection of paths. Most studies utilize LSTM as the path encoder and memory module. However, when processing long sequence data, LSTM models may encounter the problem of long-term dependencies, where memory units of the model may decay gradually with an increase in time steps, leading to forgetting earlier input information. This can result in a decline in the performance of the LSTM model in long sequence data. Additionally, as the data volume and network depth increase, there is a risk of gradient disappearance. This study improved and optimized the LSTM model to effectively address the problems of gradient explosion and gradient disappearance. An attention layer was employed to alleviate the issue of long-term dependencies, and ConvR embedding was used to guide path selection and action pruning in the reinforcement learning inference model. The overall model achieved excellent reasoning results.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Graph Neural Networks · Data Stream Mining Techniques · Reinforcement Learning in Robotics

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

The College of Artificial Intelligence, Tianjin University of Science and Technology, Tianjin 300457, China

Funding

National Natural Science Foundation of China

References (37)

Show source-provided references
1. Domain knowledge graph-based research progress of knowledge representation10.1007/s00521-020-05057-5 ↗
2. WordNet: A lexical database for English10.1145/219717.219748 ↗
3. Carlson, A., Betteridge, J., Kisiel, B., Settles, B., Hruschka, E., and Mitchell, T. (2010, January 11–15). Toward an architecture for never-ending language learning. Proceedings of the 24th AAAI Conference on Artificial Intelligence, Atlanta, GA, USA.10.1609/aaai.v24i1.7519 ↗
4. Bollacker, K., Evans, C., Paritosh, P., Sturge, T., and Taylor, J. (2008). Freebase: A Collaboratively Created Graph Database for Structuring Human Knowledge, ACM.10.1145/1376616.1376746 ↗
5. A review: Knowledge reasoning over knowledge graph10.1016/j.eswa.2019.112948 ↗
6. Toward better drug discovery with knowledge graph10.1016/j.sbi.2021.09.003 ↗
7. Yang, B., Yih, W.T., He, X., Gao, J., and Deng, L. (2014). Embedding entities and relations for learning and inference in knowledge bases. arXiv.
8. Bordes, A., Usunier, N., Garcia-Duran, A., Weston, J., and Yakhnenko, O. (2013, January 5–8). Translating embeddings for modeling multi-relational data. Proceedings of the 26th International Conference on Neural Information Processing Systems, Lake Tahoe, NV, USA.
9. Dettmers, T., Minervini, P., Stenetorp, P., and Riedel, S. (2018, January 2–7). Convolutional 2D knowledge graph embeddings. Proceedings of the 32nd AAAI Conference on Artificial Intelligence, New Orleans, LA, USA.10.1609/aaai.v32i1.11573 ↗
10. Lao, N., Mitchell, T.M., and Cohen, W.W. (2011, January 27–29). Random walk inference and learning in a large-scale knowledge base. Proceedings of the Conference on Empirical Methods in Natural Language Processing, Edinburgh, UK.
11. A Markovian decision process
12. Simple statistical gradient-following algorithms for connectionist reinforcement learning10.1007/BF00992696 ↗
13. Akanksha, E., Sharma, N., and Gulati, K. (2021, January 8–10). Review on reinforcement learning, research evolution and scope of application. Proceedings of the 2021 5th International Conference on Computing Methodologies and Communication (ICCMC), Erode, India.10.1109/ICCMC51019.2021.9418283 ↗
14. Xiong, W.H., Hoang, T., and Wang, W.Y. (2017, January 9–11). DeepPath: A reinforcement learning method for knowledge graph reasoning. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, Copenhagen, Denmark.10.18653/v1/D17-1060 ↗
15. Reasoning on knowledge graphs withdebate dynamics
16. Wan, G., Pan, S., Gong, C., Zhou, C., and Haffari, G. (2021, January 19–27). Reasoning like human: Hierarchical reinforcement learning for knowledge graph reasoning. Proceedings of the Twenty-Ninth International Conference on International Joint Conferences on ArtificialIntelligence, Montreal, QC, Canada.10.24963/ijcai.2020/267 ↗
17. Lei, D., Jiang, G., Gu, X., Sun, K., Mao, Y., and Ren, X. (2020, January 16–20). Learning collaborative agents with rule guidance forknowledge graph reasoning. Proceedings of the 2020 Conference on EmpiricalMethods in Natural Language Processing, Virtual.10.18653/v1/2020.emnlp-main.688 ↗
18. Lv, X., Han, X., Hou, L., Li, J., Liu, Z., Zhang, W., Zhang, Y., Kong, H., and Wu, S. (2020, January 6–20). Dynamic anticipation and completion for multi-hopreasoning over sparse knowledge graph. Proceedings of the 2020 Conferenceon Empirical Methods in Natural Language Processing (EMNLP), Virtual.10.18653/v1/2020.emnlp-main.459 ↗
19. Fu, C., Chen, T., Qu, M., Jin, W., and Ren, X. (2019, January 3–7). Collaborative policy learning for open knowledge graphreasoning. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, Hong Kong, China.10.18653/v1/D19-1269 ↗
20. Wang, Z., Zhang, J., Feng, J., and Chen, Z. (2014, January 27–31). Knowledge graph embedding by translating on hyperplanes. Proceedings of the 28th AAAI Conference on Artificial Intelligence, Québec City, QC, Canada.10.1609/aaai.v28i1.8870 ↗
21. Ji, G., He, S., Xu, L., Liu, K., and Zhao, J. (2015, January 26–31). Knowledge graph embedding via dynamic mapping matrix. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing, Beijing, China.10.3115/v1/P15-1067 ↗
22. Xu, J., Ge, Y., and Wu, Z. (2020, January 5–6). An Improved Translation-Based Method for Knowledge Graph Representation. Proceedings of the 2020 3rd International Conference on E-Business, Information Management and Computer Science, Wuhan, China.10.1145/3453187.3453394 ↗
23. Trouillon, T., Welbl, J., Riedel, S., Gaussier, É., and Bouchard, G. (2016, January 20–22). Complex embeddings for simple link prediction. Proceedings of the 33nd International Conference on Machine Learning, New York, NY, USA.
24. Balažević, I., Allen, C., and Hospedales, T.M. (2019, January 3–7). TuckER: Tensor factorization for knowledge graph completion. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, Hong Kong, China.10.18653/v1/D19-1522 ↗
25. Das, R., Dhuliawala, S., Zaheer, M., Vilnis, L., Durugkar, I., Krishnamurthy, A., Smola, A., and McCallum, A. (May, January 30). Go for a walk and arrive at the answer: Reasoning over paths in knowledge bases using reinforcement learning. Proceedings of the 6th International Conference on Learning Representations, Vancouver, BC, Canada.
26. Shen, Y., Chen, J., Huang, P.S., Guo, Y., and Gao, J. (2018, January 3–8). M-Walk: Learning to walk over graphs using Monte Carlo tree search. Proceedings of the 32nd International Conference on Neural Information Processing Systems, Montreal, QC, Canada.
27. Li, R.P., and Cheng, X. (2019, January 3–7). DIVINE: A generative adversarial imitation learning framework for knowledge graph reasoning. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, Hong Kong, China.10.18653/v1/D19-1266 ↗
28. Meilicke, C., Chekol, M.W., Fink, M., and Stuckenschmidt, H. (2000). Reinforced anytime bottom up rule learning for knowledge graph completion. arXiv.
29. TransPath: A Knowledge Reasoning Method Based on Deep Transfer Reinforcement Learning
30. Learning to forget: Continual prediction with LSTM10.1162/089976600300015015 ↗
31. Chung, J., Gulcehre, C., Cho, K., and Bengio, Y. (2014). Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv.
32. Convolutional LSTM network: A machine learning approach for precipitation nowcasting
33. Shen, Y., Tan, S., Sordoni, A., and Courville, A. (2018). Ordered neurons: Integrating tree structures into recurrent neural networks. arXiv.
34. Klambauer, G., Unterthiner, T., Mayr, A., and Hochreiter, S. (2017). Self-normalizing neural networks. Adv. Neural Inf. Process. Syst., 30.
35. Gers, F.A., and Schmidhuber, J. (2000, January 27–27). Recurrent nets that time and count. Proceedings of the IEEE-INNS-ENNS International Joint Conference on Neural Networks. IJCNN 2000. Neural Computing: New Challenges and Perspectives for the New Millennium, Como, Italy.10.1109/IJCNN.2000.861302 ↗
36. Jiang, X., Wang, Q., and Wang, B. (2019, January 2–7). Adaptive convolution for multi-relational learning. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Minneapolis, MN, USA.10.18653/v1/N19-1103 ↗
37. Krzyston, J., Bhattacharjea, R., and Stark, A. (2020, January 7–11). Complex-Valued Convolutions for Modulation Recognition using Deep Learning. Proceedings of the 2020 IEEE International Conference on Communications Workshops (ICC Workshops), Dublin, Ireland.10.1109/ICCWorkshops49005.2020.9145469 ↗