SlideShare a Scribd company logo
History-Aware Explanations: Towards
Enabling Human-in-the-Loop in
Self-Adaptive Systems
J.M. Parra-Ullauri, A. García-Domínguez, N. Bencomo, L.H. García-Paucar
SAM 2022, 24 October 2022
Introduction
Explainability for trustworthy self-adaptive systems
Software working in difficult environments
• Fixed behaviour cannot handle complex and uncertain situations
• Instead, a self-adaptive system changes its behaviour to meet its
goals as needed
• Consider self-driving cars, complex cloud deployments, data/power
networks...
Emergent behaviour needs to be explained
• Lack of trust on SAS is hindering their adoption
• Trust can be gained by allowing users to understand why the SAS
made its decisions, and to influence the decisions as desired
1
Are humans integrated in decision-making loops?
• Many SAS follow feedback loops: MAPE-K is a common
architecture
• How does the human get involved there?
• Can the human observe the loop?
• Can the human pitch in with their own input, e.g. driving preferences
for a self-driving car, or what to clean for a robot vaccuum? 2
Context: roadmap for history-aware self-adaptive systems
• This work is part of our
roadmap for history-aware SAS
• Level 1: explain decisions after
the fact
• Level 2: explain behaviour on
the fly
• Level 3 (this paper): external
agent (human) uses the
explanations to influence the
system via “effectors”
(adaptation controls)
3
Proposal
Extending MAPE-K: explanatory and feedback layer
• We propose adding an layer to
MAPE-K to integrate the
human
• Filter: collect relevant history
of the system
• Explain: use history to describe
system behaviour
• Feedback: human uses relatable
“effectors” to influence
behaviour
4
Extending MAPE-K: the Filter component
Log
timesliceID: EString
Agent
name: EString
Decision
name: EString
Observation
description: EString
probability: EDouble
Action
name: EString
NFR
name: EString
0..*
0..*
0..*
0..*
0..*
decisions
0..1
0..*
observations
0..1
0..*
actionTaken
0..1
observation
0..1
• The Filter component collects
information from the Monitor,
Analyze, and Plan stages: for
instance, raw sensor / decision
logs
• This information is reshaped
according to a trace
metamodel, divided into a
algorithm-independent half and
an algorithm-centric half
• Model versions are indexed by
Hawk into a temporal graph DB
5
Extending MAPE-K: the Explain component
Explanation construction: done in this paper
• Query the TGDB for the info to create explanations
• Time-aware EOL dialect in Hawk for formulating questions
Explanation presentation: done in this paper
• Plots (e.g. time series of key performance metrics)
• Yes/no answers (e.g. “was X always/never true?”)
• Examples of matches of a given situation
Explanation reception: future work
• Collect info on how the user reacted to the explanations
• Track what the user knows and how they perceive the system
6
Extending MAPE-K: the Feedback component
Abstracting away influences into “effectors”
• Users should not have to be familiar with the underlying algorithm
• The system should include effectors to allow the user to influence
the system, expressed in their terms
• User input should be recorded in system history (for accountability)
Possible effectors at Plan/Execute stages
• A SAS manages tradeoffs between competing goals: users can
influence the relative priority of those goals (e.g. performance vs
efficiency)
• Users can suggest specific actions to the SAS at the Execute stage,
triggering a reconfiguration to meet its new preference
7
Case study
Case study: Remote Data Mirroring (RDM)
• SAS manages data servers and
network links
• Two actions: switch between
minimal/redundant topologies
• Handles
cost/reliability/performance
tradeoffs, while meeting SLAs
• SLA satisfaction partially
observable over monitoring
variables (RBC, TTW, ANL)
• Uses Requirements-aware
Model POMDP for
decision-making
8
RDM: Filter
Filter component collects into a temporal graph DB:
• Initial stakeholder preferences about the NFRs and SLAs
• Adaptation strategies selected by SAS based on preferences, and
their impact on the observed satisfaction levels
• Situations detected at runtime, where initial preferences may drive
SAS to unsuitable adaptation strategies
9
RDM: Explain (construction)
1 var result : Sequence;
2 var nfrs = NFRBelief.latest.all;
3 /∗ ... ∗/
4 for (nfr in nfrs) {
5 var currentNFR = nfr.latest;
6 result.add(Sequence {
7 currentNFR.eContainer.eContainer.timesliceID,
8 currentNFR.nfr.name,
9 currentNFR.satisfied,
10 currentNFR.estimatedProbability,
11 currentNFR.eContainer.actionTaken.name,
12 aveMEC, aveMR, aveMP
13 });
14 }
15 return result;
• An EOL query is run after each
timeslice
• For each NFR, we know:
• Timeslice ID
• Name of NFR
• Considered satisfied? (Y/N)
• Satisfaction level
• Taken action (topology)
• Average MEC/MR/MP
satisfaction over the history
of the system
10
RDM: Explain (presentation)
• Results are fed to a custom GUI, with historic/current values
• User can track satisfaction levels over time
11
RDM: Feedback
• +/- buttons allows for changing relative weights for Plan stage
• Simple description: “make the algorithm focus less/more on this”
• Interactions are recorded, and algorithm still tries to meet all SLAs 12
RDM: example - slices 1–323
Initially, the system is working as expected by the user.
13
RDM: example - slices 324–645
System suffers connectivity issues, but relative weights of
reliability/cost/performance keep it on the minimal spanning topology.
14
RDM: example - use of effector
User decides to put more focus onto reliability, clicking on “+” under MR:
GUI runs an EOL query, and shows a dialog with a quick summary of the
current situation before asking for confirmation.
User confirms the action, and MR weight is increased.
15
RDM: example - slices 646+
System switches to RT after putting more weight on reliability, which
does impact cost/performance but stays within SLAs.
16
RDM: example - impact of change
Before update of
preferences
After update of
preferences
• Before the preferences were
updated, average satisfaction of
MR was below SLA threshold
• After the update, MR
satisfaction improves at the
expense of the others, but all
SLAs are still met
17
What we have done so far
Extension to MAPE-K
• We proposed involving humans in the MAPE-K feedback loop, by
adding an explanatory & feedback layer
• Layer made up of Filter, Explain, and Feedback components
Implementation of E&F layer
• Filter: reshape to trace model + index into temporal graph DB
• Explain: query temporal graph + generate plots/answers
• Feedback: effectors for users to influence Plan/Execute
Case study: RDM
• Applied E&F layer to the RDM SAS
• Custom GUI with system-specific effectors
• Simulated scenario of preference readjustment
What’s next?
Explanation receptions
• Explanations currently targeted SAS developers
• SAS users will need a different style of explanations
• Follow-up study on explanation efficacy and appropriateness
(Opportunity-Willigness-Capability), and effectors’ impact on
trustworthiness
Further lines of work
• Currently ongoing: non-human consumers of explanations (e.g.
external system optimising AI/ML hyper-parameters)
• Additional case studies on other SAS
• Other explanations besides factual ones, e.g. formulating hypotheses
and producing evidence supporting/rejecting them
• Distributed SAS (→ distributed trace models)
Thank you!
@antoniogado / a.garcia-dominguez@york.ac.uk
j.parra-ullauri@aston.ac.uk

