多模型AI生成验收标准的需求工程验证方法
Validating Multi-Model AI-Generated Acceptance Criteria in Requirements Engineering
该论文提出一种面向AI生成验收标准的验证方法,结合RAG、多模型生成与结构化人在回路流程。原型支持输入用户故事、由多个LLM生成验收标准、可选检索需求相关示例增强生成、并排比较输出、查看检索上下文,以及选择、编辑或重新生成候选标准后提交评审定稿版本。系统记录模型输出、用户干预、检索设置与最终标准,形成可追溯的决策日志。
arXiv:2611.32374v1 Announce Type: cross Abstract: Large language models (LLMs) are increasingly used in software engineering to generate artifacts such as requirements, user stories, acceptance criteria, documentation, and code. Their use in requirements engineering raises important questions about correctness, traceability, and hallucination, especially because flawed specifications can affect later design, implementation, and verification activities. While much recent work on AI-assisted software engineering has focused on code generation and code-level validation, the validation of AI-generated specifications has received less attention. This paper addresses this gap by presenting a validation-oriented approach for AI-generated acceptance criteria. The approach combines retrieval-augmented generation (RAG), multi-model generation, and an explicitly structured human-in-the-loop workflow. We describe a working prototype that allows users to prepare or enter user stories, generate acceptance criteria using several LLMs, optionally augment generation with retrieved requirements-related examples, compare outputs side by side, inspect retrieved context, and select, edit, or regenerate candidate criteria before explicitly submitting a reviewer-finalized version. The system also records model outputs, user interventions, retrieval settings, and final criteria as part of a logged decision process. Rather than claiming that generation accuracy is already improved, the contribution of this work is to operationalize validation as an explicit, inspectable, and accountable process for AI-generated requirements artifacts.
来源:arXiv (AI + Vision + Imaging) · arxiv.org