SlideShare una empresa de Scribd logo
1 de 43
Descargar para leer sin conexión
Pooyan Jamshidi, Javier Cámara, Bradley Schmerl, Chris3an Kästner,
David Garlan
Machine Learning Meets
Quan0ta0ve Planning:
Enabling Self-Adapta1on in Autonomous Robots
https://arxiv.org/abs/1903.03920
Outline
• Self-adapta*on of Highly-Configurable Systems
• Mobile robo)cs domain
• Challenges with quan)ta)ve planning and scale of search space
• Our approach: use machine learning to iden*fy interes*ng configura*ons
• Evalua-on: third party evalua*on of highly-configurable robot naviga*ng
internal space
• Results: machine learning to limit configura*on search space leads to tractable
high quality plans synthesized at run *me
• Future work
214th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Self-adapta.on of Highly-Configurable Systems
• Many cyberphyscial systems have many alterna2ve components with
hundreds of configura2on op2ons
• Many different kinds of sensors
• Alterna3ve so?ware for different robot
func3ons
• Abundant configura3on op3ons
• E.g., AMCL, a component for robot localiza8on,
has ~40 configura8on parameters
• Understanding effect of parameters on
behavior, power consump3on, memory,
etc. is hard
• Self-adapta2on required to handle dynamic situa2ons
314th Symposium on Software Engineering for Adaptive and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Challenges
• How does self-adapta2on deal with this?
• Fixed set of plans developed at design 3me
• Restricted to a manageable set of condi8ons,
pre-known condi8ons
• Run 3me planning that needs to search large
planning space
• Need to simplify the problem to deal with large s
earch space
• Cyberphysical components à intractable to
completely define ground truth model
Desire a solu2on that can deal with large configura,on space and highly
dynamic environments
414th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Scenario: Autonomous Service Robot Power
12
Go to a series of locations in a building to deliver packages and messages.
Objectives:
• Timeliness (time to completion)
• Success rate (number of targets reached)
5
Adapta/on space:
• Instruc8on graph (move, charge, etc.)
• Robot’s configura8on
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
3
Adapt!
Find new plan
Choose configuration
Sensitive to power model.
Our approach
1. Off-line machine learning finds
Pareto-op2mal configura2ons
2. Planning space restricted to
only these configura2ons
H1: Machine learning can find sufficiently op2mal configura2ons with
limited sampling budget.
H2: Restric2ng planning to pareto-op2mal solu2ons makes run2me
planning tractable while maintaining high quality plans.
614th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Approach to machine learning
7
Offline
Learning
Polynomial
regression model
Query
Value
Hidden Power
Model
Exhaus8ve
search
𝑓 ⋅ = 1.2 +
3𝑜! + 5𝑜" +
0.9𝑜# + 0.8𝑜" 𝑜#
+4𝑜! 𝑜" 𝑜#
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Background: Configura/on Representa/on
ℂ = 𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$
Kinect
Configuration
Space
thermometer
𝑐! = 0×0× ⋯×0×1𝑐! ∈ ℂ
Localization
Lidar GPS
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 8
Our learning approach
A typical approach for understanding the performance behavior is
sensi2vity analysis
𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$
0×0× ⋯×0×1
0×0× ⋯×1×0
0×0× ⋯×1×1
1×1× ⋯×1×0
1×1× ⋯×1×1
⋯
𝑐!
𝑐%
𝑐&
𝑐'
𝑦! = 𝑓(𝑐!)
𝑦% = 𝑓(𝑐%)
𝑦& = 𝑓(𝑐&)
𝑦' = 𝑓(𝑐')
𝑓 ∼ 𝑓(⋅)
⋯
Learn
TrainingSet
^
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 9
Our learning approach: Step-wise linear regression
𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$
0×0× ⋯×0×1
0×0× ⋯×1×0
0×0× ⋯×1×1
1×1× ⋯×1×0
1×1× ⋯×1×1
⋯
𝑐!
𝑐%
𝑐&
𝑐'
𝑦! = 𝑓(𝑐!)
𝑦% = 𝑓(𝑐%)
𝑦& = 𝑓(𝑐&)
𝑦' = 𝑓(𝑐')
⋯
TrainingSet
Learn
power
model
1. Fit an ini#al model
2. Forward selec#on: Add terms
itera0vely
3. Backward elimina#on:
Removes terms itera0vely
4. Terminate: When neither (2) or
(3) improve the model
Source
(Execution time of Program X)
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 10
𝐋𝐞𝐚𝐫𝐧𝐞𝐝 𝐦𝐨𝐝𝐞𝐥: 𝑓(⋅) = 1.2 + 3𝑜$ + 5𝑜% + 0.9𝑜& + 0.8𝑜% 𝑜& + 4𝑜$ 𝑜% 𝑜&
Planning: Approach overview
The set of Pareto op2mal configura2ons reduces the search space
• But not enough to do planning all in one model
Approach: Divide and conquer
1. Determine valid paths
2. Find best configura2on for each path
3. Pick path/config combina2on with best score
Approach that comes up with the best combina2on configura2on/path to
sa2sfy a preference func2on over quality aPributes
1114th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Planning: Mul.ple Models
Planner requires informa2on from mul2ple models
Each stage updates some of the models
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 12
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Planning: Machine learned models
Machine learning produces models for:
• Configura2on space to search
• Power consump2on of robot opera2ons
in those configura2ons
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 13
Configura)on Machine
Learning Pipeline (Offline)
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Configuration
Machine
LearnerSystem Observa5ons
Pareto-optimal
configs
Offline
Planning: Find legal paths
Use Dijkstra's algorithm
Considers current knowledge of
location, target, and
environment.
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 14
Task Planning Pipeline (Online)
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Aggregator
Path
Preprocessor
Legal paths
Robot loca)on
Target loca)on
Space Topology
Online
Planning: Quan.ta.ve Planning
All models combined into Prism
models
Prism synthesizes plan that…
14th Symposium on Software Engineering for Adaptive and Self-Managing Systems, Montreal, CA, 24-25 May 2019 15
Task Planning Pipeline (Online)
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Aggregator
Path
Preprocessor
Legal paths
Robot loca)on
Target loca)on
Space Topology
Aggregator
Task Planning
Model Generator
Task Planner
Task Plan
Prism
Spec
Task a4ribute quan)fiers
Legal paths
Preferences
Distances
Robot opera)ons’
energy consump)on
Robot opera)ons
Pareto-op)mal configs
Model-ViewTranslationandAggregation
Evalua.on: H1
Want to know how accurate a learned model is:
• Sampling ground truth model through physical experimenta3on
• Power model, which is a set of func3ons, one for each configura3on
Approach: Learn from a set of synthe2c models
• 100 synthe3cally generated power models each with 1000000 configura3ons
• Pick 100 samples from every model and try to learn that model
16
H1: ML finds Pareto-op3mal configura3ons.
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Results: H1
We are able to learn an accurate model that is highly likely to iden2fy
Pareto op2mal configura2ons
17
H1: ML finds Pareto-op3mal configura3ons.
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Evalua.on: H2
A range of condi2ons:
- different missions
- sequences of waypoints
- different adapta2on-causing perturba2ons
- obstacle placement and baRery deple3on
- different learning budgets
- how much machine learning is done
Actual experiments chosen and executed by a third party
- Lincoln Laboratories( ) as part of a DARPA project
18
H2: Good adapta3ons with just Pareto configura3ons.
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Docker Container
Evalua.on Implementa.on: H2
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 19
Start:
- mission
- power model
- learning budget
Perturb:
- obstacle
- baRery
REST Test Adapter
Robot Software
Planning
Path plan
Configuration
Test Driver
Gazebo
Simulator
H2: Good adapta3ons with just Pareto configura3ons.
Offline
Learning
Find Pareto-
opt
Models Analysis
Docker Container
Evalua.on Implementa.on: H2
20
Start:
- power model
- learning budget
- mission
Perturb:
- obstacle
- baRery
REST Test Adapter
Models Analysis
Planning
Test Driver
Robot Software
Gazebo
Simulator
H2: Good adapta3ons with just Pareto configura3ons.
Offline
Learning
Find
Pareto-opt
Choose modelLearn modelStart missionPerturb system
Path plan
Configuration
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Evaluation Design: H2
Baseline A: No Perturba2ons, no learning, reac2ve planning
Baseline B: Perturba2ons, no learning, reac2ve planning
Challenge: Perturba2ons, learning, quan2ta2ve planning
280 Test triples (840 runs total)
120 Valid triples (Where successful mission in A and unsuccessful in B)
21
H2: Good adapta3ons with just Pareto configura3ons.
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Results: H2
Verdicts:
Pass: C completes
mission
Degraded: C completes
more tasks in the
mission
Fail: B bePer than C
22
H2: Good adaptations with just Pareto configurations.
Path obstruc,on
Power deple,on
Results: Summary
H1: Machine learning can find op2mal configura2ons without exploring the
en2re state space
• Pareto configura-ons learned even when observing 10-4% of the
configura-on space
H2: Restric2ng planning to pareto-op2mal solu2ons makes run2me
planning tractable while maintaining high quality plans
• Planning was able to be done in real -me in a robot simula-on that beat
reac-ve adapta-on
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 23
Limita.ons
Miscommunication in test design led to poor test cases by independent
evaluators:
- Multiple battery perturbations drain battery completely
- Did not combine battery and obstacle perturbations
- Only one domain (service robots) and one learned model (power,
polynomial)
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 24
Future work
- On-line transfer learning to learn and adapt models at run 2me
- Incorpora2on of mul2ple learned models
- More principled approach to model integra2on
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
25
Approach to machine learning
26LL
Specify
Query
ValueMARS DAS
Learn
Polynomial regression model
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Background: Configura/on Representa/on
ℂ = 𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$
Kinect
Configuration
Space
thermometer
𝑐! = 0×0× ⋯×0×1𝑐! ∈ ℂ
Energy
Localization
Robot
Compiled
Code
Instrumented
Binary
Hardware
Compile Deploy
Configure
𝑓!"(𝑐#) = 100𝑚𝑤ℎ
Non-func/onal
measurable/quan/fiable
aspect
Lidar GPS
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 27
Our learning approach
Performance model could be in any appropriate form
of black-box models
𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$
0×0× ⋯×0×1
0×0× ⋯×1×0
0×0× ⋯×1×1
1×1× ⋯×1×0
1×1× ⋯×1×1
⋯
𝑐!
𝑐%
𝑐&
𝑐'
𝑦! = 𝑓(𝑐!)
𝑦% = 𝑓(𝑐%)
𝑦& = 𝑓(𝑐&)
𝑦' = 𝑓(𝑐')
𝑓 ∼ 𝑓(⋅)
⋯
Learn
TrainingSet
^
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 28
Our learning approach: Measuring Accuracy
𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$
0×0× ⋯×0×1
0×0× ⋯×1×0
0×0× ⋯×1×1
1×1× ⋯×1×0
1×1× ⋯×1×1
⋯
𝑐!
𝑐%
𝑐&
𝑐'
𝑦! = 𝑓(𝑐!)
𝑦% = 𝑓(𝑐%)
𝑦& = 𝑓(𝑐&)
𝑦' = 𝑓(𝑐')
⋯
TrainingSet
Source
(Execution time of Program X)
𝑓
̂
∼ 𝑓(⋅)
Learn
Evaluate
Accuracy
𝐴𝑃𝐸(𝑓
̂
, 𝑓) =
|𝑓
̂
(𝑐) − 𝑓(𝑐)|
𝑓(𝑐)
×100
14th Symposium on Software Engineering for Adaptive and Self-Managing Systems, Montreal, CA, 24-25 May 2019 29
Task Planning Pipeline (Online)
Configura)on Machine
Learning Pipeline (Offline)
Planning: Planning Architecture
30
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Configuration
Machine
LearnerSystem Observa5ons
Pareto-optimal
configs
Aggregator
Path
Preprocessor
Legal paths
Aggregator
Task Planning
Model Generator
Task Planner
Task Plan
Prism
Spec
Robot loca)on
Target loca)on
Space Topology
Task a4ribute quan)fiers
Legal paths
Preferences
Distances
Robot opera)ons’
energy consump)on
Robot opera)ons
Pareto-op)mal configs
Adapta)onPlanningModel-ViewTransla)onandAggrega)on
14th Symposium on Software Engineering for Adaptive and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Planning: Mul.ple Models
31
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Adapta)onPlanningModel-ViewTransla)onandAggrega)on
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Different models
capture facets of the
domain
Each model includes a
model-view translator
that enables retrieving
and inserting information
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Configura)on Machine
Learning Pipeline (Offline)
Planning: Mul.ple Models
32
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Adapta)onPlanningModel-ViewTransla)onandAggrega)on
Configuration
Machine
LearnerSystem Observa5ons
Pareto-optimal
configs
The set of Pareto-
optimal configurations
into the configuration
model
The energy consumption
of robot operations in
those configurations into the
power model
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Configuration
Machine
LearnerSystem Observa2ons
Pareto-optimal
configs
The
Configuration
Machine Learner
incorporates...
Task Planning Pipeline (Online)
Configura)on Machine
Learning Pipeline (Offline)
Planning: Legal Paths
33
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Adapta)onPlanningModel-ViewTranslationandAggregation
Configuration
Machine
LearnerSystem Observa5ons
Pareto-optimal
configs
Aggregator
Path
Preprocessor
Legal paths
Robot loca)on
Target location
Space Topology
The
Aggregator
gathers...
The robot’s and
target location from
the task model
The topological
information of the
physical space
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Task Planning Pipeline (Online)
Configura)on Machine
Learning Pipeline (Offline)
Planning: Legal Paths
34
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Adapta)onPlanningModel-ViewTransla)onandAggrega)on
Configuration
Machine
LearnerSystem Observations
Pareto-optimal
configs
Aggregator
Path
Preprocessor
Legal paths
Robot loca)on
Target loca)on
Space Topology
The Path Preprocessor
generates the legal
paths between those
locations...
...and Legal
Paths are
inserted back
into the task
model
Aggregator
Path
Preprocessor
Legal paths
Robot loca)on
Target loca)on
Space Topology
14th Symposium on Software Engineering for Adaptive and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Task Planning Pipeline (Online)
Configura)on Machine
Learning Pipeline (Offline)
Planning: Prism Gen
35
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Configuration
Machine
LearnerSystem Observa5ons
Pareto-optimal
configs
Aggregator
Path
Preprocessor
Legal paths
Task Planner
Task Plan
Robot location
Target loca)on
Space Topology
Aggregator
Task Planning
Model Generator
Prism
Spec
Task a4ribute quan)fiers
Legal paths
Preferences
Distances
Robot opera)ons’
energy consump)on
Robot opera)ons
Pareto-op)mal configs
Adapta)onPlanningModel-ViewTransla)onandAggrega)on
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Aggregator
Task Planning
Model
Generator
Prism
Spec
The
Aggregator
gathers...
Task Planning Pipeline (Online)
Configura)on Machine
Learning Pipeline (Offline)
Planning: Prism Gen
36
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Configuration
Machine
LearnerSystem Observa5ons
Pareto-optimal
configs
Aggregator
Path
Preprocessor
Legal paths
Task Planner
Task Plan
Robot loca)on
Target loca)on
Space Topology
Aggregator
Task Planning
Model Generator
Prism
Spec
Task a4ribute quan)fiers
Legal paths
Preferences
Distances
Robot opera)ons’
energy consump)on
Robot opera)ons
Pareto-op)mal configs
AdaptationPlanningModel-ViewTransla)onandAggrega)on
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Aggregator
Task Planning
Model
Generator
Prism
Spec
The
Aggregator
gathers...
Legal paths, task preferences,
and task attribute quantifiers
from the task model
Task Planning Pipeline (Online)
Configura)on Machine
Learning Pipeline (Offline)
Planning: Prism Gen
37
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Configuration
Machine
LearnerSystem Observations
Pareto-optimal
configs
Aggregator
Path
Preprocessor
Legal paths
Task Planner
Task Plan
Robot loca)on
Target location
Space Topology
Aggregator
Task Planning
Model Generator
Prism
Spec
Task a4ribute quan)fiers
Legal paths
Preferences
Distances
Robot opera)ons’
energy consump)on
Robot opera)ons
Pareto-op)mal configs
Adapta)onPlanningModel-ViewTransla)onandAggrega)on
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Aggregator
Task Planning
Model
Generator
Prism
Spec
The
Aggregator
gathers...
Legal paths, task preferences,
and task attribute quantifiers
from the task model
Distances from the
physical env. model
Task Planning Pipeline (Online)
Configura)on Machine
Learning Pipeline (Offline)
Planning: Prism Gen
38
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Configuration
Machine
LearnerSystem Observa5ons
Pareto-optimal
configs
Aggregator
Path
Preprocessor
Legal paths
Task Planner
Task Plan
Robot loca)on
Target loca)on
Space Topology
Aggregator
Task Planning
Model Generator
Prism
Spec
Task a4ribute quan)fiers
Legal paths
Preferences
Distances
Robot opera)ons’
energy consump)on
Robot opera)ons
Pareto-optimal configs
Adapta)onPlanningModel-ViewTransla)onandAggrega)on
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Aggregator
Task Planning
Model
Generator
Prism
Spec
The
Aggregator
gathers...
Legal paths, task preferences,
and task attribute quantifiers
from the task model
Distances from the
physical env. model
Robot operations
from the operations
model
Task Planning Pipeline (Online)
Configura)on Machine
Learning Pipeline (Offline)
Planning: Prism Gen
39
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Configuration
Machine
LearnerSystem Observa5ons
Pareto-optimal
configs
Aggregator
Path
Preprocessor
Legal paths
Task Planner
Task Plan
Robot loca)on
Target loca)on
Space Topology
Aggregator
Task Planning
Model Generator
Prism
Spec
Task attribute quantifiers
Legal paths
Preferences
Distances
Robot opera)ons’
energy consump)on
Robot opera)ons
Pareto-op)mal configs
Adapta)onPlanningModel-ViewTranslationandAggregation
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Aggregator
Task Planning
Model
Generator
Prism
Spec
The
Aggregator
gathers...
Legal paths, task preferences,
and task attribute quantifiers
from the task model
Distances from the
physical env. model
Pareto-optimal configs
from the config model
Robot operations
from the operations
model
Task Planning Pipeline (Online)
Configura)on Machine
Learning Pipeline (Offline)
Planning: Prism Gen
40
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Configuration
Machine
LearnerSystem Observa5ons
Pareto-optimal
configs
Aggregator
Path
Preprocessor
Legal paths
Robot loca)on
Target location
Space Topology
Aggregator
Task Planning
Model Generator
Prism
Spec
Task a4ribute quan)fiers
Legal paths
Preferences
Distances
Robot opera)ons’
energy consump)on
Robot opera)ons
Pareto-op)mal configs
Adapta)onPlanningModel-ViewTransla)onandAggrega)on
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Aggregator
Task Planning
Model
Generator
Prism
Spec
The Task Planning Model
Generator creates a Prism
Specification using all the former
elements as building blocks
Task Planning Pipeline (Online)
Configura)on Machine
Learning Pipeline (Offline)
Planning: Planning
41
Task
Model
Physical
Env. Model
Power
Model
Operations
Model
Configuration
Model
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Model-View
Translator
Problem Domain Models
Configuration
Machine
LearnerSystem Observa5ons
Pareto-optimal
configs
Aggregator
Path
Preprocessor
Legal paths
Robot location
Target loca)on
Space Topology
Aggregator
Task Planning
Model Generator
Task Planner
Task Plan
Prism
Spec
Task attribute quantifiers
Legal paths
Preferences
Distances
Robot opera)ons’
energy consump)on
Robot opera)ons
Pareto-op)mal configs
Adapta)onPlanningModel-ViewTranslationandAggregation
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
Task Planner
Task Plan
Prism
Spec
The Task Planner use
probabilistic model
checking (MDP policy
synthesis) in the backend
to generate a Task Plan
Our learning approach: Op0on analysis
A power model contains useful informa2on about influen2al op2ons and
interac2ons
𝑓(⋅) = 1.2 + 3𝑜! + 5𝑜& + 0.9𝑜( + 0.8𝑜& 𝑜( + 4𝑜! 𝑜& 𝑜(
𝑓: ℂ → ℝ
14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 42
4314th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019

Más contenido relacionado

Similar a Machine Learning Meets Quantitative Planning: Enabling Self-Adaptation in Autonomous Robots

OpenACC and Open Hackathons Monthly Highlights May 2023.pdf
OpenACC and Open Hackathons Monthly Highlights May  2023.pdfOpenACC and Open Hackathons Monthly Highlights May  2023.pdf
OpenACC and Open Hackathons Monthly Highlights May 2023.pdfOpenACC
 
Automatic machine learning (AutoML) 101
Automatic machine learning (AutoML) 101Automatic machine learning (AutoML) 101
Automatic machine learning (AutoML) 101QuantUniversity
 
A Survey of Machine Learning Methods Applied to Computer ...
A Survey of Machine Learning Methods Applied to Computer ...A Survey of Machine Learning Methods Applied to Computer ...
A Survey of Machine Learning Methods Applied to Computer ...butest
 
Autonomy Incubator Seminar Series: Tractable Robust Planning and Model Learni...
Autonomy Incubator Seminar Series: Tractable Robust Planning and Model Learni...Autonomy Incubator Seminar Series: Tractable Robust Planning and Model Learni...
Autonomy Incubator Seminar Series: Tractable Robust Planning and Model Learni...AutonomyIncubator
 
Pitfalls of machine learning in production
Pitfalls of machine learning in productionPitfalls of machine learning in production
Pitfalls of machine learning in productionAntoine Sauray
 
Integrated Model Discovery and Self-Adaptation of Robots
Integrated Model Discovery and Self-Adaptation of RobotsIntegrated Model Discovery and Self-Adaptation of Robots
Integrated Model Discovery and Self-Adaptation of RobotsPooyan Jamshidi
 
UberCloud HPC Experiment Introduction for Beginners
UberCloud HPC Experiment Introduction for BeginnersUberCloud HPC Experiment Introduction for Beginners
UberCloud HPC Experiment Introduction for Beginnershpcexperiment
 
K anonymity for crowdsourcing database
K anonymity for crowdsourcing databaseK anonymity for crowdsourcing database
K anonymity for crowdsourcing databaseLeMeniz Infotech
 
Combining Rule-based and Information Retrieval Techniques to assign Software ...
Combining Rule-based and Information Retrieval Techniques to assign Software ...Combining Rule-based and Information Retrieval Techniques to assign Software ...
Combining Rule-based and Information Retrieval Techniques to assign Software ...yguarata
 
DutchMLSchool 2022 - Automation
DutchMLSchool 2022 - AutomationDutchMLSchool 2022 - Automation
DutchMLSchool 2022 - AutomationBigML, Inc
 
Optimization_model_of the propsed kiiraEV assembly lineprstn
Optimization_model_of the propsed kiiraEV assembly lineprstnOptimization_model_of the propsed kiiraEV assembly lineprstn
Optimization_model_of the propsed kiiraEV assembly lineprstnRonald Kayiwa
 
Black Box Methods for Inferring Parallel Applications' Properties in Virtual ...
Black Box Methods for Inferring Parallel Applications' Properties in Virtual ...Black Box Methods for Inferring Parallel Applications' Properties in Virtual ...
Black Box Methods for Inferring Parallel Applications' Properties in Virtual ...Ashish Gupta
 
Product Engineer Certified Lean Six Sigma Black Belt by IASSC
Product Engineer Certified Lean Six Sigma Black Belt by IASSCProduct Engineer Certified Lean Six Sigma Black Belt by IASSC
Product Engineer Certified Lean Six Sigma Black Belt by IASSCHAKKACHE Mohamed
 
Clipper: A Low-Latency Online Prediction Serving System: Spark Summit East ta...
Clipper: A Low-Latency Online Prediction Serving System: Spark Summit East ta...Clipper: A Low-Latency Online Prediction Serving System: Spark Summit East ta...
Clipper: A Low-Latency Online Prediction Serving System: Spark Summit East ta...Spark Summit
 
IRJET- Machine Learning Techniques for Code Optimization
IRJET-  	  Machine Learning Techniques for Code OptimizationIRJET-  	  Machine Learning Techniques for Code Optimization
IRJET- Machine Learning Techniques for Code OptimizationIRJET Journal
 
It‘s Math That Drives Things – Simulink as Simulation and Modeling Environment
It‘s Math That Drives Things – Simulink as Simulation and Modeling EnvironmentIt‘s Math That Drives Things – Simulink as Simulation and Modeling Environment
It‘s Math That Drives Things – Simulink as Simulation and Modeling EnvironmentJoachim Schlosser
 

Similar a Machine Learning Meets Quantitative Planning: Enabling Self-Adaptation in Autonomous Robots (20)

OpenACC and Open Hackathons Monthly Highlights May 2023.pdf
OpenACC and Open Hackathons Monthly Highlights May  2023.pdfOpenACC and Open Hackathons Monthly Highlights May  2023.pdf
OpenACC and Open Hackathons Monthly Highlights May 2023.pdf
 
Automatic machine learning (AutoML) 101
Automatic machine learning (AutoML) 101Automatic machine learning (AutoML) 101
Automatic machine learning (AutoML) 101
 
A Survey of Machine Learning Methods Applied to Computer ...
A Survey of Machine Learning Methods Applied to Computer ...A Survey of Machine Learning Methods Applied to Computer ...
A Survey of Machine Learning Methods Applied to Computer ...
 
Autonomy Incubator Seminar Series: Tractable Robust Planning and Model Learni...
Autonomy Incubator Seminar Series: Tractable Robust Planning and Model Learni...Autonomy Incubator Seminar Series: Tractable Robust Planning and Model Learni...
Autonomy Incubator Seminar Series: Tractable Robust Planning and Model Learni...
 
Pitfalls of machine learning in production
Pitfalls of machine learning in productionPitfalls of machine learning in production
Pitfalls of machine learning in production
 
Integrated Model Discovery and Self-Adaptation of Robots
Integrated Model Discovery and Self-Adaptation of RobotsIntegrated Model Discovery and Self-Adaptation of Robots
Integrated Model Discovery and Self-Adaptation of Robots
 
Ds for finance day 4
Ds for finance day 4Ds for finance day 4
Ds for finance day 4
 
UberCloud HPC Experiment Introduction for Beginners
UberCloud HPC Experiment Introduction for BeginnersUberCloud HPC Experiment Introduction for Beginners
UberCloud HPC Experiment Introduction for Beginners
 
K anonymity for crowdsourcing database
K anonymity for crowdsourcing databaseK anonymity for crowdsourcing database
K anonymity for crowdsourcing database
 
Combining Rule-based and Information Retrieval Techniques to assign Software ...
Combining Rule-based and Information Retrieval Techniques to assign Software ...Combining Rule-based and Information Retrieval Techniques to assign Software ...
Combining Rule-based and Information Retrieval Techniques to assign Software ...
 
DutchMLSchool 2022 - Automation
DutchMLSchool 2022 - AutomationDutchMLSchool 2022 - Automation
DutchMLSchool 2022 - Automation
 
Dj4201737746
Dj4201737746Dj4201737746
Dj4201737746
 
Focap
FocapFocap
Focap
 
Optimization_model_of the propsed kiiraEV assembly lineprstn
Optimization_model_of the propsed kiiraEV assembly lineprstnOptimization_model_of the propsed kiiraEV assembly lineprstn
Optimization_model_of the propsed kiiraEV assembly lineprstn
 
Black Box Methods for Inferring Parallel Applications' Properties in Virtual ...
Black Box Methods for Inferring Parallel Applications' Properties in Virtual ...Black Box Methods for Inferring Parallel Applications' Properties in Virtual ...
Black Box Methods for Inferring Parallel Applications' Properties in Virtual ...
 
Product Engineer Certified Lean Six Sigma Black Belt by IASSC
Product Engineer Certified Lean Six Sigma Black Belt by IASSCProduct Engineer Certified Lean Six Sigma Black Belt by IASSC
Product Engineer Certified Lean Six Sigma Black Belt by IASSC
 
Clipper: A Low-Latency Online Prediction Serving System: Spark Summit East ta...
Clipper: A Low-Latency Online Prediction Serving System: Spark Summit East ta...Clipper: A Low-Latency Online Prediction Serving System: Spark Summit East ta...
Clipper: A Low-Latency Online Prediction Serving System: Spark Summit East ta...
 
IRJET- Machine Learning Techniques for Code Optimization
IRJET-  	  Machine Learning Techniques for Code OptimizationIRJET-  	  Machine Learning Techniques for Code Optimization
IRJET- Machine Learning Techniques for Code Optimization
 
It‘s Math That Drives Things – Simulink as Simulation and Modeling Environment
It‘s Math That Drives Things – Simulink as Simulation and Modeling EnvironmentIt‘s Math That Drives Things – Simulink as Simulation and Modeling Environment
It‘s Math That Drives Things – Simulink as Simulation and Modeling Environment
 
A Web-­Based Simulator for a Discrete Manufacturing System
A Web-­Based Simulator for a Discrete  Manufacturing SystemA Web-­Based Simulator for a Discrete  Manufacturing System
A Web-­Based Simulator for a Discrete Manufacturing System
 

Más de Pooyan Jamshidi

Learning LWF Chain Graphs: A Markov Blanket Discovery Approach
Learning LWF Chain Graphs: A Markov Blanket Discovery ApproachLearning LWF Chain Graphs: A Markov Blanket Discovery Approach
Learning LWF Chain Graphs: A Markov Blanket Discovery ApproachPooyan Jamshidi
 
A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
 A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn... A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...Pooyan Jamshidi
 
Ensembles of Many Diverse Weak Defenses can be Strong: Defending Deep Neural ...
Ensembles of Many Diverse Weak Defenses can be Strong: Defending Deep Neural ...Ensembles of Many Diverse Weak Defenses can be Strong: Defending Deep Neural ...
Ensembles of Many Diverse Weak Defenses can be Strong: Defending Deep Neural ...Pooyan Jamshidi
 
Transfer Learning for Performance Analysis of Machine Learning Systems
Transfer Learning for Performance Analysis of Machine Learning SystemsTransfer Learning for Performance Analysis of Machine Learning Systems
Transfer Learning for Performance Analysis of Machine Learning SystemsPooyan Jamshidi
 
Transfer Learning for Performance Analysis of Configurable Systems: A Causal ...
Transfer Learning for Performance Analysis of Configurable Systems:A Causal ...Transfer Learning for Performance Analysis of Configurable Systems:A Causal ...
Transfer Learning for Performance Analysis of Configurable Systems: A Causal ...Pooyan Jamshidi
 
Machine Learning meets DevOps
Machine Learning meets DevOpsMachine Learning meets DevOps
Machine Learning meets DevOpsPooyan Jamshidi
 
Transfer Learning for Performance Analysis of Highly-Configurable Software
Transfer Learning for Performance Analysis of Highly-Configurable SoftwareTransfer Learning for Performance Analysis of Highly-Configurable Software
Transfer Learning for Performance Analysis of Highly-Configurable SoftwarePooyan Jamshidi
 
Architectural Tradeoff in Learning-Based Software
Architectural Tradeoff in Learning-Based SoftwareArchitectural Tradeoff in Learning-Based Software
Architectural Tradeoff in Learning-Based SoftwarePooyan Jamshidi
 
Production-Ready Machine Learning for the Software Architect
Production-Ready Machine Learning for the Software ArchitectProduction-Ready Machine Learning for the Software Architect
Production-Ready Machine Learning for the Software ArchitectPooyan Jamshidi
 
Transfer Learning for Software Performance Analysis: An Exploratory Analysis
Transfer Learning for Software Performance Analysis: An Exploratory AnalysisTransfer Learning for Software Performance Analysis: An Exploratory Analysis
Transfer Learning for Software Performance Analysis: An Exploratory AnalysisPooyan Jamshidi
 
Learning Software Performance Models for Dynamic and Uncertain Environments
Learning Software Performance Models for Dynamic and Uncertain EnvironmentsLearning Software Performance Models for Dynamic and Uncertain Environments
Learning Software Performance Models for Dynamic and Uncertain EnvironmentsPooyan Jamshidi
 
Sensitivity Analysis for Building Adaptive Robotic Software
Sensitivity Analysis for Building Adaptive Robotic SoftwareSensitivity Analysis for Building Adaptive Robotic Software
Sensitivity Analysis for Building Adaptive Robotic SoftwarePooyan Jamshidi
 
Transfer Learning for Improving Model Predictions in Highly Configurable Soft...
Transfer Learning for Improving Model Predictions in Highly Configurable Soft...Transfer Learning for Improving Model Predictions in Highly Configurable Soft...
Transfer Learning for Improving Model Predictions in Highly Configurable Soft...Pooyan Jamshidi
 
Transfer Learning for Improving Model Predictions in Robotic Systems
Transfer Learning for Improving Model Predictions  in Robotic SystemsTransfer Learning for Improving Model Predictions  in Robotic Systems
Transfer Learning for Improving Model Predictions in Robotic SystemsPooyan Jamshidi
 
Machine Learning meets DevOps
Machine Learning meets DevOpsMachine Learning meets DevOps
Machine Learning meets DevOpsPooyan Jamshidi
 
An Uncertainty-Aware Approach to Optimal Configuration of Stream Processing S...
An Uncertainty-Aware Approach to Optimal Configuration of Stream Processing S...An Uncertainty-Aware Approach to Optimal Configuration of Stream Processing S...
An Uncertainty-Aware Approach to Optimal Configuration of Stream Processing S...Pooyan Jamshidi
 
Configuration Optimization Tool
Configuration Optimization ToolConfiguration Optimization Tool
Configuration Optimization ToolPooyan Jamshidi
 
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...Pooyan Jamshidi
 

Más de Pooyan Jamshidi (20)

Learning LWF Chain Graphs: A Markov Blanket Discovery Approach
Learning LWF Chain Graphs: A Markov Blanket Discovery ApproachLearning LWF Chain Graphs: A Markov Blanket Discovery Approach
Learning LWF Chain Graphs: A Markov Blanket Discovery Approach
 
A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
 A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn... A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
 
Ensembles of Many Diverse Weak Defenses can be Strong: Defending Deep Neural ...
Ensembles of Many Diverse Weak Defenses can be Strong: Defending Deep Neural ...Ensembles of Many Diverse Weak Defenses can be Strong: Defending Deep Neural ...
Ensembles of Many Diverse Weak Defenses can be Strong: Defending Deep Neural ...
 
Transfer Learning for Performance Analysis of Machine Learning Systems
Transfer Learning for Performance Analysis of Machine Learning SystemsTransfer Learning for Performance Analysis of Machine Learning Systems
Transfer Learning for Performance Analysis of Machine Learning Systems
 
Transfer Learning for Performance Analysis of Configurable Systems: A Causal ...
Transfer Learning for Performance Analysis of Configurable Systems:A Causal ...Transfer Learning for Performance Analysis of Configurable Systems:A Causal ...
Transfer Learning for Performance Analysis of Configurable Systems: A Causal ...
 
Machine Learning meets DevOps
Machine Learning meets DevOpsMachine Learning meets DevOps
Machine Learning meets DevOps
 
Learning to Sample
Learning to SampleLearning to Sample
Learning to Sample
 
Transfer Learning for Performance Analysis of Highly-Configurable Software
Transfer Learning for Performance Analysis of Highly-Configurable SoftwareTransfer Learning for Performance Analysis of Highly-Configurable Software
Transfer Learning for Performance Analysis of Highly-Configurable Software
 
Architectural Tradeoff in Learning-Based Software
Architectural Tradeoff in Learning-Based SoftwareArchitectural Tradeoff in Learning-Based Software
Architectural Tradeoff in Learning-Based Software
 
Production-Ready Machine Learning for the Software Architect
Production-Ready Machine Learning for the Software ArchitectProduction-Ready Machine Learning for the Software Architect
Production-Ready Machine Learning for the Software Architect
 
Transfer Learning for Software Performance Analysis: An Exploratory Analysis
Transfer Learning for Software Performance Analysis: An Exploratory AnalysisTransfer Learning for Software Performance Analysis: An Exploratory Analysis
Transfer Learning for Software Performance Analysis: An Exploratory Analysis
 
Architecting for Scale
Architecting for ScaleArchitecting for Scale
Architecting for Scale
 
Learning Software Performance Models for Dynamic and Uncertain Environments
Learning Software Performance Models for Dynamic and Uncertain EnvironmentsLearning Software Performance Models for Dynamic and Uncertain Environments
Learning Software Performance Models for Dynamic and Uncertain Environments
 
Sensitivity Analysis for Building Adaptive Robotic Software
Sensitivity Analysis for Building Adaptive Robotic SoftwareSensitivity Analysis for Building Adaptive Robotic Software
Sensitivity Analysis for Building Adaptive Robotic Software
 
Transfer Learning for Improving Model Predictions in Highly Configurable Soft...
Transfer Learning for Improving Model Predictions in Highly Configurable Soft...Transfer Learning for Improving Model Predictions in Highly Configurable Soft...
Transfer Learning for Improving Model Predictions in Highly Configurable Soft...
 
Transfer Learning for Improving Model Predictions in Robotic Systems
Transfer Learning for Improving Model Predictions  in Robotic SystemsTransfer Learning for Improving Model Predictions  in Robotic Systems
Transfer Learning for Improving Model Predictions in Robotic Systems
 
Machine Learning meets DevOps
Machine Learning meets DevOpsMachine Learning meets DevOps
Machine Learning meets DevOps
 
An Uncertainty-Aware Approach to Optimal Configuration of Stream Processing S...
An Uncertainty-Aware Approach to Optimal Configuration of Stream Processing S...An Uncertainty-Aware Approach to Optimal Configuration of Stream Processing S...
An Uncertainty-Aware Approach to Optimal Configuration of Stream Processing S...
 
Configuration Optimization Tool
Configuration Optimization ToolConfiguration Optimization Tool
Configuration Optimization Tool
 
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
 

Último

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 

Último (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 

Machine Learning Meets Quantitative Planning: Enabling Self-Adaptation in Autonomous Robots

  • 1. Pooyan Jamshidi, Javier Cámara, Bradley Schmerl, Chris3an Kästner, David Garlan Machine Learning Meets Quan0ta0ve Planning: Enabling Self-Adapta1on in Autonomous Robots https://arxiv.org/abs/1903.03920
  • 2. Outline • Self-adapta*on of Highly-Configurable Systems • Mobile robo)cs domain • Challenges with quan)ta)ve planning and scale of search space • Our approach: use machine learning to iden*fy interes*ng configura*ons • Evalua-on: third party evalua*on of highly-configurable robot naviga*ng internal space • Results: machine learning to limit configura*on search space leads to tractable high quality plans synthesized at run *me • Future work 214th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 3. Self-adapta.on of Highly-Configurable Systems • Many cyberphyscial systems have many alterna2ve components with hundreds of configura2on op2ons • Many different kinds of sensors • Alterna3ve so?ware for different robot func3ons • Abundant configura3on op3ons • E.g., AMCL, a component for robot localiza8on, has ~40 configura8on parameters • Understanding effect of parameters on behavior, power consump3on, memory, etc. is hard • Self-adapta2on required to handle dynamic situa2ons 314th Symposium on Software Engineering for Adaptive and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 4. Challenges • How does self-adapta2on deal with this? • Fixed set of plans developed at design 3me • Restricted to a manageable set of condi8ons, pre-known condi8ons • Run 3me planning that needs to search large planning space • Need to simplify the problem to deal with large s earch space • Cyberphysical components à intractable to completely define ground truth model Desire a solu2on that can deal with large configura,on space and highly dynamic environments 414th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 5. Scenario: Autonomous Service Robot Power 12 Go to a series of locations in a building to deliver packages and messages. Objectives: • Timeliness (time to completion) • Success rate (number of targets reached) 5 Adapta/on space: • Instruc8on graph (move, charge, etc.) • Robot’s configura8on 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 3 Adapt! Find new plan Choose configuration Sensitive to power model.
  • 6. Our approach 1. Off-line machine learning finds Pareto-op2mal configura2ons 2. Planning space restricted to only these configura2ons H1: Machine learning can find sufficiently op2mal configura2ons with limited sampling budget. H2: Restric2ng planning to pareto-op2mal solu2ons makes run2me planning tractable while maintaining high quality plans. 614th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 7. Approach to machine learning 7 Offline Learning Polynomial regression model Query Value Hidden Power Model Exhaus8ve search 𝑓 ⋅ = 1.2 + 3𝑜! + 5𝑜" + 0.9𝑜# + 0.8𝑜" 𝑜# +4𝑜! 𝑜" 𝑜# 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 8. Background: Configura/on Representa/on ℂ = 𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$ Kinect Configuration Space thermometer 𝑐! = 0×0× ⋯×0×1𝑐! ∈ ℂ Localization Lidar GPS 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 8
  • 9. Our learning approach A typical approach for understanding the performance behavior is sensi2vity analysis 𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$ 0×0× ⋯×0×1 0×0× ⋯×1×0 0×0× ⋯×1×1 1×1× ⋯×1×0 1×1× ⋯×1×1 ⋯ 𝑐! 𝑐% 𝑐& 𝑐' 𝑦! = 𝑓(𝑐!) 𝑦% = 𝑓(𝑐%) 𝑦& = 𝑓(𝑐&) 𝑦' = 𝑓(𝑐') 𝑓 ∼ 𝑓(⋅) ⋯ Learn TrainingSet ^ 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 9
  • 10. Our learning approach: Step-wise linear regression 𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$ 0×0× ⋯×0×1 0×0× ⋯×1×0 0×0× ⋯×1×1 1×1× ⋯×1×0 1×1× ⋯×1×1 ⋯ 𝑐! 𝑐% 𝑐& 𝑐' 𝑦! = 𝑓(𝑐!) 𝑦% = 𝑓(𝑐%) 𝑦& = 𝑓(𝑐&) 𝑦' = 𝑓(𝑐') ⋯ TrainingSet Learn power model 1. Fit an ini#al model 2. Forward selec#on: Add terms itera0vely 3. Backward elimina#on: Removes terms itera0vely 4. Terminate: When neither (2) or (3) improve the model Source (Execution time of Program X) 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 10 𝐋𝐞𝐚𝐫𝐧𝐞𝐝 𝐦𝐨𝐝𝐞𝐥: 𝑓(⋅) = 1.2 + 3𝑜$ + 5𝑜% + 0.9𝑜& + 0.8𝑜% 𝑜& + 4𝑜$ 𝑜% 𝑜&
  • 11. Planning: Approach overview The set of Pareto op2mal configura2ons reduces the search space • But not enough to do planning all in one model Approach: Divide and conquer 1. Determine valid paths 2. Find best configura2on for each path 3. Pick path/config combina2on with best score Approach that comes up with the best combina2on configura2on/path to sa2sfy a preference func2on over quality aPributes 1114th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 12. Planning: Mul.ple Models Planner requires informa2on from mul2ple models Each stage updates some of the models 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 12 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models
  • 13. Planning: Machine learned models Machine learning produces models for: • Configura2on space to search • Power consump2on of robot opera2ons in those configura2ons 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 13 Configura)on Machine Learning Pipeline (Offline) Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Configuration Machine LearnerSystem Observa5ons Pareto-optimal configs Offline
  • 14. Planning: Find legal paths Use Dijkstra's algorithm Considers current knowledge of location, target, and environment. 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 14 Task Planning Pipeline (Online) Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Aggregator Path Preprocessor Legal paths Robot loca)on Target loca)on Space Topology Online
  • 15. Planning: Quan.ta.ve Planning All models combined into Prism models Prism synthesizes plan that… 14th Symposium on Software Engineering for Adaptive and Self-Managing Systems, Montreal, CA, 24-25 May 2019 15 Task Planning Pipeline (Online) Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Aggregator Path Preprocessor Legal paths Robot loca)on Target loca)on Space Topology Aggregator Task Planning Model Generator Task Planner Task Plan Prism Spec Task a4ribute quan)fiers Legal paths Preferences Distances Robot opera)ons’ energy consump)on Robot opera)ons Pareto-op)mal configs Model-ViewTranslationandAggregation
  • 16. Evalua.on: H1 Want to know how accurate a learned model is: • Sampling ground truth model through physical experimenta3on • Power model, which is a set of func3ons, one for each configura3on Approach: Learn from a set of synthe2c models • 100 synthe3cally generated power models each with 1000000 configura3ons • Pick 100 samples from every model and try to learn that model 16 H1: ML finds Pareto-op3mal configura3ons. 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 17. Results: H1 We are able to learn an accurate model that is highly likely to iden2fy Pareto op2mal configura2ons 17 H1: ML finds Pareto-op3mal configura3ons. 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 18. Evalua.on: H2 A range of condi2ons: - different missions - sequences of waypoints - different adapta2on-causing perturba2ons - obstacle placement and baRery deple3on - different learning budgets - how much machine learning is done Actual experiments chosen and executed by a third party - Lincoln Laboratories( ) as part of a DARPA project 18 H2: Good adapta3ons with just Pareto configura3ons. 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 19. Docker Container Evalua.on Implementa.on: H2 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 19 Start: - mission - power model - learning budget Perturb: - obstacle - baRery REST Test Adapter Robot Software Planning Path plan Configuration Test Driver Gazebo Simulator H2: Good adapta3ons with just Pareto configura3ons. Offline Learning Find Pareto- opt Models Analysis
  • 20. Docker Container Evalua.on Implementa.on: H2 20 Start: - power model - learning budget - mission Perturb: - obstacle - baRery REST Test Adapter Models Analysis Planning Test Driver Robot Software Gazebo Simulator H2: Good adapta3ons with just Pareto configura3ons. Offline Learning Find Pareto-opt Choose modelLearn modelStart missionPerturb system Path plan Configuration 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 21. Evaluation Design: H2 Baseline A: No Perturba2ons, no learning, reac2ve planning Baseline B: Perturba2ons, no learning, reac2ve planning Challenge: Perturba2ons, learning, quan2ta2ve planning 280 Test triples (840 runs total) 120 Valid triples (Where successful mission in A and unsuccessful in B) 21 H2: Good adapta3ons with just Pareto configura3ons. 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 22. Results: H2 Verdicts: Pass: C completes mission Degraded: C completes more tasks in the mission Fail: B bePer than C 22 H2: Good adaptations with just Pareto configurations. Path obstruc,on Power deple,on
  • 23. Results: Summary H1: Machine learning can find op2mal configura2ons without exploring the en2re state space • Pareto configura-ons learned even when observing 10-4% of the configura-on space H2: Restric2ng planning to pareto-op2mal solu2ons makes run2me planning tractable while maintaining high quality plans • Planning was able to be done in real -me in a robot simula-on that beat reac-ve adapta-on 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 23
  • 24. Limita.ons Miscommunication in test design led to poor test cases by independent evaluators: - Multiple battery perturbations drain battery completely - Did not combine battery and obstacle perturbations - Only one domain (service robots) and one learned model (power, polynomial) 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 24 Future work - On-line transfer learning to learn and adapt models at run 2me - Incorpora2on of mul2ple learned models - More principled approach to model integra2on
  • 25. 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 25
  • 26. Approach to machine learning 26LL Specify Query ValueMARS DAS Learn Polynomial regression model 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 27. Background: Configura/on Representa/on ℂ = 𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$ Kinect Configuration Space thermometer 𝑐! = 0×0× ⋯×0×1𝑐! ∈ ℂ Energy Localization Robot Compiled Code Instrumented Binary Hardware Compile Deploy Configure 𝑓!"(𝑐#) = 100𝑚𝑤ℎ Non-func/onal measurable/quan/fiable aspect Lidar GPS 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 27
  • 28. Our learning approach Performance model could be in any appropriate form of black-box models 𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$ 0×0× ⋯×0×1 0×0× ⋯×1×0 0×0× ⋯×1×1 1×1× ⋯×1×0 1×1× ⋯×1×1 ⋯ 𝑐! 𝑐% 𝑐& 𝑐' 𝑦! = 𝑓(𝑐!) 𝑦% = 𝑓(𝑐%) 𝑦& = 𝑓(𝑐&) 𝑦' = 𝑓(𝑐') 𝑓 ∼ 𝑓(⋅) ⋯ Learn TrainingSet ^ 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 28
  • 29. Our learning approach: Measuring Accuracy 𝑂!×𝑂"× ⋯×𝑂!#×𝑂"$ 0×0× ⋯×0×1 0×0× ⋯×1×0 0×0× ⋯×1×1 1×1× ⋯×1×0 1×1× ⋯×1×1 ⋯ 𝑐! 𝑐% 𝑐& 𝑐' 𝑦! = 𝑓(𝑐!) 𝑦% = 𝑓(𝑐%) 𝑦& = 𝑓(𝑐&) 𝑦' = 𝑓(𝑐') ⋯ TrainingSet Source (Execution time of Program X) 𝑓 ̂ ∼ 𝑓(⋅) Learn Evaluate Accuracy 𝐴𝑃𝐸(𝑓 ̂ , 𝑓) = |𝑓 ̂ (𝑐) − 𝑓(𝑐)| 𝑓(𝑐) ×100 14th Symposium on Software Engineering for Adaptive and Self-Managing Systems, Montreal, CA, 24-25 May 2019 29
  • 30. Task Planning Pipeline (Online) Configura)on Machine Learning Pipeline (Offline) Planning: Planning Architecture 30 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Configuration Machine LearnerSystem Observa5ons Pareto-optimal configs Aggregator Path Preprocessor Legal paths Aggregator Task Planning Model Generator Task Planner Task Plan Prism Spec Robot loca)on Target loca)on Space Topology Task a4ribute quan)fiers Legal paths Preferences Distances Robot opera)ons’ energy consump)on Robot opera)ons Pareto-op)mal configs Adapta)onPlanningModel-ViewTransla)onandAggrega)on 14th Symposium on Software Engineering for Adaptive and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 31. Planning: Mul.ple Models 31 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Adapta)onPlanningModel-ViewTransla)onandAggrega)on Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Different models capture facets of the domain Each model includes a model-view translator that enables retrieving and inserting information 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 32. Configura)on Machine Learning Pipeline (Offline) Planning: Mul.ple Models 32 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Adapta)onPlanningModel-ViewTransla)onandAggrega)on Configuration Machine LearnerSystem Observa5ons Pareto-optimal configs The set of Pareto- optimal configurations into the configuration model The energy consumption of robot operations in those configurations into the power model 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 Configuration Machine LearnerSystem Observa2ons Pareto-optimal configs The Configuration Machine Learner incorporates...
  • 33. Task Planning Pipeline (Online) Configura)on Machine Learning Pipeline (Offline) Planning: Legal Paths 33 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Adapta)onPlanningModel-ViewTranslationandAggregation Configuration Machine LearnerSystem Observa5ons Pareto-optimal configs Aggregator Path Preprocessor Legal paths Robot loca)on Target location Space Topology The Aggregator gathers... The robot’s and target location from the task model The topological information of the physical space 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 34. Task Planning Pipeline (Online) Configura)on Machine Learning Pipeline (Offline) Planning: Legal Paths 34 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Adapta)onPlanningModel-ViewTransla)onandAggrega)on Configuration Machine LearnerSystem Observations Pareto-optimal configs Aggregator Path Preprocessor Legal paths Robot loca)on Target loca)on Space Topology The Path Preprocessor generates the legal paths between those locations... ...and Legal Paths are inserted back into the task model Aggregator Path Preprocessor Legal paths Robot loca)on Target loca)on Space Topology 14th Symposium on Software Engineering for Adaptive and Self-Managing Systems, Montreal, CA, 24-25 May 2019
  • 35. Task Planning Pipeline (Online) Configura)on Machine Learning Pipeline (Offline) Planning: Prism Gen 35 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Configuration Machine LearnerSystem Observa5ons Pareto-optimal configs Aggregator Path Preprocessor Legal paths Task Planner Task Plan Robot location Target loca)on Space Topology Aggregator Task Planning Model Generator Prism Spec Task a4ribute quan)fiers Legal paths Preferences Distances Robot opera)ons’ energy consump)on Robot opera)ons Pareto-op)mal configs Adapta)onPlanningModel-ViewTransla)onandAggrega)on 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 Aggregator Task Planning Model Generator Prism Spec The Aggregator gathers...
  • 36. Task Planning Pipeline (Online) Configura)on Machine Learning Pipeline (Offline) Planning: Prism Gen 36 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Configuration Machine LearnerSystem Observa5ons Pareto-optimal configs Aggregator Path Preprocessor Legal paths Task Planner Task Plan Robot loca)on Target loca)on Space Topology Aggregator Task Planning Model Generator Prism Spec Task a4ribute quan)fiers Legal paths Preferences Distances Robot opera)ons’ energy consump)on Robot opera)ons Pareto-op)mal configs AdaptationPlanningModel-ViewTransla)onandAggrega)on 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 Aggregator Task Planning Model Generator Prism Spec The Aggregator gathers... Legal paths, task preferences, and task attribute quantifiers from the task model
  • 37. Task Planning Pipeline (Online) Configura)on Machine Learning Pipeline (Offline) Planning: Prism Gen 37 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Configuration Machine LearnerSystem Observations Pareto-optimal configs Aggregator Path Preprocessor Legal paths Task Planner Task Plan Robot loca)on Target location Space Topology Aggregator Task Planning Model Generator Prism Spec Task a4ribute quan)fiers Legal paths Preferences Distances Robot opera)ons’ energy consump)on Robot opera)ons Pareto-op)mal configs Adapta)onPlanningModel-ViewTransla)onandAggrega)on 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 Aggregator Task Planning Model Generator Prism Spec The Aggregator gathers... Legal paths, task preferences, and task attribute quantifiers from the task model Distances from the physical env. model
  • 38. Task Planning Pipeline (Online) Configura)on Machine Learning Pipeline (Offline) Planning: Prism Gen 38 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Configuration Machine LearnerSystem Observa5ons Pareto-optimal configs Aggregator Path Preprocessor Legal paths Task Planner Task Plan Robot loca)on Target loca)on Space Topology Aggregator Task Planning Model Generator Prism Spec Task a4ribute quan)fiers Legal paths Preferences Distances Robot opera)ons’ energy consump)on Robot opera)ons Pareto-optimal configs Adapta)onPlanningModel-ViewTransla)onandAggrega)on 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 Aggregator Task Planning Model Generator Prism Spec The Aggregator gathers... Legal paths, task preferences, and task attribute quantifiers from the task model Distances from the physical env. model Robot operations from the operations model
  • 39. Task Planning Pipeline (Online) Configura)on Machine Learning Pipeline (Offline) Planning: Prism Gen 39 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Configuration Machine LearnerSystem Observa5ons Pareto-optimal configs Aggregator Path Preprocessor Legal paths Task Planner Task Plan Robot loca)on Target loca)on Space Topology Aggregator Task Planning Model Generator Prism Spec Task attribute quantifiers Legal paths Preferences Distances Robot opera)ons’ energy consump)on Robot opera)ons Pareto-op)mal configs Adapta)onPlanningModel-ViewTranslationandAggregation 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 Aggregator Task Planning Model Generator Prism Spec The Aggregator gathers... Legal paths, task preferences, and task attribute quantifiers from the task model Distances from the physical env. model Pareto-optimal configs from the config model Robot operations from the operations model
  • 40. Task Planning Pipeline (Online) Configura)on Machine Learning Pipeline (Offline) Planning: Prism Gen 40 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Configuration Machine LearnerSystem Observa5ons Pareto-optimal configs Aggregator Path Preprocessor Legal paths Robot loca)on Target location Space Topology Aggregator Task Planning Model Generator Prism Spec Task a4ribute quan)fiers Legal paths Preferences Distances Robot opera)ons’ energy consump)on Robot opera)ons Pareto-op)mal configs Adapta)onPlanningModel-ViewTransla)onandAggrega)on 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 Aggregator Task Planning Model Generator Prism Spec The Task Planning Model Generator creates a Prism Specification using all the former elements as building blocks
  • 41. Task Planning Pipeline (Online) Configura)on Machine Learning Pipeline (Offline) Planning: Planning 41 Task Model Physical Env. Model Power Model Operations Model Configuration Model Model-View Translator Model-View Translator Model-View Translator Model-View Translator Model-View Translator Problem Domain Models Configuration Machine LearnerSystem Observa5ons Pareto-optimal configs Aggregator Path Preprocessor Legal paths Robot location Target loca)on Space Topology Aggregator Task Planning Model Generator Task Planner Task Plan Prism Spec Task attribute quantifiers Legal paths Preferences Distances Robot opera)ons’ energy consump)on Robot opera)ons Pareto-op)mal configs Adapta)onPlanningModel-ViewTranslationandAggregation 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 Task Planner Task Plan Prism Spec The Task Planner use probabilistic model checking (MDP policy synthesis) in the backend to generate a Task Plan
  • 42. Our learning approach: Op0on analysis A power model contains useful informa2on about influen2al op2ons and interac2ons 𝑓(⋅) = 1.2 + 3𝑜! + 5𝑜& + 0.9𝑜( + 0.8𝑜& 𝑜( + 4𝑜! 𝑜& 𝑜( 𝑓: ℂ → ℝ 14th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019 42
  • 43. 4314th Symposium on So/ware Engineering for Adap9ve and Self-Managing Systems, Montreal, CA, 24-25 May 2019