Extracting Design Patterns from Mined Component Models of ML-Enabled Systems
Paper i proceeding, 2026

Machine Learning (ML) is increasingly integrated into software systems, introducing a set of recurring architectural challenges not commonly addressed in traditional development, such as managing data-driven components, uncertainty, and quality concerns specific to ML. While established software design patterns exist for conventional systems, a coherent set of patterns for ML-enabled architectures is still lacking. Such patterns would help guide recurring decisions and make their trade-offs more transparent to architects. This paper presents 14 design patterns identified from a set of 49 component models of ML-enabled systems, which we compiled through a multivocal literature review covering both academic and grey literature sources. Each pattern captures a recurring architectural decision grounded in real-world practice. To assess their practical relevance and implications, we conducted interviews with 10 experts, focusing on how the identified patterns impact key quality attributes such as maintainability, reliability, explainability, and fairness. The resulting pattern collection supports software architects in reasoning about trade-offs in ML-based system design and provides a foundation for further research on architectural best practices.

Machine Learning

Software Architecture

Component Models

Design Patterns

Författare

Erik Eriksson

Student vid Chalmers

Joel Olausson

Student vid Chalmers

Vladislav Indykov

Göteborgs universitet

Chalmers, Data- och informationsteknik, Interaktionsdesign och Software Engineering

Daniel Strüber

Chalmers, Data- och informationsteknik, Interaktionsdesign och Software Engineering

Radboud Universiteit

Göteborgs universitet

Rebekka Wohlrab

Carnegie Mellon University (CMU)

Chalmers, Data- och informationsteknik, Interaktionsdesign och Software Engineering

Göteborgs universitet

Lecture Notes in Computer Science

0302-9743 (ISSN) 1611-3349 (eISSN)

Vol. 16081 LNCS 113-129
9783032041890 (ISBN)

51st Euromicro Conference on Software Engineering and Advanced Applications, SEAA 2025
Salerno, Italy,

SEMLA: Software Engineering for Machine Learning - integrated approach

Vetenskapsrådet (VR) (2021-04881), 2022-01-01 -- 2024-12-31.

Ämneskategorier (SSIF 2025)

Programvaruteknik

Datavetenskap (datalogi)

Datorsystem

DOI

10.1007/978-3-032-04190-6_8

Mer information

Senast uppdaterat

2025-09-23