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

03/23/2023
by   Lukas Heiland, et al.
0

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.

READ FULL TEXT

page 1

page 10

research
03/17/2021

Characterizing Technical Debt and Antipatterns in AI-Based Systems: A Systematic Mapping Study

Background: With the rising popularity of Artificial Intelligence (AI), ...
research
05/05/2021

Software Engineering for AI-Based Systems: A Survey

AI-based systems are software systems with functionalities enabled by at...
research
10/21/2021

DeLag: Detecting Latency Degradation Patterns in Service-based Systems

Performance debugging in production is a fundamental activity in modern ...
research
05/09/2023

A Framework for Designing Foundation Model based Systems

The recent release of large language model (LLM) based chatbots, such as...
research
04/21/2022

Automated detection of dark patterns in cookie banners: how to do it poorly and why it is hard to do it any other way

Cookie banners, the pop ups that appear to collect your consent for data...
research
04/19/2023

hDesigner: Real-Time Haptic Feedback Pattern Designer

Haptic sensing can provide a new dimension to enhance people's musical a...
research
09/04/2020

Authentication and authorization in microservice-based systems: survey of architecture patterns

Context. Service-oriented architecture and its microservice-based approa...

Please sign up or login with your details

Forgot password? Click here to reset