Leveraging Requirements Elicitation through Software Requirement Patterns and LLMs

Saved in:
Bibliographic Details
Title: Leveraging Requirements Elicitation through Software Requirement Patterns and LLMs
Authors: Xavier Franch, Stefania Gnesi, Federico Paccosi, Carme Quer, Laura Semini
Source: Lecture Notes in Computer Science ISBN: 9783031885303
UPCommons. Portal del coneixement obert de la UPC
Universitat Politècnica de Catalunya (UPC)
Publisher Information: Springer Nature Switzerland, 2025.
Publication Year: 2025
Subject Terms: LLM, Àrees temàtiques de la UPC::Informàtica::Enginyeria del software, Requirement patterns, Requirements elicitation, Prompts, Large language models
Description: Software requirement patterns (SRPs) is one of the many techniques that contribute to requirements elicitation. At this respect, the emergence of large language models (LLMs) opens the door to cost-effective strategies to create and use SRPs. Still, the stochastic nature of LLMs threatens the inherent quality of requirements reuse and consequently, that of the elicitation process. [Question/problem] In this scientific evaluation paper, we investigate whether and how LLMs can be used in order to create an SRP catalogue and elicit requirements from it. [Principal ideas/results] SRPs can be effectively extracted by querying an LLM through appropriate prompts, but still expert assessment is key in order to deliver the best results. LLM-driven generation of questions to stakeholders for eliciting requirements from these SRPs is feasible but suffers from deficiencies such as excessive number of repetitions and out of scope requirements. [Contribution] We show that (1) LLMs can be embedded into the requirements elicitation process through a pattern instantiation-based strategy, but at the same time (2) the current state of LLM technologies requires expert assessment at a large extent.
This paper has been partially funded by the Spanish Ministerio de Ciencia e Innovación under project/funding scheme PID2020-117191RBI00/AEI/10.13039/501100011033, by the Italian MIUR, under project PRIN 2022 STENDHAL and PNRR Project Securing sOftware Platforms.
Document Type: Part of book or chapter of book
Conference object
File Description: application/pdf
Language: English
DOI: 10.1007/978-3-031-88531-0_19
Rights: Springer Nature TDM
Accession Number: edsair.doi.dedup.....8b44947a2c7c2d0905362dc78d6dcae6
Database: OpenAIRE
Description
Abstract:Software requirement patterns (SRPs) is one of the many techniques that contribute to requirements elicitation. At this respect, the emergence of large language models (LLMs) opens the door to cost-effective strategies to create and use SRPs. Still, the stochastic nature of LLMs threatens the inherent quality of requirements reuse and consequently, that of the elicitation process. [Question/problem] In this scientific evaluation paper, we investigate whether and how LLMs can be used in order to create an SRP catalogue and elicit requirements from it. [Principal ideas/results] SRPs can be effectively extracted by querying an LLM through appropriate prompts, but still expert assessment is key in order to deliver the best results. LLM-driven generation of questions to stakeholders for eliciting requirements from these SRPs is feasible but suffers from deficiencies such as excessive number of repetitions and out of scope requirements. [Contribution] We show that (1) LLMs can be embedded into the requirements elicitation process through a pattern instantiation-based strategy, but at the same time (2) the current state of LLM technologies requires expert assessment at a large extent.<br />This paper has been partially funded by the Spanish Ministerio de Ciencia e Innovación under project/funding scheme PID2020-117191RBI00/AEI/10.13039/501100011033, by the Italian MIUR, under project PRIN 2022 STENDHAL and PNRR Project Securing sOftware Platforms.
DOI:10.1007/978-3-031-88531-0_19