On Data Engineering and Knowledge Graphs: A Reinforcement Learning system for Knowledge Graph Reasoning
Year: 2024
Type: dissertation
Abstract: Knowledge Graphs have been at the forefront of domain information storage \nsince their inception. These graphs can be used as the basis for a number of \nsmart applications, such as question answering or product recommendations. \nHowever, they are generally built in an automated unsupervised way, which frequently \nleads to missing information, usually in the form of missing links between related \nentities in the original data source, and which have to be added a posteriori by \ncompletion techniques. \nKnowledge Graph Completion seeks to find missing elements in a Knowledge \nGraph, usually edges representing some relation between two concepts. One possible \nway to do this is to find paths between two nodes that indicate the presence of a \nmissing edge. This can be achieved through Reinforcement Learning, by training \nan agent that learns how to navigate through the graph, starting at a node with a \nmissing edge and identifying what edge among the available ones at each step is more \npromising in order to reach the target of the missing edge. \nWhile some approaches have been proposed to this effect, their reward functions \nonly take into account whether the target node was reached or not, and only apply \na single Reinforcement Learning algorithm. In this regard, we present a new family \nof reward functions based on node embeddings and structural distance, leveraging \nadditional information related to semantic similarity and removing the need to reach \nthe target node to obtain a measure of the benefits of an action. \nWe introduce SpaceRL an end-to-end Python framework designed for the \ngeneration of reinforcement learning (RL) agents, which can be used in knowledge \ngraph completion and link discovery. The purpose of the generated agents is to help \nidentify missing links in a knowledge graph by finding paths that implicitly connect \ntwo nodes, incidentally providing a reasoned explanation for the inferred new link. \nThe generation of such agents is a complex task, even more so for a non-expert user, \nand to the best of our knowledge there do not exist tools to provide that kind of \nsupport. \nSpaceRL is meant to overcome these limitations by providing a flexible set of \ntools designed with a wide variety of customization options, in order to be flexible \nenough to adapt to different user needs. It also includes a variety of state-of-the-art RL \nalgorithms and several embedding models that can be combined to optimize the agent’s \nperformance. Furthermore, SpaceRL offers different interfaces to make it available \neither locally (programmatically or via a GUI), or through an OpenAPI-compliant \nREST API.
Author: Bermudo Bayo, Miguel
Institution: Universidad de Sevilla
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7046382223