More Related Content

Similar to History-Aware Explanations: Towards Enabling Human-in-the-Loop in Self-Adaptive Systems

NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobilNLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
Databricks
 
FAULT TOLERANCE OF RESOURCES IN COMPUTATIONAL GRIDS
FAULT TOLERANCE OF RESOURCES IN COMPUTATIONAL GRIDSFAULT TOLERANCE OF RESOURCES IN COMPUTATIONAL GRIDS
FAULT TOLERANCE OF RESOURCES IN COMPUTATIONAL GRIDS
Maurvi04
 
Management Information system
Management Information systemManagement Information system
Management Information system
Cochin University
 
Production Monitoring Platform
Production Monitoring PlatformProduction Monitoring Platform
Production Monitoring Platform
Ariel Smoliar
 
PayPal Resilient System Design
PayPal Resilient System DesignPayPal Resilient System Design
PayPal Resilient System Design
Pradeep Ballal
 
JourneyToLowCode_2of4.pdf
JourneyToLowCode_2of4.pdfJourneyToLowCode_2of4.pdf
JourneyToLowCode_2of4.pdf
VaibhavVaidya30
 
Documented Requirements are not Useless After All!
Documented Requirements are not Useless After All!Documented Requirements are not Useless After All!
Documented Requirements are not Useless After All!
Lionel Briand
 
