PSO and ASO Variants/Hybrids/Example Applications & Results Lecture 12 of Biologically Inspired Computing Purpose: Not just to show variants/etc … for.

Slides:



Advertisements
Similar presentations
Computational Intelligence Winter Term 2011/12 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Advertisements

Computational Intelligence Winter Term 2013/14 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Biologically Inspired Computing: Operators for Evolutionary Algorithms
CS6800 Advanced Theory of Computation
Biologically Inspired Computation Really finishing off EC.
Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
1 APPENDIX A: TSP SOLVER USING GENETIC ALGORITHM.
Tuesday, May 14 Genetic Algorithms Handouts: Lecture Notes Question: when should there be an additional review session?
Biologically Inspired Computing: Evolutionary Algorithms: Encodings, Operators and Related Issues: Timetables and Groups This is a lecture seven of `Biologically.
Biologically Inspired Computation Lecture 10: Ant Colony Optimisation.
Biologically Inspired Computing: Selection and Reproduction Schemes This is DWC’s lecture three `Biologically Inspired Computing’
Hybridization of Search Meta-Heuristics Bob Buehler.
Optimization via Search CPSC 315 – Programming Studio Spring 2009 Project 2, Lecture 4 Adapted from slides of Yoonsuck Choe.
EA* A Hybrid Approach Robbie Hanson. What is it?  The A* algorithm, using an EA for the heuristic.  An efficient way of partitioning the search space.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Evolutionary Computational Intelligence Lecture 8: Memetic Algorithms Ferrante Neri University of Jyväskylä.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Biologically Inspired Computation Ant Colony Optimisation.
Universidad de los Andes-CODENSA The Continuous Genetic Algorithm.
Island Based GA for Optimization University of Guelph School of Engineering Hooman Homayounfar March 2003.
Genetic Algorithm.
CSM6120 Introduction to Intelligent Systems Other evolutionary algorithms.
Genetic Algorithms and Ant Colony Optimisation
Edward Kent Jason Atkin Rong Qi 1. Contents Vehicle Routing Problem VRP in Forestry Commissioning Loading Bay Constraints Ant Colony Optimisation Handing.
1 Paper Review for ENGG6140 Memetic Algorithms By: Jin Zeng Shaun Wang School of Engineering University of Guelph Mar. 18, 2002.
Slides are based on Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems.
Swarm Intelligence 虞台文.
G5BAIM Artificial Intelligence Methods Graham Kendall Ant Algorithms.
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Design & Analysis of Algorithms Combinatory optimization SCHOOL OF COMPUTING Pasi Fränti
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
Design of an Evolutionary Algorithm M&F, ch. 7 why I like this textbook and what I don’t like about it!
Outline Introduction Evolution Strategies Genetic Algorithm
Topics in Artificial Intelligence By Danny Kovach.
Object Oriented Programming Assignment Introduction Dr. Mike Spann
Biologically Inspired Computation Ant Colony Optimisation.
Chapter 4.1 Beyond “Classic” Search. What were the pieces necessary for “classic” search.
1 “Genetic Algorithms are good at taking large, potentially huge search spaces and navigating them, looking for optimal combinations of things, solutions.
1 Combinatorial Problem. 2 Graph Partition Undirected graph G=(V,E) V=V1  V2, V1  V2=  minimize the number of edges connect V1 and V2.
Genetic Algorithms. Evolutionary Methods Methods inspired by the process of biological evolution. Main ideas: Population of solutions Assign a score or.
2005MEE Software Engineering Lecture 11 – Optimisation Techniques.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
Learning by Simulating Evolution Artificial Intelligence CSMC February 21, 2002.
1 Genetic Algorithms and Ant Colony Optimisation.
Optimizing Pheromone Modification for Dynamic Ant Algorithms Ryan Ward TJHSST Computer Systems Lab 2006/2007 Testing To test the relative effectiveness.
Genetic Algorithms CSCI-2300 Introduction to Algorithms
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #12 2/20/02 Evolutionary Algorithms.
Biologically Inspired Computing: Evolutionary Algorithms: Some Details and Examples This is additional material for lecture 2 of `Biologically Inspired.
Biologically Inspired Computation Ant Colony Optimisation.
Artificial Intelligence Search Methodologies Dr Rong Qu School of Computer Science University of Nottingham Nottingham, NG8 1BB, UK
Resolution of the Location Routing Problem C. Duhamel, P. Lacomme C. Prins, C. Prodhon Université de Clermont-Ferrand II, LIMOS, France Université de Technologie.
1 Combinatorial Problem. 2 Graph Partition Undirected graph G=(V,E) V=V1  V2, V1  V2=  minimize the number of edges connect V1 and V2.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Genetic Algorithms. Solution Search in Problem Space.
Ant Colony Optimisation. Emergent Problem Solving in Lasius Niger ants, For Lasius Niger ants, [Franks, 89] observed: –regulation of nest temperature.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Breeding Swarms: A GA/PSO Hybrid 簡明昌 Author and Source Author: Matthew Settles and Terence Soule Source: GECCO 2005, p How to get: (\\nclab.csie.nctu.edu.tw\Repository\Journals-
 Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems n Introduction.
School of Computer Science & Engineering
Data Mining (and machine learning)
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
metaheuristic methods and their applications
Computational Intelligence
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Artificial Intelligence CIS 342
Computational Intelligence
Biologically Inspired Computing: Operators for Evolutionary Algorithms
Population Based Metaheuristics
Population Methods.
Presentation transcript:

PSO and ASO Variants/Hybrids/Example Applications & Results Lecture 12 of Biologically Inspired Computing Purpose: Not just to show variants/etc … for these specific algorithms, but to indicate these as examples of typical ways in which these and similar methods (especially EAs) are engineered, combined, etc … in attempt to get the best performance possible on a given problem.

Hybridisation A very common algorithm engineering method. It simply means: creating an algorithm that combines aspects of two or more different algorithms Very many hybridisations have been researched. E.g.: ACO + Local Search (e.g. hillclimbing) 1. Run 1 generation of ACO with m ants 2. Run LS on each of the m ants 3. Until a termination condition is reached, return to 1. EA + Local Search The same story, but these are called Memetic Algorithms

Hybridisation II Hybridisation with appropriate constructive heuristics is common, as you know. E.g. 1.Generate Initial Population with several runs of a stochastic constructive heuristic. 2.Carry on from there using ACO, PSO, or whatever. Another very common hybrid approach: 1.Run your standard, single method (e.g. an EA). 2.Take the best solution from 1, and run Local Search (e.g. hillclimbing) on it for a while to try to find improvements.

Adaptive Parameters All the algorithms we have looked at have parameters. E.g. Mutation rate, crossover rate, population size, number of ants, C1 and C2 in PSO, and so on. Instead of (say) keeping the mutation strength at 1 gene per chromosome, why not vary it during the algorithm run? Why? ALL search-based optimisation algorithms balance two things: Exploration: to boldly go where no chromosome/particle/ant/… has gone before. Reaching out to new areas of the search space. Exploitation: focussing narrowly on investigating the region close to the best so far point, in search of better points close by. Too much exploration? Too much exploitation? Much too slow progress – high risk/low reward Too often stuck in suboptimal areas

Questions re Adaptive Operators In PSO, let d be the average distance that a particle moves, at the beginning of the run. How does d change with time? What is d like after running the algorithm for a very long time? Is this a good thing? How important is C2 (influence of global best) at the beginning of the run, and at the end of the run? In an EA with both crossover and mutation? How important is mutation at the end and at the beginning of the run.

Various ways to control adaptation In EAs, it may seem sensible for mutation strength to start low, say at mS and gradually increase linearly, say to mF. (e.g. perhaps 1/L and 5/L). Given a limit of 1,000 generations, say, the rate will increase by a simply pre-calculated amount per generation. But this is not really adapting to the current situation in the search process. It may be fine for some problems, but on others the population may converge at 100 generations, or it may still be very diverse at 1,000 generations, or (of course), the rates themselves may be very unsuitable for the problem. So it is common to use `truly’ adaptive techniques that react to the current state of the population. The mutation rate may be based directly on measures of diversity in the current population, measures of success in the last few mutation events, and so on.

