SlideShare una empresa de Scribd logo
1 de 27
Descargar para leer sin conexión
TOWARDS A FORMAL
FRAMEWORK FOR HYBRID
PLANNING IN SELF-ADAPTATION
Ashutosh Pandey Ivan Ruchkin
Bradley Schmerl Javier Cámara
SEAMS 2017 (The 12th International Symposium on Software Engineering for Adaptive and
Self-Managing Systems)Buenos Aires, Argentina · 22-23 May 2017
1
KEY REQUIREMENTS: QUALITY AND TIMELINESS OF DECISION-MAKING
➤ Although these systems are designed for balancing multiple
objectives to provide long term quality
➤ Amazon web services primarily cares about availability1
➤ Netflix primarily cares about response-time perceived by
clients2
1.https://aws.amazon.com/ec2/sla/
2.http://techblog.netflix.com/2010/12/5-lessons-weve-learned-using-
aws.html 2
CONFLICTING REQUIREMENTS: QUALITY AND TIMELINESS OF DECISION-MAKING
Desired
Region
Probabilistic Planning
Ex: MDP, POMDP
Case-based Reasoning
Ex: Rainbow framework
Heuristic Planning
Ex: FF-Replan
Reactive Planning
Ex: Condition-action rules
Decision-making Time
DecisionQuality
3
*WOLPERT, David H., and William G. MACREADY, 1995. No free lunch theorems for search.
Technical Report SFI-TR-95-02-010. Sante Fe, NM, USA:
*WOLPERT, David H., and William G. MACREADY, 1997. No free lunch theorems for optimization.
IEEE Transactions on Evolutionary Computation, 1(1), 67–82.
HYBRID PLANNING
4
𝛒 Fast
𝛒 slow
𝛱Fast
t
𝛱Slow
t’
Planning Process
𝛒 ➜ Planner
𝛱 ➜ Plan
Timeline
Planning
Problem
Slow Planner ⇒ Planner based on Markov Decision Processes (MDP)
Fast Planner ⇒ Deterministic planner
HYBRID PLANNING LOOKS PROMISING!!
5
0
1
0.5
-0.5
-1.0
-1.5
1.5
Fast Planner
Slow Planner
Hybrid Planner
Normalized Aggregate Utility
A. Pandey et. al. Hybrid planning for decision making in self- adaptive systems. International
Conference on Self-Adaptive and Self-Organizing Systems, SASO 2016, pp. 12-16
THE PROBLEM OF
HYBRID PLANNING
6
THE PROBLEM OF HYBRID PLANNING
“Given a planning problem, and a set of planners, find
a hybrid plan that maximizes a posteriori utility.”
7
THE PROBLEM OF HYBRID PLANNING
“Given a planning problem, and a set of planners, find
a hybrid plan that maximizes a posteriori utility.”
8
“Given a planning problem, and a set of planners, find
a hybrid plan that maximizes the a posteriori utility.”
A PLANNING PROBLEM
9
S, si,
A, o, T, Ue
Set of states
Initial state Transition function T : S x A x Z → S
Environment o : S → Z
A posteriori utility function
Set of controllable
actions
Set of
uncontrollable
actions
A POSTERIORI UTILITY
10
High
Load
Add-Server
H
igh-Load
Low
Load
Medium
Load
Low
-Load
Add-Server
Low-Load
High-Load
Add-Server
=
High
Load
Medium
Load
High
Load
Low
Load
U
U’
A Priori A Posteriori
11
THE PROBLEM OF HYBRID PLANNING
“Given a planning problem, and a set of planners, find
a hybrid plan that maximizes a posteriori utility.”
12
REACHABILITY GRAPH
Pb
U1
E1
Pb2 Pl2
Pb Pl1
Pb Planning problem
Pl Planner
E Execution
U A posteriori utility
d Deadline to trigger a planner
Problem-Planner node
Execution edge
13
REACHABILITY GRAPH
Pb Pl1Pb
U1
E1
Pb2 Pl2
E1
U1
Pb2 Pl3
Pb Planning problem
Pl Planner
E Execution
U A posteriori utility
d Deadline to trigger a planner
Problem-Planner node
Execution edge
14
REACHABILITY GRAPH
Pb Pl1Pb
U1
E1
Pb2 Pl2
E1
U1
Pb2 Pl3
E2
U2
Pb3 Pl4
E2
U2
Pb3 Pl5
Pb Planning problem
Pl Planner
E Execution
U A posteriori utility
d Deadline to trigger a planner
Problem-Planner node
Execution edge
15
REACHABILITY GRAPH
Pb Pl1Pb
U1
E1
Pb2 Pl2
E1
U1
Pb2 Pl3
E2
U2
Pb3 Pl4
E2
U2
Pb3 Pl5
E3
U3
En
Un
Pbi Plj
Pb Planning problem
Pl Planner
E Execution
U A posteriori utility
d Deadline to trigger a planner
Problem-Planner node
Execution edge
16
REACHABILITY GRAPH
Pb Pl1Pb
U1
E1
Pb2 Pl2
E1
U1
Pb2 Pl3
E2
U2
Pb3 Pl4
E2
U2
Pb3 Pl5
E3
U3
En
Un
Pbi Plj
Pb Planning problem
Pl Planner
E Execution
U A posteriori utility
d Deadline to trigger a planner
Problem-Planner node
Execution edge
17
REACHABILITY GRAPH WHEN PLANNING TIME IS NOT ZERO
Pb Pl1
dl1
Pb
U1
E1
Pb2 Pl2
dl2
E1
U1
Pb2 Pl3
dl3
E2
U2 Pb3 Pl4
dl4E2
U2
Pb3 Pl5
dl5
E3
U3
En
Un
Pbi Plj
dlk
Pb Planning problem
Pl Planner
E Execution
U A posteriori utility
dl Deadline to trigger a planner
Problem-Planner node
Execution edge
18
SOLVING THE HYBRID PLANNING PROBLEM
Pb Pl1
dl1
Pb
U1
E1
Pb2 Pl2
dl2
E1
U1
Pb2 Pl3
dl3
E2
U2 Pb3 Pl4
dl4E2
U2
Pb3 Pl5
dl5
E3
U3
En
Un
Pbi Plj
dlk
Pb Planning problem
Pl Planner
E Execution
U A posteriori utility
dl Deadline to trigger a planner
Problem-Planner node
Execution edge
19
DECOMPOSITION OF THE PROBLEM OF HYBRID PLANNING
Assessment of
planners
w.r.t.to problems
Set of
planning
problems
Planning
problem
Sequence of
nodes from the
reachability graph
Reachability
Graph
Set of
planning
problems
Set of planners
and
Problem-Planner
Compatibility
Relationship
GPHCON
PTHSELPRBSEL
PLRAST
20
SUB-PROBLEM: THE PATH SELECTION (PTHSEL)
Assessment of
planners
w.r.t.to problems
Set of
planning
problems
Planning
problem
Sequence of
nodes from the
reachability graph
Reachability
Graph
Set of
planning
problems
Set of planners
and
Problem-Planner
Compatibility
Relationship
GPHCON
PTHSELPRBSEL
PLRAST
21
SUB-PROBLEM: THE GRAPH CONSTRUCTION (GPHCON)
Assessment of
planners
w.r.t.to problems
Set of
planning
problems
Planning
problem
Sequence of
nodes from the
reachability graph
Reachability
Graph
Set of
planning
problems
Set of planners
and
Problem-Planner
Compatibility
Relationship
GPHCON
PTHSELPRBSEL
PLRAST
22
SUB-PROBLEM: THE PLANNER ASSESSMENT (PLRAST)
Assessment of
planners
w.r.t.to problems
Set of
planning
problems
Planning
problem
Sequence of
nodes from the
reachability graph
Reachability
Graph
Set of
planning
problems
Set of planners
and
Problem-Planner
Compatibility
Relationship
GPHCON
PTHSELPRBSEL
PLRAST
23
SUB-PROBLEM: THE PLANNING-PROBLEM SELECTION (PRBSEL)
Assessment of
planners
w.r.t.to problems
Set of
planning
problems
Planning
problem
Sequence of
nodes from the
reachability graph
Reachability
Graph
Set of
planning
problems
Set of planners
and
Problem-Planner
Compatibility
Relationship
GPHCON
PTHSELPRBSEL
PLRAST
24
ASSUMPTIONS FOR THE FORMAL FRAMEWORK
➤ No instantaneous actions
➤ Markovian domain
➤ Instantaneous solution to sub-problems
➤ Known worst-case planning time
➤ Known utility of executions
CONCLUSION
➤ Hybrid Planning approach is useful but a non-trivial problem
to solve
➤ This formalism could help in understanding and
approximating a more general solution to the problem
25
ACKNOWLEDGEMENT
•This work is supported in part by awards
•N000141310401 and N000141310171 from the Office of
Naval Research (ONR)
•FA87501620042 from the Air Force Research Laboratory
(AFRL)
26
27

