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
VEDLIoT Project
 
PPTX
Software Architecture and Design
Ra'Fat Al-Msie'deen
 
PDF
SDA - 6 -Chapter Six.pdf
Kokebe2
 
PPT
9 knowledge café summary
Digital Business Innovation Community
 
PPT
Software Design vs. Software Architecture
wedi1919
 
PDF
Software Architecture in an Agile World
Abhilash Gopalakrishnan
 
PPT
Object oriented sad-5 part i
Bisrat Girma
 
PPTX
Software Architectural & Data Design
Gaurav Bisht
 
NGIoT Sustainability Workshop 2023_ Hans-Martin Heyn presentation
VEDLIoT Project
 
Software Architecture and Design
Ra'Fat Al-Msie'deen
 
SDA - 6 -Chapter Six.pdf
Kokebe2
 
9 knowledge café summary
Digital Business Innovation Community
 
Software Design vs. Software Architecture
wedi1919
 
Software Architecture in an Agile World
Abhilash Gopalakrishnan
 
Object oriented sad-5 part i
Bisrat Girma
 
Software Architectural & Data Design
Gaurav Bisht
 

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

PPT
Ch6.ppt
UrviKhatri3
 
PPTX
UNIT-3_SE_PPT1.pptx software engineering
David Raju N
 
PDF
Lecture 6 se
Tribhuvan University
 
PPTX
Systematic Architecture Design
GESSI UPC
 
PDF
Software Design and Architecture - 1 -Chapter One.pdf
yeabtse1234
 
PPTX
IoT and Cloud Computing in Automation Application
Areej Qasrawi
 
PDF
Week-2_LectureA1_701.pdf
ssuserc3fe80
 
PPTX
Unit 4colorcolorcolorcolorcolorcolorcolor.pptx
SsdSsd5
 
PPTX
2016-03-02 research seminar
ifi8106tlu
 
PDF
MOD_Architectural_Design_Chap6_Summary.pdf
Tigabu Yaya
 
PPT
software engineering unit-3 in software engineering
terala1
 
PDF
ACCOUNTING INFORMATION SYSTEM_Pertemuan 1_SIAII.pdf
RiaMennita
 
DOCX
Function Oriented and Object Oriented Design,Modularization techniques
nimmik4u
 
PPTX
Ch6-Software Engineering 9
Ian Sommerville
 
PDF
Continuity in the development of seamless mobility: An approach for a system-...
IRJET Journal
 
PDF
Lecture-2-Architectural_Concepts.pdf
AkilaGamage2
 
PDF
IoT system development.pdf
Mahdi_Fahmideh
 
PPT
Design Concepts software engineering.ppt
RohanMalik45
 
PPTX
Chapter 08
Nazir Ahmed
 
PPT
Introduction to Software Integration and Architecture_2.ppt
JEANELYESPERANZA
 
Ch6.ppt
UrviKhatri3
 
UNIT-3_SE_PPT1.pptx software engineering
David Raju N
 
Lecture 6 se
Tribhuvan University
 
Systematic Architecture Design
GESSI UPC
 
Software Design and Architecture - 1 -Chapter One.pdf
yeabtse1234
 
IoT and Cloud Computing in Automation Application
Areej Qasrawi
 
Week-2_LectureA1_701.pdf
ssuserc3fe80
 
Unit 4colorcolorcolorcolorcolorcolorcolor.pptx
SsdSsd5
 
2016-03-02 research seminar
ifi8106tlu
 
MOD_Architectural_Design_Chap6_Summary.pdf
Tigabu Yaya
 
software engineering unit-3 in software engineering
terala1
 
ACCOUNTING INFORMATION SYSTEM_Pertemuan 1_SIAII.pdf
RiaMennita
 
Function Oriented and Object Oriented Design,Modularization techniques
nimmik4u
 
Ch6-Software Engineering 9
Ian Sommerville
 
Continuity in the development of seamless mobility: An approach for a system-...
IRJET Journal
 
Lecture-2-Architectural_Concepts.pdf
AkilaGamage2
 
IoT system development.pdf
Mahdi_Fahmideh
 
Design Concepts software engineering.ppt
RohanMalik45
 
Chapter 08
Nazir Ahmed
 
