Skip to main content
QUICK REVIEW

[Paper Review] Advancing Requirements Engineering through Generative AI: Assessing the Role of LLMs

Chetan Arora, John Grundy|arXiv (Cornell University)|Oct 21, 2023
Software Engineering Techniques and PracticesComputer Science9 citations
TL;DR

The paper explores how large language models can transform requirements engineering (RE) by enabling elicitation, specification, analysis, and validation, and provides a SWOT framework and preliminary evaluation in a real-world app context.

ABSTRACT

Requirements Engineering (RE) is a critical phase in software development including the elicitation, analysis, specification, and validation of software requirements. Despite the importance of RE, it remains a challenging process due to the complexities of communication, uncertainty in the early stages and inadequate automation support. In recent years, large-language models (LLMs) have shown significant promise in diverse domains, including natural language processing, code generation, and program understanding. This chapter explores the potential of LLMs in driving RE processes, aiming to improve the efficiency and accuracy of requirements-related tasks. We propose key directions and SWOT analysis for research and development in using LLMs for RE, focusing on the potential for requirements elicitation, analysis, specification, and validation. We further present the results from a preliminary evaluation, in this context.

Motivation & Objective

  • Identify how LLMs can address key RE challenges in elicitation, analysis, specification, and validation.
  • Propose a SWOT framework to evaluate LLM-enabled RE across all RE stages.
  • Illustrate potential RE workflows using LLM-based agents and prompting strategies.
  • Demonstrate preliminary feasibility through a real-world ActApp case study.

Proposed method

  • Adapt RE process into an LLM-driven workflow with prompting and prompt engineering.
  • Develop SWOT analyses for each RE stage to capture strengths, weaknesses, opportunities, and threats.
  • Provide example prompts and agent-based interaction scenarios for elicitation, specification, analysis, and validation.
  • Describe a preliminary evaluation using a real-world app context to motivate LLM-based RE adoption.

Experimental results

Research questions

  • RQ1How can LLMs support requirements elicitation, analysis, specification, and validation in RE workflows?
  • RQ2What strengths, weaknesses, opportunities, and threats arise from applying LLMs to each RE stage?
  • RQ3What are effective prompting and prompting-engineering practices for RE tasks?
  • RQ4What does a preliminary evaluation look like in a realistic RE setting with LLMs?

Key findings

  • LLMs can support domain understanding, unfamiliarity reduction, and multilingual stakeholder communication during elicitation.
  • LLMs can automate formatting, categorization, and cross-checking of requirements during specification, while highlighting regulatory alignment risks.
  • LLMs can automate quality evaluation, risk identification, conflict negotiation, and change impact analysis during analysis.
  • LLMs can simulate stakeholder perspectives and craft acceptance criteria and test scenarios during validation.
  • The study presents a preliminary evaluation in a real-world app, illustrating feasibility and motivating further exploration in RE tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.