SlideShare ist ein Scribd-Unternehmen logo
1 von 20
A PARALLEL IMPLEMENTATION OF A
MULTI-OBJECTIVE EVOLUTIONARY
ALGORITHM
ITAB 2009
Christos C. Kannas, Christos A. Nicolaou,
Constantinos S. Pattichis
University of Cyprus and Noesis Cheminformatics
OUTLINE




                                                                    10/26/2011
 Introduction
 Background
     Graph Based Evolutionary Algorithms
     Parallel Evolutionary Algorithms

   Methodology
       Multi-objective Evolutionary Graph Algorithm
       Parallel Multi-objective Evolutionary Graph Algorithm
 Results
 Conclusion

 Questions ???
                                                                2
INTRODUCTION




                                                         10/26/2011
 Multi-objective Evolutionary Algorithms (MOEAs).
 Single-objective Problems  Single optimal
  solution.
 Multi-objective Problems  Set of equivalent
  solutions, Pareto-front.
 Parallel Evolutionary Algorithms  Parallel
  Processing:
     General Purpose Graphical Processing Units
      (GPGPUs)
     Multi- and Many-Core CPUs.
     Clusters.
                                                     3
BACKGROUND




                                                 10/26/2011
   Graph Based Evolutionary Algorithms:
     Graph G(V, E).
     Mutations:
         Flip Vertex/Edge.
         Remove Vertex/Edge.

         Add Vertex/Edge.

         Problem specific mutations.

            Add/Remove Ring.

            Add/Remove/Exchange Fragment.

       Crossover:
           Recombination of Subgraphs.

                                             4
BACKGROUND




                                                        10/26/2011
   Parallel Evolutionary Algorithms (PEAs)
       Coarse-grained PEAs:
         Several   Subpopulations.
         Isolation   time.
         Migration:

             Uniformly at random.
             Fitness based.
         Migration   Scheme:
             Complete unrestricted net topology.
             Ring topology.
             Neighbourhood topology.


                                                    5
BACKGROUND




                                                             10/26/2011
   Parallel Evolutionary Algorithms (PEAs)
       Coarse-grained PEA with Complete net topology.




                                                         6
BACKGROUND




                                                     10/26/2011
   Parallel Evolutionary Algorithms (PEAs)
       Coarse-grained PEA with Ring topology.




                                                 7
BACKGROUND




                                                              10/26/2011
   Parallel Evolutionary Algorithms (PEAs)
       Coarse-grained PEA with Neighbourhood topology.




                                                          8
BACKGROUND




                                                   10/26/2011
   Parallel Evolutionary Algorithms (cont.)
     Fine-grained    PEAs:
       Master   – Slave.




                                               9
METHODOLOGY




                                                    10/26/2011
   Multi-objective Evolutionary Graph Algorithm
    (MEGA)
     Chromosomes  Graphs.
     MEGA Workflow:
         Working Population.
         Fitness Calculation.

         Hard Filter.

         Pareto Ranking.

         Efficiency Calculation.

         Parents Selection.

         Evolve Parents.



                                                   10
METHODOLOGY




                                                                                   10/26/2011
   Multi-objective Evolutionary Graph Algorithm (cont.)

                            6. Evolve                Working
                             Parents                Population




              5. Select                                             1. Fitness
              Parents                                               Calculation




                       4.
                                                                 2. Hard
                  Efficiency
                                                                  Filter
                  Calculation


                                        3. Pareto                                 11
                                        Ranking
METHODOLOGY




                                                                           10/26/2011
   Parallel Multi-objective Evolutionary Algorithm
    (PMEGA)
       Python:
         Threads  Global Interpreter Lock (GIL).
         Processes  Spawning multiple processes (Our approach).

         3rd Party add-ons, MPI4PY, PyCUDA, PyOpenCL.

       Key facts:
         A set of subpopulations. 2 subpopulations, although this is a
          parameter that can change.
         A pool of processes. 2 cores  2 processes for simultaneous

          execution.
         Execution path is the same as MEGA.


                                                                          12
METHODOLOGY




                                                       10/26/2011
   Parallel Multi-objective Evolutionary Algorithm
    (PMEGA) (cont.)
       PMEGA Workflow.




                                                      13
