SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Feature Model-Guided Online
Reinforcement Learning for
Self-Adaptive Services
Andreas Metzger1, Clément Quinton2, Zoltan Mann1, Luciano Baresi3, Klaus Pohl1
1 paluno, University of Duisburg-Essen
2 University of Lille, Inria
3 Politecnico di Milano
18th Int’l Conference on
Service-Oriented Computing
(ICSOC 2020)
Published as:
A. Metzger, C. Quinton, Z. Mann, L. Baresi, and K. Pohl, “Feature
model-guided online reinforcement learning for self-adaptive
services,” in 18th Int’l Conference on Service-Oriented Computing
(ICSOC 2020), Dubai, UAE, December 14-17, 2020, ser. LNCS, E. Kafeza,
B. Benatallah, F. Martinelli, H. Hacid, A. Bouguettaya, and H. Motahari,
Eds., vol. 12571. Springer, 2020
https://doi.org/10.1007/978-3-030-65310-1_20
Agenda
2
Motivation and
Problem
Statement
FM-guided
Online
Reinforcement
Learning
Experiments
Conclusion and
Outlook
ICSOC 2020
Fundamentals
Self-adaptive service
• Modifies itself at runtime to
maintain QoS in presence
of dynamic environment changes
Example: Self-adaptive online store
1. Monitor: Sudden increase in workload
2. Analyze: User-perceived latency too low
3. Plan: Deactivate optional
“recommendation” feature
4. Execute: Replace “recommendations”
with static banner
3ICSOC 2020
Self-Adaptation Logic
Knowledge
Analyze Plan
Monitor Execute
System Logic
Environment
MAPE-K Reference Model
(based on [Kephart & Chess, 2003])
Engineering Challenges for Self-Adaption
4
Self-Adaptation Logic
Knowledge
Analyze Plan
Monitor Execute
System Logic
Environment
“Design time uncertainty”
[Weyns et al. 2013, D’Ippolito et al. 2014]
• Infeasible to anticipate all future
environment situations
e.g., QoS of dynamically bound services
• Difficult to precisely determine the impact
of adaptation actions on QoS
e.g., exact QoS impact when adding a VM
• Simplifying assumptions
e.g., too much effort to explicitly codify all
details as knowledge
ICSOC 2020
How to develop
self-adaptation
logic?
Emerging Approach:
Online Reinforcement Learning (RL)
RL fundamentals
5ICSOC 2020
Environment
Action at
State st
Reward rt+1
Policy
Update
Action
Selection
Next state st+1
Agent
• Learn suitable action selection policy via agent’s interactions with environment
• Agent receives reward for executing an action (here: adaptation action)
• Reward expresses how suitable action was (here: QoS satisfaction)
• Update policy from reward signal = learn
• Goal of RL: optimize cumulative rewards
(based on [Sutton & Barto, 2018])
Online RL for Self-Adaptive Services
Combining MAPE-K and RL [Palm et al., 2020]
6ICSOC 2020
Self-Adaptation Logic
Knowledge
Analyze Plan
Monitor Execute
Self-Adaptation Logic
Knowledge
Analyze Plan
Monitor Execute
Reinforcement Learning
at
rt+1
pt+1
Monitor Execute
Action-
Selection
Self-Adaptation Logic
Policy p
(Knowledge)
st
Policy Update
st+1
Reward
State Policy
Adaptation
Action
State
Problem Statement
Exploitation-exploration dilemma of RL [Sutton & Barto, 2018]
• Exploit existing knowledge vs explore new knowledge
• How adaptation actions are explored impacts on learning performance
Limitations of State of the Art in RL
for self-adaptive services (see Sec 6 in paper)
• (1) Random exploration (-greedy)
• Slow learning if large set of adaptation actions
• E.g., 8 services with 2 concrete service each
= 256 combinations
• (2) Evolution-unaware exploration
• New adaptations explored with low probability and thus late
7ICSOC 2020
Agenda
8
Motivation and
Problem
Statement
FM-guided
Online
Reinforcement
Learning
Experiments
Conclusion and
Outlook
ICSOC 2020
Feature Models for Encoding Adaptations
ICSOC 2020 9
Web
Application
Data
Logging
Content
Discovery
Min Max
Medium
Search
Recommen-
dation

  

Web
Application
Data
Logging
Content
Discovery
Min Max
Medium
Search
Recommen-
dation

 

Nbr of Concurrent Users  1000  Adaptation
Mandatory
Optional
Alternative
 Activated
• Feature model expresses system configurations in compact form
• Concrete system configuration expressed as feature combination
• Adaptation expressed as runtime reconfiguration
Recommendation
 Max  Medium
