Explainable Self-Learning Self-Adaptive Systems Verena Kls | ES4CPS - - PowerPoint PPT Presentation

explainable self learning
SMART_READER_LITE
LIVE PREVIEW

Explainable Self-Learning Self-Adaptive Systems Verena Kls | ES4CPS - - PowerPoint PPT Presentation

Software and Embedded Systems Engineering Explainable Self-Learning Self-Adaptive Systems Verena Kls | ES4CPS 2019 Motivation uncertainties safety-critical autonomous dynamic networks decisions physical run-time evolution environment


slide-1
SLIDE 1

Software and Embedded Systems Engineering

Explainable Self-Learning Self-Adaptive Systems

Verena Klös | ES4CPS 2019

slide-2
SLIDE 2

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 2

Motivation

dynamic networks physical environment uncertainties safety-critical autonomous decisions run-time evolution embedded devicesTRUST ???

slide-3
SLIDE 3

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 3

Framework for Design and Verification of Self-Learning Self-Adaptive Systems [SEAA’15, QA4SASO’16,

Environment

System

Managed System

SEAA’17, JSA’18, JSS’18]

Evolution of Adaptation Logic

Adaptation Layer

Knowledge Models runtime models

Main idea:

  • run-time evolution
  • comprehensibility
  • formal guarantees
  • collected data as

explanation basis → Trust

slide-4
SLIDE 4

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 4

Knowledge Models

  • main idea:
  • comprehensible run-time representation of
  • system and environment state
  • system goals
  • adaptation options
  • knowledge models:
  • KSys, KEnv : current and past system parameters & sensor values
  • KGoal : hierarchical quantitative goal model (distance)
  • KAdapt : timed adaptation rules
  • history: enable retracing of adaptation decicions & their context

A P M E

Managed System

Knowledge Models

slide-5
SLIDE 5

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 5

Timed Adaptation Rules

  • main idea: efficient & comprehensible model of adaptation
  • ptions, their effect and timing
  • timed adaptation rules as generic mechanism
  • WHEN to apply? (guard)
  • WHICH actions? (commands ci)
  • WHAT happens? (effect)
  • WHEN? (time)
  • formally encode assumptions on environment
  • predictability & comprehensibility of rule-based adaptation
slide-6
SLIDE 6

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 6

Example – Autonomous Delivery Drones

  • goal model:
  • adaptation rule:

remaining_route ≥ battery_range && reduceVelocity()

→ remaining_route < battery_range and estimatedDeliveryTime‘

> estimatedDeliveryTime after X seconds

Created by Johndory - Freepik.com

Adaptation Goals Safety Regulations Delivery Times Battery Consumption

AND

p w1 w2 w3

Flight Height Collision Avoidance AND

w11

Velocity

w12 w13

AND

hÎ[10,100]

city

hÎ[5,200]

country side

AND

w113 w112 w111 hÎ[10,50] near airport

AND

. . .

slide-7
SLIDE 7

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 7

Evolution of Adaptation Logics

Environment System provide models

knowledge adjusted rules

Evolution of the Adaptation Layer

Rule Accuracy Evaluation Observation-Based Learning Verification

Adaptation Layer Control Data

Analyse

Plan

Monitor

Execute

KEnv KSys KAdapt

Managed System

Simulation-Based Learning

Adaptation Goals

sense control Goal Manager

slide-8
SLIDE 8

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 8

Explainability of Adaptation Decisions?

1) Why was adaptation necessary? 3) Which assumptions were made? 4) Which results were achieved? 2) Why did you choose THIS option?

  • Example
  • Questions

remaining_route ≥ battery_range && reduceVelocity()

→ remaining_route < battery_range and

estimatedDeliveryTime‘ > estimatedDeliveryTime

after X seconds

slide-9
SLIDE 9

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 9

Explainability of Adaptation Decisions?

1) Why was adaptation necessary? 3) Which assumptions were made? 4) Which results were achieved? 2) Why did you choose this option?

  • Questions
  • Knowledge needed for Answers:

1) cause (i.e., violated adaptation goals) 2) context, applicable rules, chosen rule, expected effect/s (in terms of observable changes & goal satisfaction) 3) chosen rule, expected effect (in terms of observable changes & goal satisfaction) 4) actual effect

slide-10
SLIDE 10

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 10

Explainability of Learning Decisions?

  • Questions
  • Knowledge needed for Answers

1) original adaptation rule + observed deviations, non-existence

  • f applicable rule

2) kind of learning, underlying observations or used run-time models, fitness function of the learning algorithm 3) underlying observations or used run-time models + simulation traces 4) learning result + fitness value 1) Why was learning necessary? 2) How were the results achieved? 3) Which assumptions were made? 4) Which results were achieved?

slide-11
SLIDE 11

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 11

Future Work

  • current explanations = all possibly relevant knowledge for

each decision (explainability = ability to explain)

– only comprehensible for experts – idea: generate textual explanations (based on language

patterns) for non-experts, customize explanations for different target groups (domains, expertise with the system)

  • useful explanations?
slide-12
SLIDE 12

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 12

Useful Explanations?

vs.

segmentation fault

slide-13
SLIDE 13

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 13

Future Work

  • current explanations = all possibly relevant knowledge for

each decision (explainability = ability to explain)

– only comprehensible for experts – idea: generate textual explanations (based on language

patterns) for non-experts, customize explanations for different target groups (domains, expertise with the system)

  • useful explanations?

– provide filtered information to answer questions – cooperate with cognitive science to investigate human

needs and expectations on explanations

– use machine learning on user feedback to learn

characteristics of helpful explanations

slide-14
SLIDE 14

Dezentrales Logo

  • ptional

Explainable Self-Learning Self-Adaptive Systems | Verena Klös 14

References

  • [KGG16] Klös, Verena; Göthel, Thomas; Glesner, Sabine: Formal

Models for Analysing Dynamic Adaptation Behaviour in Real- Time Systems. In: 3rd Workshop on Quality Assurance for Self- adaptive, Self-organising Systems (QA4SASO). IEEE, pp. 106– 111, 2016.

  • [KGG18a] V. Klös, T. Göthel, and S. Glesner, “Comprehensible

and dependable self-learning self-adaptive systems,” Journal of Systems Architecture, vol. 85-86, pp. 28–42, 2018.

  • [KGG18b] V. Klös, T. Göthel, and S. Glesner, “Runtime

Management and Quantitative Evaluation of Changing System Goals in Complex Autonomous Systems,” Journal of Systems and Software, vol. 144, pp. 314–327, 2018.