SlideShare a Scribd company logo
Model-Driven Optimization:
Generating Smart Mutation Operators for
Multi-Objective Problems
Niels van Harten
Radboud University Nijmegen
Nijmegen, The Netherlands
niels@vharten.com
CDN (Diego) Damasceno
Radboud University Nijmegen
Nijmegen, The Netherlands
https://damascenodiego.github.io/
d.damasceno@cs.ru.nl
Daniel Strüber
Chalmers | University of Gothenburg (SE)
Radboud University Nijmegen (NL)
https://www.danielstrueber.de/
danstru@chalmers.se
Euromicro DSD/SEAA 2022
Aug. 31 – Sep. 2, 2022
Optimization problems are at the heart of
many software engineering tasks
26/08/2022 2
van Harten, Damasceno and Strüber (2022)
Solutions
Optimality
Architecture
refactoring
Assignment
Classes → Packages
max. Cohesion
min. Coupling
Release
planning
Assignment
Next Release → Artifacts
min. Development Cost
max. Customer Satisfaction
Components
deployment
Assignment
Components → Hosts
min. Price
min. Overhead
Search-based software engineering(SBSE)
• Problem: Search space usually too large to enumerate all solutions
• Approach: Search guided by principles from the evolutionary theory
• Challenge: Search algorithms need to be custom-tailored to the problem at hand
Mutation Crossover Selection
Fitness
criteria
based on
Genetic algorithm
Domain
expert
26/08/2022 van Harten, Damasceno and Strüber (2022) 3
Model-Driven Optimization
4
26/08/2022
Domain expert
Solution
meta-model
Constraints
Fitness
functions Optimization tool
Optimal
solution
models
has domain
knowledge
encodes
optimisation
knowledge
uses model
transformation
rules
FitnessStudio: A two-tier framework of nested genetic algorithms
Crossover
LOWER
TIER
Solution
candidate
UPPER TIER
Mutation
Crossover
Fitness
Function
Fitness
Function
modifies assesses
combines
modifies
assesses
combines
informed by
Constraints
informed by
Input
model
is first
Mutation
26/08/2022 van Harten, Damasceno and Strüber (2022) 5
Limitations:
1. Relies on a single-objective
genetic algorithm on both tiers
2. Mutation operators are
generated: from scratch and
without additional user input
Our Contribution
A model-driven optimization technique to automatically
generate efficient mutation operators with support for:
1. Multiple optimization criteria
2. User-provided domain knowledge
26/08/2022 van Harten, Damasceno and Strüber (2022) 6
Model Driven-Optimization
Model-Driven Optimization
• Model-driven principles to bridge the abstraction gap between:
• The low-level SBSE implementations
• Declarative specifications of optimization problems (e.g., models)
• Graph-transformations languages (e.g., Henshin)
26/08/2022 8
Henshin: Japanese for Transformation
https://www.eclipse.org/henshin/
Vector-based encoding
Chromosome 0 1 1 0
Cost 5 1 9 7
Model-based encoding
Artifact 1
Cost:5
Artifact 2
Cost:1
Artifact 3
Cost:9
Artifact 4
Cost:7
Solution
The Next Release Problem
26/08/2022 9
Customers
Software
artifacts
Artifact 1
Cost:5
Artifact 2
Cost:1
Artifact 3
Cost: 7
Artifact 4
Cost:9
Customer b
Importance:2
Customer a
Importance:1
Customer c
Importance:3
Find the “optimal” selection of artifacts w.r.t.
Requirements Requirement #2
Requirement #1 Requirement #3
The Next Release Problem
26/08/2022 10
Example of solution: Release artifacts 1, 2
Cost = 5+1
Satisfaction = 1*100% + 2*50% + 3*0%
Customers
Software
artifacts
Artifact 1
Cost:5
Artifact 2
Cost:1
Artifact 3
Cost: 7
Artifact 4
Cost:9
Customer b
Importance:2
Customer a
Importance:1
Customer c
Importance:3
Requirements Requirement #2
Requirement #1 Requirement #3
= 6
= 2
The Next Release Problem
26/08/2022 11
Example of solution: Release artifacts 2, 3, 4
Cost = 1+7+9
Satisfaction = 1*0% + 2*100% + 3*100%
Customers
Software
artifacts
Artifact 1
Cost:5
Artifact 2
Cost:1
Artifact 3
Cost: 7
Artifact 4
Cost:9
Customer b
Importance:2
Customer a
Importance:1
Customer c
Importance:3
Requirements Requirement #2
Requirement #1 Requirement #3
= 17
= 5
The Next Release Problem
26/08/2022 12
Example of solution: Release artifacts 2, 3
Cost = 1+7
Satisfaction = 1*0% + 2*100% + 3*100%
Customers
Software
artifacts
Artifact 1
Cost:5
Artifact 2
Cost:1
Artifact 3
Cost: 7
Artifact 4
Cost:9
Customer b
Importance:2
Customer a
Importance:1
Customer c
Importance:3
Requirements Requirement #2
Requirement #1 Requirement #3
= 8
= 5
Can we do
better?
Transformation Rules
Metamodel for the next release problem (NRP)
The Next Release Problem
26/08/2022 13
van Harten, Damasceno and Strüber (2022)
The Next Release Problem
26/08/2022 14
A1
Cost:5
A2
Cost:7
A3
Cost:9
A4
Cost:1
Inconsistent Solution
?
A1
Cost:5
A2
Cost:7
A3
Cost:9
A4
Cost:1
Solution 4
1x addSingleSa(A1) ●
2x addSingleSa(A4 then A1) ●
A1
Cost:5
A2
Cost:7
A3
Cost:9
A4
Cost:1
Solution 2
1x addSingleSa ●
1x removeSingleSa ●
A1
Cost:5
A2
Cost:7
A3
Cost:9
A4
Cost:1
Solution 3
1x removeSingleSa ●
van Harten, Damasceno and Strüber (2022)
A1
Cost:5
A2
Cost:7
A3
Cost:9
A4
Cost:1
Solution 1
Our Contribution
26/08/2022 15
Solution
candidate
Crossover
Fitness
Function
modifies
assesses
combines
Constraints
LOWER
TIER
Crossover
UPPER TIER
Mutation
Fitness
Function
modifies assesses
combines informed by informed by
Input
model
is first
Mutation
Fitness
Function
Fitness
Function
A
A
Configuration
Mutation
B
B
(A) Support for multi-objective problems
• FitnessStudio aims at a single objective
• Inapplicable to problems with multiple objectives (e.g., NRP)
• Our contribution #1: Improved fitness functions
• Lower tier: Relies on an arbitrary number of functions
• Upper tier: Hypervolume for lower-tier solutions
26/08/2022 van Harten, Damasceno and Strüber (2022) 16
https://doi.org/10.1109/ACCESS.2019.2927418
(B) Support for user-defined domain knowledge
• FitnessStudio generates mutation operators only from scratch (a.k.a. full automation)
• Our contribution #2: User-specified rule set
• At large scale problems, we need "the best of both worlds“:
• Useful, but not necessarily optimal mutation operators
• Continuous improvement of mutation operators
• Our contribution #3: Configuration of upper-tier algorithm
• Assign a weight to each higher-order mutation rule
26/08/2022 van Harten, Damasceno and Strüber (2022) 17
fixedXORgen: Combining generated
with user specified fixed rules
Evaluation and Results
Evaluation
26/08/2022
Table: Instances of the next release problem
• Subject: The Next Release Problem (NRP)
• RQ1: How does the mutation operator generated by our framework impact performance,
compared to a manually specified operator?
• Performance = Result quality and Execution time
• Focus: multi-objective NRP
• RQ2: To which extent does the customization with user-provided domain knowledge impact the
performance?
• Isolated user-provided domain knowledge
• Focus: single-objective NRP
https://jmetal.github.io/jMetal/
19
van Harten, Damasceno and Strüber (2022)
Results for RQ1 (Performance Compared to Manually Specified Operators)
26/08/2022 van Harten, Damasceno and Strüber (2022) 20
Results for RQ1 (Performance Compared to Manually Specified Operators)
26/08/2022 van Harten, Damasceno and Strüber (2022) 21
Creation/Deletion of a single
selected edge
�
Creation/Deletion of multiple selected edges
(aka. larger "steps" in the search space)
MDO
Results for RQ2 (Impact of Domain Knowledge on Performance)
26/08/2022 van Harten, Damasceno and Strüber (2022) 22
Final Remarks
Final Remarks
26/08/2022 van Harten, Damasceno and Strüber (2022) 24
DOI: 10.5281/zenodo.6645808 https://github.com/nielsvharten/fitnessstudio-nrp
Niels van Harten
Radboud University Nijmegen
Nijmegen, The Netherlands
niels@vharten.com
CDN (Diego) Damasceno
Radboud University Nijmegen
Nijmegen, The Netherlands
https://damascenodiego.github.io/
d.damasceno@cs.ru.nl
Daniel Strüber
Chalmers | University of Gothenburg (SE)
Radboud University Nijmegen (NL)
https://www.danielstrueber.de/
danstru@chalmers.se
van Harten, Damasceno and Strüber (2022)
Euromicro DSD/SEAA 2022
Aug. 31 – Sep. 2, 2022
Questions?
Thank you!
26/08/2022 25
Images from https://www.flaticon.com/