Enterprise resource planning_system
Enterprise resource planning_systemEnterprise resource planning_system
Enterprise resource planning_system
Jithin Zcs
 
A sdn based application aware and network provisioning
A sdn based application aware and network provisioningA sdn based application aware and network provisioning
A sdn based application aware and network provisioning
Stanley Wang
 
참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의
DzH QWuynh
 
DSD-INT 2020 Simulation with RTC
DSD-INT 2020 Simulation with RTCDSD-INT 2020 Simulation with RTC
DSD-INT 2020 Simulation with RTC
Deltares
 
Cpu provisioning algorithms for service differentiation in cloud based enviro...
Cpu provisioning algorithms for service differentiation in cloud based enviro...Cpu provisioning algorithms for service differentiation in cloud based enviro...
Cpu provisioning algorithms for service differentiation in cloud based enviro...
ieeepondy
 
AugCog Overview
AugCog OverviewAugCog Overview
AugCog Overview
Polly Tremoulet
 
AlphaPy
AlphaPyAlphaPy
AlphaPy
Robert Scott
 
AlphaPy: A Data Science Pipeline in Python
AlphaPy: A Data Science Pipeline in PythonAlphaPy: A Data Science Pipeline in Python
AlphaPy: A Data Science Pipeline in Python
Mark Conway
 
Overview of DuraMat software tool development
Overview of DuraMat software tool developmentOverview of DuraMat software tool development
Overview of DuraMat software tool development
Anubhav Jain
 
Mso noc presentation
Mso noc presentationMso noc presentation
Mso noc presentation
Graeme Spice
 
module 1.pptx
module 1.pptxmodule 1.pptx
module 1.pptx
PawanBharadwaj2
 
IoT Evolution Expo- Machine Learning and the Cloud
IoT Evolution Expo- Machine Learning and the CloudIoT Evolution Expo- Machine Learning and the Cloud
IoT Evolution Expo- Machine Learning and the Cloud
Value Amplify Consulting
 
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
Tiziano De Matteis
 

Similar to History-Aware Explanations: Towards Enabling Human-in-the-Loop in Self-Adaptive Systems (20)

NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobilNLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
 
FAULT TOLERANCE OF RESOURCES IN COMPUTATIONAL GRIDS
FAULT TOLERANCE OF RESOURCES IN COMPUTATIONAL GRIDSFAULT TOLERANCE OF RESOURCES IN COMPUTATIONAL GRIDS
FAULT TOLERANCE OF RESOURCES IN COMPUTATIONAL GRIDS
 
Management Information system
Management Information systemManagement Information system
Management Information system
 
Production Monitoring Platform
Production Monitoring PlatformProduction Monitoring Platform
Production Monitoring Platform
 
PayPal Resilient System Design
PayPal Resilient System DesignPayPal Resilient System Design
PayPal Resilient System Design
 
JourneyToLowCode_2of4.pdf
JourneyToLowCode_2of4.pdfJourneyToLowCode_2of4.pdf
JourneyToLowCode_2of4.pdf
 
Documented Requirements are not Useless After All!
Documented Requirements are not Useless After All!Documented Requirements are not Useless After All!
Documented Requirements are not Useless After All!
 
Enterprise resource planning_system
Enterprise resource planning_systemEnterprise resource planning_system
Enterprise resource planning_system
 
A sdn based application aware and network provisioning
A sdn based application aware and network provisioningA sdn based application aware and network provisioning
A sdn based application aware and network provisioning
 
참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의
 
