ReqBrain: Task-Specific Instruction Tuning of LLMs for AI-Assisted Requirements Generation
Mohammad Kasra Habib, Daniel Graziotin, and Stefan Wagner

TL;DR
ReqBrain is a fine-tuned large language model tool that automates software requirements generation, improving accuracy and efficiency in requirements elicitation and specification through chat-based interactions.
Contribution
This work introduces ReqBrain, a novel AI-assisted tool employing fine-tuned LLMs for authentic and adequate requirements generation, with extensive evaluation of model effectiveness.
Findings
Zephyr-7b-beta achieved 89.30% Fl score
High human evaluation scores confirmed effectiveness
Fine-tuned LLMs can significantly aid requirements elicitation
Abstract
Requirements elicitation and specification remains a labor-intensive, manual process prone to inconsistencies and gaps, presenting a significant challenge in modern software engineering. Emerging studies underscore the potential of employing large language models (LLMs) for automated requirements generation to support requirements elicitation and specification; however, it remains unclear how to implement this effectively. In this work, we introduce ReqBrain, an Al-assisted tool that employs a fine-tuned LLM to generate authentic and adequate software requirements. Software engineers can engage with ReqBrain through chat-based sessions to automatically generate software requirements and categorize them by type. We curated a high-quality dataset of ISO 29148-compliant requirements and fine-tuned five 7B-parameter LLMs to determine the most effective base model for ReqBrain. The…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Attention Is All You Need · Linear Layer · Attention Dropout · Softmax · WordPiece · Weight Decay · Multi-Head Attention · Layer Normalization · Dropout
