通过透明性和可追溯性弥合人工智能辅助科学软件开发的差距
Bridging the Gap on AI-Assisted Scientific Software Development Through Transparency and Traceability
AI总结:
本文探讨了在严格软件质量保证背景下如何负责任地使用人工智能辅助科学软件开发,提出了一种结构化框架用于AI辅助的验证与验证案例开发,以确保软件质量。
摘要:
人工智能辅助开发在科学软件中的广泛应用已成为现实。研究人员已经利用大型语言模型编写代码、生成测试用例和起草文档,但这种实践在正式工作流程和出版物中仍未得到认可和指导。这种随意、无监管的使用对科学软件质量构成系统性风险,特别是在涉及严格软件质量保证(SQA)或甚至核质量保证等级1(NQA-1)标准的安全相关建模和模拟工具中,可追溯性、独立验证和文档化流程至关重要。因此,科学软件社区面临的挑战不是是否允许人工智能辅助开发,而是如何负责任地管理它。本文提出了一种在严格软件质量保证背景下的人工智能辅助代码开发指导方案。通过使用TMAP8——一个用于聚变能的开源氚迁移代码作为演示平台,我们提出了一种结构化的框架用于人工智能辅助的验证与验证(V&V)案例开发。V&V案例开发是建立治理的理想试验场:因为验证案例有已知的解决方案,正确性可以客观测量,错误可以由设计识别,且所有成果都是完全可审计的。所提出的指导方案基于本文所述的实践经验,符合NQA-1要求,保持人类问责制,并建立了负责任的人工智能辅助科学软件开发所要求的披露和审查标准。
英文摘要:
The widespread adoption of AI-assisted development in scientific software is not a future concern -- it is a present reality. Researchers are already using large language models to write code, generate test cases, and draft documentation, yet this practice remains largely unacknowledged and unguided in formal workflows and published work. This ad hoc, ungoverned use of AI represents a systemic risk to scientific software quality, particularly in safety-relevant modeling and simulation tools subject to strict Software Quality Assurance (SQA), or even Nuclear Quality Assurance Level 1 (NQA-1) standards, for which traceability, independent verification, and documented procedures are paramount. The question facing the scientific software community is, therefore, not whether to permit AI-assisted development, but how to govern it responsibly. This paper proposes guidance for AI-assisted code development in the context of strict software quality assurance. Using TMAP8 -- an open-source tritium migration code for fusion energy -- as a demonstration platform, we propose a structured framework for AI-assisted verification and validation (V&V) case development. V&V case development represents the ideal proving ground for establishing that governance: because validation cases have known solutions, correctness is objectively measurable, errors are identifiable by design, and the artifacts are fully auditable. The proposed guidance, developed based on practical experience described herein, operates within NQA-1 requirements, preserves human accountability, and establishes the disclosure and review standards that responsible AI-assisted scientific software development demands.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。