Introduction
Traditional software architecture frameworks, such as TOGAF or the "4+1" model, are increasingly inadequate for the complexities of Machine Learning (ML). In traditional software engineering, system behavior is defined by code at design time. However, ML-enabled systems derive behavior from data at runtime, necessitating a fundamental shift in architectural thinking. This paper addresses the "ML Mismatch"—the gap between the concerns of software architects (e.g., UML, class diagrams) and those of data scientists (e.g., model accuracy, retraining loops) and data engineers (e.g., scalable pipelines).
Methods
The researchers conducted a two-step empirical study to validate proposed framework enhancements. First, qualitative semi-structured interviews were held with four domain experts to identify initial stakeholder concerns. Second, a quantitative survey was administered to 61 subject matter experts (SMEs) across 25 organizations and 10 countries. The study aimed to identify which "model kinds" (notations like math, charts, or UML) are most effective for different stakeholders during collaboration.
Datasets and Demographics
The primary dataset for this research consists of survey responses from 61 industry and academic experts. This group provides a diverse cross-section of the field, including data scientists, ML engineers, software architects, and CTOs. The demographic breakdown ensures that the proposed framework extensions are grounded in the actual needs of modern practitioners.
Key Insights and Framework Extensions
The authors argue that ML models must be treated as distinct architectural entities. To bridge the communication gap, the paper proposes formalizing how modern stakeholders are integrated through dedicated viewpoints.
Two New Viewpoint Categories
- Analytics Modeling (Data Science): Focuses on mathematical models, inference logic, and performance metrics like Accuracy, Precision, and Recall.
- Analytics Operations (Data Engineering): Focuses on the "plumbing"—the pipelines, versioning, and deployment of models into production.
Notation Preferences
A critical finding is the divergence in preferred notations. Data scientists prioritize mathematical notation and statistical plots for peer collaboration. In contrast, data engineers prefer data flow diagrams and UML class diagrams. For data scientists, the "workflow/pipeline" is the most vital model kind, emphasizing that data movement is often more architecturally significant than static component structure.
Key Results
The study validated a list of 14 stakeholder groups, including new roles like Ethics Committees, Data Protection Officers, and Safety Engineers. The paper provides a comprehensive mapping (Table IV in the original text) of which notations should be used for specific stakeholder collaborations. For instance, mathematical notation is the gold standard for data scientists, while data flow diagrams are preferred by data engineers.
Limitations and Future Work
The study's reliance on convenience sampling may introduce bias, and the views of operations and maintenance teams were not fully explored. Future research will focus on creating standardized "plug-ins" for existing frameworks like TOGAF and extending these architectural viewpoints to other AI sub-fields, such as symbolic AI and robotics.
Summary updated