DSD-INT 2020 Simulation with RTC
DSD-INT 2020 Simulation with RTCDSD-INT 2020 Simulation with RTC
DSD-INT 2020 Simulation with RTC
 
Cpu provisioning algorithms for service differentiation in cloud based enviro...
Cpu provisioning algorithms for service differentiation in cloud based enviro...Cpu provisioning algorithms for service differentiation in cloud based enviro...
Cpu provisioning algorithms for service differentiation in cloud based enviro...
 
AugCog Overview
AugCog OverviewAugCog Overview
AugCog Overview
 
AlphaPy
AlphaPyAlphaPy
AlphaPy
 
AlphaPy: A Data Science Pipeline in Python
AlphaPy: A Data Science Pipeline in PythonAlphaPy: A Data Science Pipeline in Python
AlphaPy: A Data Science Pipeline in Python
 
Overview of DuraMat software tool development
Overview of DuraMat software tool developmentOverview of DuraMat software tool development
Overview of DuraMat software tool development
 
Mso noc presentation
Mso noc presentationMso noc presentation
Mso noc presentation
 
module 1.pptx
module 1.pptxmodule 1.pptx
module 1.pptx
 
IoT Evolution Expo- Machine Learning and the Cloud
IoT Evolution Expo- Machine Learning and the CloudIoT Evolution Expo- Machine Learning and the Cloud
IoT Evolution Expo- Machine Learning and the Cloud
 
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
 

More from Antonio García-Domínguez

MODELS 2022 Journal-First presentation: ETeMoX - explaining reinforcement lea...
MODELS 2022 Journal-First presentation: ETeMoX - explaining reinforcement lea...MODELS 2022 Journal-First presentation: ETeMoX - explaining reinforcement lea...
MODELS 2022 Journal-First presentation: ETeMoX - explaining reinforcement lea...
Antonio García-Domínguez
 
MODELS 2022 Picto Web tool demo
MODELS 2022 Picto Web tool demoMODELS 2022 Picto Web tool demo
MODELS 2022 Picto Web tool demo
Antonio García-Domínguez
 
EduSymp 2022 slides (The Epsilon Playground)
EduSymp 2022 slides (The Epsilon Playground)EduSymp 2022 slides (The Epsilon Playground)
EduSymp 2022 slides (The Epsilon Playground)
Antonio García-Domínguez
 
Boosting individual feedback with AutoFeedback
Boosting individual feedback with AutoFeedbackBoosting individual feedback with AutoFeedback
Boosting individual feedback with AutoFeedback
Antonio García-Domínguez
 
MODELS 2019: Querying and annotating model histories with time-aware patterns
MODELS 2019: Querying and annotating model histories with time-aware patternsMODELS 2019: Querying and annotating model histories with time-aware patterns
MODELS 2019: Querying and annotating model histories with time-aware patterns
Antonio García-Domínguez
 
Tips and resources for publication-grade figures and tables
Tips and resources for publication-grade figures and tablesTips and resources for publication-grade figures and tables
Tips and resources for publication-grade figures and tables
Antonio García-Domínguez
 
COMMitMDE'18: Eclipse Hawk: model repository querying as a service
COMMitMDE'18: Eclipse Hawk: model repository querying as a serviceCOMMitMDE'18: Eclipse Hawk: model repository querying as a service
COMMitMDE'18: Eclipse Hawk: model repository querying as a service
Antonio García-Domínguez
 
MRT 2018: reflecting on the past and the present with temporal graph models
MRT 2018: reflecting on the past and the present with temporal graph modelsMRT 2018: reflecting on the past and the present with temporal graph models
MRT 2018: reflecting on the past and the present with temporal graph models
Antonio García-Domínguez
 
Hawk: indexado de modelos en bases de datos NoSQL
Hawk: indexado de modelos en bases de datos NoSQLHawk: indexado de modelos en bases de datos NoSQL
Hawk: indexado de modelos en bases de datos NoSQL
Antonio García-Domínguez
 
Software and product quality for videogames
Software and product quality for videogamesSoftware and product quality for videogames
Software and product quality for videogames
Antonio García-Domínguez
 