Más contenido relacionado

Similar a Towards a Formal Framework for Hybrid Planning in Self-Adaptation

Aminullah assagaf mp14 manajemen proyek
Aminullah assagaf mp14 manajemen proyekAminullah assagaf mp14 manajemen proyek
Aminullah assagaf mp14 manajemen proyekAminullah Assagaf
 
PMI Global 2007 - Urucu/Manaus
PMI Global 2007 - Urucu/ManausPMI Global 2007 - Urucu/Manaus
PMI Global 2007 - Urucu/ManausPeter Mello
 
Model-Based User Interface Optimization: Part I INTRODUCTION - At SICSA Summe...
Model-Based User Interface Optimization: Part I INTRODUCTION - At SICSA Summe...Model-Based User Interface Optimization: Part I INTRODUCTION - At SICSA Summe...
Model-Based User Interface Optimization: Part I INTRODUCTION - At SICSA Summe...Aalto University
 
An Introduction to MapReduce
An Introduction to MapReduceAn Introduction to MapReduce
An Introduction to MapReduceFrane Bandov
 
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxCHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxGodisgoodtube
 
Artificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real WorldArtificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real Worldahmad bassiouny
 
On Context-Orientation in Aggregate Programming
On Context-Orientation in Aggregate ProgrammingOn Context-Orientation in Aggregate Programming
On Context-Orientation in Aggregate ProgrammingRoberto Casadei
 
