Published February 20, 2024 | Version v1
Software Open

Causal Question Answering with Reinforcement Learning

  • 1. ROR icon Paderborn University

Description

Causal questions inquire about causal relationships between different events or phenomena. They are important for a variety of use cases, including virtual assistants and search engines. However, many current approaches to causal question answering cannot provide explanations or evidence for their answers. Hence, in this paper, we aim to answer causal questions with a causality graph, a large-scale dataset of causal relations between noun phrases along with the relations' provenance data. Inspired by recent, successful applications of reinforcement learning to knowledge graph tasks, such as link prediction and fact-checking, we explore the application of reinforcement learning on a causality graph for causal question answering. We introduce an Actor-Critic based agent which learns to search through the graph to answer causal questions. We bootstrap the agent with a supervised learning procedure to deal with large action spaces and sparse rewards. Our evaluation shows that the agent successfully prunes the search space to answer binary causal questions by visiting less than 30 nodes per question compared to over 3,000 nodes by a naive breadth-first search. Our ablation study indicates that our supervised learning strategy provides a strong foundation upon which our reinforcement learning agent improves. The paths returned by our agent explain the mechanisms by which a cause produces an effect. Moreover, for each edge on a path, our causality graph provides its original source allowing for easy verification of paths.

 

When using the software and data, please make sure to refer to it as follows:

@inproceedings{bluebaum2024causal-qa-rl,
  author    = {Lukas Blübaum and
Stefan Heindorf}, title = {Causal Question Answering with Reinforcement Learning}, booktitle = {{WWW}}, publisher = {{ACM}}, year = {2024} }

Files

causal-qa-rl.zip

Files (701.5 MB)

Name Size Download all
md5:7777f5d7cf59ed88f6fd845fe3dbef21
701.5 MB Preview Download

Additional details

Related works

Is supplement to
Conference paper: 10.1145/3589334.3645610 (DOI)

Software

Repository URL
https://github.com/ds-jrg/causal-qa-rl
Programming language
Python

References

  • Lukas Blübaum and Stefan Heindorf: Causal Question Answering with Reinforcement Learning. In WWW 2024. ACM.