Introduction to Software Integration and Architecture_2.ppt
JEANELYESPERANZA
 
Ad

More from VEDLIoT Project (20)

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

Recently uploaded (20)

PPTX
RED ROT DISEASE OF SUGARCANE.pptx
BikramjitDeuri
 
PDF
A deep Search for Ethylene Glycol and Glycolonitrile in the V883 Ori Protopla...
Sérgio Sacani
 
PDF
Identification of unnecessary object allocations using static escape analysis
ESUG
 
PDF
The Cosmic Symphony: How Photons Shape the Universe and Our Place Within It
kutatomoshi
 
PPTX
Internal Capsule_Divisions_fibres_lesions
muralinath2
 
PPTX
first COT (MATH).pptxCSAsCNKHPHCouAGSCAUO:GC/ZKVHxsacba
DitaSIdnay
 
PDF
A water-rich interior in the temperate sub-Neptune K2-18 b revealed by JWST
Sérgio Sacani
 
PPTX
Hericium erinaceus, also known as lion's mane mushroom
TinaDadkhah1
 
PPTX
Qualification of.UV visible spectrophotometer pptx
shrutipandit17
 
PPTX
Brain_stem_Medulla oblongata_functions of pons_mid brain
muralinath2
 
PDF
Sujay Rao Mandavilli Multi-barreled appraoch to educational reform FINAL FINA...
Sujay Rao Mandavilli
 
PPTX
Hepatopulmonary syndrome power point presentation
raknasivar1997
 
PPTX
Pharmacognosy: ppt :pdf :pharmacognosy :
Vishnukanchi darade
 
PDF
Drones in Disaster Response: Real-Time Data Collection and Analysis (www.kiu...
publication11
 
PPTX
Cell Structure and Organelles Slides PPT
JesusNeyra8
 
PDF
Migrating Katalon Studio Tests to Playwright with Model Driven Engineering
ESUG
 
PPTX
General Characters and Classification of Su class Apterygota.pptx
Dr Showkat Ahmad Wani
 
PPTX
The Obesity Paradox. Friend or Foe ?pptx
drdgd1972
 
PDF
Approximating manifold orbits by means of Machine Learning Techniques
Esther Barrabés Vera
 
PPTX
Role of GIS in precision farming.pptx
BikramjitDeuri
 
RED ROT DISEASE OF SUGARCANE.pptx
BikramjitDeuri
 
A deep Search for Ethylene Glycol and Glycolonitrile in the V883 Ori Protopla...
Sérgio Sacani
 
Identification of unnecessary object allocations using static escape analysis
ESUG
 
The Cosmic Symphony: How Photons Shape the Universe and Our Place Within It
kutatomoshi
 
Internal Capsule_Divisions_fibres_lesions
muralinath2
 
first COT (MATH).pptxCSAsCNKHPHCouAGSCAUO:GC/ZKVHxsacba
DitaSIdnay
 
A water-rich interior in the temperate sub-Neptune K2-18 b revealed by JWST
Sérgio Sacani
 
Hericium erinaceus, also known as lion's mane mushroom
TinaDadkhah1
 
Qualification of.UV visible spectrophotometer pptx
shrutipandit17
 
Brain_stem_Medulla oblongata_functions of pons_mid brain
muralinath2
 
Sujay Rao Mandavilli Multi-barreled appraoch to educational reform FINAL FINA...
Sujay Rao Mandavilli
 
Hepatopulmonary syndrome power point presentation
raknasivar1997
 
Pharmacognosy: ppt :pdf :pharmacognosy :
Vishnukanchi darade
 
Drones in Disaster Response: Real-Time Data Collection and Analysis (www.kiu...
publication11
 
Cell Structure and Organelles Slides PPT
JesusNeyra8
 
Migrating Katalon Studio Tests to Playwright with Model Driven Engineering
ESUG
 
General Characters and Classification of Su class Apterygota.pptx
Dr Showkat Ahmad Wani
 
The Obesity Paradox. Friend or Foe ?pptx
drdgd1972
 
Approximating manifold orbits by means of Machine Learning Techniques
Esther Barrabés Vera
 
Role of GIS in precision farming.pptx
BikramjitDeuri
 

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.