RESULTS




                                                                10/26/2011
   Testing PC:
     Intel Core 2 Duo E8400 @ 3.0 GHz
     4 Gbytes RAM

   Experiment Setup:
     Population 100. (BioAssay 713)
     Iterations 200.
     5 Runs per experiment.
     2 Objectives:
         Similarity on 3 ligands, selective to ER-b.
         Dissimilarity on 2 ligands, selective to ER-a.

       3662 Building blocks, fragments taken from compounds
        of BioAssay 1211.                                      14
RESULTS (CONT.)




                    10/26/2011
   Time Results




                   15
RESULTS (CONT.)




                              10/26/2011
   Pareto Front from MEGA




                             16
RESULTS (CONT.)




                               10/26/2011
   Pareto Front from PMEGA




                              17
RESULTS (CONT.)




                      10/26/2011
   MEGA vs. PMEGA




                     18
CONCLUSION




                                                                  10/26/2011
   Quality of solutions:
       MEGA and PMEGA behave comparably. Using a better
        way to split the subpopulations might result in better
        results for PMEGA.
   Execution time:
       PMEGA 1.6 times faster than MEGA on a 2 core CPU.




                                                                 19
QUESTIONS ???




                 10/26/2011
                20

Weitere ähnliche Inhalte

Andere mochten auch

Test Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts coveredTest Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts covered
Sunil Kumar Gunasekaran
 
Best Practices For Building and Operating A Managed Data Lake - StampedeCon 2016
Best Practices For Building and Operating A Managed Data Lake - StampedeCon 2016Best Practices For Building and Operating A Managed Data Lake - StampedeCon 2016
Best Practices For Building and Operating A Managed Data Lake - StampedeCon 2016
StampedeCon
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
acatalin
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
Rathna Priya
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
Chankey Pathak
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
Udayakumar Sree
 

Andere mochten auch (20)

Example of Test cases
Example of Test casesExample of Test cases
Example of Test cases
 
Test Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts coveredTest Life Cycle - Presentation - Important concepts covered
Test Life Cycle - Presentation - Important concepts covered
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Hadoop for the Masses
Hadoop for the MassesHadoop for the Masses
Hadoop for the Masses
 
Stlc 12 Steps Ppt
Stlc 12 Steps PptStlc 12 Steps Ppt
Stlc 12 Steps Ppt
 
Software testing career
Software testing careerSoftware testing career
Software testing career
 
Hadoop Security and Compliance - StampedeCon 2016
Hadoop Security and Compliance - StampedeCon 2016Hadoop Security and Compliance - StampedeCon 2016
Hadoop Security and Compliance - StampedeCon 2016
 
Effective Software Test Case Design Approach
Effective Software Test Case Design ApproachEffective Software Test Case Design Approach
Effective Software Test Case Design Approach
 
Best Practices For Building and Operating A Managed Data Lake - StampedeCon 2016
Best Practices For Building and Operating A Managed Data Lake - StampedeCon 2016Best Practices For Building and Operating A Managed Data Lake - StampedeCon 2016
Best Practices For Building and Operating A Managed Data Lake - StampedeCon 2016
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
 
Software Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect States
Software Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect StatesSoftware Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect States
Software Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect States
 
Hadoop demo ppt
Hadoop demo pptHadoop demo ppt
Hadoop demo ppt
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
 
Automated Test Case Generation and Execution from Models
Automated Test Case Generation and Execution from ModelsAutomated Test Case Generation and Execution from Models
Automated Test Case Generation and Execution from Models
 
Testing Big Data: Automated Testing of Hadoop with QuerySurge
Testing Big Data: Automated  Testing of Hadoop with QuerySurgeTesting Big Data: Automated  Testing of Hadoop with QuerySurge
Testing Big Data: Automated Testing of Hadoop with QuerySurge
 
Software Product Life Cycle
Software Product Life CycleSoftware Product Life Cycle
Software Product Life Cycle
 
Hadoop & Greenplum: Why Do Such a Thing?
Hadoop & Greenplum: Why Do Such a Thing?Hadoop & Greenplum: Why Do Such a Thing?
Hadoop & Greenplum: Why Do Such a Thing?
 

Ähnlich wie 9th ITAB 2009 Parallel-MEGA

Tutorial rpo
Tutorial rpoTutorial rpo
Tutorial rpo
mosi2005
 
Whale optimization mirjalili
Whale optimization mirjaliliWhale optimization mirjalili
Whale optimization mirjalili
Prashant Kumar
 
