Design Patterns for AI-based Systems: A Multivocal Literature Review and Pattern Repository

Lukas Heiland, Marius Hauser, Justus Bogner

Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review

Abstract

Systems with artificial intelligence components, so-called AI-based systems, have gained considerable attention recently. However, many organizations have issues with achieving production readiness with such systems. As a means to improve certain software quality attributes and to address frequently occurring problems, design patterns represent proven solution blueprints. While new patterns for AI-based systems are emerging, existing patterns have also been adapted to this new context.The goal of this study is to provide an overview of design patterns for AI-based systems, both new and adapted ones. We want to collect and categorize patterns, and make them accessible for researchers and practitioners. To this end, we first performed a multivocal literature review (MLR) to collect design patterns used with AI-based systems. We then integrated the created pattern collection into a web-based pattern repository to make the patterns browsable and easy to find.As a result, we selected 51 resources (35 white and 16 gray ones), from which we extracted 70 unique patterns used for AI-based systems. Among these are 34 new patterns and 36 traditional ones that have been adapted to this context. Popular pattern categories include architecture (25 patterns), deployment (16), implementation (9), or security & safety (9). While some patterns with four or more mentions already seem established, the majority of patterns have only been mentioned once or twice (51 patterns). Our results in this emerging field can be used by researchers as a foundation for follow-up studies and by practitioners to discover relevant patterns for informing the design of AI-based systems.
Original languageEnglish
Title of host publicationProceedings - 2023 IEEE/ACM 2nd International Conference on AI Engineering - Software Engineering for AI, CAIN 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages184-196
ISBN (Electronic)9798350301137
DOIs
Publication statusPublished - 2023
Externally publishedYes
Event2nd IEEE/ACM International Conference on AI Engineering - Software Engineering for AI, CAIN 2023 - Melbourne, Australia
Duration: 15 May 202316 May 2023

Conference

Conference2nd IEEE/ACM International Conference on AI Engineering - Software Engineering for AI, CAIN 2023
Country/TerritoryAustralia
CityMelbourne
Period15/05/2316/05/23

Funding

This research was partially funded by the Ministry of Science, Research, and the Arts (MWK) Baden-Württemberg, Germany, within the Artificial Intelligence Software Academy (AISA).

FundersFunder number
Artificial Intelligence Software Academy
Ministry of Science, Research, and the Arts
Ministerium für Wissenschaft, Forschung und Kunst Baden-Württemberg

    Fingerprint

    Dive into the research topics of 'Design Patterns for AI-based Systems: A Multivocal Literature Review and Pattern Repository'. Together they form a unique fingerprint.

    Cite this