Recommendation
 Max  Medium

FM-guided Exploration
ICSOC 2020 10
Web
Application
Data
Logging
Content
Discovery
Min Max
Medium
Search
Recommen-
dation
Random (as used in -greedy)
Incremental Strategy (Inc)
Feature Degree Strategy (Deg)
Explore this one first…
…then move to its sibling
Start with randomly selected
leaf feature
Explore this one first…
Start with leaf feature that has
highest feature degree…
(FD = number of configs containing f)
FD = 5 FD = 4
Recommendation
 Max  Medium
Moresystematic(lessrandom)
Evolution-aware Exploration
Determine set-theoretic difference
between FM before and after
evolution step
Removed configurations:
Delete from policy (knowledge)
• {DataLogging , Medium , ContentDiscovery , Search}
• …
Added configurations:
Explore them first
• Added feature
• {DataLogging , Optimized , ContentDiscovery , Search}
• {DataLogging , Optimized , ContentDiscovery , Recommendation}
• Removed constraint
• {DataLogging , Min , ContentDiscovery , Recommendation}
ICSOC 2020 11
Web
Application
Data
Logging
Content
Discovery
Min Max
Medium
Search
Recommen-
dation
Recommendation
 Max  Medium
Opti-
mized
Agenda
12
Motivation and
Problem
Statement
FM-guided
Online
Reinforcement
Learning
Experiments
Conclusion and
Outlook
ICSOC 2020
Experiment Setup
CloudRM – Self-adaptive Cloud Resource Management Service
• Feature Model:
• Real-world workload trace
• 10,000 tasks, 29 days
• „Simulated“ Evolution of Adaptation Space
ICSOC 2020 13
„Multiple“ Placement
„Maxsize“
Placement
CloudRM Service
„Simple“
Placement
„Consolidation-
Friendly“
Placement
Task Group
Size k
Relative
Size 
2 3 20… 0.25 0.3 1
Selection
Policy
FF BF WF
Selection
Metric
  lenmax min imb
PM Selection
Policy
(same as for
„Maxsize“)
PM Selection
Metric
(same as for
„Maxsize“)
VM Selection
Policy
max min
VM Selection
Metric
(same as for
„Maxsize“)
0.5 0.6 0.9
Evolution step #1
Evolution step #2
Evolution step #3
Initial
Experiment Setup
Parametrization of RL
• Integration of FM-guided strategies into Q-Learning
• Reward Function:
• Best hyper parameter configuration for -greedy
also used for FM-guided learning
Assessing learning performance
• 100 repetitions due to
stochastic nature
• Metrics
• Reward metrics
[Taylor & Stone, 2009]
• Plus: actual
energy + migrations
ICSOC 2020 14
e = energy
m = migrations
Time Step
Reward
Jumpstart
Asymptotic
Performance
Time to Threshold
(here: 90% of Asymptotic)
Total Reward =
Area under Curve
(1) Large Adaptation Space
ICSOC 2020 15
Asymptotic performance 0%
Time to threshold 48.6%
Jumpstart 1.3%
Total reward 58.8%
Energy savings 0.1%
Reduced VM migrations 7.8%
(2) Evolution of Adaptation Space
ICSOC 2020 16
Asymptotic performance 0.4%
Time to threshold 51.0%
Jumpstart 5.1%
Total reward 61.3%
Energy savings 0.1%
Reduced VM migrations 23.7%
Agenda
17
Motivation and
Problem
Statement
FM-guided
Online
Reinforcement
Learning
Experiments
Conclusion and
Outlook
ICSOC 2020
Conclusion and Outlook
Exploiting structural knowledge from design time (feature models)
to guide online learning for self-adaptive services.
Future enhancements
• Experiments with additional systems
• Comparison for other exploration strategies and RL algorithms
• Considering changes of existing features (on top of additions and removals)
• Methodology for defining suitable feature models during design time
18ICSOC 2020
Research leading to these results has received funding from the EU’s
H2020 research and innovation programme under grant agreements no.
Thank You!
780351 – https://enact-project.eu/ 871525 – https://fogprotect.eu/
References
See paper.
Additional ones:
[Weyns et al. 2013] Danny Weyns, Nelly Bencomo, Radu Calinescu, Javier Cámara, Carlo Ghezzi,
Vincenzo Grassi, Lars Grunske, Paola Inverardi, Jean-Marc Jézéquel, Sam Malek, Raffaela
Mirandola, Marco Mori, Giordano Tamburrelli: Perpetual Assurances for Self-Adaptive
Systems. Software Engineering for Self-Adaptive Systems 2013: 31-63
[Kephart & Chess, 2003] Kephart, J.O., Chess, D.M.: The vision of autonomic computing. IEEE
Computer 36(1), 41–50 (2003)
ICSOC 2020 19

