Documenting use cases in the affective computing domain using Unified Modeling Language
This work addresses the need for standardized documentation of AI use cases to support ethical analysis and trustworthy system design, specifically for researchers and practitioners in affective computing, though it is incremental as it adapts existing UML tools.
The authors tackled the lack of a standard methodology for documenting AI use cases, particularly in affective computing, by proposing a novel approach using Unified Modeling Language (UML) diagrams and structured tables, with examples provided for affective computing scenarios.
The study of the ethical impact of AI and the design of trustworthy systems needs the analysis of the scenarios where AI systems are used, which is related to the software engineering concept of "use case" and the "intended purpose" legal term. However, there is no standard methodology for use case documentation covering the context of use, scope, functional requirements and risks of an AI system. In this work, we propose a novel documentation methodology for AI use cases, with a special focus on the affective computing domain. Our approach builds upon an assessment of use case information needs documented in the research literature and the recently proposed European regulatory framework for AI. From this assessment, we adopt and adapt the Unified Modeling Language (UML), which has been used in the last two decades mostly by software engineers. Each use case is then represented by an UML diagram and a structured table, and we provide a set of examples illustrating its application to several affective computing scenarios.