SlideShare a Scribd company logo
Hans-Martin Heyn
University of Gothenburg,
Sweden
Requirements Analysis and
Decomposition for Distributed
Systems based on Deep Learning
A compositional architecture
approach
26. September 2023
Eric Knauss, Hans-Martin Heyn, Olof Eriksson,
Oliver Brunnegard, Stefan Andersson
2
Context
3
Context
4
Concerns in (AI)
system design
• AI, and especially highly complex
DNN, cause more concerns to be
included in the system design.
• A reason for the additional
concerns can be uncertainty in
how to build these systems right.
5
• Co-design can stand for “collaborative
design”.
• All required stakeholders should be
actively involved in the design process.
– Developers of different disciplines, Data Experts,
Customers, Business Owners, …
• See for example
– Fitzgerald, J., Larsen, P.G., Verhoef, M., 2014.
Collaborative design for embedded systems. Academic
Press 10, 978-3.
– Nalchigar, S., Yu, E., Keshavjee, K., 2021. Modeling
machine learning requirements from three perspectives: a
case report from the healthcare domain. Requirements
Engineering 26, 237-254.
undraw.co
Co-design of a system
6
• Co-design can mean “integrated
design”.
• Different design aspects of the system,
e.g., hardware, software, but also
quality aspects are closely coupled to
each other.
• This can create a high dimensional design space that
needs to involve in parallel to ensure “safe by
design”, “secure by design”, “fair by design”, or any
other “quality by design” necessary.
undraw.co
Co-design of a system
7
• Designing a complex and distributed
system is a hierarchical process.
– Several, sometimes highly specialized views
allow for decomposition of the design task.
– Requirements and architecture often co-
evolve (Twin Peaks).
• Developing complex system is a highly
collaborative act between many
stakeholders.
Co-design of a system
undraw.co
8
• We needed to define an architectural framework, that
supports both aspects of co-design.
• The framework must support explicitly aspects of
distributed systems (IoT) and AI system development.
– Learning and data management
• The framework also needed to be flexible enough to
cover all current use cases, and new future use cases.
– A special focus therefore lies on the support of non-
functional requirements / quality views
– Traceability of design decisions
• A single reference architecture would have been too
limiting for allowing the variety of (open) use cases in
VEDLIoT.
Co-Design
Integrated
design
Collaborative
design
Problem Definition
9
Require-
ments &
Context
Data
Ingestion
Data Prep-
aration
Training
Validation
and
Testing
Deploy-
ment &
Monitoring
• Developing AI systems in an truely agile software
project is challenging
• Strong dependencies exist between different steps
in a typical ”AI/ML development pipeline”.
AI Dev. Pipelines and Agile?
10
Require-
ments &
Context
Data
Ingestion
Data Prep-
aration
Training
Validation
and
Testing
Deploy-
ment &
Monitoring
AI Dev. Pipelines and Agile?
11
Require-
ments &
Context
Data
Ingestion
Data Prep-
aration
Training
Validation
and
Testing
Deploy-
ment &
Monitoring
AI Dev. Pipelines and Agile?
12
Require-
ments &
Context
Data
Ingestion
Data
Prep-
aration
Training
Validation
and
Testing
Deploy-
ment &
Monitorin
g
Solution
Space
Problem
Space
AI Dev. Pipelines and Agile?
13
Solution
Space
Problem
Space
Requirements &
Context Data Ingestion
Data Prep-
aration
Training
Validation and
Testing
Deployment &
Monitoring
Validation and
Testing
Validation and
Testing
Compositional thinking for architecture frameworks
14
Solution
Space
Problem
Space
Compositional thinking for architecture frameworks
15
Solution
Space
Problem
Space
Compositional thinking for architecture frameworks
16
Knowledge creation (e.g. definition of
security goals).
Concept design (e.g. introduction of safety
mechanisms).
Final design (e.g. assigning functions to
secure processor environments.
Monitoring concept definition (e.g. monitoring of
secure processing environment).
Level of abstraction - Example
17
Rule 1: Clusters of concern shall contain architectural
views with different levels of details of a certain
aspect of the system under development.
Rule 2: Architectural views shall be sorted into levels
of abstractions, according to their level of details
about the system under development.
Rule 3: By using correspondence rules, it shall be
possible to arrive at different architectural views of the
system without encountering inconsistencies.
Rule 4: Architectural views, and relations between
them, shall be mapped to the next lower level of
abstraction.
Compositional thinking for architecture frameworks
18
Iterative and middle-out design of AI systems
• Step 1: Identify clusters of
concern
• Step 2: Identify levels of
abstraction
• Step 3: Add existing
architectural decisions.
• Step 4: Add missing
architectural views.
• Step 5: Add missing relations.
• Step 6: Iterate if needed.
19
Step 1: Identify clusters of
concern
Step 2: Identify levels of
abstraction
Step 3: Add existing
architectural decisions
Step 4: Add missing
architectural views
Step 5: Add missing
relations
.
.
.
...
Step 5: Add missing
relations
Traceability
20
Traceability
undraw.co
21
A compositional architecture framework for VEDLIoT
22
• The architectural framework helps connecting different aspects of a
(distributed) AI system together.
• It is based on mathematical ideas from category theory and compositional thinking.
• It allows for “middle-out” development, i.e., existing design decisions are
explicitly considered.
• It allows to keep an overview over the necessary quality aspects, such as
safety, security, fairness, or privacy aspects of the systems.
• The framework enforces a runtime concept for the system.
• The traceability of design decisions allows for compliance with upcoming AI
regulations.
Summary
23
Thank you for your attention.

More Related Content

PPTX
NGIoT Sustainability Workshop 2023_ Hans-Martin Heyn presentation
DOCX
U. J o h n Tan i k P h .D. Apri l 2 014 SOF.docx
PPTX
Integrating Generative AI in Software Design and Architecture -- Chapter 5.pptx
PPTX
Unit2 2
PPTX
Application development for the internet of things
PDF
2 - Architetture Software - Software architecture
PDF
Identifying and Resolving Consistency Issues between Model Representations
PDF
Obeo thales@md day2011
NGIoT Sustainability Workshop 2023_ Hans-Martin Heyn presentation
U. J o h n Tan i k P h .D. Apri l 2 014 SOF.docx
Integrating Generative AI in Software Design and Architecture -- Chapter 5.pptx
Unit2 2
Application development for the internet of things
2 - Architetture Software - Software architecture
Identifying and Resolving Consistency Issues between Model Representations
Obeo thales@md day2011

Similar to IoT Tech Expo 2023_Hans-Martin Heyn presentation (20)

PDF
Smart home project applies IoT and integrates AI to analyze and warn early of...
PPT
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
PDF
Advanced Design Approaches To Emerging Software Systems Principles Methodolog...
PPTX
EMBEDDED AND REAL TIME SYSTEMS-Unit-4_6703.pptx
PDF
Architecture Description Languages: An Overview
PPTX
System design techniques and networks
PDF
Documenting Software Architectures
PDF
Software Architecture by Reuse, Composition and Customization
PPT
Discuss systems
PDF
DSAPA.pdf
PDF
Towards application development for the internet of things
PDF
Meetup 11 here&now_megatriscomp design methodpartii_v0.2
PDF
SRCenabling application development for the internet of things
PPTX
Enabling high level application development for internet of things
PDF
Software archiecture lecture08
PDF
Design and Implementation in Software Engineering
PPTX
Advance Software Engineering module - 3.pptx
Smart home project applies IoT and integrates AI to analyze and warn early of...
WINSEM2023-24_BCSE429L_TH_CH2023240501528_Reference_Material_III_S3-Homoheter...
Advanced Design Approaches To Emerging Software Systems Principles Methodolog...
EMBEDDED AND REAL TIME SYSTEMS-Unit-4_6703.pptx
Architecture Description Languages: An Overview
System design techniques and networks
Documenting Software Architectures
Software Architecture by Reuse, Composition and Customization
Discuss systems
DSAPA.pdf
Towards application development for the internet of things
Meetup 11 here&now_megatriscomp design methodpartii_v0.2
SRCenabling application development for the internet of things
Enabling high level application development for internet of things
Software archiecture lecture08
Design and Implementation in Software Engineering
Advance Software Engineering module - 3.pptx

More from VEDLIoT Project (20)

PPTX
IoT Tech Expo 2023_Micha vor dem Berge presentation
PPTX
Computing Frontiers 2023_Pedro Trancoso presentation
PPTX
HiPEAC-CSW 2022_Pedro Trancoso presentation
PPTX
IoT Week 2022-NGIoT session_Micha vor dem Berge presentation
PPTX
Next Generation IoT Architectures_Hans Salomonsson
PPTX
CONASENSE 2022_Jens Hagemeyer presentation
PPTX
NGIoT standardisation workshops_Jens Hagemeyer presentation
PPTX
IoT Tech Expo 2023_Pedro Trancoso presentation
PPTX
HiPEAC-CSW 2022_Kevin Mika presentation
PPTX
HiPEAC 2022-DL4IoT workshop_René Griessl presentation
PPTX
SS-CPSIoT 2023_Kevin Mika and Piotr Zierhoffer presentation
PPTX
HiPEAC2023-DL4IoT Workshop_Jean Hagemeyer presentation
PPTX
IoT Week 2021_Jens Hagemeyer presentation
PPTX
HiPEAC 2022_Marcelo Pasin presentation
PPTX
IoT Tech Expo 2023_Marcelo Pasin presentation
PPTX
HiPEAC 2022_Marco Tassemeier presentation
PPTX
HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
PPTX
HiPEAC2022_António Casimiro presentation
PPTX
EU-IoT Training Workshops Series: AIoT and Edge Machine Learning 2021_Jens Ha...
PPTX
NGIoT Sustainability Workshop 2023_Rene Griessl presentation
IoT Tech Expo 2023_Micha vor dem Berge presentation
Computing Frontiers 2023_Pedro Trancoso presentation
HiPEAC-CSW 2022_Pedro Trancoso presentation
IoT Week 2022-NGIoT session_Micha vor dem Berge presentation
Next Generation IoT Architectures_Hans Salomonsson
CONASENSE 2022_Jens Hagemeyer presentation
NGIoT standardisation workshops_Jens Hagemeyer presentation
IoT Tech Expo 2023_Pedro Trancoso presentation
HiPEAC-CSW 2022_Kevin Mika presentation
HiPEAC 2022-DL4IoT workshop_René Griessl presentation
SS-CPSIoT 2023_Kevin Mika and Piotr Zierhoffer presentation
HiPEAC2023-DL4IoT Workshop_Jean Hagemeyer presentation
IoT Week 2021_Jens Hagemeyer presentation
HiPEAC 2022_Marcelo Pasin presentation
IoT Tech Expo 2023_Marcelo Pasin presentation
HiPEAC 2022_Marco Tassemeier presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC2022_António Casimiro presentation
EU-IoT Training Workshops Series: AIoT and Edge Machine Learning 2021_Jens Ha...
NGIoT Sustainability Workshop 2023_Rene Griessl presentation

Recently uploaded (20)

PPTX
microscope-Lecturecjchchchchcuvuvhc.pptx
PPTX
INTRODUCTION TO EVS | Concept of sustainability
PPTX
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
PDF
Phytochemical Investigation of Miliusa longipes.pdf
PPTX
Introduction to Fisheries Biotechnology_Lesson 1.pptx
PPTX
2. Earth - The Living Planet Module 2ELS
DOCX
Viruses (History, structure and composition, classification, Bacteriophage Re...
PPTX
BIOMOLECULES PPT........................
PPTX
ECG_Course_Presentation د.محمد صقران ppt
PDF
Sciences of Europe No 170 (2025)
PDF
The scientific heritage No 166 (166) (2025)
PPTX
Derivatives of integument scales, beaks, horns,.pptx
PDF
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
PPTX
Taita Taveta Laboratory Technician Workshop Presentation.pptx
PPTX
neck nodes and dissection types and lymph nodes levels
PDF
Mastering Bioreactors and Media Sterilization: A Complete Guide to Sterile Fe...
PDF
. Radiology Case Scenariosssssssssssssss
PPTX
Introduction to Cardiovascular system_structure and functions-1
PPTX
Classification Systems_TAXONOMY_SCIENCE8.pptx
PPTX
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
microscope-Lecturecjchchchchcuvuvhc.pptx
INTRODUCTION TO EVS | Concept of sustainability
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
Phytochemical Investigation of Miliusa longipes.pdf
Introduction to Fisheries Biotechnology_Lesson 1.pptx
2. Earth - The Living Planet Module 2ELS
Viruses (History, structure and composition, classification, Bacteriophage Re...
BIOMOLECULES PPT........................
ECG_Course_Presentation د.محمد صقران ppt
Sciences of Europe No 170 (2025)
The scientific heritage No 166 (166) (2025)
Derivatives of integument scales, beaks, horns,.pptx
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
Taita Taveta Laboratory Technician Workshop Presentation.pptx
neck nodes and dissection types and lymph nodes levels
Mastering Bioreactors and Media Sterilization: A Complete Guide to Sterile Fe...
. Radiology Case Scenariosssssssssssssss
Introduction to Cardiovascular system_structure and functions-1
Classification Systems_TAXONOMY_SCIENCE8.pptx
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...

IoT Tech Expo 2023_Hans-Martin Heyn presentation

  • 1. Hans-Martin Heyn University of Gothenburg, Sweden Requirements Analysis and Decomposition for Distributed Systems based on Deep Learning A compositional architecture approach 26. September 2023 Eric Knauss, Hans-Martin Heyn, Olof Eriksson, Oliver Brunnegard, Stefan Andersson
  • 4. 4 Concerns in (AI) system design • AI, and especially highly complex DNN, cause more concerns to be included in the system design. • A reason for the additional concerns can be uncertainty in how to build these systems right.
  • 5. 5 • Co-design can stand for “collaborative design”. • All required stakeholders should be actively involved in the design process. – Developers of different disciplines, Data Experts, Customers, Business Owners, … • See for example – Fitzgerald, J., Larsen, P.G., Verhoef, M., 2014. Collaborative design for embedded systems. Academic Press 10, 978-3. – Nalchigar, S., Yu, E., Keshavjee, K., 2021. Modeling machine learning requirements from three perspectives: a case report from the healthcare domain. Requirements Engineering 26, 237-254. undraw.co Co-design of a system
  • 6. 6 • Co-design can mean “integrated design”. • Different design aspects of the system, e.g., hardware, software, but also quality aspects are closely coupled to each other. • This can create a high dimensional design space that needs to involve in parallel to ensure “safe by design”, “secure by design”, “fair by design”, or any other “quality by design” necessary. undraw.co Co-design of a system
  • 7. 7 • Designing a complex and distributed system is a hierarchical process. – Several, sometimes highly specialized views allow for decomposition of the design task. – Requirements and architecture often co- evolve (Twin Peaks). • Developing complex system is a highly collaborative act between many stakeholders. Co-design of a system undraw.co
  • 8. 8 • We needed to define an architectural framework, that supports both aspects of co-design. • The framework must support explicitly aspects of distributed systems (IoT) and AI system development. – Learning and data management • The framework also needed to be flexible enough to cover all current use cases, and new future use cases. – A special focus therefore lies on the support of non- functional requirements / quality views – Traceability of design decisions • A single reference architecture would have been too limiting for allowing the variety of (open) use cases in VEDLIoT. Co-Design Integrated design Collaborative design Problem Definition
  • 9. 9 Require- ments & Context Data Ingestion Data Prep- aration Training Validation and Testing Deploy- ment & Monitoring • Developing AI systems in an truely agile software project is challenging • Strong dependencies exist between different steps in a typical ”AI/ML development pipeline”. AI Dev. Pipelines and Agile?
  • 13. 13 Solution Space Problem Space Requirements & Context Data Ingestion Data Prep- aration Training Validation and Testing Deployment & Monitoring Validation and Testing Validation and Testing Compositional thinking for architecture frameworks
  • 16. 16 Knowledge creation (e.g. definition of security goals). Concept design (e.g. introduction of safety mechanisms). Final design (e.g. assigning functions to secure processor environments. Monitoring concept definition (e.g. monitoring of secure processing environment). Level of abstraction - Example
  • 17. 17 Rule 1: Clusters of concern shall contain architectural views with different levels of details of a certain aspect of the system under development. Rule 2: Architectural views shall be sorted into levels of abstractions, according to their level of details about the system under development. Rule 3: By using correspondence rules, it shall be possible to arrive at different architectural views of the system without encountering inconsistencies. Rule 4: Architectural views, and relations between them, shall be mapped to the next lower level of abstraction. Compositional thinking for architecture frameworks
  • 18. 18 Iterative and middle-out design of AI systems • Step 1: Identify clusters of concern • Step 2: Identify levels of abstraction • Step 3: Add existing architectural decisions. • Step 4: Add missing architectural views. • Step 5: Add missing relations. • Step 6: Iterate if needed.
  • 19. 19 Step 1: Identify clusters of concern Step 2: Identify levels of abstraction Step 3: Add existing architectural decisions Step 4: Add missing architectural views Step 5: Add missing relations . . . ... Step 5: Add missing relations Traceability
  • 21. 21 A compositional architecture framework for VEDLIoT
  • 22. 22 • The architectural framework helps connecting different aspects of a (distributed) AI system together. • It is based on mathematical ideas from category theory and compositional thinking. • It allows for “middle-out” development, i.e., existing design decisions are explicitly considered. • It allows to keep an overview over the necessary quality aspects, such as safety, security, fairness, or privacy aspects of the systems. • The framework enforces a runtime concept for the system. • The traceability of design decisions allows for compliance with upcoming AI regulations. Summary
  • 23. 23 Thank you for your attention.