Weitere ähnliche Inhalte

Was ist angesagt?

The Paradigm of Fog Computing with Bio-inspired Search Methods and the “5Vs” ...
The Paradigm of Fog Computing with Bio-inspired Search Methods and the “5Vs” ...The Paradigm of Fog Computing with Bio-inspired Search Methods and the “5Vs” ...
The Paradigm of Fog Computing with Bio-inspired Search Methods and the “5Vs” ...israel edem
 
|QAB> : Quantum Computing, AI and Blockchain
|QAB> : Quantum Computing, AI and Blockchain|QAB> : Quantum Computing, AI and Blockchain
|QAB> : Quantum Computing, AI and BlockchainKan Yuenyong
 
FDMC: Framework for Decision Making in Cloud for EfficientResource Management
FDMC: Framework for Decision Making in Cloud for EfficientResource Management FDMC: Framework for Decision Making in Cloud for EfficientResource Management
FDMC: Framework for Decision Making in Cloud for EfficientResource Management IJECEIAES
 
A Survey of Agent Based Pre-Processing and Knowledge Retrieval
A Survey of Agent Based Pre-Processing and Knowledge RetrievalA Survey of Agent Based Pre-Processing and Knowledge Retrieval
A Survey of Agent Based Pre-Processing and Knowledge RetrievalIOSR Journals
 
Fractional step discriminant pruning
Fractional step discriminant pruningFractional step discriminant pruning
Fractional step discriminant pruningVasileiosMezaris
 
A Study on the Real-Time Management and Monitoring Process for Recovery Resou...
A Study on the Real-Time Management and Monitoring Process for Recovery Resou...A Study on the Real-Time Management and Monitoring Process for Recovery Resou...
A Study on the Real-Time Management and Monitoring Process for Recovery Resou...IRJET Journal
 
A Comprehensive review of Conversational Agent and its prediction algorithm
A Comprehensive review of Conversational Agent and its prediction algorithmA Comprehensive review of Conversational Agent and its prediction algorithm
A Comprehensive review of Conversational Agent and its prediction algorithmvivatechijri
 
Survey on evolutionary computation tech techniques and its application in dif...
Survey on evolutionary computation tech techniques and its application in dif...Survey on evolutionary computation tech techniques and its application in dif...
Survey on evolutionary computation tech techniques and its application in dif...ijitjournal
 
EGI Engage: Impact & Results
EGI Engage: Impact & ResultsEGI Engage: Impact & Results
EGI Engage: Impact & ResultsEGI Federation
 

Was ist angesagt? (11)

The Paradigm of Fog Computing with Bio-inspired Search Methods and the “5Vs” ...
The Paradigm of Fog Computing with Bio-inspired Search Methods and the “5Vs” ...The Paradigm of Fog Computing with Bio-inspired Search Methods and the “5Vs” ...
The Paradigm of Fog Computing with Bio-inspired Search Methods and the “5Vs” ...
 
|QAB> : Quantum Computing, AI and Blockchain
|QAB> : Quantum Computing, AI and Blockchain|QAB> : Quantum Computing, AI and Blockchain
|QAB> : Quantum Computing, AI and Blockchain
 
Journals analysis ppt
Journals analysis pptJournals analysis ppt
Journals analysis ppt
 
FDMC: Framework for Decision Making in Cloud for EfficientResource Management
FDMC: Framework for Decision Making in Cloud for EfficientResource Management FDMC: Framework for Decision Making in Cloud for EfficientResource Management
FDMC: Framework for Decision Making in Cloud for EfficientResource Management
 
A Survey of Agent Based Pre-Processing and Knowledge Retrieval
A Survey of Agent Based Pre-Processing and Knowledge RetrievalA Survey of Agent Based Pre-Processing and Knowledge Retrieval
A Survey of Agent Based Pre-Processing and Knowledge Retrieval
 
Fractional step discriminant pruning
Fractional step discriminant pruningFractional step discriminant pruning
Fractional step discriminant pruning
 
C013141723
C013141723C013141723
C013141723
 
A Study on the Real-Time Management and Monitoring Process for Recovery Resou...
A Study on the Real-Time Management and Monitoring Process for Recovery Resou...A Study on the Real-Time Management and Monitoring Process for Recovery Resou...
A Study on the Real-Time Management and Monitoring Process for Recovery Resou...
 
