arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.15340cs.SE
收藏

从机器学习文档到需求:使用需求语言衔接流程

From Machine Learning Documentation to Requirements: Bridging Processes with Requirements Languages

University of Gothenburg & Chalmers University of Technology(哥德堡大学与查尔姆斯理工大学)

Yi Peng, Hans-Martin Heyn, Jennifer Horkoff

AI总结:

针对机器学习赋能系统中组件需求规范难的问题,本研究调研公开ML文档的需求相关信息含量,评估三种主流需求表示方法的结构化效果,验证了借助ML文档生成结构化需求的可行路径。

摘要:

在机器学习赋能系统的软件工程流程中,机器学习组件的集成与验证是一项重大挑战。该工作的前提是明确机器学习组件(包括模型与数据)的需求规范,而传统需求工程(RE)流程在这一领域面临全新障碍。在此场景下,模型卡(ModelCards)、数据表(DataSheets)等机器学习文档是尚未得到充分挖掘的需求工程相关信息来源,但目前尚不确定能从这类文档中提取多少与需求工程相关的信息。本研究首先调研了20份公开可用的ModelCards与DataSheets中需求工程相关信息的数量与性质,结果表明这类文档包含大量潜在的需求工程相关信息。随后我们评估了三种成熟的需求工程表示方法(EARS、Rupp模板、Volere)将这类知识梳理为结构化需求的有效性,结果证明存在一条将机器学习专属知识转化为结构化需求的路径,可在机器学习系统的软件工程流程中纳入机器学习文档。

英文摘要:

In software engineering processes for machine learning (ML)-enabled systems, integrating and verifying ML components is a major challenge. A prerequisite is the specification of ML component requirements, including models and data, an area where traditional requirements engineering (RE) processes face new obstacles. An underexplored source of RE-relevant information in this context is ML documentation such as ModelCards and DataSheets. However, it is uncertain to what extent RE-relevant information can be extracted from these documents. This study first investigates the amount and nature of RE-relevant information in 20 publicly available ModelCards and DataSheets. We show that these documents contain a significant amount of potentially RE-relevant information. Next, we evaluate how effectively three established RE representations (EARS, Rupp's template, and Volere) can structure this knowledge into requirements. Our results demonstrate that there is a pathway to transform ML-specific knowledge into structured requirements, incorporating ML documentation in software engineering processes for ML systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