More Related Content

Similar to Model-Driven Optimization: Generating Smart Mutation Operators for Multi-Objective Problems

Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AIQualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
Qualcomm Research
 
Final Exam Solutions Fall02
Final Exam Solutions Fall02Final Exam Solutions Fall02
Final Exam Solutions Fall02Radu_Negulescu
 
CompEng - Lec01 - Introduction To Optimum Design.pdf
CompEng - Lec01 - Introduction To Optimum Design.pdfCompEng - Lec01 - Introduction To Optimum Design.pdf
CompEng - Lec01 - Introduction To Optimum Design.pdf
nooreldeenmagdy2
 
SE2023 0301 Software Project Management.pptx
SE2023 0301 Software Project Management.pptxSE2023 0301 Software Project Management.pptx
SE2023 0301 Software Project Management.pptx
Bharat Chawda
 
Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...
Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...
Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...
Nesma
 
Mini Project- Dual Processor Computation
Mini Project- Dual Processor ComputationMini Project- Dual Processor Computation
2014 01-ticosa
2014 01-ticosa2014 01-ticosa
2014 01-ticosa
Pharo
 
LECT9.ppt
LECT9.pptLECT9.ppt
LECT9.ppt
AnSHiKa187943
 
Technical debt management strategies
Technical debt management strategiesTechnical debt management strategies
Technical debt management strategies
Raquel Pau
 
COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimation
Pramod Parajuli
 
Recognize, assess, reduce, and manage technical debt
Recognize, assess, reduce, and manage technical debtRecognize, assess, reduce, and manage technical debt
Recognize, assess, reduce, and manage technical debt
Jim Bethancourt
 
A Lightweight MDD Process Applied in Small Projects
A Lightweight MDD Process Applied in Small ProjectsA Lightweight MDD Process Applied in Small Projects
A Lightweight MDD Process Applied in Small Projects
Gabor Guta
 
3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx
AbhishekKumar66407
 
DII PRESENTATION (APRIL 2021)
DII PRESENTATION (APRIL 2021)DII PRESENTATION (APRIL 2021)
DII PRESENTATION (APRIL 2021)
Roman Zakharov
 
Unit-1 ESD.pptx
Unit-1 ESD.pptxUnit-1 ESD.pptx
Unit-1 ESD.pptx
Sambasiva62
 
IBM Kinexa Prove It! C programming test results.
IBM Kinexa Prove It! C programming test results.IBM Kinexa Prove It! C programming test results.
IBM Kinexa Prove It! C programming test results.
Russell Childs
 
COCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. MohiteCOCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. Mohite
Zeal Education Society, Pune
 
Why computer programming
Why computer programmingWhy computer programming
Why computer programmingTUOS-Sam
 
Tte 451 operations research fall 2021 part 1
Tte 451  operations research   fall 2021   part 1Tte 451  operations research   fall 2021   part 1
Tte 451 operations research fall 2021 part 1
Wael ElDessouki
 

Similar to Model-Driven Optimization: Generating Smart Mutation Operators for Multi-Objective Problems (20)

Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AIQualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
 
Final Exam Solutions Fall02
Final Exam Solutions Fall02Final Exam Solutions Fall02
Final Exam Solutions Fall02
 
Project Management
Project ManagementProject Management
Project Management
 
CompEng - Lec01 - Introduction To Optimum Design.pdf
CompEng - Lec01 - Introduction To Optimum Design.pdfCompEng - Lec01 - Introduction To Optimum Design.pdf
CompEng - Lec01 - Introduction To Optimum Design.pdf
 
SE2023 0301 Software Project Management.pptx
SE2023 0301 Software Project Management.pptxSE2023 0301 Software Project Management.pptx
SE2023 0301 Software Project Management.pptx
 
Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...
Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...
Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...
 
Mini Project- Dual Processor Computation
Mini Project- Dual Processor ComputationMini Project- Dual Processor Computation
Mini Project- Dual Processor Computation
 
2014 01-ticosa
2014 01-ticosa2014 01-ticosa
2014 01-ticosa
 
LECT9.ppt
LECT9.pptLECT9.ppt
LECT9.ppt
 
Technical debt management strategies
Technical debt management strategiesTechnical debt management strategies
Technical debt management strategies
 
COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimation
 
Recognize, assess, reduce, and manage technical debt
Recognize, assess, reduce, and manage technical debtRecognize, assess, reduce, and manage technical debt
Recognize, assess, reduce, and manage technical debt
 
