面向需求的因果关系提取
Towards Causality Extraction from Requirements
摘要:
系统行为通常基于某些事件之间的因果关系(例如,如果事件1,则事件2)。因此,这些因果关系也在文本上嵌入了要求。我们希望提取这种因果关系的知识,并利用它来自动获得测试用例,并对需求之间的依赖关系进行推理。现有的自然语言处理方法无法从自然语言中提取出具有合理性能的因果关系。在本文中,我们描述了建立一个新的因果关系提取方法的第一步,并贡献:(1)一个NLP架构的基础上树递归神经网络(TRNN),我们将训练,以确定因果关系的NL要求和(2)注释方案和数据集,是适合训练TRNN。我们的数据集包含来自463个公开的需求文档的212,186个句子,是迈向因果关系提取的金标准语料库的第一步。我们鼓励其他研究人员为我们的数据集做出贡献,并帮助我们完成因果关系注释过程。此外,数据集还可以进一步注释,以作为其他RE相关NLP任务(如需求分类)的基准。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。