Professional Documents
Culture Documents
Share Lecture-25 3
Share Lecture-25 3
Share Lecture-25 3
───────────────
▪ An artificial Ant Colony System (ACS) is an agent-based system, which simulates the natural
behavior of ants and develops mechanisms of cooperation and learning. • ACS was proposed
by Dorigo et al. (997) as a new heuristic to solve combinatorial optimization problems.
▪ The main idea of ACO is to model a problem as the search for a minimum cost path in a
graph.
▪ Agents: Individuals that belong to a group (but are not necessarily identical)
▪ What is a Swarm? • They contribute to and benefit from the group • They can recognize,
communicate, and/or interact with each other • A swarm is better understood if thought of as
agents exhibiting a collective behavior • Termites swarm to build colonies • Birds swarm to find
food
▪ Examples of Swarms in Nature: • Classic Example: Swarm of Bees • Ant colony • Agents: ants
• Flock of birds • Agents: birds • Traffic • Agents: cars • Immune system • Agents: cells and
molecules
▪ hy Insects? • Insects have a few hundred brain cells • However, organized insects have been
known for: • Architectural marvels • Complex communication systems • Resistance to hazards in
nature
▪ Two Common SI Algorithms 1. Ant Colony Optimization • The study of artificial systems
modeled after the behavior of real ant colonies 2. Particle Swarm Optimization • A population
based stochastic optimization technique, Inspiration: Swarms of Bees etc
▪ Attributed features: • fast • good optimizer for real-valued optimisation • relatively much theory
▪ 2. The (+1)-ES
▪ Mutated individuals are only accepted if fitness of parent is improved • Typically applied to: •
application concerning shape optimization • numerical optimisation; • continuous parameter
optimisation • computational fluid dynamics etc
▪ The difference between GA and ES is the Representation and Survival selection mechanism
▪ EP algorithm is driven by two main evolutionary operators, namely mutation and selection.
▪ assigned to each individual, any of a number of selection methods can be used • Elitism: •
Tournament selection: • Proportional selection: • Nonlinear ranking selection • Etccc..
▪ EP is one of the four major evolutionary algorithm paradigms • Developed: USA 1960s •
Invented by: Dr. Lawrence J. Fogel
▪ Most common recombination • Exchange two randomly chosen subtrees among the parents •
Recombination has two parameters: • Probability Pc to choose recombination vs. mutation
▪ Like in most other EAs, genetic operators in GP are applied to individuals that are
probabilistically selected based on fitness.
▪ The most commonly employed method for selecting individuals in GP is, • Tournament
selection, • followed by Fitness- proportionate selection
▪ Initialising the Population • Similar to other EAs, in GP the individuals in the initial population
are randomly generated. • There are a number of different approaches • The most simplest
methods are, • The Full & Grow methods and Ramped half-and- half.
▪ In the Full method nodes are taken at random from the function set until this maximum tree
depth is reached, and beyond that depth only terminals can be chosen.
▪ The Grow method allows for the creation of trees of varying size and shape.
▪ In Ramped half-and-half method, half the initial population is constructed using Full and half is
constructed using Grow. • This is done using a range of depth limits, hence the term “ramped”
▪ Every terminal node has an operand, making mathematical expressions easy to evolve and
evaluate.
▪ Non-tree representations have been suggested and successfully implemented, such as linear
genetic programming which suits the more traditional imperative languages. • Most non-tree
representations have structurally noneffective code (introns).
▪ Its impact has been lessened by Moore’s law and paralel computing
▪ Genetic Programming • Developed: USA in the 1990’s • Early names: J. Koza • Typically
applied to: machine learning tasks (prediction, classification
▪ Genetic Programming • Attributed features: competes with neural nets and alike needs
huge populations (thousands) Slow • Special: non-linear chromoso: trees, graphs
mutation possible but not necessary (disputed!)
▪ Automotive Design • GAs are used to both design composite materials and aerodynamic
shapes for race cars and regular means of transportation, return combinations of best materials
to provide faster, lighter, fuel efficient vehicles.
▪ Robotics • GAs can be programmed to search for a range of optimal designs and components
for each specific use, or to return results for entirely new types of robots that can perform
multiple tasks and have more general application.
▪ Computer Gaming • Those who spend some of their time playing computer Sims games will
often find themselves playing against sophisticated AI GAs instead of against other human
players online
▪ Radiology • GAs have been applied for feature selection= to identify a region of interest in
mammograms • 7. Gene Expression Profiling • GAs=developed to make analysis of GEP much
quicker and easier.
▪ GA: Onemax problem • Algorithm • Produce an initialize population • find fitness of all
individuals in the population • while (termination criteria is reached) do • Select fitter individuals
as parent for reproduction • crossover with probability pc • mutation with probability pm •
Evaluate the fitness of the modified inividuals • Generate a new populatin • End whie
▪ Easy to exploit previous or alternate solutions • Flexible building blocks for hybrid applications
• Substantial history and range of use
▪ When to use GA • Alternate solutions are too slow or overly complicated • Need an exploratory
tool to examine new approaches • Problem is similar to one that has already been successfully
solved by using a GA • Want to hybridize with an existing solution
▪ There are three main types of operators (mutation, crossover and selection)
▪ hey are used to create and maintain genetic diversity, and select between solutions
▪ Mutation is fairly simple. • Just change the selected alleles based on what you feel is
necessary and move on.
▪ It give preference to better solutions, allowing them to pass on their 'genes' to the next
generation.
▪ It may also simply pass the best soln. from the current gen. directly to the next without being
mutated; this is known as elitism or elitist selection
▪ Popular and well-studied selection methods include roulette wheel selection and tournament
selection.
▪ Instead it uses "mapping" to code each continuous variable into an internal binary string of
fixed length.
▪ Such a mapping transforms the entire range of a continuous variable into a limited set of
binary coded numbers • The bigger the binary string, the larger the search space.
▪ GA does not require any auxillary information except yhe objective function values.
▪ This nature of narrowing the search spaceas the search progresses ,is adaptive and is the
unique characteristic of Genetic Al
▪ The method chosen for any particular case will depends on the character of the objective
function, the nature of the constraints & the no. of indep. & dep. variables..
▪ The current literature identifies three main search methods, • Calculus-based, enumerative
and random
▪ The major difficulty arises when one algorithm is applied to solve a number of different
problems. • This is because each classical method is designed to solve only a particular class of
problems efficeiently
▪ most classical methods do not have the global perspective and often get converged to a locally
optimal solution.
▪ Uses concepts of “Natural Selection” and “Genetic Inheritance” • Provide efficient, effective
techniques for optimization and machine learning applications • Developed by John Holland his
colleagues and students at the University of Michigan (1970’s