Soft Computing A Gentle introduction Richard P. Simpson.

Slides:



Advertisements
Similar presentations
Genetic Algorithms Chapter 3. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Genetic Algorithms GA Quick Overview Developed: USA in.
Advertisements

Student : Mateja Saković 3015/2011.  Genetic algorithms are based on evolution and natural selection  Evolution is any change across successive generations.
Tuesday, May 14 Genetic Algorithms Handouts: Lecture Notes Question: when should there be an additional review session?
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
Genetic Algorithms Representation of Candidate Solutions GAs on primarily two types of representations: –Binary-Coded –Real-Coded Binary-Coded GAs must.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Evolutionary Computational Intelligence
Introduction to Genetic Algorithms Yonatan Shichel.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
1 Simulated Annealing (Reading – Section 10.9 of NRC) Genetic Algorithms Optimisation Methods.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Soft Computing Paradigm
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Genetic Algorithm.
Evolutionary Intelligence
Genetic algorithms. Genetic Algorithms in a slide  Premise Evolution worked once (it produced us!), it might work again  Basics Pool of solutions Mate.
Introduction to Genetic Algorithms and Evolutionary Computation
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
10/6/2015 1Intelligent Systems and Soft Computing Lecture 0 What is Soft Computing.
Intro. ANN & Fuzzy Systems Lecture 36 GENETIC ALGORITHM (1)
Genetic algorithms Prof Kang Li
Genetic Algorithms Michael J. Watts
Genetic Algorithms Genetic algorithms imitate a natural optimization process: natural selection in evolution. Developed by John Holland at the University.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Fuzzy Genetic Algorithm
Genetic Algorithms Introduction Advanced. Simple Genetic Algorithms: Introduction What is it? In a Nutshell References The Pseudo Code Illustrations Applications.
GENETIC ALGORITHM A biologically inspired model of intelligence and the principles of biological evolution are applied to find solutions to difficult problems.
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
Kansas State University Department of Computing and Information Sciences CIS 732: Machine Learning and Pattern Recognition Friday, 16 February 2007 William.
Genetic Algorithms. Evolutionary Methods Methods inspired by the process of biological evolution. Main ideas: Population of solutions Assign a score or.
1 Genetic Algorithms K.Ganesh Introduction GAs and Simulated Annealing The Biology of Genetics The Logic of Genetic Programmes Demo Summary.
Introduction to Genetic Algorithms. Genetic Algorithms We’ve covered enough material that we can write programs that use genetic algorithms! –More advanced.
Edge Assembly Crossover
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
ECE 103 Engineering Programming Chapter 52 Generic Algorithm Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #12 2/20/02 Evolutionary Algorithms.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Genetic Algorithms MITM613 (Intelligent Systems).
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms. Underlying Concept  Charles Darwin outlined the principle of natural selection.  Natural Selection is the process by which evolution.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Genetic Algorithms. Solution Search in Problem Space.
EVOLUTIONARY SYSTEMS AND GENETIC ALGORITHMS NAME: AKSHITKUMAR PATEL STUDENT ID: GRAD POSITION PAPER.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Presented By: Farid, Alidoust Vahid, Akbari 18 th May IAUT University – Faculty.
 Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems n Introduction.
Introduction to Genetic Algorithms
Genetic Algorithms.
Artificial Intelligence Methods (AIM)
Basics of Genetic Algorithms (MidTerm – only in RED material)
Intelligent Systems and
GENETIC ALGORITHMS & MACHINE LEARNING
Dr. Unnikrishnan P.C. Professor, EEE
Basics of Genetic Algorithms
EE368 Soft Computing Genetic Algorithms.
Searching for solutions: Genetic Algorithms
A Gentle introduction Richard P. Simpson
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Presentation transcript:

Soft Computing A Gentle introduction Richard P. Simpson

Class Information Instructor: Me Office: 126E BSH Phone: Web Page: Note:Send to Antoinette and I with information indicating which class you are in and your status (grad or undergrad). DO THIS YESTERDAY!

What is Soft Computing? Soft Computing differs from conventional hard computing in that, unlike hard computing, it is tolerant of imprecision, uncertainty, partial truth, and approximation.(L.A. Zadeh) Hard Computing, the normal programming that you do, requires precise algorithms that generate the exact solution. Usually this requires a large amount of cpu time for complex problems.

Guiding principle Exploit the tolerance for imprecision, uncertainty and partial truth to achieve tractability, robustness and low solution cost. There are many intractable problems in the world that have no known polynomial time algorithm available for use to use. TSP Optimal VLSI layout etc