Data clustering using kernel based
Data clustering using kernel basedData clustering using kernel based
Data clustering using kernel based
IJITCA Journal
 
Biomedical ontology tutorial_atlanta_june2011_part2
Biomedical ontology tutorial_atlanta_june2011_part2Biomedical ontology tutorial_atlanta_june2011_part2
Biomedical ontology tutorial_atlanta_june2011_part2
Barry Smith
 
Gecco 2011 - Effects of Topology on the diversity of spatially-structured evo...
Gecco 2011 - Effects of Topology on the diversity of spatially-structured evo...Gecco 2011 - Effects of Topology on the diversity of spatially-structured evo...
Gecco 2011 - Effects of Topology on the diversity of spatially-structured evo...
matteodefelice
 

Ähnlich wie 9th ITAB 2009 Parallel-MEGA (20)

2009 MSc Presentation for Parallel-MEGA
2009 MSc Presentation for Parallel-MEGA2009 MSc Presentation for Parallel-MEGA
2009 MSc Presentation for Parallel-MEGA
 
Tutorial rpo
Tutorial rpoTutorial rpo
Tutorial rpo
 
Genome-Scale Metabolic Models and Systems Medicine of Metabolic Syndrome
Genome-Scale Metabolic Models and Systems Medicine of Metabolic SyndromeGenome-Scale Metabolic Models and Systems Medicine of Metabolic Syndrome
Genome-Scale Metabolic Models and Systems Medicine of Metabolic Syndrome
 
Molecular cooperation to reinforce immune response during carcinoma (1)
Molecular cooperation to reinforce immune response during carcinoma (1)Molecular cooperation to reinforce immune response during carcinoma (1)
Molecular cooperation to reinforce immune response during carcinoma (1)
 
EFFECTS OF THE DIFFERENT MIGRATION PERIODS ON PARALLEL MULTI-SWARM PSO
EFFECTS OF THE DIFFERENT MIGRATION PERIODS ON PARALLEL MULTI-SWARM PSOEFFECTS OF THE DIFFERENT MIGRATION PERIODS ON PARALLEL MULTI-SWARM PSO
EFFECTS OF THE DIFFERENT MIGRATION PERIODS ON PARALLEL MULTI-SWARM PSO
 
Effects of The Different Migration Periods on Parallel Multi-Swarm PSO
Effects of The Different Migration Periods on Parallel Multi-Swarm PSO Effects of The Different Migration Periods on Parallel Multi-Swarm PSO
Effects of The Different Migration Periods on Parallel Multi-Swarm PSO
 
Parallel Evolutionary Algorithms for Feature Selection in High Dimensional Da...
Parallel Evolutionary Algorithms for Feature Selection in High Dimensional Da...Parallel Evolutionary Algorithms for Feature Selection in High Dimensional Da...
Parallel Evolutionary Algorithms for Feature Selection in High Dimensional Da...
 
Analyzing and integrating probabilistic and deterministic computational model...
Analyzing and integrating probabilistic and deterministic computational model...Analyzing and integrating probabilistic and deterministic computational model...
Analyzing and integrating probabilistic and deterministic computational model...
 
Sota
SotaSota
Sota
 
Crude-Oil Scheduling Technology: moving from simulation to optimization
Crude-Oil Scheduling Technology: moving from simulation to optimizationCrude-Oil Scheduling Technology: moving from simulation to optimization
Crude-Oil Scheduling Technology: moving from simulation to optimization
 
Whale optimization mirjalili
Whale optimization mirjaliliWhale optimization mirjalili
Whale optimization mirjalili
 
cug2011-praveen
cug2011-praveencug2011-praveen
cug2011-praveen
 
Data clustering using kernel based
Data clustering using kernel basedData clustering using kernel based
Data clustering using kernel based
 
Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...
Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...
Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...
 
Efficient BP Algorithms for General Feedforward Neural Networks
Efficient BP Algorithms for General Feedforward Neural NetworksEfficient BP Algorithms for General Feedforward Neural Networks
Efficient BP Algorithms for General Feedforward Neural Networks
 
Biomedical ontology tutorial_atlanta_june2011_part2
Biomedical ontology tutorial_atlanta_june2011_part2Biomedical ontology tutorial_atlanta_june2011_part2
Biomedical ontology tutorial_atlanta_june2011_part2
 