A Lightweight MDD Process Applied in Small Projects
A Lightweight MDD Process Applied in Small ProjectsA Lightweight MDD Process Applied in Small Projects
A Lightweight MDD Process Applied in Small Projects
 
3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx
 
DII PRESENTATION (APRIL 2021)
DII PRESENTATION (APRIL 2021)DII PRESENTATION (APRIL 2021)
DII PRESENTATION (APRIL 2021)
 
Unit-1 ESD.pptx
Unit-1 ESD.pptxUnit-1 ESD.pptx
Unit-1 ESD.pptx
 
IBM Kinexa Prove It! C programming test results.
IBM Kinexa Prove It! C programming test results.IBM Kinexa Prove It! C programming test results.
IBM Kinexa Prove It! C programming test results.
 
COCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. MohiteCOCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. Mohite
 
Why computer programming
Why computer programmingWhy computer programming
Why computer programming
 
Tte 451 operations research fall 2021 part 1
Tte 451  operations research   fall 2021   part 1Tte 451  operations research   fall 2021   part 1
Tte 451 operations research fall 2021 part 1
 

More from SEAA 2022

Risk and Engineering Knowledge Integration in Cyber-physical Production Syste...
Risk and Engineering Knowledge Integration in Cyber-physical Production Syste...Risk and Engineering Knowledge Integration in Cyber-physical Production Syste...
Risk and Engineering Knowledge Integration in Cyber-physical Production Syste...
SEAA 2022
 
Bad Smells in Industrial Automation: Sniffing out Feature Envy
Bad Smells in Industrial Automation: Sniffing out Feature EnvyBad Smells in Industrial Automation: Sniffing out Feature Envy
Bad Smells in Industrial Automation: Sniffing out Feature Envy
SEAA 2022
 
Software Architecture Challenges in Process Automation - From Code Generation...
Software Architecture Challenges in Process Automation - From Code Generation...Software Architecture Challenges in Process Automation - From Code Generation...
Software Architecture Challenges in Process Automation - From Code Generation...
SEAA 2022
 
From Traditional to Digital: How software, data and AI are transforming the e...
From Traditional to Digital: How software, data and AI are transforming the e...From Traditional to Digital: How software, data and AI are transforming the e...
From Traditional to Digital: How software, data and AI are transforming the e...
SEAA 2022
 
Exploiting dynamic analysis for architectural smell detection: a preliminary ...
Exploiting dynamic analysis for architectural smell detection: a preliminary ...Exploiting dynamic analysis for architectural smell detection: a preliminary ...
Exploiting dynamic analysis for architectural smell detection: a preliminary ...
SEAA 2022
 
On the Role of Personality Traits in Implementation Tasks: A Preliminary Inve...
On the Role of Personality Traits in Implementation Tasks: A Preliminary Inve...On the Role of Personality Traits in Implementation Tasks: A Preliminary Inve...
On the Role of Personality Traits in Implementation Tasks: A Preliminary Inve...
SEAA 2022
 
An Empirical Analysis of Microservices Systems Using Consumer-Driven Contract...
An Empirical Analysis of Microservices Systems Using Consumer-Driven Contract...An Empirical Analysis of Microservices Systems Using Consumer-Driven Contract...
An Empirical Analysis of Microservices Systems Using Consumer-Driven Contract...
SEAA 2022
 
Have Java Production Methods Co-Evolved With Test Methods Properly?: A Fine-G...
Have Java Production Methods Co-Evolved With Test Methods Properly?: A Fine-G...Have Java Production Methods Co-Evolved With Test Methods Properly?: A Fine-G...
Have Java Production Methods Co-Evolved With Test Methods Properly?: A Fine-G...
SEAA 2022
 
A Preliminary Conceptualization and Analysis on Automated Static Analysis Too...
A Preliminary Conceptualization and Analysis on Automated Static Analysis Too...A Preliminary Conceptualization and Analysis on Automated Static Analysis Too...
A Preliminary Conceptualization and Analysis on Automated Static Analysis Too...
SEAA 2022
 
An Evaluation of Effort-Aware Fine-Grained Just-in-Time Defect Prediction Met...
An Evaluation of Effort-Aware Fine-Grained Just-in-Time Defect Prediction Met...An Evaluation of Effort-Aware Fine-Grained Just-in-Time Defect Prediction Met...
An Evaluation of Effort-Aware Fine-Grained Just-in-Time Defect Prediction Met...
SEAA 2022
 
