Sammanfattning
Background: Requirements engineering (RE) remains essential for artificial intelligence (AI) systems to ensure that their development addresses stakeholder needs. However, because the behavior of AI components depends on the data used to train and evaluate them, specifying software functionality alone is insufficient. Data requirements are therefore needed to define desired data properties and constraints on data engineering processes. Yet, connecting data requirements to system level objectives and operational data engineering activities remains a challenge.
Objective: This thesis investigates how RE can support the elicitation, specification and analysis of data requirements for AI systems. The overall aim is to bridge the gap between high-level system objectives and operational data engineering activities by identifying existing challenges, examining how data requirements can be represented, and developing approaches for specifying and analyzing them.
Method: The research follows a Design Science Research approach and consists of four studies. Paper A and B address problem investigation, while Paper C and D focus on treatment design and validation. Paper A is a systematic literature review that examines data challenges and solutions across RE and AI engineering. Paper B conducts an analysis of existing machine learning documentation to investigate its potential as a source of requirements-relevant information and evaluates established RE templates for AI systems. Building on these findings, Paper C developed the Data Annotation Requirements Specification (DARS) framework and evaluated it through a user study with 12 practitioners. Paper D produced the CausalDR methodology that combines requirements decomposition with causal modeling, and is demonstrated in three AI applications with experimentation.
Findings: Paper A identified 28 data-related challenges and 108 proposed solutions, revealing differences between how RE and AI engineering address data challenges. Paper B found substantial requirements-relevant information in existing ML documentation while identifying limitations in established RE templates. The evaluation of DARS in Paper C showed that structured support helped practitioners identify previously overlooked information and elaborate annotation requirements with acceptance criteria. For Paper D, CausalDR demonstrated how data requirements can be derived from system requirements, and how experiments guided by causal models can evaluate the effects of the implementation of data requirements. The experiments also showed that improving individual data properties does not necessarily mean achieving the defined system objective.
Conclusions: The findings of this thesis suggest that managing data requirements should be an integral and iterative part of AI system engineering. Data requirements should specify desired data properties while maintaining connections to system requirements and the actions taken to satisfy them. Furthermore, the expected effects of implementing data requirements should be examined through empirical evidence rather than assumed. The proposed artifacts provide initial support for these activities, and further evaluation and integration into industrial workflows is needed.
Ämne/nyckelord
Requirements Engineering, AI Systems, Machine Learning, Data
Fulltext
Länk till fulltext-version av licentiatuppsatsen