Planning Phase Part II - Project Phases and Lifecycle Planning
Planning Phase Part II - Project Phases and Lifecycle PlanningPlanning Phase Part II - Project Phases and Lifecycle Planning
Planning Phase Part II - Project Phases and Lifecycle PlanningEmanuele Della Valle
 
Towards quantum machine learning calogero zarbo - meet up
Towards quantum machine learning  calogero zarbo - meet upTowards quantum machine learning  calogero zarbo - meet up
Towards quantum machine learning calogero zarbo - meet upDeep Learning Italia
 
Python in Civil/Environmental Engineering
Python in Civil/Environmental EngineeringPython in Civil/Environmental Engineering
Python in Civil/Environmental Engineeringpmhobson
 
Aspects of nepal's rural infrastructure project managment by bhim upadhyaya
Aspects of nepal's rural infrastructure project managment by bhim upadhyayaAspects of nepal's rural infrastructure project managment by bhim upadhyaya
Aspects of nepal's rural infrastructure project managment by bhim upadhyayaBhim Upadhyaya
 
On Unified Stream Reasoning - The RDF Stream Processing realm
On Unified Stream Reasoning - The RDF Stream Processing realmOn Unified Stream Reasoning - The RDF Stream Processing realm
On Unified Stream Reasoning - The RDF Stream Processing realmDaniele Dell'Aglio
 
Project management an overview
Project management an overview Project management an overview
Project management an overview Grintex India Ltd
 
Project Operation Management
Project Operation Management Project Operation Management
Project Operation Management MureedAbbas
 
J0313052055
J0313052055J0313052055
J0313052055theijes
 

Similar a Towards a Formal Framework for Hybrid Planning in Self-Adaptation (20)

Aminullah assagaf mp14 manajemen proyek
Aminullah assagaf mp14 manajemen proyekAminullah assagaf mp14 manajemen proyek
Aminullah assagaf mp14 manajemen proyek
 
Partial Compilers
Partial CompilersPartial Compilers
Partial Compilers
 
KMAP PAPER (1)
KMAP PAPER (1)KMAP PAPER (1)
KMAP PAPER (1)
 
PMI Global 2007 - Urucu/Manaus
PMI Global 2007 - Urucu/ManausPMI Global 2007 - Urucu/Manaus
PMI Global 2007 - Urucu/Manaus
 