The Impact of Forced Working-From-Home on Code Technical Debt: An Industrial ...
The Impact of Forced Working-From-Home on Code Technical Debt: An Industrial ...The Impact of Forced Working-From-Home on Code Technical Debt: An Industrial ...
The Impact of Forced Working-From-Home on Code Technical Debt: An Industrial ...
SEAA 2022
 
Service Classification through Machine Learning: Aiding in the Efficient Ide...
 Service Classification through Machine Learning: Aiding in the Efficient Ide... Service Classification through Machine Learning: Aiding in the Efficient Ide...
Service Classification through Machine Learning: Aiding in the Efficient Ide...
SEAA 2022
 
Maintainability Challenges inML:ASLR
Maintainability Challenges inML:ASLRMaintainability Challenges inML:ASLR
Maintainability Challenges inML:ASLR
SEAA 2022
 
An Industrial Experience Report about Challenges from Continuous Monitoring, ...
An Industrial Experience Report about Challenges from Continuous Monitoring, ...An Industrial Experience Report about Challenges from Continuous Monitoring, ...
An Industrial Experience Report about Challenges from Continuous Monitoring, ...
SEAA 2022
 
API Deprecation: A Systematic Mapping Study
API Deprecation: A Systematic Mapping StudyAPI Deprecation: A Systematic Mapping Study
API Deprecation: A Systematic Mapping Study
SEAA 2022
 
MDEML_UMLsec4Edge Extending UMLsec to model data-protection-compliant edge co...
MDEML_UMLsec4Edge Extending UMLsec to model data-protection-compliant edge co...MDEML_UMLsec4Edge Extending UMLsec to model data-protection-compliant edge co...
MDEML_UMLsec4Edge Extending UMLsec to model data-protection-compliant edge co...
SEAA 2022
 
EMMM: A Unified Meta-Model for Tracking Machine Learning Experiments
 EMMM: A Unified Meta-Model for Tracking Machine Learning Experiments EMMM: A Unified Meta-Model for Tracking Machine Learning Experiments
EMMM: A Unified Meta-Model for Tracking Machine Learning Experiments
SEAA 2022
 
Easing the Reuse of ML Solutions by Interactive Clustering-based Autotuning i...
Easing the Reuse of ML Solutions by Interactive Clustering-based Autotuning i...Easing the Reuse of ML Solutions by Interactive Clustering-based Autotuning i...
Easing the Reuse of ML Solutions by Interactive Clustering-based Autotuning i...
SEAA 2022
 

More from SEAA 2022 (18)

Risk and Engineering Knowledge Integration in Cyber-physical Production Syste...
Risk and Engineering Knowledge Integration in Cyber-physical Production Syste...Risk and Engineering Knowledge Integration in Cyber-physical Production Syste...
Risk and Engineering Knowledge Integration in Cyber-physical Production Syste...
 
Bad Smells in Industrial Automation: Sniffing out Feature Envy
Bad Smells in Industrial Automation: Sniffing out Feature EnvyBad Smells in Industrial Automation: Sniffing out Feature Envy
Bad Smells in Industrial Automation: Sniffing out Feature Envy
 
Software Architecture Challenges in Process Automation - From Code Generation...
Software Architecture Challenges in Process Automation - From Code Generation...Software Architecture Challenges in Process Automation - From Code Generation...
Software Architecture Challenges in Process Automation - From Code Generation...
 
From Traditional to Digital: How software, data and AI are transforming the e...
From Traditional to Digital: How software, data and AI are transforming the e...From Traditional to Digital: How software, data and AI are transforming the e...
From Traditional to Digital: How software, data and AI are transforming the e...
 
Exploiting dynamic analysis for architectural smell detection: a preliminary ...
Exploiting dynamic analysis for architectural smell detection: a preliminary ...Exploiting dynamic analysis for architectural smell detection: a preliminary ...
Exploiting dynamic analysis for architectural smell detection: a preliminary ...
 
On the Role of Personality Traits in Implementation Tasks: A Preliminary Inve...
On the Role of Personality Traits in Implementation Tasks: A Preliminary Inve...On the Role of Personality Traits in Implementation Tasks: A Preliminary Inve...
On the Role of Personality Traits in Implementation Tasks: A Preliminary Inve...
 
An Empirical Analysis of Microservices Systems Using Consumer-Driven Contract...
An Empirical Analysis of Microservices Systems Using Consumer-Driven Contract...An Empirical Analysis of Microservices Systems Using Consumer-Driven Contract...
An Empirical Analysis of Microservices Systems Using Consumer-Driven Contract...
 