Paper on experimental setup for verifying - "Slow Learners are Fast"
Paper  on experimental setup for verifying  - "Slow Learners are Fast"Paper  on experimental setup for verifying  - "Slow Learners are Fast"
Paper on experimental setup for verifying - "Slow Learners are Fast"
 
P2 pgp evostar
P2 pgp evostarP2 pgp evostar
P2 pgp evostar
 
IRJET-Performance Enhancement in Machine Learning System using Hybrid Bee Col...
IRJET-Performance Enhancement in Machine Learning System using Hybrid Bee Col...IRJET-Performance Enhancement in Machine Learning System using Hybrid Bee Col...
IRJET-Performance Enhancement in Machine Learning System using Hybrid Bee Col...
 
Gecco 2011 - Effects of Topology on the diversity of spatially-structured evo...
Gecco 2011 - Effects of Topology on the diversity of spatially-structured evo...Gecco 2011 - Effects of Topology on the diversity of spatially-structured evo...
Gecco 2011 - Effects of Topology on the diversity of spatially-structured evo...
 

Mehr von Christos Kannas

Granatum_LiSIs_BIBE_2012_presentation_v4.0
Granatum_LiSIs_BIBE_2012_presentation_v4.0Granatum_LiSIs_BIBE_2012_presentation_v4.0
Granatum_LiSIs_BIBE_2012_presentation_v4.0
Christos Kannas
 

Mehr von Christos Kannas (13)

CKannas PhD Thesis Slides
CKannas PhD Thesis SlidesCKannas PhD Thesis Slides
CKannas PhD Thesis Slides
 
CKannas_UK_QSAR_Oct_2015_Poster_Port
CKannas_UK_QSAR_Oct_2015_Poster_PortCKannas_UK_QSAR_Oct_2015_Poster_Port
CKannas_UK_QSAR_Oct_2015_Poster_Port
 
CKannas_ACS_MOST_Transfomation_Based_DnD_20150818
CKannas_ACS_MOST_Transfomation_Based_DnD_20150818CKannas_ACS_MOST_Transfomation_Based_DnD_20150818
CKannas_ACS_MOST_Transfomation_Based_DnD_20150818
 
CSC2013_LiSIs_poster
CSC2013_LiSIs_posterCSC2013_LiSIs_poster
CSC2013_LiSIs_poster
 
LiSIs: a Galaxy based platform for Life Sciences Research
LiSIs: a Galaxy based platform for Life Sciences ResearchLiSIs: a Galaxy based platform for Life Sciences Research
LiSIs: a Galaxy based platform for Life Sciences Research
 
Estimate Water Solubility
Estimate Water SolubilityEstimate Water Solubility
Estimate Water Solubility
 
Diversity Filtering
Diversity FilteringDiversity Filtering
Diversity Filtering
 
LiSIs platform
LiSIs platformLiSIs platform
LiSIs platform
 
LiSIs Poster Presentation
LiSIs Poster PresentationLiSIs Poster Presentation
LiSIs Poster Presentation
 
GCC2013 LiSIs poster
GCC2013 LiSIs posterGCC2013 LiSIs poster
GCC2013 LiSIs poster
 
GCC2013 LiSIs Lightning Talk
GCC2013 LiSIs Lightning TalkGCC2013 LiSIs Lightning Talk
GCC2013 LiSIs Lightning Talk
 
Granatum_LiSIs_BIBE_2012_presentation_v4.0
Granatum_LiSIs_BIBE_2012_presentation_v4.0Granatum_LiSIs_BIBE_2012_presentation_v4.0
Granatum_LiSIs_BIBE_2012_presentation_v4.0
 
20120615_Granatum_COST_v2
20120615_Granatum_COST_v220120615_Granatum_COST_v2
20120615_Granatum_COST_v2
 