Examples of Soft Computing Techniques used in Soft Computing include Genetic Algorithms and other evolutionary methods Fuzzy Logic Neural Networks Machine Learning Probabilistic Reasoning.

Current Applications include handwriting recognition image processing and data compression Automotive systems and manufacturing decision –support systems Neurofuzzy systems Fuzzy logic control

Genetic algorithms

What is evolutionary computation? Why is this an interesting approach?

Genetic Algorithms Premise Evolution works biologically so maybe it will work with simulated environments. Here each possible solution (good or bad) is represented by a chromosome (ie a pattern of bits which is sort of synonymous to DNA) Determine the better solutions Mate these solutions to produce new solutions which are (hopefully!) occasionally better than the parents. Do this for many generations.

Originator John Holland and colleagues at the University of Michigan Developed GA’s during the 70’s Theoretical until the mid-1980s Originally was used to study the behavior of evolutionary systems in nature. Seminal work Adaptation in Natural and Artificial Systems introduced main GA concepts, 1975

Introduction Computing pioneers looked to natural systems as guiding metaphors Evolutionary computation Any biologically-motivated computing activity simulating natural evolution Genetic Algorithms are one form of this activity Genetic Programming is another

Main idea Take a population of candidate solutions to a given problem Use operators inspired by the mechanisms of natural genetic variation Apply selective pressure toward certain properties Evolve a more fit solution

Why evolution as a metaphor Ability to efficiently guide a search through a large solution space Ability to adapt solutions to changing environments “Emergent” behavior is the goal “The hoped-for emergent behavior is the design of high-quality solutions to difficult problems and the ability to adapt these solutions in the face of a changing environment”  Melanie Mitchell, An Introduction to Genetic Algorithms

Evolutionary terminology Abstractions imported from biology Chromosomes, Genes, Alleles Fitness, Selection Crossover, Mutation

GA terminology In the spirit – but not the letter – of biology GA chromosomes are strings of genes Each gene has a number of alleles; i.e., settings Each chromosome is an encoding of a solution to a problem A population of such chromosomes is operated on by a GA

Encoding A data structure for representing candidate solutions Often takes the form of a bit string Usually has internal structure; i.e., different parts of the string represent different aspects of the solution)

Crossover Mimics biological recombination Some portion of genetic material is swapped between chromosomes Typically the swapping produces an offspring Mechanism for the dissemination of “building blocks” (schemas)

Mutation Selects a random locus – gene location – with some probability and alters the allele at that locus The intuitive mechanism for the preservation of variety in the population

Fitness A measure of the goodness of the organism Expressed as the probability that the organism will live another cycle (generation) Basis for the natural selection simulation Organisms are selected to mate with probabilities proportional to their fitness Probabilistically better solutions have a better chance of conferring their building blocks to the next generation (cycle)

A Simple GA Generate initial population (current) do Calculate the fitness of each member do Select parents from current population where the probability of selection is an increasing function of fitness. Perform crossover and add offspring to the new population Mutate the offspring while new population is not full Replace current population with the new while not converged CurrentNew

How do GAs work The structure of a GA is relatively simple to comprehend, but the dynamic behavior is complex Holland has done significant work on the theoretical foundations of GAs “GAs work by discovering, emphasizing, and recombining good ‘building blocks’ of solutions in a highly parallel fashion.” Melanie Mitchell, paraphrasing John Holland

Lets Look at a simple example Suppose that we have a string of bits say 16 bits long. We would like to create a string of bits that have only 1 bits using evolutionary methods First we create a random population of 16 bit strings. Let popsize=100 We then define a fitness function f(s) that counts the number 1 bits in the string and returns that number.

Fitness Proportionate selection In this case the number of times an individual is expected to reproduce is equal to its fitness divided by the average of fitnesses in the populations. Roulette-wheel sampling is how we implement the above. This is conceptually equivalent to giving each individual a slice of a circular roulette wheel equal in area to the individual’s fitness.

Roulette Wheel sampling. Suppose we are dealing with 8 bit strings and we have the following population and associated fitnesses Cumulative distribution Let S= Sum of fitnesses Select random real number between 0 and S. Compare value to the sequence of partial sums to select individual. Higher fitness individuals have higher probability of selection.

Crossover Operator There are many ways to do crossovers. One of the simplest is call the single point crossover. Select pos. and swap. Example Fit P1 = P2 = O1 = O2 =

SO! Generate 100 random strings 16 bits long. do Fitness = sum of bits in each string do Select parents from current population using roulette wheel selection Perform the discussed crossover Mutate the offspring with low probability Add children to new population while new population is not full Replace current population with the new while not converged, whatever this means. This will converge to a string of one’s quite rapidly.