A Comprehensive review of Conversational Agent and its prediction algorithm
A Comprehensive review of Conversational Agent and its prediction algorithmA Comprehensive review of Conversational Agent and its prediction algorithm
A Comprehensive review of Conversational Agent and its prediction algorithm
 
Survey on evolutionary computation tech techniques and its application in dif...
Survey on evolutionary computation tech techniques and its application in dif...Survey on evolutionary computation tech techniques and its application in dif...
Survey on evolutionary computation tech techniques and its application in dif...
 
EGI Engage: Impact & Results
EGI Engage: Impact & ResultsEGI Engage: Impact & Results
EGI Engage: Impact & Results
 

Ähnlich wie Feature Model-Guided Online Reinforcement Learning for Self-Adaptive Services

Understanding Knowledge Services
Understanding Knowledge ServicesUnderstanding Knowledge Services
Understanding Knowledge ServicesAlbert Simard
 
Propagating Data Policies - A User Study
Propagating Data Policies - A User StudyPropagating Data Policies - A User Study
Propagating Data Policies - A User StudyEnrico Daga
 
Mining Large Streams of User Data for PersonalizedRecommenda.docx
Mining Large Streams of User Data for PersonalizedRecommenda.docxMining Large Streams of User Data for PersonalizedRecommenda.docx
Mining Large Streams of User Data for PersonalizedRecommenda.docxARIV4
 
Intelligent Career Guidance System.pptx
Intelligent Career Guidance System.pptxIntelligent Career Guidance System.pptx
Intelligent Career Guidance System.pptxAnonymous366406
 
ESTIMATING THE EFFORT OF MOBILE APPLICATION DEVELOPMENT
ESTIMATING THE EFFORT OF MOBILE APPLICATION DEVELOPMENTESTIMATING THE EFFORT OF MOBILE APPLICATION DEVELOPMENT
ESTIMATING THE EFFORT OF MOBILE APPLICATION DEVELOPMENTcsandit
 
Testing Machine Learning-enabled Systems: A Personal Perspective
Testing Machine Learning-enabled Systems: A Personal PerspectiveTesting Machine Learning-enabled Systems: A Personal Perspective
Testing Machine Learning-enabled Systems: A Personal PerspectiveLionel Briand
 
Ibm colloquium 070915_nyberg
Ibm colloquium 070915_nybergIbm colloquium 070915_nyberg
Ibm colloquium 070915_nybergdiannepatricia
 
Itfma 2009 charleston_cost_cutting_tool
Itfma 2009 charleston_cost_cutting_toolItfma 2009 charleston_cost_cutting_tool
Itfma 2009 charleston_cost_cutting_toolKarthik Arumugham
 
[Paper Review] Personalized Top-N Sequential Recommendation via Convolutional...
[Paper Review] Personalized Top-N Sequential Recommendation via Convolutional...[Paper Review] Personalized Top-N Sequential Recommendation via Convolutional...
[Paper Review] Personalized Top-N Sequential Recommendation via Convolutional...Jihoo Kim
 
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...Citadelh2020
 
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...Gayane Sedrakyan
 
Week 2 24 - 28 July 2023 (1).pptx
Week 2 24 - 28 July 2023 (1).pptxWeek 2 24 - 28 July 2023 (1).pptx
Week 2 24 - 28 July 2023 (1).pptxXuanQin3
 
How to Leverage Big Data to Deliver Smart Logistics
How to Leverage Big Data to Deliver Smart LogisticsHow to Leverage Big Data to Deliver Smart Logistics
How to Leverage Big Data to Deliver Smart LogisticsAlibaba Cloud
 
Analysis of Educational Robotics activities using a machine learning approach
Analysis of Educational Robotics activities using a machine learning approachAnalysis of Educational Robotics activities using a machine learning approach
Analysis of Educational Robotics activities using a machine learning approachLorenzo Cesaretti
 
1. Text mining – Text mining or text data mining is a process to e.docx
1. Text mining – Text mining or text data mining is a process to e.docx1. Text mining – Text mining or text data mining is a process to e.docx
1. Text mining – Text mining or text data mining is a process to e.docxstilliegeorgiana
 
The Value-driven Approach to Digitalizing Assets and their Supply Chains
The Value-driven Approach to Digitalizing Assets and their Supply ChainsThe Value-driven Approach to Digitalizing Assets and their Supply Chains
The Value-driven Approach to Digitalizing Assets and their Supply ChainsYokogawa1
 

Ähnlich wie Feature Model-Guided Online Reinforcement Learning for Self-Adaptive Services (20)

Understanding Knowledge Services
Understanding Knowledge ServicesUnderstanding Knowledge Services
Understanding Knowledge Services
 
