Using LLMs in Software Requirements Specifications: An Empirical Evaluation

AI-generated keywords: Software Requirements Specification Large Language Models Natural Language Processing SRS Drafts Time-saving potential

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • 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
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Madhava Krishna, Bhagesh Gaur, Arsh Verma, Pankaj Jalote

Accepted to RE@Next! at the IEEE International Requirements Engineering Conference 2024 at Reykjavik, Iceland

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.

Submitted to arXiv on 27 Apr. 2024

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.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2404.17842v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

In their study titled "Using LLMs in Software Requirements Specifications: An Empirical Evaluation," authors Madhava Krishna, Bhagesh Gaur, Arsh Verma, and Pankaj Jalote delve into the significance of Software Requirements Specification (SRS) documents in software development projects. The researchers investigate the potential of Large Language Models (LLMs), such as GPT-4 and CodeLlama, to generate accurate and well-structured drafts of SRS documents to streamline the software development lifecycle. Specifically focusing on drafting an SRS for a university club management system using LLMs, the study compares their output against human benchmarks across eight distinct criteria. The results indicate that LLMs can produce SRS drafts that match the quality of those generated by entry-level software engineers, showcasing completeness and consistency in their outputs. Furthermore, the researchers evaluate the ability of LLMs to identify and address issues within requirements documents. While GPT-4 demonstrates proficiency in pinpointing problems and offering constructive feedback for resolution, CodeLlama's validation results are less promising. To assess the time-saving potential of employing LLMs for SRS generation, the experiment is repeated across four different use cases. The findings suggest that utilizing LLMs can lead to a significant reduction in development time for entry-level software engineers. Ultimately, the study concludes that LLMs hold promise as valuable tools for software engineers seeking to enhance productivity by saving time and effort in generating, validating, and rectifying software requirements. This research was accepted at RE@Next! during the IEEE International Requirements Engineering Conference 2024 held in Reykjavik, Iceland.
Created on 01 May. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while 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.