Useful metrics Distance between two individuals: Hamming distance: no. of genes that are different Euclidean distance: only suitable for …. ? Edge distance: Permutations 1. ABCDEF and 2. EDFABC are how different? Edge-sets: 1. AB, BC, CD, DE, EF, FA 2. AB, BC, CE, ED, DF, FA There are various ways to base a distance metric on edge sets Distance metric for grouping problems? Population diversity: Mean values and variances for each gene. Mean distance between pairs of individuals Others? Ants: Population diversity measures applied to set of ants’ solution Diversity measures for the amount of pheromome per linkures

Measure-based Adaptation Mutation strength = (where D varies from 0 (all the same) to 1 (maximally different) Or: a form of genewise mutation: Prob of mutating gene rises as the variance of that gene in the population falls. Or: Run EA as normal, but: pop diversity > Dthresh: only use crossover pop diversity < Dthresh – only use mutation. Or: Run PSO as normal, but: pop diversity < Dthresh: do one iteration where the particle velocities are randomly chosen, then move on.

The Vehicle Routing Problem Depot Customer A number of vehicles are at the depot. Each customer has to be visited precisely once. Each vehicle needs a route that takes it from the depot and back to the depot. What is the least cost (distance/fuel/vehicles) solution? Several vehicles normally needed, since (e.g. visiting 3 or 4 customers may take the whole day, but all customers need to be serviced today. Also, vehicles have capacity constraints.

2-opt mutation for TSP/VRP etc… Choose two edges at random

2-opt mutation for TSP/VRP etc… Choose two edges at random

2-opt mutation for TSP/VRP etc… Remove them

2-opt mutation for TSP/VRP etc… Reconnect in a different way (there is only one valid new way)

“2-Opt heuristic” 2-opt turns out to be an excellent mutation operator for the TSP and similar problems. The “2-opt heuristic” is an algorithm based on it. There are variants, But it comes down to Hillclimbing for n trials, until no further improvement its possible, using 2-opt as the mutation operator.

Bullnheimer et al (97) Ant System for the VRP Standard transition rule Extra pheromone is laid by the ant with best tour The main difference

Deviation from best-known solution (smaller is better) Run times Benchmark problems AS (ant) is pretty near state of the art, with good run times.

The [rectangular] Cutting Stock problem You have a number of shapes to cut out from a large sheet. How to do it, so as to minimise waste?

The [rectangular] Cutting Stock problem You have a number of shapes to cut out from a large sheet. How to do it, so as to minimise waste?