[Paper Review] AI based Multiagent Approach for Requirements Elicitation and Analysis
This paper proposes a multi-agent AI system using large language models (LLMs) to automate requirements elicitation and analysis in software engineering. The system employs four specialized agents—Product Owner, QA, Senior Developer, and LLM Manager—to generate, assess, and prioritize user stories using GPT-3.5, GPT-4 Omni, LLaMA3-70B, and Mixtral-8B. GPT-3.5 achieved the highest semantic similarity scores, while Mixtral delivered the fastest API response times, demonstrating that model selection significantly impacts efficiency and quality in requirements engineering.
Requirements Engineering (RE) plays a pivotal role in software development, encompassing tasks such as requirements elicitation, analysis, specification, and change management. Despite its critical importance, RE faces challenges including communication complexities, early-stage uncertainties, and accurate resource estimation. This study empirically investigates the effectiveness of utilizing Large Language Models (LLMs) to automate requirements analysis tasks. We implemented a multi-agent system that deploys AI models as agents to generate user stories from initial requirements, assess and improve their quality, and prioritize them using a selected technique. In our implementation, we deployed four models, namely GPT-3.5, GPT-4 Omni, LLaMA3-70, and Mixtral-8B, and conducted experiments to analyze requirements on four real-world projects. We evaluated the results by analyzing the semantic similarity and API performance of different models, as well as their effectiveness and efficiency in requirements analysis, gathering users' feedback on their experiences. Preliminary results indicate notable variations in task completion among the models. Mixtral-8B provided the quickest responses, while GPT-3.5 performed exceptionally well when processing complex user stories with a higher similarity score, demonstrating its capability in deriving accurate user stories from project descriptions. Feedback and suggestions from the four project members further corroborate the effectiveness of LLMs in improving and streamlining RE phases.
Motivation & Objective
- To address challenges in requirements engineering such as communication complexity, uncertainty, and resource estimation by leveraging AI.
- To investigate how AI agents can support and streamline requirements elicitation, analysis, and prioritization in agile development.
- To evaluate the effectiveness and efficiency of different LLMs in generating and prioritizing high-quality user stories across real-world projects.
- To develop a multi-agent framework that simulates stakeholder roles and enhances collaboration in requirements analysis.
Proposed method
- A multi-agent architecture was designed with four specialized LLM agents: Product Owner, Quality Assurance and Compliance, Senior Developer, and LLM Manager.
- User stories were generated from initial project descriptions using four LLMs: GPT-3.5, GPT-4 Omni, LLaMA3-70B, and Mixtral-8B.
- Two user story quality frameworks were applied to assess and improve the generated stories for completeness and clarity.
- Three prioritization techniques—100 Dollar Allocation, WSJF, and AHP—were implemented to rank user stories based on business value and effort.
- Performance was evaluated using semantic similarity scores, API response times, number of epics and user stories, and word count metrics.
- Empirical evaluation was conducted on four real-world project descriptions, with feedback collected from project members to validate usability and effectiveness.
Experimental results
Research questions
- RQ1How can AI agents assist in requirements analysis tasks such as user story generation, quality assessment, and prioritization?
- RQ2How do different large language models perform in terms of effectiveness and efficiency when generating and prioritizing user stories?
- RQ3Which prioritization technique yields the most consistent and actionable results across diverse LLMs and project contexts?
- RQ4What are the strengths and limitations of each LLM in handling complex, ambiguous, or ambiguous requirements?
Key findings
- GPT-3.5 achieved the highest semantic similarity scores across all projects, indicating superior accuracy in deriving contextually relevant user stories from initial requirements.
- Mixtral-8B delivered the fastest API response times, making it most suitable for time-sensitive requirements analysis tasks.
- GPT-4 Omni generated the highest number of user stories but had the longest API response times, suggesting a trade-off between volume and speed.
- The 100 Dollar Allocation prioritization technique consistently produced strong, actionable results across all models, outperforming WSJF and AHP in stability and practicality.
- LLaMA3-70B and Mixtral-8B showed stable and moderate similarity scores, indicating reliable performance in context-aware response generation.
- Feedback from project members confirmed that the multi-agent system improved clarity, reduced ambiguity, and streamlined stakeholder alignment in requirements analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.