Skip to content

Requirement or Not, That is the Question: A Case from the Railway Industry in REFSQ

Requirement or Not, That is the Question: A Case from the Railway Industry
Sarmad Bashir, Muhammad Abbas, Mehrdad Saadatmand , Eduard Paul Enoiu, Markus Bohlin, Pernilla Lindberg
In Requirements Engineering: Foundation for Software Quality (REFSQ 2023)
Abstract:
[Context and Motivation] Requirements in tender documents are often mixed with other supporting information. Identifying requirements in large tender documents could aid the bidding process and help estimate the risk associated with the project. [Question/problem] Manual identification of requirements in large documents is a resource-intensive activity that is prone to human error and limits scalability. This study compares various state-of-the-art approaches for requirements identification in an industrial context. For generalizability, we also present an evaluation on a real-world public dataset. [Principal ideas/results] We formulate the requirement identification problem as a binary text classification problem. Various state-of-the-art classifiers based on traditional machine learning, deep learning, and few-shot learning are evaluated for requirements identification based on accuracy, precision, recall, and F1 score. Results from the evaluation show that the transformer-based BERT classifier performs the best, with an average F1 score of 0.82 and 0.87 on industrial and public datasets, respectively. Our results also confirm that few-shot classifiers can achieve comparable results with an average F1 score of 0.76 on significantly lower samples, i.e., only 20% of the data. [Contribution] There is little empirical evidence on the use of large language models and few-shots classifiers for requirements identification. This paper fills this gap by presenting an industrial empirical evaluation of the state-of-the-art approaches for requirements identification in large tender documents. We also provide a running tool and a replication package for further experimentation to support future research in this area.
Full Text:

Bibtex:

@InProceedings{10.1007/978-3-031-29786-1_8,
author="Bashir, Sarmad
and Abbas, Muhammad
and Saadatmand, Mehrdad
and Enoiu, Eduard Paul
and Bohlin, Markus
and Lindberg, Pernilla",
editor="Ferrari, Alessio
and Penzenstadler, Birgit",
title="Requirement or Not, That is the Question: A Case from the Railway Industry",
booktitle="Requirements Engineering: Foundation for Software Quality",
year="2023",
publisher="Springer Nature Switzerland",
address="Cham",
pages="105--121",
isbn="978-3-031-29786-1"
}