Model-Based User Interface Optimization: Part I INTRODUCTION - At SICSA Summe...
Model-Based User Interface Optimization: Part I INTRODUCTION - At SICSA Summe...Model-Based User Interface Optimization: Part I INTRODUCTION - At SICSA Summe...
Model-Based User Interface Optimization: Part I INTRODUCTION - At SICSA Summe...
 
An Introduction to MapReduce
An Introduction to MapReduceAn Introduction to MapReduce
An Introduction to MapReduce
 
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxCHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
 
NavalPlan Talk at LinuxTag 2011
NavalPlan Talk at LinuxTag 2011NavalPlan Talk at LinuxTag 2011
NavalPlan Talk at LinuxTag 2011
 
Scheduling And Htn
Scheduling And HtnScheduling And Htn
Scheduling And Htn
 
Artificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real WorldArtificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real World
 
On Context-Orientation in Aggregate Programming
On Context-Orientation in Aggregate ProgrammingOn Context-Orientation in Aggregate Programming
On Context-Orientation in Aggregate Programming
 
Planning Phase Part II - Project Phases and Lifecycle Planning
Planning Phase Part II - Project Phases and Lifecycle PlanningPlanning Phase Part II - Project Phases and Lifecycle Planning
Planning Phase Part II - Project Phases and Lifecycle Planning
 
Towards quantum machine learning calogero zarbo - meet up
Towards quantum machine learning  calogero zarbo - meet upTowards quantum machine learning  calogero zarbo - meet up
Towards quantum machine learning calogero zarbo - meet up
 
Python in Civil/Environmental Engineering
Python in Civil/Environmental EngineeringPython in Civil/Environmental Engineering
Python in Civil/Environmental Engineering
 
Aspects of nepal's rural infrastructure project managment by bhim upadhyaya
Aspects of nepal's rural infrastructure project managment by bhim upadhyayaAspects of nepal's rural infrastructure project managment by bhim upadhyaya
Aspects of nepal's rural infrastructure project managment by bhim upadhyaya
 
On Unified Stream Reasoning - The RDF Stream Processing realm
On Unified Stream Reasoning - The RDF Stream Processing realmOn Unified Stream Reasoning - The RDF Stream Processing realm
On Unified Stream Reasoning - The RDF Stream Processing realm
 
Project management an overview
Project management an overview Project management an overview
Project management an overview
 
feasibility study
 feasibility study feasibility study
feasibility study
 
Project Operation Management
Project Operation Management Project Operation Management
Project Operation Management
 
J0313052055
J0313052055J0313052055
J0313052055
 

Más de Ivan Ruchkin

Poster: Conservative Safety Monitors of Stochastic Dynamical Systems
Poster: Conservative Safety Monitors of Stochastic Dynamical SystemsPoster: Conservative Safety Monitors of Stochastic Dynamical Systems
Poster: Conservative Safety Monitors of Stochastic Dynamical SystemsIvan Ruchkin
 
Poster: How Safe Am I Given What I See? Calibrated Prediction of Safety Chanc...
Poster: How Safe Am I Given What I See? Calibrated Prediction of Safety Chanc...Poster: How Safe Am I Given What I See? Calibrated Prediction of Safety Chanc...
Poster: How Safe Am I Given What I See? Calibrated Prediction of Safety Chanc...Ivan Ruchkin
 
Verify-then-Monitor: Calibration Guarantees for Safety Confidence
Verify-then-Monitor: Calibration Guarantees for Safety ConfidenceVerify-then-Monitor: Calibration Guarantees for Safety Confidence
Verify-then-Monitor: Calibration Guarantees for Safety ConfidenceIvan Ruchkin
 
Causal Repair of Learning-Enabled Cyber-physical Systems
Causal Repair of Learning-Enabled Cyber-physical SystemsCausal Repair of Learning-Enabled Cyber-physical Systems
Causal Repair of Learning-Enabled Cyber-physical SystemsIvan Ruchkin
 
Conservative Safety Monitors of Stochastic Dynamical Systems
Conservative Safety Monitors of Stochastic Dynamical SystemsConservative Safety Monitors of Stochastic Dynamical Systems
Conservative Safety Monitors of Stochastic Dynamical SystemsIvan Ruchkin
 
Confidence Composition for Monitors of Verification Assumptions
Confidence Composition for Monitors of Verification AssumptionsConfidence Composition for Monitors of Verification Assumptions
Confidence Composition for Monitors of Verification AssumptionsIvan Ruchkin
 
