TL;DR
This paper presents CiRA, a novel tool-supported approach for detecting causality in natural language requirements, achieving high accuracy and outperforming existing methods, thereby advancing automated reasoning and testing in requirements engineering.
Contribution
The paper provides the first comprehensive analysis of causality in requirements and introduces CiRA, a tool that effectively detects causal relations with high precision and recall.
Findings
Causality is present in about one-third of requirement sentences.
CiRA achieves a macro-F1 score of 82%.
It outperforms related approaches by over 11% in macro-Recall and macro-Precision.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
