迈向对话式开发环境:使用心智理论与多智能体架构进行需求细化
Towards Conversational Development Environments: Using Theory-of-Mind and Multi-Agent Architectures for Requirements Refinement
AI总结:
本文提出名为AlignMind的FM驱动多智能体系统,结合心智理论认知架构,在需求细化阶段迭代澄清利益相关者意图并转化为可执行工作流,经150个用例评估证明能显著提升软件开发中的需求捕捉准确性。
摘要:
基础模型(FMs)在各种自然语言任务中展现出了卓越的能力。然而,准确捕捉利益相关者需求的能力,仍然是将FMs用于软件开发时面临的一项重大挑战。本文提出了一种新颖的方法,利用一个名为AlignMind的FM驱动的多智能体系统来解决这一问题。通过采用心智理论能力增强FMs的认知架构,我们的方法考虑了软件开发者的心理状态和视角。这使得我们的解决方案能够迭代地澄清利益相关者的信念、愿望和意图,在软件工程中常被忽视的需求细化阶段(该阶段在初始获取后至关重要),将其转化为一组细化需求及相应的可执行自然语言工作流。通过对涵盖150个多样化用例的多维度评估,我们证明该方法能准确捕捉利益相关者的意图和需求,并将其清晰表达为规范说明和分步行动计划。我们的研究结果表明,软件开发过程中的显著改进潜力证明了这些投资的合理性。我们的工作为构建意图优先的开发环境奠定了未来创新的基础,在这些环境中,软件开发者可以与AI无缝协作,创建真正满足其需求的软件。
英文摘要:
Foundation Models (FMs) have shown remarkable capabilities in various natural language tasks. However, their ability to accurately capture stakeholder requirements remains a significant challenge for using FMs for software development. This paper introduces a novel approach that leverages an FM-powered multi-agent system called AlignMind to address this issue. By having a cognitive architecture that enhances FMs with Theory-of-Mind capabilities, our approach considers the mental states and perspectives of software makers. This allows our solution to iteratively clarify the beliefs, desires, and intentions of stakeholders, translating these into a set of refined requirements and a corresponding actionable natural language workflow in the often-overlooked requirements refinement phase of software engineering, which is crucial after initial elicitation. Through a multifaceted evaluation covering 150 diverse use cases, we demonstrate that our approach can accurately capture the intents and requirements of stakeholders, articulating them as both specifications and a step-by-step plan of action. Our findings suggest that the potential for significant improvements in the software development process justifies these investments. Our work lays the groundwork for future innovation in building intent-first development environments, where software makers can seamlessly collaborate with AIs to create software that truly meets their needs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。