Overcoming Heterogeneity in Autonomous Cyber-Physical Systems
Overcoming Heterogeneity in Autonomous Cyber-Physical SystemsOvercoming Heterogeneity in Autonomous Cyber-Physical Systems
Overcoming Heterogeneity in Autonomous Cyber-Physical SystemsIvan Ruchkin
 
High-Confidence Data Programming for Evaluating Suppression of Physiological ...
High-Confidence Data Programming for Evaluating Suppression of Physiological ...High-Confidence Data Programming for Evaluating Suppression of Physiological ...
High-Confidence Data Programming for Evaluating Suppression of Physiological ...Ivan Ruchkin
 
Data Generation with PROSPECT: a Probability Specification Tool
Data Generation with PROSPECT: a Probability Specification ToolData Generation with PROSPECT: a Probability Specification Tool
Data Generation with PROSPECT: a Probability Specification ToolIvan Ruchkin
 
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...Ivan Ruchkin
 
Confidence Composition (CoCo) for Dynamic Assurance of Learning-Enabled Auton...
Confidence Composition (CoCo) for Dynamic Assurance of Learning-Enabled Auton...Confidence Composition (CoCo) for Dynamic Assurance of Learning-Enabled Auton...
Confidence Composition (CoCo) for Dynamic Assurance of Learning-Enabled Auton...Ivan Ruchkin
 
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...Ivan Ruchkin
 
On the Role of Assumptions in Engineering Smart Systems
On the Role of Assumptions in Engineering Smart SystemsOn the Role of Assumptions in Engineering Smart Systems
On the Role of Assumptions in Engineering Smart SystemsIvan Ruchkin
 
Compositional Probabilistic Analysis of Temporal Properties over Stochastic D...
Compositional Probabilistic Analysis of Temporal Properties over Stochastic D...Compositional Probabilistic Analysis of Temporal Properties over Stochastic D...
Compositional Probabilistic Analysis of Temporal Properties over Stochastic D...Ivan Ruchkin
 
Overview of Epidemic Models for COVID-19
Overview of Epidemic Models for COVID-19Overview of Epidemic Models for COVID-19
Overview of Epidemic Models for COVID-19Ivan Ruchkin
 
Thesis Defense: Integration of Modeling Methods for Cyber-Physical Systems
Thesis Defense: Integration of Modeling Methods for Cyber-Physical SystemsThesis Defense: Integration of Modeling Methods for Cyber-Physical Systems
Thesis Defense: Integration of Modeling Methods for Cyber-Physical SystemsIvan Ruchkin
 
IPL: An Integration Property Language for Multi-Model Cyber-Physical Systems
IPL: An Integration Property Language for Multi-Model Cyber-Physical SystemsIPL: An Integration Property Language for Multi-Model Cyber-Physical Systems
IPL: An Integration Property Language for Multi-Model Cyber-Physical SystemsIvan Ruchkin
 
Inconsistencies in Models of Adaptive Service Robots
Inconsistencies in Models of Adaptive Service RobotsInconsistencies in Models of Adaptive Service Robots
Inconsistencies in Models of Adaptive Service RobotsIvan Ruchkin
 
Challenges in Physical Modeling for Adaptation of Cyber-Physical Systems
Challenges in Physical Modeling for Adaptation of Cyber-Physical SystemsChallenges in Physical Modeling for Adaptation of Cyber-Physical Systems
Challenges in Physical Modeling for Adaptation of Cyber-Physical SystemsIvan Ruchkin
 
Hardware Power Modeling for Turtlebot
Hardware Power Modeling for TurtlebotHardware Power Modeling for Turtlebot
Hardware Power Modeling for TurtlebotIvan Ruchkin
 

Más de Ivan Ruchkin (20)

Poster: Conservative Safety Monitors of Stochastic Dynamical Systems
Poster: Conservative Safety Monitors of Stochastic Dynamical SystemsPoster: Conservative Safety Monitors of Stochastic Dynamical Systems
Poster: Conservative Safety Monitors of Stochastic Dynamical Systems
 
Poster: How Safe Am I Given What I See? Calibrated Prediction of Safety Chanc...
Poster: How Safe Am I Given What I See? Calibrated Prediction of Safety Chanc...Poster: How Safe Am I Given What I See? Calibrated Prediction of Safety Chanc...
Poster: How Safe Am I Given What I See? Calibrated Prediction of Safety Chanc...
 
