Using LLMs in Software Requirements Specifications: An Empirical Evaluation
Authors: Madhava Krishna, Bhagesh Gaur, Arsh Verma, Pankaj Jalote
AI-generated Key Points
- Study title: "Using LLMs in Software Requirements Specifications: An Empirical Evaluation"
- Researchers: Madhava Krishna, Bhagesh Gaur, Arsh Verma, Pankaj Jalote
- Focus on Software Requirements Specification (SRS) documents in software development projects
- Investigate potential of Large Language Models (LLMs) like GPT-4 and CodeLlama for generating SRS drafts
- Comparison of LLM outputs against human benchmarks across eight criteria
- Results show LLMs can produce high-quality SRS drafts matching those by entry-level software engineers
- Evaluation of LLMs' ability to identify and address issues within requirements documents
- GPT-4 proficient in problem pinpointing and feedback; CodeLlama's validation results less promising
- Experiment repeated across four use cases showing significant reduction in development time with LLMs
- Conclusion: LLMs are valuable tools for enhancing productivity by saving time and effort in software requirements generation, validation, and rectification
Abstract: The creation of a Software Requirements Specification (SRS) document is important for any software development project. Given the recent prowess of Large Language Models (LLMs) in answering natural language queries and generating sophisticated textual outputs, our study explores their capability to produce accurate, coherent, and structured drafts of these documents to accelerate the software development lifecycle. We assess the performance of GPT-4 and CodeLlama in drafting an SRS for a university club management system and compare it against human benchmarks using eight distinct criteria. Our results suggest that LLMs can match the output quality of an entry-level software engineer to generate an SRS, delivering complete and consistent drafts. We also evaluate the capabilities of LLMs to identify and rectify problems in a given requirements document. Our experiments indicate that GPT-4 is capable of identifying issues and giving constructive feedback for rectifying them, while CodeLlama's results for validation were not as encouraging. We repeated the generation exercise for four distinct use cases to study the time saved by employing LLMs for SRS generation. The experiment demonstrates that LLMs may facilitate a significant reduction in development time for entry-level software engineers. Hence, we conclude that the LLMs can be gainfully used by software engineers to increase productivity by saving time and effort in generating, validating and rectifying software requirements.
Tools for this paper
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
⚠The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
⚠The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
We compare the title and abstract with papers indexed in our database. For arXiv papers, we search within the same category; for DOI and other sources, we search across sources and subjects. You can rerun the search as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.