Universidad de Sevilla
On Data Engineering and Knowledge Graphs: A Reinforcement Learning system for Knowledge Graph Reasoning
Abstract
dc:description.abstractKnowledge Graphs have been at the forefront of domain information storage since their inception. These graphs can be used as the basis for a number of smart applications, such as question answering or product recommendations. However, they are generally built in an automated unsupervised way, which frequently leads to missing information, usually in the form of missing links between related entities in the original data source, and which have to be added a posteriori by completion techniques. Knowledge Graph Completion seeks to find missing elements in a Knowledge Graph, usually edges representing some relation between two concepts. One possible way to do this is to find paths between two nodes that indicate the presence of a missing edge. This can be achieved through Reinforcement Learning, by training an agent that learns how to navigate through the graph, starting at a node with a missing edge and identifying what edge among the available ones at each step is more promising in order to reach the target of the missing edge. While some approaches have been proposed to this effect, their reward functions only take into account whether the target node was reached or not, and only apply a single Reinforcement Learning algorithm. In this regard, we present a new family of reward functions based on node embeddings and structural distance, leveraging additional information related to semantic similarity and removing the need to reach the target node to obtain a measure of the benefits of an action. We introduce SpaceRL an end-to-end Python framework designed for the generation of reinforcement learning (RL) agents, which can be used in knowledge graph completion and link discovery. The purpose of the generated agents is to help identify missing links in a knowledge graph by finding paths that implicitly connect two nodes, incidentally providing a reasoned explanation for the inferred new link. The generation of such agents is a complex task, even more so for a non-expert user, and to the best of our knowledge there do not exist tools to provide that kind of support. SpaceRL is meant to overcome these limitations by providing a flexible set of tools designed with a wide variety of customization options, in order to be flexible enough to adapt to different user needs. It also includes a variety of state-of-the-art RL algorithms and several embedding models that can be combined to optimize the agent’s performance. Furthermore, SpaceRL offers different interfaces to make it available either locally (programmatically or via a GUI), or through an OpenAPI-compliant REST API.
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Bermudo Bayo, Miguel
- Advisors dc:contributor.advisor
-
- Hernández Salmerón, Inmaculada Concepción
- Ayala Hernández, Daniel
Rights
dc:rights.accessrights- Statement dc:rights.accessrights
-
- open access
- Attribution-NonCommercial-NoDerivatives 4.0 Internacional
- Licence dc:rights.uri
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Dc Identifier Citation
- Bermudo Bayo, M. (2024). On Data Engineering and Knowledge Graphs: A Reinforcement Learning system for Knowledge Graph Reasoning. (Tesis Doctoral Inédita). Universidad de Sevilla, Sevilla.