Hobbit project overview presented at EBDVF 2017
Hobbit project overview presented at EBDVF 2017Hobbit project overview presented at EBDVF 2017
Hobbit project overview presented at EBDVF 2017
 
Propagating Data Policies - A User Study
Propagating Data Policies - A User StudyPropagating Data Policies - A User Study
Propagating Data Policies - A User Study
 
Mining Large Streams of User Data for PersonalizedRecommenda.docx
Mining Large Streams of User Data for PersonalizedRecommenda.docxMining Large Streams of User Data for PersonalizedRecommenda.docx
Mining Large Streams of User Data for PersonalizedRecommenda.docx
 
Internship Presentation.pdf
Internship Presentation.pdfInternship Presentation.pdf
Internship Presentation.pdf
 
Intelligent Career Guidance System.pptx
Intelligent Career Guidance System.pptxIntelligent Career Guidance System.pptx
Intelligent Career Guidance System.pptx
 
ESTIMATING THE EFFORT OF MOBILE APPLICATION DEVELOPMENT
ESTIMATING THE EFFORT OF MOBILE APPLICATION DEVELOPMENTESTIMATING THE EFFORT OF MOBILE APPLICATION DEVELOPMENT
ESTIMATING THE EFFORT OF MOBILE APPLICATION DEVELOPMENT
 
Testing Machine Learning-enabled Systems: A Personal Perspective
Testing Machine Learning-enabled Systems: A Personal PerspectiveTesting Machine Learning-enabled Systems: A Personal Perspective
Testing Machine Learning-enabled Systems: A Personal Perspective
 
Ibm colloquium 070915_nyberg
Ibm colloquium 070915_nybergIbm colloquium 070915_nyberg
Ibm colloquium 070915_nyberg
 
Itfma 2009 charleston_cost_cutting_tool
Itfma 2009 charleston_cost_cutting_toolItfma 2009 charleston_cost_cutting_tool
Itfma 2009 charleston_cost_cutting_tool
 
[Paper Review] Personalized Top-N Sequential Recommendation via Convolutional...
[Paper Review] Personalized Top-N Sequential Recommendation via Convolutional...[Paper Review] Personalized Top-N Sequential Recommendation via Convolutional...
[Paper Review] Personalized Top-N Sequential Recommendation via Convolutional...
 
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...
 
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...
Data Harvesting, Curation and Fusion Model to Support Public Service Recommen...
 
Week 2 24 - 28 July 2023 (1).pptx
Week 2 24 - 28 July 2023 (1).pptxWeek 2 24 - 28 July 2023 (1).pptx
Week 2 24 - 28 July 2023 (1).pptx
 
Apsec 2014 Presentation
Apsec 2014 PresentationApsec 2014 Presentation
Apsec 2014 Presentation
 
Advanced Analytics in Banking, CITI
Advanced Analytics in Banking, CITIAdvanced Analytics in Banking, CITI
Advanced Analytics in Banking, CITI
 
How to Leverage Big Data to Deliver Smart Logistics
How to Leverage Big Data to Deliver Smart LogisticsHow to Leverage Big Data to Deliver Smart Logistics
How to Leverage Big Data to Deliver Smart Logistics
 
Analysis of Educational Robotics activities using a machine learning approach
Analysis of Educational Robotics activities using a machine learning approachAnalysis of Educational Robotics activities using a machine learning approach
Analysis of Educational Robotics activities using a machine learning approach
 
1. Text mining – Text mining or text data mining is a process to e.docx
1. Text mining – Text mining or text data mining is a process to e.docx1. Text mining – Text mining or text data mining is a process to e.docx
1. Text mining – Text mining or text data mining is a process to e.docx
 
The Value-driven Approach to Digitalizing Assets and their Supply Chains
The Value-driven Approach to Digitalizing Assets and their Supply ChainsThe Value-driven Approach to Digitalizing Assets and their Supply Chains
The Value-driven Approach to Digitalizing Assets and their Supply Chains
 

Mehr von Andreas Metzger

Explainable Online Reinforcement Learning for Adaptive Systems
Explainable Online Reinforcement Learning for Adaptive SystemsExplainable Online Reinforcement Learning for Adaptive Systems
Explainable Online Reinforcement Learning for Adaptive SystemsAndreas Metzger
 
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...Andreas Metzger
 
Explaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
Explaining Online Reinforcement Learning Decisions of Self-Adaptive SystemsExplaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
Explaining Online Reinforcement Learning Decisions of Self-Adaptive SystemsAndreas Metzger
 
Antrittsvorlesung - APL.pptx
Antrittsvorlesung - APL.pptxAntrittsvorlesung - APL.pptx
Antrittsvorlesung - APL.pptxAndreas Metzger
 
