Software Requirements Specification (SRS) is a crucial artifact in the software development lifecycle that bridges the gap between stakeholders (clients, users, developers) by establishing a common understanding of the software’s intended functionality and behavior. Different stakeholder interpretations could lead to misunderstandings about the project’s goals and requirements. Ambiguous requirements result in incorrect implementations and inconsistent designs, causing rework and inefficiencies. Addressing misunderstandings and rework due to ambiguity increases the overall project costs. Finding and properly understanding the ambiguous words can address these problems more efficiently. This paper presents a novel framework that uses large language models (LLMs) to identify, categorize, and resolve ambiguities in software requirements documents. This paper addresses seven types of ambiguity: semantic, syntactic, functional, operational, scope, temporal, and quality. By harnessing LLMs’ natural language understanding capabilities, the framework detects ambiguous statements and proposes unambiguous alternatives, potentially improving the quality and clarity of software requirements specifications. It ensures the final developed product meets the stakeholder’s needs and expectations, leading to higher satisfaction.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Enhancing Software Requirements Quality: Ambiguity Detection and Resolution Using Large Language Models

  • Ankit Raj,
  • Muhammad Abdul Basit Ur Rahim,
  • Shahid Hussain,
  • Ilmaan Zia

摘要

Software Requirements Specification (SRS) is a crucial artifact in the software development lifecycle that bridges the gap between stakeholders (clients, users, developers) by establishing a common understanding of the software’s intended functionality and behavior. Different stakeholder interpretations could lead to misunderstandings about the project’s goals and requirements. Ambiguous requirements result in incorrect implementations and inconsistent designs, causing rework and inefficiencies. Addressing misunderstandings and rework due to ambiguity increases the overall project costs. Finding and properly understanding the ambiguous words can address these problems more efficiently. This paper presents a novel framework that uses large language models (LLMs) to identify, categorize, and resolve ambiguities in software requirements documents. This paper addresses seven types of ambiguity: semantic, syntactic, functional, operational, scope, temporal, and quality. By harnessing LLMs’ natural language understanding capabilities, the framework detects ambiguous statements and proposes unambiguous alternatives, potentially improving the quality and clarity of software requirements specifications. It ensures the final developed product meets the stakeholder’s needs and expectations, leading to higher satisfaction.