• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site

Reinforcement Learning for Knowledge Graph-based Question Answering

Student: Shabalin Aleksandr

Supervisor: Ekaterina Artemova

Faculty: Faculty of Computer Science

Educational Programme: Applied Mathematics and Information Science (Bachelor)

Final Grade: 10

Year of Graduation: 2021

In this paper, we are solving the problem of answering questions by walking around a knowledge graph (KG). More specifically, we formulate the problem in terms of reinforcement learning and train an agent to find a path in KG that leads from starting entity to the target, according to the given relation between them. Our agent is a transformer-based model trained with REINFORCE algorithm to sample the most promising edge and walk over it. All prior reinforcement learning approaches used recurrent networks for generating embeddings and simple MLPs for an action prediction. We noticed that a trajectory in the knowledge graph can be seen as a sequence of entities and relations. In this case the problem can be formulated as a sequence labeling taks and transformer-based model is a perfect solution to it. We also propose two modifications of the reward function: path lenght penalty and positive reward for the wrong answer. Experimental results on knowledge graph dataset WN18RR show that our approach outperforms stateof-the-art methods by a large margin.

Full text (added May 17, 2021)

Student Theses at HSE must be completed in accordance with the University Rules and regulations specified by each educational programme.

Summaries of all theses must be published and made freely available on the HSE website.

The full text of a thesis can be published in open access on the HSE website only if the authoring student (copyright holder) agrees, or, if the thesis was written by a team of students, if all the co-authors (copyright holders) agree. After a thesis is published on the HSE website, it obtains the status of an online publication.

Student theses are objects of copyright and their use is subject to limitations in accordance with the Russian Federation’s law on intellectual property.

In the event that a thesis is quoted or otherwise used, reference to the author’s name and the source of quotation is required.

Search all student theses