Reactive Agents to Improve a Parallel Genetic Algorithm Solution Ana Laureano 1, José de la Cruz 1, Javier Ramírez 1 and Julio Solano 2 1 Universidad Autónoma.

Slides:



Advertisements
Similar presentations
QoS-based Management of Multiple Shared Resources in Dynamic Real-Time Systems Klaus Ecker, Frank Drews School of EECS, Ohio University, Athens, OH {ecker,
Advertisements

Hash Tables.
Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.
Constraint Optimization We are interested in the general non-linear programming problem like the following Find x which optimizes f(x) subject to gi(x)
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
On the Genetic Evolution of a Perfect Tic-Tac-Toe Strategy
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
MAE 552 – Heuristic Optimization Lecture 6 February 6, 2002.
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Applications of Evolutionary Computation in the Analysis of Factors Influencing the Evolution of Human Language Alex Decker.
Ant Colonies As Logistic Processes Optimizers
MAE 552 – Heuristic Optimization
PGA – Parallel Genetic Algorithm Hsuan Lee. Reference  E Cantú-Paz, A Survey on Parallel Genetic Algorithm, Calculateurs Paralleles, Reseaux et Systems.
Evolutionary Computational Intelligence Lecture 8: Memetic Algorithms Ferrante Neri University of Jyväskylä.
Strategies for Implementing Dynamic Load Sharing.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
TUDelft Knowledge Based Systems Group Zuidplantsoen BZ Delft, The Netherlands Roland van der Put Léon Rothkrantz Routing in packet switched networks.
Genetic Algorithm What is a genetic algorithm? “Genetic Algorithms are defined as global optimization procedures that use an analogy of genetic evolution.
Sampling Concepts Population: Population refers to any group of people or objects that form the subject of study in a particular survey and are similar.
Pipelined Two Step Iterative Matching Algorithms for CIOQ Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York, Stony Brook.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Marcus Gallagher and Mark Ledwich School of Information Technology and Electrical Engineering University of Queensland, Australia Sumaira Saeed Evolving.
Agent-based Simulation of Financial Markets Ilker Ersoy.
Particle Swarm Optimization Algorithms
Island Based GA for Optimization University of Guelph School of Engineering Hooman Homayounfar March 2003.
1 Reasons for parallelization Can we make GA faster? One of the most promising choices is to use parallel implementations. The reasons for parallelization.
Parallel Genetic Algorithms with Distributed-Environment Multiple Population Scheme M.Miki T.Hiroyasu K.Hatanaka Doshisha University,Kyoto,Japan.
Genetic Algorithm.
© Negnevitsky, Pearson Education, CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Optimal n fe Tian-Li Yu & Kai-Chun Fan. n fe n fe = Population Size × Convergence Time n fe is one of the common used metrics to measure the performance.
1 Paper Review for ENGG6140 Memetic Algorithms By: Jin Zeng Shaun Wang School of Engineering University of Guelph Mar. 18, 2002.
Hierarchical Distributed Genetic Algorithm for Image Segmentation Hanchuan Peng, Fuhui Long*, Zheru Chi, and Wanshi Siu {fhlong, phc,
GATree: Genetically Evolved Decision Trees 전자전기컴퓨터공학과 데이터베이스 연구실 G 김태종.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Session 2a, 10th June 2008 ICT-MobileSummit 2008 Copyright E3 project, BUPT Autonomic Joint Session Admission Control using Reinforcement Learning.
Comparison of Differential Evolution and Genetic Algorithm in the Design of a 2MW Permanent Magnet Wind Generator A.D.Lilla, M.A.Khan, P.Barendse Department.
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
(Particle Swarm Optimisation)
Evolving Virtual Creatures & Evolving 3D Morphology and Behavior by Competition Papers by Karl Sims Presented by Sarah Waziruddin.
Doshisha Univ., Kyoto, Japan CEC2003 Adaptive Temperature Schedule Determined by Genetic Algorithm for Parallel Simulated Annealing Doshisha University,
1 A New Method for Composite System Annualized Reliability Indices Based on Genetic Algorithms Nader Samaan, Student,IEEE Dr. C. Singh, Fellow, IEEE Department.
© Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
Project funded by the Future and Emerging Technologies arm of the IST Programme FET-Open scheme Project funded by the Future and Emerging Technologies.
Artificial intelligence methods in the CO 2 permission market simulation Jarosław Stańczak *, Piotr Pałka **, Zbigniew Nahorski * * Systems Research Institute,
Algorithms and their Applications CS2004 ( ) 13.1 Further Evolutionary Computation.
A Parallel Genetic Algorithm with Distributed Environment Scheme
Controlling the Behavior of Swarm Systems Zachary Kurtz CMSC 601, 5/4/
Genetic Algorithms Czech Technical University in Prague, Faculty of Electrical Engineering Ondřej Vaněk, Agent Technology Center ZUI 2011.
By Naeem Amjad 1.  Challenges  Introduction  Motivation  First Order Radio Model  Proposed Scheme  Simulations And Results  Conclusion 2.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Path Planning Based on Ant Colony Algorithm and Distributed Local Navigation for Multi-Robot Systems International Conference on Mechatronics and Automation.
Selection Methods Choosing the individuals in the population that will create offspring for the next generation. Richard P. Simpson.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
Robot Intelligence Technology Lab. Evolutionary Robotics Chapter 3. How to Evolve Robots Chi-Ho Lee.
EVOLUTIONARY SYSTEMS AND GENETIC ALGORITHMS NAME: AKSHITKUMAR PATEL STUDENT ID: GRAD POSITION PAPER.
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-
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Routing Protocols to Maximize Battery Efficiency
Selected Topics in CI I Genetic Programming Dr. Widodo Budiharto 2014.
Evolving the goal priorities of autonomous agents
Rule Induction for Classification Using
○ Hisashi Shimosaka (Doshisha University)
Boltzmann Machine (BM) (§6.4)
Modeling and Simulation: Exploring Dynamic System Behaviour
Presentation transcript:

Reactive Agents to Improve a Parallel Genetic Algorithm Solution Ana Laureano 1, José de la Cruz 1, Javier Ramírez 1 and Julio Solano 2 1 Universidad Autónoma Metropolitana - Azcapotzalco 2 DISCA - IIMAS / UNAM

MultiAgentArchitecture Reactive Agents 80s Brooks Exhausitive representation of the real world The behaviour is emergent and it is dependent on the perception of the environment at a given instant

Agents based on behaviour A constant interaction with the environment Control mechanism allowing them to work with limited resources and incomplete information The advange of the use, lies in the speed of adaptation to unforeseen situations

Proposal... Analysis and design of reactive agents based Bottom-up design mecahnism Maes Laureano, de Arriaga and García-Alegre

To improve a genetic algorithm Parallel genetic algorithm Efficiency of the classification of a universal set in two independent subsets The balance between the capacity to converge to an optimum and the ability to explore new regions (p m, p c ) p m, p c are varied adaptively according to the fitness values of the solution

To improve a genetic algorithm This architecture is implmented by establishing a similarity between the desires espressed by MAES Eating Exploring Fleenig Interchange individuals Improve the quality of the solution

Design of the Reactive Genetic Algorithm Maes: Artificial creatures Beahviours (eating, drinking, exploring, going- towards-food, going-towards-water, sleeping, fighting, fleeing-from-creature, going-towards- creature, and dodging-obstacle) Motivations (thirst, hunger, sleepiness, fear, tiredness, safety and agressiveness) Virtulal environment (water, food, another creature, an obstacle )

Each behaviour is associated with: an activation level represented by a real number a set of conditions a threshold, represented by a real number

Behavior activation mechanisms are represented by : the creatures desire to perform a given behaviour the present situation: the environment influences the creatures desires activation through the precedent

Parallel Genetic Algorithm with Reactive Characteristics The purpose of incorporating a reactive behavior in the PGA, is improve the overall performance by up-dating the sub-populations according to the general behaviour of the algorithm avoiding getting stuck in local minima

The Reactive Parallel Genetic Algorithm (RPGA) will be able to send and receive individuals from and to any other sub- population. The former, at the time required, by observing the stimuli presented by the environment at a given time.

Characteristics and elements that will substitute the traditional migration mechanism: A sub-population might send individuals to another sub-population in any generation. There is no need for both sub-populations to be synchronized. The sender does not know in what generation, nor to whom will it send individuals, until the very moment they are sent.

Due to the reactive migration plan, several cases can arise in the individuals interchange stages. These go from the minimal case in which in a given generation no population sends any individuals, to the maximum one in which, given a generation, all the populations send individuals to the n - 1 remaining ones. All the subsets of ordered pairs of the set of sub-populations must be considered.

In each generation, each sub-population (GA) must verify if individuals from other sub- populations have arrived. The former due to the lack of synchronization and migration topology. For that reason, all the sub-populations (GA), must check a special buffer, which will be called the station. If the station is empty, the GA continues on its task; if it is not, the individuals are extracted and added to the sub-population.

The sending of individuals from one sub-population to another is determined by certain non-deterministic impulses assigned to each GA. Those impulses would be controlled by a mechanism similar to the one used by MAES to simulate the behavior of simple creatures in a dynamic environment.

The new concepts are defined below: Migration Limit : is a value representing the limit that the migration impulse must surpass Migration Impulse : is a value representing the GAs desire of sending individuals to a specific sub-population Stimulus Range : is an interval comprising the allowed values of the stimulus in order to increment the migration impulse. The generated value will be called stimulus and it will be added to the present value of the migration impulse

An important aspect of the GA is the quality of the solution. For that reason, a mechanism is included in which each population requests to the n-1 remaining sub-populations the sending of individuals. Such request will be made based on the time elapsed from the last time the former best solution was improved. The time interval (number of generations) elapsed without improvement will be called improvement limit.

When in a GA a number of generations have passed and the improvement limit did not change, it sends a message to the other n-1 GAs. This message is interpreted as a request for individuals from the sender. The former will allow the rest of the GAs (sub-populations) to send their own individuals.

Generate Initial Population Do While Population Evolution Criterion not Fulfilled Find Aptitude Select Individuals Cross Individuals Mutate Individuals Increment Migration Impulse If (Requests Arrived), Then Increment Migration Impulse End If If (Migration_Impulse > Migration_Limit), Then Send Individuals End If If (individuals arrived), Then Add Individuals to Population End If If (solution not Improved in given time) Then Send Individuals Request End If End Do

Experiments: We had available a set of 201 samples: 49 from group from group 2 Comparison between genetic algorithms according to the effectiveness of each one, in order to classify accurately each individual in its proper group. An objective function was designed for this purpose, determining the number of successes for each individual in the population.

where: n is the number of samples from group 1. m is the number of samples from group 2. C a constant, used to assign a greater weight to successes in samples from group 1.

Two types of mutation were used: static and dynamic for A ind > A avg p m = k 2 for A ind A avg where: p m = mutation probability. A max = aptitude of the best individual of the population in that generation. A avg = average aptitude of all individuals of the population in the generation. A ind = aptitude of the individual for which p m is being estimated. k 1 = 0.5 k 2 = 0.25

Parameters and Configuration The RPGA uses a maximum of 2000 generations. The universal stochastic selection method of reproduction is applied. The crossing mechanism is a discrete one with a probability of 1.0. The mutation mechanism is based on the one proposed by Mühlenbein and Schilerkamp-Voosen. The mutation probability is dynamic, based on the work of Patniak and Mandavilli.

Parallel Genetic Algorithm Reactive Genetic Algorithm Run Time Aptitude Effect Time Aptitude Effect Avera Table 1. Static mutation

Parallel Genetic Algorithm Reactive Genetic Algorithm Run Time Aptitude Effect Time Aptitude Effect Avera Table 2. Dynamic mutation

The RPGA has available a population of 800 individuals. The best results were obtained when it was divided into 8 sub- populations of 100 each. Members of the population migrate using the reactive mechanism with a migration percentage of 10%. In order to implement a reactive migration scheme, several runs were conducted. The best results were obtained for migration rates of: 10, 15 and 20. To save communications we choose 20 as migration limit. Therefore, migration impulses are set to zero and progressively increased in each generation randomly

Conclusions A migration mechanism for genetic algorithms controlled by reactive agents is presented. The results obtained show that both algorithms present their best results when dynamic mutation is used, the RPGA being the best for classifying, with a mean effectiveness percentage of 95.20%, while the PGA reaches 94.55%.

Conclusions In that way the RPGA can be considered as an efficient method for the solution of complex problems. Even if the computing time of the RPGA is larger, it has however a practical advantage, a higher classification average.