Institute of Intelligent Power Electronics – IPE Page1 Introduction to Basics of Genetic Algorithms Docent Xiao-Zhi Gao Department of Electrical Engineering.

Slides:



Advertisements
Similar presentations
Genetic Algorithms Genetic Programming Ata Kaban School of Computer Science University of Birmingham 2003.
Advertisements

Yuri R. Tsoy, Vladimir G. Spitsyn, Department of Computer Engineering
CS6800 Advanced Theory of Computation
Student : Mateja Saković 3015/2011.  Genetic algorithms are based on evolution and natural selection  Evolution is any change across successive generations.
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
1 Wendy Williams Metaheuristic Algorithms Genetic Algorithms: A Tutorial “Genetic Algorithms are good at taking large, potentially huge search spaces and.
Genetic Algorithms1 COMP305. Part II. Genetic Algorithms.
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
Introduction to Genetic Algorithms Yonatan Shichel.
Evolutionary Algorithms Simon M. Lucas. The basic idea Initialise a random population of individuals repeat { evaluate select vary (e.g. mutate or crossover)
Genetic Algorithms Learning Machines for knowledge discovery.
Artificial Intelligence Genetic Algorithms and Applications of Genetic Algorithms in Compilers Prasad A. Kulkarni.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Tutorial 1 Temi avanzati di Intelligenza Artificiale - Lecture 3 Prof. Vincenzo Cutello Department of Mathematics and Computer Science University of Catania.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
7/2/2015Intelligent Systems and Soft Computing1 Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
CS 447 Advanced Topics in Artificial Intelligence Fall 2002.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Genetic Algorithms: A Tutorial
1. Optimization and its necessity. Classes of optimizations problems. Evolutionary optimization. –Historical overview. –How it works?! Several Applications.
A Genetic Algorithms Approach to Feature Subset Selection Problem by Hasan Doğu TAŞKIRAN CS 550 – Machine Learning Workshop Department of Computer Engineering.
Genetic Algorithms and Ant Colony Optimisation
Evolutionary Intelligence
Introduction to Genetic Algorithms and Evolutionary Computation
Cristian Urs and Ben Riveira. Introduction The article we chose focuses on improving the performance of Genetic Algorithms by: Use of predictive models.
Evolution Strategies Evolutionary Programming Genetic Programming Michael J. Watts
Genetic algorithms Prof Kang Li
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
ART – Artificial Reasoning Toolkit Evolving a complex system Marco Lamieri Spss training day
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms K.Ganesh Reasearch Scholar, Ph.D., Industrial Management Division, Humanities and Social Sciences Department, Indian Institute of Technology.
1 “Genetic Algorithms are good at taking large, potentially huge search spaces and navigating them, looking for optimal combinations of things, solutions.
Genetic Algorithms Siddhartha K. Shakya School of Computing. The Robert Gordon University Aberdeen, UK
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
EE459 I ntroduction to Artificial I ntelligence Genetic Algorithms Kasin Prakobwaitayakit Department of Electrical Engineering Chiangmai University.
© Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
Genetic Algorithms. Evolutionary Methods Methods inspired by the process of biological evolution. Main ideas: Population of solutions Assign a score or.
Artificial Intelligence Chapter 4. Machine Evolution.
1 Genetic Algorithms and Ant Colony Optimisation.
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
Introduction to Genetic Algorithms. Genetic Algorithms We’ve covered enough material that we can write programs that use genetic algorithms! –More advanced.
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
Genetic Algorithms Abhishek Sharma Piyush Gupta Department of Instrumentation & Control.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
CITS7212: Computational Intelligence An Overview of Core CI Technologies Lyndon While.
Genetic Algorithms MITM613 (Intelligent Systems).
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Advanced AI – Session 6 Genetic Algorithm By: H.Nematzadeh.
Genetic Algorithms. Solution Search in Problem Space.
EVOLUTIONARY SYSTEMS AND GENETIC ALGORITHMS NAME: AKSHITKUMAR PATEL STUDENT ID: GRAD POSITION PAPER.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Evolutionary Design of the Closed Loop Control on the Basis of NN-ANARX Model Using Genetic Algoritm.
Presented By: Farid, Alidoust Vahid, Akbari 18 th May IAUT University – Faculty.
Genetic Algorithms.
Evolutionary Algorithms Jim Whitehead
Evolution Strategies Evolutionary Programming
Artificial Intelligence Project 2 Genetic Algorithms
Genetic Algorithm and Their Applications to Scheduling
Artificial Intelligence Chapter 4. Machine Evolution
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Artificial Intelligence Chapter 4. Machine Evolution
Artificial Intelligence CIS 342
Traveling Salesman Problem by Genetic Algorithm
Presentation transcript:

Institute of Intelligent Power Electronics – IPE Page1 Introduction to Basics of Genetic Algorithms Docent Xiao-Zhi Gao Department of Electrical Engineering and Automation

Institute of Intelligent Power Electronics – IPE Page2 Background of Genetic Algorithms Genetic Algorithms (GA) are optimization methods based on ideas of natural selection and evolutionary processes [Holland 75] GA’s unique characteristics –Derivative free –Stochastic/Random and Global optimization –Parallel search GA are applied in optimization of complex systems with little information

Institute of Intelligent Power Electronics – IPE Page3 Charles Darwin ( )

Institute of Intelligent Power Electronics – IPE Page4 ’The Origin of Species’ by Darwin [1859]

Institute of Intelligent Power Electronics – IPE Page5 Species Evolution and Natural Selection

Institute of Intelligent Power Electronics – IPE Page6 Evolution of Human Beings?

Institute of Intelligent Power Electronics – IPE Page7 Evolution of Human Beings?

Institute of Intelligent Power Electronics – IPE Page8 Darwinian Paradigm Reproduction Competition SelectionSurvive

Institute of Intelligent Power Electronics – IPE Page9 John Henry Holland: Father of Genetic Algorithms –John Henry Holland (born on 2 February 1929) is a Professor of Electrical Engineering and Computer Science at the University of Michigan, Ann Arbor –Book ‘Adaptation in Natural and Artificial Systems’ (1975) – hn_Henry_Holland

Institute of Intelligent Power Electronics – IPE Page10 Conceptual Genetic Algorithms

Institute of Intelligent Power Electronics – IPE Page11 Procedure of Genetic Algorithms 1. Encode some possible/random solutions into bit strings (chromosomes), e.g, , and construct a population (group of chromosomes) –Float (real-valued) encoding is also possible 2. Evaluate these chromosomes, and calculate their fitnesses (i.e., how good they are) –Based on criteria function (fitness function ) 3. Create new chromosomes by using mutation and crossover operators on the existing chromosomes –Mutation and crossover probabilities

Institute of Intelligent Power Electronics – IPE Page12 Chromosome, Genes and Genomes

Institute of Intelligent Power Electronics – IPE Page13 Historical Terms in GA Binary strings: Genetic Algorithms Real-valued vectors : Evolution Strategies Finite state machines: Evolutionary Programming LISP trees: Genetic Programming etc.

Institute of Intelligent Power Electronics – IPE Page14 Mutation Operator Mutation Probability

Institute of Intelligent Power Electronics – IPE Page15 Crossover Operator Crossover Probability Two-Point Crossover One-Point Crossover

Institute of Intelligent Power Electronics – IPE Page16 Procedure of Genetic Algorithms 4. Evaluate new chromosomes, and calculate their fitnesses 5. Select the mostly fitted chromosomes using roulette selection scheme –Retain size of population fixed –Better fitted chromosomes must have higher possibilities of survival –Chromosome with the best fitness is always kept 6. Repeat above steps until a pre-set criteria is met

Institute of Intelligent Power Electronics – IPE Page17 Roulette Selection Scheme

Institute of Intelligent Power Electronics – IPE Page18 Flow Chart of Genetic Algorithms

Institute of Intelligent Power Electronics – IPE Page19 Structure of Genetic Algorithms Best Chromosomes

Institute of Intelligent Power Electronics – IPE Page20 Typical Behavior of GA

Institute of Intelligent Power Electronics – IPE Page21 Typical Run: Progression of Fitness

Institute of Intelligent Power Electronics – IPE Page22 GA as Problem Solvers: Goldberg’s 1989 View

Institute of Intelligent Power Electronics – IPE Page23 GA as Problem Solvers: Michalewicz’ 1996 View

Institute of Intelligent Power Electronics – IPE Page24 An Example: Traveling Salesman Problem (TSP) The Traveling Salesman Problem: Find a tour of a given set of cities so that –each city is visited only once –the total distance traveled is minimized

Institute of Intelligent Power Electronics – IPE Page25 Representation

Institute of Intelligent Power Electronics – IPE Page26 Crossover

Institute of Intelligent Power Electronics – IPE Page27 Mutation

Institute of Intelligent Power Electronics – IPE Page28 TSP Example: 30 Cities

Institute of Intelligent Power Electronics – IPE Page29 Solution i (Distance = 941)

Institute of Intelligent Power Electronics – IPE Page30 Solution j (Distance = 800)

Institute of Intelligent Power Electronics – IPE Page31 Solution k (Distance = 652)

Institute of Intelligent Power Electronics – IPE Page32 Best Solution (Distance = 420)

Institute of Intelligent Power Electronics – IPE Page33 Overview of Performance

Institute of Intelligent Power Electronics – IPE Page34 An Example: Maximization of ’Peak’ Function Using GA The ’peak’ function is defined as: It has two inputs: x and y The ’peak’ function is a highly nonlinear function, and has multiple local minima Maximization of ’peak’ function is hard

Institute of Intelligent Power Electronics – IPE Page35 ’Peak’ Function

Institute of Intelligent Power Electronics – IPE Page36 Initial Populations

Institute of Intelligent Power Electronics – IPE Page37 Populations After Five Generations

Institute of Intelligent Power Electronics – IPE Page38 Populations After 10 Generations

Institute of Intelligent Power Electronics – IPE Page39 Performance of GA Optimization

Institute of Intelligent Power Electronics – IPE Page40 Some GA Applications

Institute of Intelligent Power Electronics – IPE Page41 Reference David Fogel (born in 1964) is a pioneer in evolutionary computation (Ph.D. from University of California, San Diego in 1992). He is currently the CEO of the Natural Selection, Inc.

Institute of Intelligent Power Electronics – IPE Page42 Reference Evolutionary Computation: Toward a New Philosophy of Machine Intelligence by David Fogel, 2005

Institute of Intelligent Power Electronics – IPE Page43 Fusion of GA with Neural Networks GA can be employed to optimize the parameters and structures of neural networks –Parameter optimization –Structure optimization (how to encode?) GA-based optimization is a universal solution –Independent of problems to be solved

Institute of Intelligent Power Electronics – IPE Page44 An Example: GA-based Optimization of Elman Neural Network [Gao 00] Initial outputs of context nodes in Elman neural network play an important role in network prediction accuracy Hybrid training of Elman neural network consists of two parts –Gradient descent algorithm for weights –Genetic algorithms for initial context nodes outputs

Institute of Intelligent Power Electronics – IPE Page45 Elman Neural Network

Institute of Intelligent Power Electronics – IPE Page46 Training Procedure of Elman Neural Network with BP Learning

Institute of Intelligent Power Electronics – IPE Page47 GA-involved Optimization Process of Initial Context Nodes Outputs PE: Prediction Error

Institute of Intelligent Power Electronics – IPE Page48 Motor Fault Diagnosis Using Elman Neural Network with GA-aided Training

Institute of Intelligent Power Electronics – IPE Page49 Conclusions Basic knowledge and typical applications of GA are introduced –Numerous variants of GA exist [Fogel 06] GA can be used to handle data mining GA-based optimization is a quite time consuming procedure –Suitable for simulations on high-speed parallel processing computers –Fast GA are being investigated