Have Java Production Methods Co-Evolved With Test Methods Properly?: A Fine-G...
Have Java Production Methods Co-Evolved With Test Methods Properly?: A Fine-G...Have Java Production Methods Co-Evolved With Test Methods Properly?: A Fine-G...
Have Java Production Methods Co-Evolved With Test Methods Properly?: A Fine-G...
 
A Preliminary Conceptualization and Analysis on Automated Static Analysis Too...
A Preliminary Conceptualization and Analysis on Automated Static Analysis Too...A Preliminary Conceptualization and Analysis on Automated Static Analysis Too...
A Preliminary Conceptualization and Analysis on Automated Static Analysis Too...
 
An Evaluation of Effort-Aware Fine-Grained Just-in-Time Defect Prediction Met...
An Evaluation of Effort-Aware Fine-Grained Just-in-Time Defect Prediction Met...An Evaluation of Effort-Aware Fine-Grained Just-in-Time Defect Prediction Met...
An Evaluation of Effort-Aware Fine-Grained Just-in-Time Defect Prediction Met...
 
The Impact of Forced Working-From-Home on Code Technical Debt: An Industrial ...
The Impact of Forced Working-From-Home on Code Technical Debt: An Industrial ...The Impact of Forced Working-From-Home on Code Technical Debt: An Industrial ...
The Impact of Forced Working-From-Home on Code Technical Debt: An Industrial ...
 
Service Classification through Machine Learning: Aiding in the Efficient Ide...
 Service Classification through Machine Learning: Aiding in the Efficient Ide... Service Classification through Machine Learning: Aiding in the Efficient Ide...
Service Classification through Machine Learning: Aiding in the Efficient Ide...
 
Maintainability Challenges inML:ASLR
Maintainability Challenges inML:ASLRMaintainability Challenges inML:ASLR
Maintainability Challenges inML:ASLR
 
An Industrial Experience Report about Challenges from Continuous Monitoring, ...
An Industrial Experience Report about Challenges from Continuous Monitoring, ...An Industrial Experience Report about Challenges from Continuous Monitoring, ...
An Industrial Experience Report about Challenges from Continuous Monitoring, ...
 
API Deprecation: A Systematic Mapping Study
API Deprecation: A Systematic Mapping StudyAPI Deprecation: A Systematic Mapping Study
API Deprecation: A Systematic Mapping Study
 
MDEML_UMLsec4Edge Extending UMLsec to model data-protection-compliant edge co...
MDEML_UMLsec4Edge Extending UMLsec to model data-protection-compliant edge co...MDEML_UMLsec4Edge Extending UMLsec to model data-protection-compliant edge co...
MDEML_UMLsec4Edge Extending UMLsec to model data-protection-compliant edge co...
 
EMMM: A Unified Meta-Model for Tracking Machine Learning Experiments
 EMMM: A Unified Meta-Model for Tracking Machine Learning Experiments EMMM: A Unified Meta-Model for Tracking Machine Learning Experiments
EMMM: A Unified Meta-Model for Tracking Machine Learning Experiments
 
Easing the Reuse of ML Solutions by Interactive Clustering-based Autotuning i...
Easing the Reuse of ML Solutions by Interactive Clustering-based Autotuning i...Easing the Reuse of ML Solutions by Interactive Clustering-based Autotuning i...
Easing the Reuse of ML Solutions by Interactive Clustering-based Autotuning i...
 

Recently uploaded

general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
IqrimaNabilatulhusni
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
muralinath2
 
Lab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerinLab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerin
ossaicprecious19
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
muralinath2
 
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
NathanBaughman3
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
muralinath2
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
Areesha Ahmad
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...
Sérgio Sacani
 
Structural Classification Of Protein (SCOP)
Structural Classification Of Protein  (SCOP)Structural Classification Of Protein  (SCOP)
Structural Classification Of Protein (SCOP)
aishnasrivastava
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Erdal Coalmaker
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
subedisuryaofficial
 
erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
muralinath2
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
Scintica Instrumentation
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
ssuserbfdca9
 
platelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptxplatelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptx
muralinath2
 
role of pramana in research.pptx in science
role of pramana in research.pptx in sciencerole of pramana in research.pptx in science
role of pramana in research.pptx in science
sonaliswain16
 

Recently uploaded (20)

general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
 
Lab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerinLab report on liquid viscosity of glycerin
Lab report on liquid viscosity of glycerin
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
 
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...
 
Structural Classification Of Protein (SCOP)
Structural Classification Of Protein  (SCOP)Structural Classification Of Protein  (SCOP)
Structural Classification Of Protein (SCOP)
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
 
erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
 
platelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptxplatelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptx
 
role of pramana in research.pptx in science
role of pramana in research.pptx in sciencerole of pramana in research.pptx in science
role of pramana in research.pptx in science
 

