Agent4RE: A Self-Refining Multi-agent Framework for End-to-End Software Requirements Engineering and Benchmarking
Abstract
Existing LLM-based approaches for software Requirements Engineering (RE) typically rely on basic prompting strategies or rudimentary agent collaboration, under-utilizing the full potential of multi-agent systems. Meanwhile, available datasets focus on isolated subtasks, such as requirements extraction, classification, and completeness detection, leaving the absence of an end-to-end RE benchmark that spans from requirements elicitation to generation. We present Agent4RE - a self-refining multi-agent RE system that orchestrates specialized agents and incorporates two iterative improvement loops. To support evaluation, we construct RE-E2E - a real-world dataset built from human-written requirement specifications, enabling end-to-end assessment of RE workflows. Building on this foundation, we further propose two enhanced Agent4RE versions that incorporate either autonomous self-refinement or structured human feedback, and analyze their strengths and limitations across different scenarios. Evaluation on 8 Large Language Models (LLMs) demonstrates that all three Agent4RE variants consistently outperform a domain-context-augmented prompting baseline by average 8% in text-based metrics. The two enhanced variants achieve the highest LLM-as-a-judge and human ratings, surpassing two RE baselines by approximately 0.8 points on a four-point scale. This consistent performance establishes Agent4RE as a practical end-to-end RE solution for industrial environments.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- Accepted to the ASE@POVC track; The E2E requirements engineering benchmark is available https://zenodo.org/records/22815961
Related papers
Does Training-Free Delegation Improve Cost Efficiency in Multi-Agent Software Engineering Systems? An Empirical Study
Shared title terminologycs.SEMootez Saad, Mohammad Masudur Rahman, Tushar Sharma
MEDSWE-BENCH: A Benchmark for Biomedical Software Engineering Agents
Shared title terminologycs.SEZhaoyang Zhu, Sicong Li, Zihan Liao et al.
Repairing Model Context Protocol Software: Fix Patterns, Benchmark, and Agent Evaluation
Shared title terminologycs.SEMina Taraghi, Mohammad Mehdi Morovati, Foutse Khomh
From Software Factory to Solution Factory: Bounded, Human-Gated Recursive Self-Improvement of an LLM Agent Pipeline Across Projects
Shared title terminologycs.SEQiyu Zhang
AMoRE: An agentic framework for end-to-end metamorphic testing of web applications
Shared title terminologycs.SEAndrei Coman, José Luis Fernández Alemán, Begoña Moros Valle
Interactive Prompting Assistant: Just-in-Time Requirement Clarification for Agentic Software Development
Shared title terminologycs.SECuong Chi Le, Minh Le-Anh, Long Vu et al.