OCL'16 slides: Models from Code or Code as a Model?
OCL'16 slides: Models from Code or Code as a Model?OCL'16 slides: Models from Code or Code as a Model?
OCL'16 slides: Models from Code or Code as a Model?
Antonio García-Domínguez
 
Developing a new Epsilon Language through Annotations: TestLang
Developing a new Epsilon Language through Annotations: TestLangDeveloping a new Epsilon Language through Annotations: TestLang
Developing a new Epsilon Language through Annotations: TestLang
Antonio García-Domínguez
 
MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...
MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...
MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...
Antonio García-Domínguez
 
ECMFA 2016 slides
ECMFA 2016 slidesECMFA 2016 slides
ECMFA 2016 slides
Antonio García-Domínguez
 
BMSD 2015 slides (revised)
BMSD 2015 slides (revised)BMSD 2015 slides (revised)
BMSD 2015 slides (revised)
Antonio García-Domínguez
 
Elaboración de un buen póster científico
Elaboración de un buen póster científicoElaboración de un buen póster científico
Elaboración de un buen póster científico
Antonio García-Domínguez
 
Software libre para la integración de información en la Universidad de Cádiz
Software libre para la integración de información en la Universidad de CádizSoftware libre para la integración de información en la Universidad de Cádiz
Software libre para la integración de información en la Universidad de Cádiz
Antonio García-Domínguez
 

More from Antonio García-Domínguez (17)

MODELS 2022 Journal-First presentation: ETeMoX - explaining reinforcement lea...
MODELS 2022 Journal-First presentation: ETeMoX - explaining reinforcement lea...MODELS 2022 Journal-First presentation: ETeMoX - explaining reinforcement lea...
MODELS 2022 Journal-First presentation: ETeMoX - explaining reinforcement lea...
 
MODELS 2022 Picto Web tool demo
MODELS 2022 Picto Web tool demoMODELS 2022 Picto Web tool demo
MODELS 2022 Picto Web tool demo
 
EduSymp 2022 slides (The Epsilon Playground)
EduSymp 2022 slides (The Epsilon Playground)EduSymp 2022 slides (The Epsilon Playground)
EduSymp 2022 slides (The Epsilon Playground)
 
Boosting individual feedback with AutoFeedback
Boosting individual feedback with AutoFeedbackBoosting individual feedback with AutoFeedback
Boosting individual feedback with AutoFeedback
 
MODELS 2019: Querying and annotating model histories with time-aware patterns
MODELS 2019: Querying and annotating model histories with time-aware patternsMODELS 2019: Querying and annotating model histories with time-aware patterns
MODELS 2019: Querying and annotating model histories with time-aware patterns
 
Tips and resources for publication-grade figures and tables
Tips and resources for publication-grade figures and tablesTips and resources for publication-grade figures and tables
Tips and resources for publication-grade figures and tables
 
COMMitMDE'18: Eclipse Hawk: model repository querying as a service
COMMitMDE'18: Eclipse Hawk: model repository querying as a serviceCOMMitMDE'18: Eclipse Hawk: model repository querying as a service
COMMitMDE'18: Eclipse Hawk: model repository querying as a service
 
MRT 2018: reflecting on the past and the present with temporal graph models
MRT 2018: reflecting on the past and the present with temporal graph modelsMRT 2018: reflecting on the past and the present with temporal graph models
MRT 2018: reflecting on the past and the present with temporal graph models
 
Hawk: indexado de modelos en bases de datos NoSQL
Hawk: indexado de modelos en bases de datos NoSQLHawk: indexado de modelos en bases de datos NoSQL
Hawk: indexado de modelos en bases de datos NoSQL
 
Software and product quality for videogames
Software and product quality for videogamesSoftware and product quality for videogames
Software and product quality for videogames
 
OCL'16 slides: Models from Code or Code as a Model?
OCL'16 slides: Models from Code or Code as a Model?OCL'16 slides: Models from Code or Code as a Model?
OCL'16 slides: Models from Code or Code as a Model?
 