Model-Driven Optimization: Generating Smart Mutation Operators for Multi-Objective Problems

  • 1. Model-Driven Optimization: Generating Smart Mutation Operators for Multi-Objective Problems Niels van Harten Radboud University Nijmegen Nijmegen, The Netherlands niels@vharten.com CDN (Diego) Damasceno Radboud University Nijmegen Nijmegen, The Netherlands https://damascenodiego.github.io/ d.damasceno@cs.ru.nl Daniel Strüber Chalmers | University of Gothenburg (SE) Radboud University Nijmegen (NL) https://www.danielstrueber.de/ danstru@chalmers.se Euromicro DSD/SEAA 2022 Aug. 31 – Sep. 2, 2022
  • 2. Optimization problems are at the heart of many software engineering tasks 26/08/2022 2 van Harten, Damasceno and Strüber (2022) Solutions Optimality Architecture refactoring Assignment Classes → Packages max. Cohesion min. Coupling Release planning Assignment Next Release → Artifacts min. Development Cost max. Customer Satisfaction Components deployment Assignment Components → Hosts min. Price min. Overhead
  • 3. Search-based software engineering(SBSE) • Problem: Search space usually too large to enumerate all solutions • Approach: Search guided by principles from the evolutionary theory • Challenge: Search algorithms need to be custom-tailored to the problem at hand Mutation Crossover Selection Fitness criteria based on Genetic algorithm Domain expert 26/08/2022 van Harten, Damasceno and Strüber (2022) 3
  • 4. Model-Driven Optimization 4 26/08/2022 Domain expert Solution meta-model Constraints Fitness functions Optimization tool Optimal solution models has domain knowledge encodes optimisation knowledge uses model transformation rules
  • 5. FitnessStudio: A two-tier framework of nested genetic algorithms Crossover LOWER TIER Solution candidate UPPER TIER Mutation Crossover Fitness Function Fitness Function modifies assesses combines modifies assesses combines informed by Constraints informed by Input model is first Mutation 26/08/2022 van Harten, Damasceno and Strüber (2022) 5 Limitations: 1. Relies on a single-objective genetic algorithm on both tiers 2. Mutation operators are generated: from scratch and without additional user input
  • 6. Our Contribution A model-driven optimization technique to automatically generate efficient mutation operators with support for: 1. Multiple optimization criteria 2. User-provided domain knowledge 26/08/2022 van Harten, Damasceno and Strüber (2022) 6
  • 8. Model-Driven Optimization • Model-driven principles to bridge the abstraction gap between: • The low-level SBSE implementations • Declarative specifications of optimization problems (e.g., models) • Graph-transformations languages (e.g., Henshin) 26/08/2022 8 Henshin: Japanese for Transformation https://www.eclipse.org/henshin/ Vector-based encoding Chromosome 0 1 1 0 Cost 5 1 9 7 Model-based encoding Artifact 1 Cost:5 Artifact 2 Cost:1 Artifact 3 Cost:9 Artifact 4 Cost:7 Solution
  • 9. The Next Release Problem 26/08/2022 9 Customers Software artifacts Artifact 1 Cost:5 Artifact 2 Cost:1 Artifact 3 Cost: 7 Artifact 4 Cost:9 Customer b Importance:2 Customer a Importance:1 Customer c Importance:3 Find the “optimal” selection of artifacts w.r.t. Requirements Requirement #2 Requirement #1 Requirement #3
  • 10. The Next Release Problem 26/08/2022 10 Example of solution: Release artifacts 1, 2 Cost = 5+1 Satisfaction = 1*100% + 2*50% + 3*0% Customers Software artifacts Artifact 1 Cost:5 Artifact 2 Cost:1 Artifact 3 Cost: 7 Artifact 4 Cost:9 Customer b Importance:2 Customer a Importance:1 Customer c Importance:3 Requirements Requirement #2 Requirement #1 Requirement #3 = 6 = 2
  • 11. The Next Release Problem 26/08/2022 11 Example of solution: Release artifacts 2, 3, 4 Cost = 1+7+9 Satisfaction = 1*0% + 2*100% + 3*100% Customers Software artifacts Artifact 1 Cost:5 Artifact 2 Cost:1 Artifact 3 Cost: 7 Artifact 4 Cost:9 Customer b Importance:2 Customer a Importance:1 Customer c Importance:3 Requirements Requirement #2 Requirement #1 Requirement #3 = 17 = 5
  • 12. The Next Release Problem 26/08/2022 12 Example of solution: Release artifacts 2, 3 Cost = 1+7 Satisfaction = 1*0% + 2*100% + 3*100% Customers Software artifacts Artifact 1 Cost:5 Artifact 2 Cost:1 Artifact 3 Cost: 7 Artifact 4 Cost:9 Customer b Importance:2 Customer a Importance:1 Customer c Importance:3 Requirements Requirement #2 Requirement #1 Requirement #3 = 8 = 5 Can we do better?
  • 13. Transformation Rules Metamodel for the next release problem (NRP) The Next Release Problem 26/08/2022 13 van Harten, Damasceno and Strüber (2022)
  • 14. The Next Release Problem 26/08/2022 14 A1 Cost:5 A2 Cost:7 A3 Cost:9 A4 Cost:1 Inconsistent Solution ? A1 Cost:5 A2 Cost:7 A3 Cost:9 A4 Cost:1 Solution 4 1x addSingleSa(A1) ● 2x addSingleSa(A4 then A1) ● A1 Cost:5 A2 Cost:7 A3 Cost:9 A4 Cost:1 Solution 2 1x addSingleSa ● 1x removeSingleSa ● A1 Cost:5 A2 Cost:7 A3 Cost:9 A4 Cost:1 Solution 3 1x removeSingleSa ● van Harten, Damasceno and Strüber (2022) A1 Cost:5 A2 Cost:7 A3 Cost:9 A4 Cost:1 Solution 1
  • 15. Our Contribution 26/08/2022 15 Solution candidate Crossover Fitness Function modifies assesses combines Constraints LOWER TIER Crossover UPPER TIER Mutation Fitness Function modifies assesses combines informed by informed by Input model is first Mutation Fitness Function Fitness Function A A Configuration Mutation B B
  • 16. (A) Support for multi-objective problems • FitnessStudio aims at a single objective • Inapplicable to problems with multiple objectives (e.g., NRP) • Our contribution #1: Improved fitness functions • Lower tier: Relies on an arbitrary number of functions • Upper tier: Hypervolume for lower-tier solutions 26/08/2022 van Harten, Damasceno and Strüber (2022) 16 https://doi.org/10.1109/ACCESS.2019.2927418
  • 17. (B) Support for user-defined domain knowledge • FitnessStudio generates mutation operators only from scratch (a.k.a. full automation) • Our contribution #2: User-specified rule set • At large scale problems, we need "the best of both worlds“: • Useful, but not necessarily optimal mutation operators • Continuous improvement of mutation operators • Our contribution #3: Configuration of upper-tier algorithm • Assign a weight to each higher-order mutation rule 26/08/2022 van Harten, Damasceno and Strüber (2022) 17 fixedXORgen: Combining generated with user specified fixed rules
  • 19. Evaluation 26/08/2022 Table: Instances of the next release problem • Subject: The Next Release Problem (NRP) • RQ1: How does the mutation operator generated by our framework impact performance, compared to a manually specified operator? • Performance = Result quality and Execution time • Focus: multi-objective NRP • RQ2: To which extent does the customization with user-provided domain knowledge impact the performance? • Isolated user-provided domain knowledge • Focus: single-objective NRP https://jmetal.github.io/jMetal/ 19 van Harten, Damasceno and Strüber (2022)
  • 20. Results for RQ1 (Performance Compared to Manually Specified Operators) 26/08/2022 van Harten, Damasceno and Strüber (2022) 20
  • 21. Results for RQ1 (Performance Compared to Manually Specified Operators) 26/08/2022 van Harten, Damasceno and Strüber (2022) 21 Creation/Deletion of a single selected edge � Creation/Deletion of multiple selected edges (aka. larger "steps" in the search space) MDO
  • 22. Results for RQ2 (Impact of Domain Knowledge on Performance) 26/08/2022 van Harten, Damasceno and Strüber (2022) 22
  • 24. Final Remarks 26/08/2022 van Harten, Damasceno and Strüber (2022) 24 DOI: 10.5281/zenodo.6645808 https://github.com/nielsvharten/fitnessstudio-nrp
  • 25. Niels van Harten Radboud University Nijmegen Nijmegen, The Netherlands niels@vharten.com CDN (Diego) Damasceno Radboud University Nijmegen Nijmegen, The Netherlands https://damascenodiego.github.io/ d.damasceno@cs.ru.nl Daniel Strüber Chalmers | University of Gothenburg (SE) Radboud University Nijmegen (NL) https://www.danielstrueber.de/ danstru@chalmers.se van Harten, Damasceno and Strüber (2022) Euromicro DSD/SEAA 2022 Aug. 31 – Sep. 2, 2022 Questions? Thank you! 26/08/2022 25 Images from https://www.flaticon.com/