Verify-then-Monitor: Calibration Guarantees for Safety Confidence
Verify-then-Monitor: Calibration Guarantees for Safety ConfidenceVerify-then-Monitor: Calibration Guarantees for Safety Confidence
Verify-then-Monitor: Calibration Guarantees for Safety Confidence
 
Causal Repair of Learning-Enabled Cyber-physical Systems
Causal Repair of Learning-Enabled Cyber-physical SystemsCausal Repair of Learning-Enabled Cyber-physical Systems
Causal Repair of Learning-Enabled Cyber-physical Systems
 
Conservative Safety Monitors of Stochastic Dynamical Systems
Conservative Safety Monitors of Stochastic Dynamical SystemsConservative Safety Monitors of Stochastic Dynamical Systems
Conservative Safety Monitors of Stochastic Dynamical Systems
 
Confidence Composition for Monitors of Verification Assumptions
Confidence Composition for Monitors of Verification AssumptionsConfidence Composition for Monitors of Verification Assumptions
Confidence Composition for Monitors of Verification Assumptions
 
Overcoming Heterogeneity in Autonomous Cyber-Physical Systems
Overcoming Heterogeneity in Autonomous Cyber-Physical SystemsOvercoming Heterogeneity in Autonomous Cyber-Physical Systems
Overcoming Heterogeneity in Autonomous Cyber-Physical Systems
 
High-Confidence Data Programming for Evaluating Suppression of Physiological ...
High-Confidence Data Programming for Evaluating Suppression of Physiological ...High-Confidence Data Programming for Evaluating Suppression of Physiological ...
High-Confidence Data Programming for Evaluating Suppression of Physiological ...
 
Data Generation with PROSPECT: a Probability Specification Tool
Data Generation with PROSPECT: a Probability Specification ToolData Generation with PROSPECT: a Probability Specification Tool
Data Generation with PROSPECT: a Probability Specification Tool
 
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...
 
Confidence Composition (CoCo) for Dynamic Assurance of Learning-Enabled Auton...
Confidence Composition (CoCo) for Dynamic Assurance of Learning-Enabled Auton...Confidence Composition (CoCo) for Dynamic Assurance of Learning-Enabled Auton...
Confidence Composition (CoCo) for Dynamic Assurance of Learning-Enabled Auton...
 
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...
Confidence Monitoring and Composition for Dynamic Assurance of Learning-Enabl...
 
On the Role of Assumptions in Engineering Smart Systems
On the Role of Assumptions in Engineering Smart SystemsOn the Role of Assumptions in Engineering Smart Systems
On the Role of Assumptions in Engineering Smart Systems
 
Compositional Probabilistic Analysis of Temporal Properties over Stochastic D...
Compositional Probabilistic Analysis of Temporal Properties over Stochastic D...Compositional Probabilistic Analysis of Temporal Properties over Stochastic D...
Compositional Probabilistic Analysis of Temporal Properties over Stochastic D...
 
Overview of Epidemic Models for COVID-19
Overview of Epidemic Models for COVID-19Overview of Epidemic Models for COVID-19
Overview of Epidemic Models for COVID-19
 
Thesis Defense: Integration of Modeling Methods for Cyber-Physical Systems
Thesis Defense: Integration of Modeling Methods for Cyber-Physical SystemsThesis Defense: Integration of Modeling Methods for Cyber-Physical Systems
Thesis Defense: Integration of Modeling Methods for Cyber-Physical Systems
 
IPL: An Integration Property Language for Multi-Model Cyber-Physical Systems
IPL: An Integration Property Language for Multi-Model Cyber-Physical SystemsIPL: An Integration Property Language for Multi-Model Cyber-Physical Systems
IPL: An Integration Property Language for Multi-Model Cyber-Physical Systems
 
Inconsistencies in Models of Adaptive Service Robots
Inconsistencies in Models of Adaptive Service RobotsInconsistencies in Models of Adaptive Service Robots
Inconsistencies in Models of Adaptive Service Robots
 
Challenges in Physical Modeling for Adaptation of Cyber-Physical Systems
Challenges in Physical Modeling for Adaptation of Cyber-Physical SystemsChallenges in Physical Modeling for Adaptation of Cyber-Physical Systems
Challenges in Physical Modeling for Adaptation of Cyber-Physical Systems
 