Data-driven AI for Self-Adaptive Software Systems
Data-driven AI for Self-Adaptive Software SystemsData-driven AI for Self-Adaptive Software Systems
Data-driven AI for Self-Adaptive Software SystemsAndreas Metzger
 
Data-driven Deep Learning for Proactive Terminal Process Management
Data-driven Deep Learning for Proactive Terminal Process ManagementData-driven Deep Learning for Proactive Terminal Process Management
Data-driven Deep Learning for Proactive Terminal Process Management Andreas Metzger
 
Big Data Technology Insights
Big Data Technology InsightsBig Data Technology Insights
Big Data Technology InsightsAndreas Metzger
 
Proactive Process Adaptation using Deep Learning Ensembles
Proactive Process Adaptation using Deep Learning Ensembles Proactive Process Adaptation using Deep Learning Ensembles
Proactive Process Adaptation using Deep Learning Ensembles Andreas Metzger
 
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud Andreas Metzger
 
Considering Non-sequential Control Flows for Process Prediction with Recurren...
Considering Non-sequential Control Flows for Process Prediction with Recurren...Considering Non-sequential Control Flows for Process Prediction with Recurren...
Considering Non-sequential Control Flows for Process Prediction with Recurren...Andreas Metzger
 
Big Data Value in Mobility and Logistics
Big Data Value in Mobility and Logistics Big Data Value in Mobility and Logistics
Big Data Value in Mobility and Logistics Andreas Metzger
 
Predictive Business Process Monitoring considering Reliability and Risk
Predictive Business Process Monitoring considering Reliability and RiskPredictive Business Process Monitoring considering Reliability and Risk
Predictive Business Process Monitoring considering Reliability and RiskAndreas Metzger
 
Risk-based Proactive Process Adaptation
Risk-based Proactive Process AdaptationRisk-based Proactive Process Adaptation
Risk-based Proactive Process AdaptationAndreas Metzger
 
Predictive Process Monitoring Considering Reliability Estimates
Predictive Process Monitoring Considering Reliability EstimatesPredictive Process Monitoring Considering Reliability Estimates
Predictive Process Monitoring Considering Reliability EstimatesAndreas Metzger
 

Mehr von Andreas Metzger (14)

Explainable Online Reinforcement Learning for Adaptive Systems
Explainable Online Reinforcement Learning for Adaptive SystemsExplainable Online Reinforcement Learning for Adaptive Systems
Explainable Online Reinforcement Learning for Adaptive Systems
 
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
 
Explaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
Explaining Online Reinforcement Learning Decisions of Self-Adaptive SystemsExplaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
Explaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
 
Antrittsvorlesung - APL.pptx
Antrittsvorlesung - APL.pptxAntrittsvorlesung - APL.pptx
Antrittsvorlesung - APL.pptx
 
Data-driven AI for Self-Adaptive Software Systems
Data-driven AI for Self-Adaptive Software SystemsData-driven AI for Self-Adaptive Software Systems
Data-driven AI for Self-Adaptive Software Systems
 
Data-driven Deep Learning for Proactive Terminal Process Management
Data-driven Deep Learning for Proactive Terminal Process ManagementData-driven Deep Learning for Proactive Terminal Process Management
Data-driven Deep Learning for Proactive Terminal Process Management
 
Big Data Technology Insights
Big Data Technology InsightsBig Data Technology Insights
Big Data Technology Insights
 
Proactive Process Adaptation using Deep Learning Ensembles
Proactive Process Adaptation using Deep Learning Ensembles Proactive Process Adaptation using Deep Learning Ensembles
Proactive Process Adaptation using Deep Learning Ensembles
 
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
 
Considering Non-sequential Control Flows for Process Prediction with Recurren...
Considering Non-sequential Control Flows for Process Prediction with Recurren...Considering Non-sequential Control Flows for Process Prediction with Recurren...
Considering Non-sequential Control Flows for Process Prediction with Recurren...
 
Big Data Value in Mobility and Logistics
Big Data Value in Mobility and Logistics Big Data Value in Mobility and Logistics
Big Data Value in Mobility and Logistics
 
Predictive Business Process Monitoring considering Reliability and Risk
Predictive Business Process Monitoring considering Reliability and RiskPredictive Business Process Monitoring considering Reliability and Risk
Predictive Business Process Monitoring considering Reliability and Risk
 
Risk-based Proactive Process Adaptation
Risk-based Proactive Process AdaptationRisk-based Proactive Process Adaptation
Risk-based Proactive Process Adaptation
 