9th ITAB 2009 Parallel-MEGA

  • 1. A PARALLEL IMPLEMENTATION OF A MULTI-OBJECTIVE EVOLUTIONARY ALGORITHM ITAB 2009 Christos C. Kannas, Christos A. Nicolaou, Constantinos S. Pattichis University of Cyprus and Noesis Cheminformatics
  • 2. OUTLINE 10/26/2011  Introduction  Background  Graph Based Evolutionary Algorithms  Parallel Evolutionary Algorithms  Methodology  Multi-objective Evolutionary Graph Algorithm  Parallel Multi-objective Evolutionary Graph Algorithm  Results  Conclusion  Questions ??? 2
  • 3. INTRODUCTION 10/26/2011  Multi-objective Evolutionary Algorithms (MOEAs).  Single-objective Problems  Single optimal solution.  Multi-objective Problems  Set of equivalent solutions, Pareto-front.  Parallel Evolutionary Algorithms  Parallel Processing:  General Purpose Graphical Processing Units (GPGPUs)  Multi- and Many-Core CPUs.  Clusters. 3
  • 4. BACKGROUND 10/26/2011  Graph Based Evolutionary Algorithms:  Graph G(V, E).  Mutations:  Flip Vertex/Edge.  Remove Vertex/Edge.  Add Vertex/Edge.  Problem specific mutations.  Add/Remove Ring.  Add/Remove/Exchange Fragment.  Crossover:  Recombination of Subgraphs. 4
  • 5. BACKGROUND 10/26/2011  Parallel Evolutionary Algorithms (PEAs)  Coarse-grained PEAs:  Several Subpopulations.  Isolation time.  Migration:  Uniformly at random.  Fitness based.  Migration Scheme:  Complete unrestricted net topology.  Ring topology.  Neighbourhood topology. 5
  • 6. BACKGROUND 10/26/2011  Parallel Evolutionary Algorithms (PEAs)  Coarse-grained PEA with Complete net topology. 6
  • 7. BACKGROUND 10/26/2011  Parallel Evolutionary Algorithms (PEAs)  Coarse-grained PEA with Ring topology. 7
  • 8. BACKGROUND 10/26/2011  Parallel Evolutionary Algorithms (PEAs)  Coarse-grained PEA with Neighbourhood topology. 8
  • 9. BACKGROUND 10/26/2011  Parallel Evolutionary Algorithms (cont.)  Fine-grained PEAs:  Master – Slave. 9
  • 10. METHODOLOGY 10/26/2011  Multi-objective Evolutionary Graph Algorithm (MEGA)  Chromosomes  Graphs.  MEGA Workflow:  Working Population.  Fitness Calculation.  Hard Filter.  Pareto Ranking.  Efficiency Calculation.  Parents Selection.  Evolve Parents. 10
  • 11. METHODOLOGY 10/26/2011  Multi-objective Evolutionary Graph Algorithm (cont.) 6. Evolve Working Parents Population 5. Select 1. Fitness Parents Calculation 4. 2. Hard Efficiency Filter Calculation 3. Pareto 11 Ranking
  • 12. METHODOLOGY 10/26/2011  Parallel Multi-objective Evolutionary Algorithm (PMEGA)  Python:  Threads  Global Interpreter Lock (GIL).  Processes  Spawning multiple processes (Our approach).  3rd Party add-ons, MPI4PY, PyCUDA, PyOpenCL.  Key facts:  A set of subpopulations. 2 subpopulations, although this is a parameter that can change.  A pool of processes. 2 cores  2 processes for simultaneous execution.  Execution path is the same as MEGA. 12
  • 13. METHODOLOGY 10/26/2011  Parallel Multi-objective Evolutionary Algorithm (PMEGA) (cont.)  PMEGA Workflow. 13
  • 14. RESULTS 10/26/2011  Testing PC:  Intel Core 2 Duo E8400 @ 3.0 GHz  4 Gbytes RAM  Experiment Setup:  Population 100. (BioAssay 713)  Iterations 200.  5 Runs per experiment.  2 Objectives:  Similarity on 3 ligands, selective to ER-b.  Dissimilarity on 2 ligands, selective to ER-a.  3662 Building blocks, fragments taken from compounds of BioAssay 1211. 14
  • 15. RESULTS (CONT.) 10/26/2011  Time Results 15
  • 16. RESULTS (CONT.) 10/26/2011  Pareto Front from MEGA 16
  • 17. RESULTS (CONT.) 10/26/2011  Pareto Front from PMEGA 17
  • 18. RESULTS (CONT.) 10/26/2011  MEGA vs. PMEGA 18
  • 19. CONCLUSION 10/26/2011  Quality of solutions:  MEGA and PMEGA behave comparably. Using a better way to split the subpopulations might result in better results for PMEGA.  Execution time:  PMEGA 1.6 times faster than MEGA on a 2 core CPU. 19
  • 20. QUESTIONS ??? 10/26/2011 20