Embedded Algorithm in Hardware: A Scalable Compact Genetic Algorithm Prabhas Chongstitvatana Chulalongkorn University.

Slides:



Advertisements
Similar presentations
Applications of combinatorial optimisation Prabhas Chongstitvatana Faculty of Engineering Chulalongkorn University.
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
Applied Evolutionary Optimization Prabhas Chongstitvatana Chulalongkorn University.
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
Genetic Algorithms. Some Examples of Biologically Inspired AI Neural networks Evolutionary computation (e.g., genetic algorithms) Immune-system-inspired.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Introduction to Genetic Algorithms Yonatan Shichel.
Evolutionary Algorithms Simon M. Lucas. The basic idea Initialise a random population of individuals repeat { evaluate select vary (e.g. mutate or crossover)
Artificial Intelligence Genetic Algorithms and Applications of Genetic Algorithms in Compilers Prasad A. Kulkarni.
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.
“Dunarea de Jos” University of Galati-Romania Faculty of Electrical & Electronics Engineering Dep. of Electronics and Telecommunications Assoc. Prof. Rustem.
Genetic Algorithm What is a genetic algorithm? “Genetic Algorithms are defined as global optimization procedures that use an analogy of genetic evolution.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Evolutionary algorithms
Genetic Algorithm.
Genetic Algorithms and Ant Colony Optimisation
Evolutionary Intelligence
Introduction to Genetic Algorithms and Evolutionary Computation
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Intro. ANN & Fuzzy Systems Lecture 36 GENETIC ALGORITHM (1)
Genetic algorithms Prof Kang Li
Research in Computing: from curiosity to new theory and applications Prabhas Chongstitvatana Faculty of Engineering Chulalongkorn University.
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
More on Heuristics Genetic Algorithms (GA) Terminology Chromosome –candidate solution - {x 1, x 2,...., x n } Gene –variable - x j Allele –numerical.
Introduction to Evolutionary Algorithms Session 4 Jim Smith University of the West of England, UK May/June 2012.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
1/27 Discrete and Genetic Algorithms in Bioinformatics 許聞廉 中央研究院資訊所.
How to apply Genetic Algorithms Successfully Prabhas Chongstitvatana Chulalongkorn University 4 February 2013.
Artificial Intelligence Chapter 4. Machine Evolution.
Extended Finite-State Machine Inference with Parallel Ant Colony Based Algorithms PPSN’14 September 13, 2014 Daniil Chivilikhin PhD student ITMO.
Introduction to Evolutionary Computation Prabhas Chongstitvatana Chulalongkorn University WUNCA, Mahidol, 25 January 2011.
1 Genetic Algorithms and Ant Colony Optimisation.
Robots and Emotion Prabhas Chongstitvatana CRIT 2012.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Genetic Algorithms Chapter Description of Presentations
Neural Networks And Its Applications By Dr. Surya Chitra.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Current Practice in Evolutionary Computation Prabhas Chongstitvatana Faculty of Engineering Chulalongkorn University 15 June 2010.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Selection and Recombination Temi avanzati di Intelligenza Artificiale - Lecture 4 Prof. Vincenzo Cutello Department of Mathematics and Computer Science.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
EVOLUTIONARY SYSTEMS AND GENETIC ALGORITHMS NAME: AKSHITKUMAR PATEL STUDENT ID: GRAD POSITION PAPER.
George Yauneridge.  Machine learning basics  Types of learning algorithms  Genetic algorithm basics  Applications and the future of genetic algorithms.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
March 1, 2016Introduction to Artificial Intelligence Lecture 11: Machine Evolution 1 Let’s look at… Machine Evolution.
Prabhas Chongstitvatana Chulalongkorn University
Optimization by Quantum Computers
Quantum Computing and Artificial Intelligence
Evolutionary Algorithms Jim Whitehead
From Research To Innovation
Quantum Computing: an introduction
Programming Quantum Computers
Programming Quantum Computers
An evolutionary approach to solving complex problems
Building Quantum Computers
Artificial Intelligence Chapter 4. Machine Evolution
Evolutionist approach
Multi-Objective Optimization
Introduction to Artificial Intelligence Lecture 11: Machine Evolution
Artificial Intelligence Chapter 4. Machine Evolution
EE368 Soft Computing Genetic Algorithms.
Quantum Computing Prabhas Chongstitvatana Faculty of Engineering
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:

Embedded Algorithm in Hardware: A Scalable Compact Genetic Algorithm Prabhas Chongstitvatana Chulalongkorn University

What is Genetic Algorithms GA is a probabilistic search procedure to obtain solutions starting from a set of candidate solutions, using improving operators to “evolve” solutions. Improving operators are inspired by natural evolution.

Characteristics of GA Survival of the fittest. The objective function depends on the problem. GA is not a random search.

GA pseudo code GA initialise population P while not terminate evaluate P by fitness function P' = selection recombination mutation P P = P‘ terminating conditions: 1. found satisfactory solutions 2. waiting too long

Simple Genetic Algorithm represent a solution by binary string {0,1}* selection: chance to be selected is proportional to its fitness recombination single point crossover

Genetic Operators recombination select a cut point cut two parents, exchange parts AAAAAA AA AAAA cut at bit 2 AA AAAA exchange parts mutation single bit flip > flip at bit 4

What problem GA is good for? Highly multimodal functions Discrete or discontinuous functions High-dimensionality functions, including many combinatorial ones Nonlinear dependencies on parameters (interactions among parameters) -- “epistasis” Often used for approximating solutions to NPcomplete

Thai stock exchange prediction January 2003 – December 2004

Controller of a 7 DOF Bibed

1998 Synthesis of Synchronous Sequential Logic Circuits from Partial Input/Output Sequences. Two-Horn Chameleon (Bradypodion fischeri ssp.) in the Usambara mountains, Tanzania

2001 A Hardware Implementation of the Compact Genetic Algorithm Fabricate on FPGA, runs about 1,000 times faster than the software executing on a workstation.

Pseudocode of Compact GA

Hardware organization (population size = 256, chromosome length = 32)

Scalable Compact Genetic Algorithm in Hardware Jewajinda, Y. and Chongstitvatana, P. 2006

Pseudocode of the normal CoCGA cell 1.Generate two individual from the vector 2.Let them compete 3.Update the probability vector toward better one and lncrement Confidence Counter 4.Check if cc is incremented then Send p and cc to the group leader cell 5.Check if the vector has converged else goto step 1 6.probability vector represents the final solution

Pseudocode of the group leader 1.Check if cc of each neighbor is updated 2.Select the highest cc of all neighbors 3.Update p, with pcc with ccmax 4.Update new updated p, to all normal Cell for each neighbor cell of leader cells 5.Check if the vector has converged else goto step 1 6.p, represents the final solution

A Block of CGA cell

CoCGA with two neighbors

Speedup ONEMAXF1F2F3 CGA CoCGA speedup SPEEDUP COMPARISON BETWEEN CGA AND COCGA IN TERM OF MACHINE CYCLES (ONE MACHINE CYCLE IS EQUIVALENT To FOUR CLOCK CYCLES)

References Jewajinda, Y. and Chongstitvatana, P., "FPGA-based Online-learning using Parallel Genetic Algorithm and Neural Network for ECG Signal Classification," Proc. of ECTI Conf., May 2010, Chiengmai, Thailand. (Best paper award) Jewajinda, Y. and Chongstitvatana, P.,"FPGA Implementation of a Cellular Univariate Estimation of Distribution Algorithm and Block-based Neural Network as an Evolvable Hardware", IEEE Congress on Evolutionary Computation, Hong Kong, June 1-6, 2008, pp Jewajinda, Y. and Chongstitvatana, P., "A Cooperative Approach to Compact Genetic Algorithm for Evolvable Hardware", IEEE World Congress on Computational Intelligence, Vancouver, Canada, July 16-21, 2006, pp Niparnan, N. and Chongstitvatana, P., "An improved genetic algorithm for the inference of finite state machine", IEEE Int. Conf. on Systems, Man and Cybernetics, Vol.7, 2002, pp , Tunisia, 6-9 Oct, Aporntewan, C. and Chongstitvatana, P., "A Hardware Implementation of the Compact Genetic Algorithm", IEEE Congress on Evolutionary Computation, Seoul, Korea, May 27-30, 2001, pp Aporntewan, C., and Chongstitvatana, P., "An on-line evolvable hardware for learning finite-state machine", Proc. of Int. Conf. on Intelligent Technologies, Bangkok, December 13-15, 2000, pp

Teamwork