Predictive Process Monitoring Considering Reliability Estimates
Predictive Process Monitoring Considering Reliability EstimatesPredictive Process Monitoring Considering Reliability Estimates
Predictive Process Monitoring Considering Reliability Estimates
 

Kürzlich hochgeladen

FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsJoseMangaJr1
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...amitlee9823
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramMoniSankarHazra
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...amitlee9823
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 

Kürzlich hochgeladen (20)

FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 

Feature Model-Guided Online Reinforcement Learning for Self-Adaptive Services

  • 1. Feature Model-Guided Online Reinforcement Learning for Self-Adaptive Services Andreas Metzger1, Clément Quinton2, Zoltan Mann1, Luciano Baresi3, Klaus Pohl1 1 paluno, University of Duisburg-Essen 2 University of Lille, Inria 3 Politecnico di Milano 18th Int’l Conference on Service-Oriented Computing (ICSOC 2020) Published as: A. Metzger, C. Quinton, Z. Mann, L. Baresi, and K. Pohl, “Feature model-guided online reinforcement learning for self-adaptive services,” in 18th Int’l Conference on Service-Oriented Computing (ICSOC 2020), Dubai, UAE, December 14-17, 2020, ser. LNCS, E. Kafeza, B. Benatallah, F. Martinelli, H. Hacid, A. Bouguettaya, and H. Motahari, Eds., vol. 12571. Springer, 2020 https://doi.org/10.1007/978-3-030-65310-1_20
  • 3. Fundamentals Self-adaptive service • Modifies itself at runtime to maintain QoS in presence of dynamic environment changes Example: Self-adaptive online store 1. Monitor: Sudden increase in workload 2. Analyze: User-perceived latency too low 3. Plan: Deactivate optional “recommendation” feature 4. Execute: Replace “recommendations” with static banner 3ICSOC 2020 Self-Adaptation Logic Knowledge Analyze Plan Monitor Execute System Logic Environment MAPE-K Reference Model (based on [Kephart & Chess, 2003])
  • 4. Engineering Challenges for Self-Adaption 4 Self-Adaptation Logic Knowledge Analyze Plan Monitor Execute System Logic Environment “Design time uncertainty” [Weyns et al. 2013, D’Ippolito et al. 2014] • Infeasible to anticipate all future environment situations e.g., QoS of dynamically bound services • Difficult to precisely determine the impact of adaptation actions on QoS e.g., exact QoS impact when adding a VM • Simplifying assumptions e.g., too much effort to explicitly codify all details as knowledge ICSOC 2020 How to develop self-adaptation logic?
  • 5. Emerging Approach: Online Reinforcement Learning (RL) RL fundamentals 5ICSOC 2020 Environment Action at State st Reward rt+1 Policy Update Action Selection Next state st+1 Agent • Learn suitable action selection policy via agent’s interactions with environment • Agent receives reward for executing an action (here: adaptation action) • Reward expresses how suitable action was (here: QoS satisfaction) • Update policy from reward signal = learn • Goal of RL: optimize cumulative rewards (based on [Sutton & Barto, 2018])
  • 6. Online RL for Self-Adaptive Services Combining MAPE-K and RL [Palm et al., 2020] 6ICSOC 2020 Self-Adaptation Logic Knowledge Analyze Plan Monitor Execute Self-Adaptation Logic Knowledge Analyze Plan Monitor Execute Reinforcement Learning at rt+1 pt+1 Monitor Execute Action- Selection Self-Adaptation Logic Policy p (Knowledge) st Policy Update st+1 Reward State Policy Adaptation Action State
  • 7. Problem Statement Exploitation-exploration dilemma of RL [Sutton & Barto, 2018] • Exploit existing knowledge vs explore new knowledge • How adaptation actions are explored impacts on learning performance Limitations of State of the Art in RL for self-adaptive services (see Sec 6 in paper) • (1) Random exploration (-greedy) • Slow learning if large set of adaptation actions • E.g., 8 services with 2 concrete service each = 256 combinations • (2) Evolution-unaware exploration • New adaptations explored with low probability and thus late 7ICSOC 2020
  • 9. Feature Models for Encoding Adaptations ICSOC 2020 9 Web Application Data Logging Content Discovery Min Max Medium Search Recommen- dation      Web Application Data Logging Content Discovery Min Max Medium Search Recommen- dation     Nbr of Concurrent Users  1000  Adaptation Mandatory Optional Alternative  Activated • Feature model expresses system configurations in compact form • Concrete system configuration expressed as feature combination • Adaptation expressed as runtime reconfiguration Recommendation  Max  Medium Recommendation  Max  Medium 
  • 10. FM-guided Exploration ICSOC 2020 10 Web Application Data Logging Content Discovery Min Max Medium Search Recommen- dation Random (as used in -greedy) Incremental Strategy (Inc) Feature Degree Strategy (Deg) Explore this one first… …then move to its sibling Start with randomly selected leaf feature Explore this one first… Start with leaf feature that has highest feature degree… (FD = number of configs containing f) FD = 5 FD = 4 Recommendation  Max  Medium Moresystematic(lessrandom)
  • 11. Evolution-aware Exploration Determine set-theoretic difference between FM before and after evolution step Removed configurations: Delete from policy (knowledge) • {DataLogging , Medium , ContentDiscovery , Search} • … Added configurations: Explore them first • Added feature • {DataLogging , Optimized , ContentDiscovery , Search} • {DataLogging , Optimized , ContentDiscovery , Recommendation} • Removed constraint • {DataLogging , Min , ContentDiscovery , Recommendation} ICSOC 2020 11 Web Application Data Logging Content Discovery Min Max Medium Search Recommen- dation Recommendation  Max  Medium Opti- mized
  • 13. Experiment Setup CloudRM – Self-adaptive Cloud Resource Management Service • Feature Model: • Real-world workload trace • 10,000 tasks, 29 days • „Simulated“ Evolution of Adaptation Space ICSOC 2020 13 „Multiple“ Placement „Maxsize“ Placement CloudRM Service „Simple“ Placement „Consolidation- Friendly“ Placement Task Group Size k Relative Size  2 3 20… 0.25 0.3 1 Selection Policy FF BF WF Selection Metric   lenmax min imb PM Selection Policy (same as for „Maxsize“) PM Selection Metric (same as for „Maxsize“) VM Selection Policy max min VM Selection Metric (same as for „Maxsize“) 0.5 0.6 0.9 Evolution step #1 Evolution step #2 Evolution step #3 Initial
  • 14. Experiment Setup Parametrization of RL • Integration of FM-guided strategies into Q-Learning • Reward Function: • Best hyper parameter configuration for -greedy also used for FM-guided learning Assessing learning performance • 100 repetitions due to stochastic nature • Metrics • Reward metrics [Taylor & Stone, 2009] • Plus: actual energy + migrations ICSOC 2020 14 e = energy m = migrations Time Step Reward Jumpstart Asymptotic Performance Time to Threshold (here: 90% of Asymptotic) Total Reward = Area under Curve
  • 15. (1) Large Adaptation Space ICSOC 2020 15 Asymptotic performance 0% Time to threshold 48.6% Jumpstart 1.3% Total reward 58.8% Energy savings 0.1% Reduced VM migrations 7.8%
  • 16. (2) Evolution of Adaptation Space ICSOC 2020 16 Asymptotic performance 0.4% Time to threshold 51.0% Jumpstart 5.1% Total reward 61.3% Energy savings 0.1% Reduced VM migrations 23.7%
  • 18. Conclusion and Outlook Exploiting structural knowledge from design time (feature models) to guide online learning for self-adaptive services. Future enhancements • Experiments with additional systems • Comparison for other exploration strategies and RL algorithms • Considering changes of existing features (on top of additions and removals) • Methodology for defining suitable feature models during design time 18ICSOC 2020 Research leading to these results has received funding from the EU’s H2020 research and innovation programme under grant agreements no. Thank You! 780351 – https://enact-project.eu/ 871525 – https://fogprotect.eu/
  • 19. References See paper. Additional ones: [Weyns et al. 2013] Danny Weyns, Nelly Bencomo, Radu Calinescu, Javier Cámara, Carlo Ghezzi, Vincenzo Grassi, Lars Grunske, Paola Inverardi, Jean-Marc Jézéquel, Sam Malek, Raffaela Mirandola, Marco Mori, Giordano Tamburrelli: Perpetual Assurances for Self-Adaptive Systems. Software Engineering for Self-Adaptive Systems 2013: 31-63 [Kephart & Chess, 2003] Kephart, J.O., Chess, D.M.: The vision of autonomic computing. IEEE Computer 36(1), 41–50 (2003) ICSOC 2020 19

Hinweis der Redaktion

  1. Welcome to our presentation on … My name is… and I am happy to present this joint work with …
  2. Strategy exploits semantics typically encoded in feature models. Non-leaf features are usually abstract features, which delegate their realization to their sub-features. Sub-features thus may offer different realizations of their abstract parent feature. If no configuration containing f or a sibling feature of f is found, then the strategy moves on to the parent feature of f, which is repeated until a configuration is found (line 13) or the root feature is reached (line 22).