Automatic Detection of Causality in Requirement Artifacts: the CiRA Approach

01/26/2021
by   Jannik Fischbach, et al.
0

System behavior is often expressed by causal relations in requirements (e.g., If event 1, then event 2). Automatically extracting this embedded causal knowledge supports not only reasoning about requirements dependencies, but also various automated engineering tasks such as seamless derivation of test cases. However, causality extraction from natural language is still an open research challenge as existing approaches fail to extract causality with reasonable performance. We understand causality extraction from requirements as a two-step problem: First, we need to detect if requirements have causal properties or not. Second, we need to understand and extract their causal relations. At present, though, we lack knowledge about the form and complexity of causality in requirements, which is necessary to develop a suitable approach addressing these two problems. We conduct an exploratory case study with 14,983 sentences from 53 requirements documents originating from 18 different domains and shed light on the form and complexity of causality in requirements. Based on our findings, we develop a tool-supported approach for causality detection (CiRA). This constitutes a first step towards causality extraction from NL requirements. We report on a case study and the resulting tool-supported approach for causality detection in requirements. Our case study corroborates, among other things, that causality is, in fact, a widely used linguistic pattern to describe system behavior, as about a third of the analyzed sentences are causal. We further demonstrate that our tool CiRA achieves a macro-F1 score of 82 average gain of 11.06 Finally, we disclose our open data sets as well as our tool to foster the discourse on the automatic detection of causality in the RE community.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/15/2021

Causality in Requirements Artifacts: Prevalence, Detection, and Impact

Background: Causal relations in natural language (NL) requirements conve...
research
03/11/2021

CiRA: A Tool for the Automatic Detection of Causal Relationships in Requirements Artifacts

Requirements often specify the expected system behavior by using causal ...
research
06/29/2020

Towards Causality Extraction from Requirements

System behavior is often based on causal relations between certain event...
research
09/20/2022

On a Uniform Causality Model for Industrial Automation

The increasing complexity of Cyber-Physical Systems (CPS) makes industri...
research
10/10/2017

ACCBench: A Framework for Comparing Causality Algorithms

Modern socio-technical systems are increasingly complex. A fundamental p...
research
07/21/2021

Fine-Grained Causality Extraction From Natural Language Requirements Using Recursive Neural Tensor Networks

[Context:] Causal relations (e.g., If A, then B) are prevalent in functi...
research
06/03/2021

LearnDA: Learnable Knowledge-Guided Data Augmentation for Event Causality Identification

Modern models for event causality identification (ECI) are mainly based ...

Please sign up or login with your details

Forgot password? Click here to reset