Extracting Design Patterns from Mined Component Models of ML-Enabled Systems
Paper in 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

Author

Erik Eriksson

Student at Chalmers

Joel Olausson

Student at Chalmers

Vladislav Indykov

University of Gothenburg

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Daniel Strüber

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Radboud University

University of Gothenburg

Rebekka Wohlrab

Carnegie Mellon University (CMU)

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

University of Gothenburg

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

Swedish Research Council (VR) (2021-04881), 2022-01-01 -- 2024-12-31.

Subject Categories (SSIF 2025)

Software Engineering

Computer Sciences

Computer Systems

DOI

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

More information

Latest update

9/23/2025