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.
翻译:需求工程(RE)是软件开发中的关键阶段,涵盖软件需求的获取、分析、规格说明与确认。尽管RE至关重要,但由于沟通的复杂性、早期阶段的不确定性以及自动化支持不足,它仍是一个充满挑战的过程。近年来,大语言模型(LLMs)在自然语言处理、代码生成和程序理解等多个领域展现出显著潜力。本章探讨了LLMs推动RE过程的潜力,旨在提升需求相关任务的效率与准确性。我们提出了利用LLMs进行RE的研究与开发的关键方向及SWOT分析,重点关注需求获取、分析、规格说明与确认方面的潜力,并在此基础上展示了初步评估的结果。