Developing a new Epsilon Language through Annotations: TestLang
Developing a new Epsilon Language through Annotations: TestLangDeveloping a new Epsilon Language through Annotations: TestLang
Developing a new Epsilon Language through Annotations: TestLang
 
MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...
MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...
MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...
 
ECMFA 2016 slides
ECMFA 2016 slidesECMFA 2016 slides
ECMFA 2016 slides
 
BMSD 2015 slides (revised)
BMSD 2015 slides (revised)BMSD 2015 slides (revised)
BMSD 2015 slides (revised)
 
Elaboración de un buen póster científico
Elaboración de un buen póster científicoElaboración de un buen póster científico
Elaboración de un buen póster científico
 
Software libre para la integración de información en la Universidad de Cádiz
Software libre para la integración de información en la Universidad de CádizSoftware libre para la integración de información en la Universidad de Cádiz
Software libre para la integración de información en la Universidad de Cádiz
 

Recently uploaded

Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
MiscAnnoy1
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))
shivani5543
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 

Recently uploaded (20)

Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 

History-Aware Explanations: Towards Enabling Human-in-the-Loop in Self-Adaptive Systems

  • 1. History-Aware Explanations: Towards Enabling Human-in-the-Loop in Self-Adaptive Systems J.M. Parra-Ullauri, A. García-Domínguez, N. Bencomo, L.H. García-Paucar SAM 2022, 24 October 2022
  • 3. Explainability for trustworthy self-adaptive systems Software working in difficult environments • Fixed behaviour cannot handle complex and uncertain situations • Instead, a self-adaptive system changes its behaviour to meet its goals as needed • Consider self-driving cars, complex cloud deployments, data/power networks... Emergent behaviour needs to be explained • Lack of trust on SAS is hindering their adoption • Trust can be gained by allowing users to understand why the SAS made its decisions, and to influence the decisions as desired 1
  • 4. Are humans integrated in decision-making loops? • Many SAS follow feedback loops: MAPE-K is a common architecture • How does the human get involved there? • Can the human observe the loop? • Can the human pitch in with their own input, e.g. driving preferences for a self-driving car, or what to clean for a robot vaccuum? 2
  • 5. Context: roadmap for history-aware self-adaptive systems • This work is part of our roadmap for history-aware SAS • Level 1: explain decisions after the fact • Level 2: explain behaviour on the fly • Level 3 (this paper): external agent (human) uses the explanations to influence the system via “effectors” (adaptation controls) 3
  • 7. Extending MAPE-K: explanatory and feedback layer • We propose adding an layer to MAPE-K to integrate the human • Filter: collect relevant history of the system • Explain: use history to describe system behaviour • Feedback: human uses relatable “effectors” to influence behaviour 4
  • 8. Extending MAPE-K: the Filter component Log timesliceID: EString Agent name: EString Decision name: EString Observation description: EString probability: EDouble Action name: EString NFR name: EString 0..* 0..* 0..* 0..* 0..* decisions 0..1 0..* observations 0..1 0..* actionTaken 0..1 observation 0..1 • The Filter component collects information from the Monitor, Analyze, and Plan stages: for instance, raw sensor / decision logs • This information is reshaped according to a trace metamodel, divided into a algorithm-independent half and an algorithm-centric half • Model versions are indexed by Hawk into a temporal graph DB 5
  • 9. Extending MAPE-K: the Explain component Explanation construction: done in this paper • Query the TGDB for the info to create explanations • Time-aware EOL dialect in Hawk for formulating questions Explanation presentation: done in this paper • Plots (e.g. time series of key performance metrics) • Yes/no answers (e.g. “was X always/never true?”) • Examples of matches of a given situation Explanation reception: future work • Collect info on how the user reacted to the explanations • Track what the user knows and how they perceive the system 6
  • 10. Extending MAPE-K: the Feedback component Abstracting away influences into “effectors” • Users should not have to be familiar with the underlying algorithm • The system should include effectors to allow the user to influence the system, expressed in their terms • User input should be recorded in system history (for accountability) Possible effectors at Plan/Execute stages • A SAS manages tradeoffs between competing goals: users can influence the relative priority of those goals (e.g. performance vs efficiency) • Users can suggest specific actions to the SAS at the Execute stage, triggering a reconfiguration to meet its new preference 7
  • 12. Case study: Remote Data Mirroring (RDM) • SAS manages data servers and network links • Two actions: switch between minimal/redundant topologies • Handles cost/reliability/performance tradeoffs, while meeting SLAs • SLA satisfaction partially observable over monitoring variables (RBC, TTW, ANL) • Uses Requirements-aware Model POMDP for decision-making 8
  • 13. RDM: Filter Filter component collects into a temporal graph DB: • Initial stakeholder preferences about the NFRs and SLAs • Adaptation strategies selected by SAS based on preferences, and their impact on the observed satisfaction levels • Situations detected at runtime, where initial preferences may drive SAS to unsuitable adaptation strategies 9
  • 14. RDM: Explain (construction) 1 var result : Sequence; 2 var nfrs = NFRBelief.latest.all; 3 /∗ ... ∗/ 4 for (nfr in nfrs) { 5 var currentNFR = nfr.latest; 6 result.add(Sequence { 7 currentNFR.eContainer.eContainer.timesliceID, 8 currentNFR.nfr.name, 9 currentNFR.satisfied, 10 currentNFR.estimatedProbability, 11 currentNFR.eContainer.actionTaken.name, 12 aveMEC, aveMR, aveMP 13 }); 14 } 15 return result; • An EOL query is run after each timeslice • For each NFR, we know: • Timeslice ID • Name of NFR • Considered satisfied? (Y/N) • Satisfaction level • Taken action (topology) • Average MEC/MR/MP satisfaction over the history of the system 10
  • 15. RDM: Explain (presentation) • Results are fed to a custom GUI, with historic/current values • User can track satisfaction levels over time 11
  • 16. RDM: Feedback • +/- buttons allows for changing relative weights for Plan stage • Simple description: “make the algorithm focus less/more on this” • Interactions are recorded, and algorithm still tries to meet all SLAs 12
  • 17. RDM: example - slices 1–323 Initially, the system is working as expected by the user. 13
  • 18. RDM: example - slices 324–645 System suffers connectivity issues, but relative weights of reliability/cost/performance keep it on the minimal spanning topology. 14
  • 19. RDM: example - use of effector User decides to put more focus onto reliability, clicking on “+” under MR: GUI runs an EOL query, and shows a dialog with a quick summary of the current situation before asking for confirmation. User confirms the action, and MR weight is increased. 15
  • 20. RDM: example - slices 646+ System switches to RT after putting more weight on reliability, which does impact cost/performance but stays within SLAs. 16
  • 21. RDM: example - impact of change Before update of preferences After update of preferences • Before the preferences were updated, average satisfaction of MR was below SLA threshold • After the update, MR satisfaction improves at the expense of the others, but all SLAs are still met 17
  • 22. What we have done so far Extension to MAPE-K • We proposed involving humans in the MAPE-K feedback loop, by adding an explanatory & feedback layer • Layer made up of Filter, Explain, and Feedback components Implementation of E&F layer • Filter: reshape to trace model + index into temporal graph DB • Explain: query temporal graph + generate plots/answers • Feedback: effectors for users to influence Plan/Execute Case study: RDM • Applied E&F layer to the RDM SAS • Custom GUI with system-specific effectors • Simulated scenario of preference readjustment
  • 23. What’s next? Explanation receptions • Explanations currently targeted SAS developers • SAS users will need a different style of explanations • Follow-up study on explanation efficacy and appropriateness (Opportunity-Willigness-Capability), and effectors’ impact on trustworthiness Further lines of work • Currently ongoing: non-human consumers of explanations (e.g. external system optimising AI/ML hyper-parameters) • Additional case studies on other SAS • Other explanations besides factual ones, e.g. formulating hypotheses and producing evidence supporting/rejecting them • Distributed SAS (→ distributed trace models)
  • 24. Thank you! @antoniogado / a.garcia-dominguez@york.ac.uk j.parra-ullauri@aston.ac.uk