Www.kovan.ceng.metu.edu.tr Parallelized Evolution System Onur Soysal, Erkin Bahçeci Erol Şahin Dept. of Computer Engineering Middle East Technical University.

Slides:



Advertisements
Similar presentations
Genetic Algorithms (Evolutionary Computing) Genetic Algorithms are used to try to “evolve” the solution to a problem Generate prototype solutions called.
Advertisements

1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Master/Slave Architecture Pattern Source: Pattern-Oriented Software Architecture, Vol. 1, Buschmann, et al.
Bio-Inspired Optimization. Our Journey – For the remainder of the course A brief review of classical optimization methods The basics of several stochastic.
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
Institute of Intelligent Power Electronics – IPE Page1 Introduction to Basics of Genetic Algorithms Docent Xiao-Zhi Gao Department of Electrical Engineering.
Genetic Algorithms1 COMP305. Part II. Genetic Algorithms.
The Bio-Networking Architecture: Adaptation of Network Applications through Biological Evolution Jun Suzuki and Tatsuya Suda {jsuzuki,
Design of Autonomous Navigation Controllers for Unmanned Aerial Vehicles using Multi-objective Genetic Programming Gregory J. Barlow March 19, 2004.
Genetic Algorithms Learning Machines for knowledge discovery.
Natural Computation: computational models inspired by nature Dr. Daniel Tauritz Department of Computer Science University of Missouri-Rolla CS347 Lecture.
Artificial Intelligence Genetic Algorithms and Applications of Genetic Algorithms in Compilers Prasad A. Kulkarni.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Coordinative Behavior in Evolutionary Multi-agent System by Genetic Algorithm Chuan-Kang Ting – Page: 1 International Graduate School of Dynamic Intelligent.
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.
A l a p a g o s : a generic distributed parallel genetic algorithm development platform Nicolas Kruchten 4 th year Engineering Science (Infrastructure.
1 Reasons for parallelization Can we make GA faster? One of the most promising choices is to use parallel implementations. The reasons for parallelization.
컴퓨터 그래픽스 분야의 캐릭터 자동생성을 위하여 인공생명의 여러 가지 방법론이 어떻게 적용될 수 있는지 이해
CHAPTER 12 ADVANCED INTELLIGENT SYSTEMS © 2005 Prentice Hall, Decision Support Systems and Intelligent Systems, 7th Edition, Turban, Aronson, and Liang.
STRATEGIES INVOLVED IN REMOTE COMPUTATION
Development in hardware – Why? Option: array of custom processing nodes Step 1: analyze the application and extract the component tasks Step 2: design.
An Approach of Artificial Intelligence Application for Laboratory Tests Evaluation Ş.l.univ.dr.ing. Corina SĂVULESCU University of Piteşti.
1 Artificial Evolution: From Clusters to GRID Erol Şahin Cevat Şener Dept. of Computer Engineering Middle East Technical University Ankara.
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.
Soft Computing Lecture 18 Foundations of genetic algorithms (GA). Using of GA.
Evolution Strategies Evolutionary Programming Genetic Programming Michael J. Watts
Improved Gene Expression Programming to Solve the Inverse Problem for Ordinary Differential Equations Kangshun Li Professor, Ph.D Professor, Ph.D College.
Genetic algorithms Prof Kang Li
Study on Genetic Network Programming (GNP) with Learning and Evolution Hirasawa laboratory, Artificial Intelligence section Information architecture field.
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
Genetic Algorithms Michael J. Watts
Loosely Coupled Parallelism: Clusters. Context We have studied older archictures for loosely coupled parallelism, such as mesh’s, hypercubes etc, which.
Genetic Programming on General Purpose Graphics Processing Units (GPGPGPU) Muhammad Iqbal Evolutionary Computation Research Group School of Engineering.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms Genetic Algorithms – What are they? And how they are inspired from evolution. Operators and Definitions in Genetic Algorithms paradigm.
Fuzzy Genetic Algorithm
Evolving Virtual Creatures & Evolving 3D Morphology and Behavior by Competition Papers by Karl Sims Presented by Sarah Waziruddin.
1 “Genetic Algorithms are good at taking large, potentially huge search spaces and navigating them, looking for optimal combinations of things, solutions.
Neural and Evolutionary Computing - Lecture 9 1 Evolutionary Neural Networks Design  Motivation  Evolutionary training  Evolutionary design of the architecture.
Issues Autonomic operation (fault tolerance) Minimize interference to applications Hardware support for new operating systems Resource management (global.
G ENETIC A LGORITHMS Ranga Rodrigo March 5,
Blue Brain Project Carlos Osuna, Carlos Aguado, Fabien Delalondre.
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
 Based on observed functioning of human brain.  (Artificial Neural Networks (ANN)  Our view of neural networks is very simplistic.  We view a neural.
1. Genetic Algorithms: An Overview  Objectives - Studying basic principle of GA - Understanding applications in prisoner’s dilemma & sorting network.
CITS7212: Computational Intelligence An Overview of Core CI Technologies Lyndon While.
Parallel Genetic Algorithms By Larry Hale and Trevor McCasland.
A field of study that encompasses computational techniques for performing tasks that require intelligence when performed by humans. Simulation of human.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Multi-cellular paradigm The molecular level can support self- replication (and self- repair). But we also need cells that can be designed to fit the specific.
Genetic Algorithms. Solution Search in Problem Space.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Evolving robot brains using vision Lisa Meeden Computer Science Department Swarthmore College.
Genetic Algorithm(GA)
March 1, 2016Introduction to Artificial Intelligence Lecture 11: Machine Evolution 1 Let’s look at… Machine Evolution.
Presented By: Farid, Alidoust Vahid, Akbari 18 th May IAUT University – Faculty.
CEng 713, Evolutionary Computation, Lecture Notes parallel Evolutionary Computation.
Evolution Strategies Evolutionary Programming
Introduction to Artificial Intelligence Lecture 11: Machine Evolution
Dr. Unnikrishnan P.C. Professor, EEE
CHAPTER I. of EVOLUTIONARY ROBOTICS Stefano Nolfi and Dario Floreano
Lecture 4. Niching and Speciation (1)
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Presentation transcript:

Parallelized Evolution System Onur Soysal, Erkin Bahçeci Erol Şahin Dept. of Computer Engineering Middle East Technical University ISCIS’03 04/11/2003

ISCIS’03www.kovan.ceng.metu.edu.tr Evolutionary Methods Simulation of Natural Evolution Using evolution mechanisms to solve optimization problems Survival of the fittest Generation n Chrom.1: Chrom.2: Generation n+1 Select Reproduce Mutate Chrom.1: Chrom.2: Population n Population n+1

ISCIS’03www.kovan.ceng.metu.edu.tr Genetic Algorithms Encoding Binary representation Stochastic search Guided by measure of fitness Problem-specific fitness function Genetic operators Mutation Crossover

ISCIS’03www.kovan.ceng.metu.edu.tr Evolutionary Robotics Motivation Controller: Sensor-actuator relationship Difficult to design manually in nontrivial tasks To be in the shoes of a robot? Solutions of evolutionary robotics Evolving controllers SensorsActuators Controller ???

ISCIS’03www.kovan.ceng.metu.edu.tr Genotype  Phenotype: Generic Controller Sensor data Actuator outputs Convert to controller parameters Use the controller in robots Controller Chromosome

ISCIS’03www.kovan.ceng.metu.edu.tr Genotype  Phenotype: Neural Network Controller Sensor data Actuator outputs Convert to neural network weights Use the neural network to control robots Chromosome

ISCIS’03www.kovan.ceng.metu.edu.tr Fitness Evaluation Use controller on physical robots on simulated robots Observe behavior Calculate fitness value Repeat for each generation for each chromosome

ISCIS’03www.kovan.ceng.metu.edu.tr Physics Based Simulation Importance of realistic simulations Pros Much faster runtime compared to physical implementation Behavioral similarity to physical robots Realistic interactions Cons High processing demand! Example libraries: ODE, Vortex, Havok

ISCIS’03www.kovan.ceng.metu.edu.tr Single Machine Limitations Computation required Solving Ordinary Differential Equations Increasing complexity with more collisions Time estimates for single computer Order of minutes for a single evaluation For 100 chromosomes and 100 generations Total time > a week on a single machine

ISCIS’03www.kovan.ceng.metu.edu.tr Cluster Computing Cheap alternative to supercomputers Large-grained problems Example application Search for Extraterrestrial Intelligence at home

ISCIS’03www.kovan.ceng.metu.edu.tr Cluster Computing Solution to Evolutionary Robotics Fitness evaluations dominate computation time Fitness evaluations are independent Master-Slave model Master: GA Slaves: Fitness evaluations

ISCIS’03www.kovan.ceng.metu.edu.tr Parallel Evolution System (PES) Parallel Genetic Algorithm library Distributed fitness evaluation Central genetic algorithm Supports interoperability of multiple platforms

ISCIS’03www.kovan.ceng.metu.edu.tr PES Architecture Server: GA Clients: Fitness evaluation PES-C Client Application PES-S Server Application

ISCIS’03www.kovan.ceng.metu.edu.tr PES Communication Model PES Network Adapter PES-C PES Network Adapter PES-S Ping mechanism Task and result packets ping ping reply task result

ISCIS’03www.kovan.ceng.metu.edu.tr PES-S Architecture Server Application GA Engine Task Manager PES-S Task generator Best solutions Network Adapter

ISCIS’03www.kovan.ceng.metu.edu.tr PES-C Architecture Client Application Network Adapter Task Fitness PES-C

ISCIS’03www.kovan.ceng.metu.edu.tr PES Usage: Server Server Code #include int main() { PES_INIT(); for each generation { PES_EVAL_INDIVIDUALS(); PES_NEXT_GENERATION(); } }

ISCIS’03www.kovan.ceng.metu.edu.tr PES Usage: Client Client Code #include int main() { PES_INIT(); while true { RECEIVE_TASK(); EVAL_TASK(); SEND_RESULT(); } }

ISCIS’03www.kovan.ceng.metu.edu.tr PES Features Multi-platform support Linux and Windows via PVM Improved fault tolerance Ping mechanism to detect non-responding clients Supplies GA facilities Built-in crossover, mutation and selection functions Simplified usage Automatic task distribution / fitness collection Single line for evaluating fitness of whole population Basic load balancing

ISCIS’03www.kovan.ceng.metu.edu.tr Our Application Task: Aggregation Getting 10 robots as close as possible Minimal sensors and communication Modified single layer NN for control No memory/learning No world knowledge Probabilistic inputs Fitness evaluation 2000 steps of simulation Total distance as fitness measure R

ISCIS’03www.kovan.ceng.metu.edu.tr Sample Application Results

ISCIS’03www.kovan.ceng.metu.edu.tr Processor Load Balancing Dynamic simulation Varying number of collisions Varying task complexity Varying processor load Diamonds: tasks Solid lines: Start of new generation

ISCIS’03www.kovan.ceng.metu.edu.tr Fault Tolerance Processor 2 fails Detected at ping at 15 th sec Task restart at 19 th sec Red lines: Ping Blue lines: Generation Numbers: Task index

ISCIS’03www.kovan.ceng.metu.edu.tr Efficiency & Speedup

ISCIS’03www.kovan.ceng.metu.edu.tr Discussions & Future Work Generation gap Asynchronous reproduction Dynamic host list Progress monitor Extension to the Internet

ISCIS’03www.kovan.ceng.metu.edu.tr PES Sources & Documentation Source distribution under Gnu Public License (GPL) User manual Functional reference Sample applications