Hardware Power Modeling for Turtlebot
Hardware Power Modeling for TurtlebotHardware Power Modeling for Turtlebot
Hardware Power Modeling for Turtlebot
 

Último

(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 

Último (20)

(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 

Towards a Formal Framework for Hybrid Planning in Self-Adaptation

  • 1. TOWARDS A FORMAL FRAMEWORK FOR HYBRID PLANNING IN SELF-ADAPTATION Ashutosh Pandey Ivan Ruchkin Bradley Schmerl Javier Cámara SEAMS 2017 (The 12th International Symposium on Software Engineering for Adaptive and Self-Managing Systems)Buenos Aires, Argentina · 22-23 May 2017 1
  • 2. KEY REQUIREMENTS: QUALITY AND TIMELINESS OF DECISION-MAKING ➤ Although these systems are designed for balancing multiple objectives to provide long term quality ➤ Amazon web services primarily cares about availability1 ➤ Netflix primarily cares about response-time perceived by clients2 1.https://aws.amazon.com/ec2/sla/ 2.http://techblog.netflix.com/2010/12/5-lessons-weve-learned-using- aws.html 2
  • 3. CONFLICTING REQUIREMENTS: QUALITY AND TIMELINESS OF DECISION-MAKING Desired Region Probabilistic Planning Ex: MDP, POMDP Case-based Reasoning Ex: Rainbow framework Heuristic Planning Ex: FF-Replan Reactive Planning Ex: Condition-action rules Decision-making Time DecisionQuality 3 *WOLPERT, David H., and William G. MACREADY, 1995. No free lunch theorems for search. Technical Report SFI-TR-95-02-010. Sante Fe, NM, USA: *WOLPERT, David H., and William G. MACREADY, 1997. No free lunch theorems for optimization. IEEE Transactions on Evolutionary Computation, 1(1), 67–82.
  • 4. HYBRID PLANNING 4 𝛒 Fast 𝛒 slow 𝛱Fast t 𝛱Slow t’ Planning Process 𝛒 ➜ Planner 𝛱 ➜ Plan Timeline Planning Problem
  • 5. Slow Planner ⇒ Planner based on Markov Decision Processes (MDP) Fast Planner ⇒ Deterministic planner HYBRID PLANNING LOOKS PROMISING!! 5 0 1 0.5 -0.5 -1.0 -1.5 1.5 Fast Planner Slow Planner Hybrid Planner Normalized Aggregate Utility A. Pandey et. al. Hybrid planning for decision making in self- adaptive systems. International Conference on Self-Adaptive and Self-Organizing Systems, SASO 2016, pp. 12-16
  • 7. THE PROBLEM OF HYBRID PLANNING “Given a planning problem, and a set of planners, find a hybrid plan that maximizes a posteriori utility.” 7
  • 8. THE PROBLEM OF HYBRID PLANNING “Given a planning problem, and a set of planners, find a hybrid plan that maximizes a posteriori utility.” 8
  • 9. “Given a planning problem, and a set of planners, find a hybrid plan that maximizes the a posteriori utility.” A PLANNING PROBLEM 9 S, si, A, o, T, Ue Set of states Initial state Transition function T : S x A x Z → S Environment o : S → Z A posteriori utility function Set of controllable actions Set of uncontrollable actions
  • 11. 11 THE PROBLEM OF HYBRID PLANNING “Given a planning problem, and a set of planners, find a hybrid plan that maximizes a posteriori utility.”
  • 12. 12 REACHABILITY GRAPH Pb U1 E1 Pb2 Pl2 Pb Pl1 Pb Planning problem Pl Planner E Execution U A posteriori utility d Deadline to trigger a planner Problem-Planner node Execution edge
  • 13. 13 REACHABILITY GRAPH Pb Pl1Pb U1 E1 Pb2 Pl2 E1 U1 Pb2 Pl3 Pb Planning problem Pl Planner E Execution U A posteriori utility d Deadline to trigger a planner Problem-Planner node Execution edge
  • 14. 14 REACHABILITY GRAPH Pb Pl1Pb U1 E1 Pb2 Pl2 E1 U1 Pb2 Pl3 E2 U2 Pb3 Pl4 E2 U2 Pb3 Pl5 Pb Planning problem Pl Planner E Execution U A posteriori utility d Deadline to trigger a planner Problem-Planner node Execution edge
  • 15. 15 REACHABILITY GRAPH Pb Pl1Pb U1 E1 Pb2 Pl2 E1 U1 Pb2 Pl3 E2 U2 Pb3 Pl4 E2 U2 Pb3 Pl5 E3 U3 En Un Pbi Plj Pb Planning problem Pl Planner E Execution U A posteriori utility d Deadline to trigger a planner Problem-Planner node Execution edge
  • 16. 16 REACHABILITY GRAPH Pb Pl1Pb U1 E1 Pb2 Pl2 E1 U1 Pb2 Pl3 E2 U2 Pb3 Pl4 E2 U2 Pb3 Pl5 E3 U3 En Un Pbi Plj Pb Planning problem Pl Planner E Execution U A posteriori utility d Deadline to trigger a planner Problem-Planner node Execution edge
  • 17. 17 REACHABILITY GRAPH WHEN PLANNING TIME IS NOT ZERO Pb Pl1 dl1 Pb U1 E1 Pb2 Pl2 dl2 E1 U1 Pb2 Pl3 dl3 E2 U2 Pb3 Pl4 dl4E2 U2 Pb3 Pl5 dl5 E3 U3 En Un Pbi Plj dlk Pb Planning problem Pl Planner E Execution U A posteriori utility dl Deadline to trigger a planner Problem-Planner node Execution edge
  • 18. 18 SOLVING THE HYBRID PLANNING PROBLEM Pb Pl1 dl1 Pb U1 E1 Pb2 Pl2 dl2 E1 U1 Pb2 Pl3 dl3 E2 U2 Pb3 Pl4 dl4E2 U2 Pb3 Pl5 dl5 E3 U3 En Un Pbi Plj dlk Pb Planning problem Pl Planner E Execution U A posteriori utility dl Deadline to trigger a planner Problem-Planner node Execution edge
  • 19. 19 DECOMPOSITION OF THE PROBLEM OF HYBRID PLANNING Assessment of planners w.r.t.to problems Set of planning problems Planning problem Sequence of nodes from the reachability graph Reachability Graph Set of planning problems Set of planners and Problem-Planner Compatibility Relationship GPHCON PTHSELPRBSEL PLRAST
  • 20. 20 SUB-PROBLEM: THE PATH SELECTION (PTHSEL) Assessment of planners w.r.t.to problems Set of planning problems Planning problem Sequence of nodes from the reachability graph Reachability Graph Set of planning problems Set of planners and Problem-Planner Compatibility Relationship GPHCON PTHSELPRBSEL PLRAST
  • 21. 21 SUB-PROBLEM: THE GRAPH CONSTRUCTION (GPHCON) Assessment of planners w.r.t.to problems Set of planning problems Planning problem Sequence of nodes from the reachability graph Reachability Graph Set of planning problems Set of planners and Problem-Planner Compatibility Relationship GPHCON PTHSELPRBSEL PLRAST
  • 22. 22 SUB-PROBLEM: THE PLANNER ASSESSMENT (PLRAST) Assessment of planners w.r.t.to problems Set of planning problems Planning problem Sequence of nodes from the reachability graph Reachability Graph Set of planning problems Set of planners and Problem-Planner Compatibility Relationship GPHCON PTHSELPRBSEL PLRAST
  • 23. 23 SUB-PROBLEM: THE PLANNING-PROBLEM SELECTION (PRBSEL) Assessment of planners w.r.t.to problems Set of planning problems Planning problem Sequence of nodes from the reachability graph Reachability Graph Set of planning problems Set of planners and Problem-Planner Compatibility Relationship GPHCON PTHSELPRBSEL PLRAST
  • 24. 24 ASSUMPTIONS FOR THE FORMAL FRAMEWORK ➤ No instantaneous actions ➤ Markovian domain ➤ Instantaneous solution to sub-problems ➤ Known worst-case planning time ➤ Known utility of executions
  • 25. CONCLUSION ➤ Hybrid Planning approach is useful but a non-trivial problem to solve ➤ This formalism could help in understanding and approximating a more general solution to the problem 25
  • 26. ACKNOWLEDGEMENT •This work is supported in part by awards •N000141310401 and N000141310171 from the Office of Naval Research (ONR) •FA87501620042 from the Air Force Research Laboratory (AFRL) 26
  • 27. 27