Generative AI for Requirements Engineering: A Systematic Literature Review

Haowei Cheng,Jati H. Husen,Sien Reeve Peralta,Bowen Jiang,Nobukazu Yoshioka,Naoyasu Ubayashi,Hironori Washizaki
2024-09-10
Abstract:Context: Generative AI (GenAI) has emerged as a transformative tool in software engineering, with requirements engineering (RE) actively exploring its potential to revolutionize processes and outcomes. The integration of GenAI into RE presents both promising opportunities and significant challenges that necessitate systematic analysis and evaluation. Objective: This paper presents a comprehensive systematic literature review (SLR) analyzing state-of-the-art applications and innovative proposals leveraging GenAI in RE. It surveys studies focusing on the utilization of GenAI to enhance RE processes while identifying key challenges and opportunities in this rapidly evolving field. Method: A rigorous SLR methodology was used to analyze 27 carefully selected primary studies in-depth. The review examined research questions pertaining to the application of GenAI across various RE phases, the models and techniques used, and the challenges encountered in implementation and adoption. Results: The most salient findings include i) a predominant focus on the early stages of RE, particularly the elicitation and analysis of requirements, indicating potential for expansion into later phases; ii) the dominance of large language models, especially the GPT series, highlighting the need for diverse AI approaches; and iii) persistent challenges in domain-specific applications and the interpretability of AI-generated outputs, underscoring areas requiring further research and development. Conclusions: The results highlight the critical need for comprehensive evaluation frameworks, improved human-AI collaboration models, and thorough consideration of ethical implications in GenAI-assisted RE. Future research should prioritize extending GenAI applications across the entire RE lifecycle, enhancing domain-specific capabilities, and developing strategies for responsible AI integration in RE practices.
Software Engineering,Artificial Intelligence
What problem does this paper attempt to address?
The paper attempts to address the issue of how to leverage Generative Artificial Intelligence (GenAI) to optimize the Requirements Engineering (RE) process in Software Engineering (SE), and explores its current applications, challenges, and future directions in RE. Specifically, this study analyzes 27 selected research papers through a Systematic Literature Review (SLR) method, aiming to: 1. **Evaluate the current state**: Determine the application of GenAI in various stages of RE, particularly in the early stages such as requirements elicitation, analysis, specification, validation, and management. 2. **Identify key challenges**: Explore the main obstacles encountered in the practical application of GenAI, such as the limitations of domain-specific applications, issues with the interpretability of AI-generated outputs, and the accuracy of automation. 3. **Explore potential opportunities**: Highlight the potential of GenAI technology to improve RE processes, including enhancing requirement quality, increasing consistency, and improving traceability. 4. **Propose future research directions**: Suggest that future research should focus on expanding the application scope of GenAI throughout the entire RE lifecycle, enhancing domain-specific capabilities, and developing responsible AI integration strategies. Through these objectives, the paper hopes to provide a comprehensive perspective for the RE field to guide the future development and application of GenAI, thereby promoting the success of software projects.