SlideShare a Scribd company logo
1 of 24
Download to read offline
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 ExxonMobilDatabricks
 
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 GRIDSMaurvi04
 
Management Information system
Management Information systemManagement Information system
Management Information systemCochin University
 
Production Monitoring Platform
Production Monitoring PlatformProduction Monitoring Platform
Production Monitoring PlatformAriel Smoliar
 
PayPal Resilient System Design
PayPal Resilient System DesignPayPal Resilient System Design
PayPal Resilient System DesignPradeep Ballal
 
JourneyToLowCode_2of4.pdf
JourneyToLowCode_2of4.pdfJourneyToLowCode_2of4.pdf
JourneyToLowCode_2of4.pdfVaibhavVaidya30
 
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_systemJithin 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 provisioningStanley 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 RTCDeltares
 
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
 
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 PythonMark Conway
 
Overview of DuraMat software tool development
Overview of DuraMat software tool developmentOverview of DuraMat software tool development
Overview of DuraMat software tool developmentAnubhav Jain
 
Mso noc presentation
Mso noc presentationMso noc presentation
Mso noc presentationGraeme Spice
 
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 CloudValue 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
 
Boosting individual feedback with AutoFeedback
Boosting individual feedback with AutoFeedbackBoosting individual feedback with AutoFeedback
Boosting individual feedback with AutoFeedbackAntonio 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 patternsAntonio 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 tablesAntonio 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 serviceAntonio 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 modelsAntonio 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 NoSQLAntonio 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: TestLangAntonio 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
 
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ádizAntonio 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

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 

Recently uploaded (20)

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 

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