Towards Causality Extraction from Requirements

06/29/2020
by   Jannik Fischbach, et al.
0

System behavior is often based on causal relations between certain events (e.g. If event1, then event2). Consequently, those causal relations are also textually embedded in requirements. We want to extract this causal knowledge and utilize it to derive test cases automatically and to reason about dependencies between requirements. Existing NLP approaches fail to extract causality from natural language (NL) with reasonable performance. In this paper, we describe first steps towards building a new approach for causality extraction and contribute: (1) an NLP architecture based on Tree Recursive Neural Networks (TRNN) that we will train to identify causal relations in NL requirements and (2) an annotation scheme and a dataset that is suitable for training TRNNs. Our dataset contains 212,186 sentences from 463 publicly available requirement documents and is a first step towards a gold standard corpus for causality extraction. We encourage fellow researchers to contribute to our dataset and help us in finalizing the causality annotation process. Additionally, the dataset can also be annotated further to serve as a benchmark for other RE-relevant NLP tasks such as requirements classification.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/26/2021

Automatic Detection of Causality in Requirement Artifacts: the CiRA Approach

System behavior is often expressed by causal relations in requirements (...
research
04/25/2022

The Causal News Corpus: Annotating Causal Relations in Event Sentences from News

Despite the importance of understanding causality, corpora addressing ca...
research
01/16/2021

A Survey on Extraction of Causal Relations from Natural Language Text

As an essential component of human cognition, cause-effect relations app...
research
11/27/2020

Domain Adaptative Causality Encoder

Current approaches which are mainly based on the extraction of low-level...
research
12/13/2020

Learning Contextual Causality from Time-consecutive Images

Causality knowledge is crucial for many artificial intelligence systems....
research
07/21/2021

CATE: CAusality Tree Extractor from Natural Language Requirements

Causal relations (If A, then B) are prevalent in requirements artifacts....
research
12/15/2021

Causality in Requirements Artifacts: Prevalence, Detection, and Impact

Background: Causal relations in natural language (NL) requirements conve...

Please sign up or login with your details

Forgot password? Click here to reset