Parallel Computing in SAS. Genetic Algorithms Application Alejandro Correa, Banco Colpatria Andrés González, Banco Colpatria Darwin Amézquita, Banco Colpatria.

Slides:



Advertisements
Similar presentations
New Micro Genetic Algorithm for multi-user detection in WCDMA AZMI BIN AHMAD Borhanuddin Mohd Ali, Sabira Khatun, Azmi Hassan Dept of Computer and Communication.
Advertisements

NEURAL NETWORKS Backpropagation Algorithm
Yuri R. Tsoy, Vladimir G. Spitsyn, Department of Computer Engineering
CS6800 Advanced Theory of Computation
24th may Use of genetic algorithm for designing redundant sensor network Carine Gerkens Systèmes chimiques et conception de procédés Département.
Intelligent Control Methods Lecture 12: Genetic Algorithms Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Exact and heuristics algorithms
Institute of Intelligent Power Electronics – IPE Page1 Introduction to Basics of Genetic Algorithms Docent Xiao-Zhi Gao Department of Electrical Engineering.
A GENETIC ALGORITHM APPROACH TO SPACE LAYOUT PLANNING OPTIMIZATION Hoda Homayouni.
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
Parallelized Evolution System Onur Soysal, Erkin Bahçeci Erol Şahin Dept. of Computer Engineering Middle East Technical University.
Data Mining Techniques Outline
Prénom Nom Document Analysis: Artificial Neural Networks Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
Genetic algorithms for neural networks An introduction.
1 Genetic Algorithms. CS The Traditional Approach Ask an expert Adapt existing designs Trial and error.
PGA – Parallel Genetic Algorithm Hsuan Lee. Reference  E Cantú-Paz, A Survey on Parallel Genetic Algorithm, Calculateurs Paralleles, Reseaux et Systems.
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.
Genetic Algorithm What is a genetic algorithm? “Genetic Algorithms are defined as global optimization procedures that use an analogy of genetic evolution.
On the Application of Artificial Intelligence Techniques to the Quality Improvement of Industrial Processes P. Georgilakis N. Hatziargyriou Schneider ElectricNational.
Radial Basis Function Networks
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Particle Swarm Optimization Algorithms
A l a p a g o s : a generic distributed parallel genetic algorithm development platform Nicolas Kruchten 4 th year Engineering Science (Infrastructure.
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.
UWECE 539 Class Project Engine Operating Parameter Optimization using Genetic Algorithm ECE 539 –Introduction to Artificial Neural Networks and Fuzzy Systems.
Approximating the Algebraic Solution of Systems of Interval Linear Equations with Use of Neural Networks Nguyen Hoang Viet Michal Kleiber Institute of.
A Genetic Algorithms Approach to Feature Subset Selection Problem by Hasan Doğu TAŞKIRAN CS 550 – Machine Learning Workshop Department of Computer Engineering.
Evolving a Sigma-Pi Network as a Network Simulator by Justin Basilico.
Neural and Evolutionary Computing - Lecture 10 1 Parallel and Distributed Models in Evolutionary Computing  Motivation  Parallelization models  Distributed.
Integrating Neural Network and Genetic Algorithm to Solve Function Approximation Combined with Optimization Problem Term presentation for CSC7333 Machine.
C. Benatti, 3/15/2012, Slide 1 GA/ICA Workshop Carla Benatti 3/15/2012.
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.
An Introduction to Genetic Algorithm (GA) By: Dola Pathak For: STAT 992:Computational Statistics SPRING
Waqas Haider Khan Bangyal. Multi-Layer Perceptron (MLP)
Improved Gene Expression Programming to Solve the Inverse Problem for Ordinary Differential Equations Kangshun Li Professor, Ph.D Professor, Ph.D College.
Ensemble of ensemble of tree and neural network Louis Duclos-Gosselin.
NEURAL NETWORKS FOR DATA MINING
Neural Networks1 Introduction to NETLAB NETLAB is a Matlab toolbox for experimenting with neural networks Available from:
1 RECENT DEVELOPMENTS IN MULTILAYER PERCEPTRON NEURAL NETWORKS Walter H. Delashmit Lockheed Martin Missiles and Fire Control Dallas, TX 75265
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
Fuzzy Genetic Algorithm
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
Extended Finite-State Machine Inference with Parallel Ant Colony Based Algorithms PPSN’14 September 13, 2014 Daniil Chivilikhin PhD student ITMO.
A Parallel Genetic Algorithm with Distributed Environment Scheme
ELeaRNT: Evolutionary Learning of Rich Neural Network Topologies Authors: Slobodan Miletic 3078/2010 Nikola Jovanovic 3077/2010
 Based on observed functioning of human brain.  (Artificial Neural Networks (ANN)  Our view of neural networks is very simplistic.  We view a neural.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
PARALLELIZATION OF ARTIFICIAL NEURAL NETWORKS Joe Bradish CS5802 Fall 2015.
A l a p a g o s : a generic distributed parallel genetic algorithm development platform Nicolas Kruchten 4 th year Engineering Science (Infrastructure.
國立清華大學高速通訊與計算實驗室 NTHU High-Speed Communication & Computing Laboratory Optimal Provisioning for Elastic Service Oriented Virtual Network Request in Cloud.
Parallel Genetic Algorithms By Larry Hale and Trevor McCasland.
Hand-written character recognition
Genetic Algorithms. Underlying Concept  Charles Darwin outlined the principle of natural selection.  Natural Selection is the process by which evolution.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Agenda  INTRODUCTION  GENETIC ALGORITHMS  GENETIC ALGORITHMS FOR EXPLORING QUERY SPACE  SYSTEM ARCHITECTURE  THE EFFECT OF DIFFERENT MUTATION RATES.
Genetic Algorithm(GA)
Evolutionary Design of the Closed Loop Control on the Basis of NN-ANARX Model Using Genetic Algoritm.
Advanced AI – Session 7 Genetic Algorithm By: H.Nematzadeh.
Genetic (Evolutionary) Algorithms CEE 6410 David Rosenberg “Natural Selection or the Survival of the Fittest.” -- Charles Darwin.
Evolutionary Computation Evolving Neural Network Topologies.
CEng 713, Evolutionary Computation, Lecture Notes parallel Evolutionary Computation.
Bulgarian Academy of Sciences
Balancing of Parallel Two-Sided Assembly Lines via a GA based Approach
Genetic Algorithm Optimization for Selecting the Best Architecture of a Multi-Layer Perceptron Neural Network. A Credit Scoring Case Alejandro Correa,
Comparisons of Clustering Detection and Neural Network in E-Miner, Clementine and I-Miner Jong-Hee Lee and Yong-Seok Choi.
Presentation transcript:

Parallel Computing in SAS. Genetic Algorithms Application Alejandro Correa, Banco Colpatria Andrés González, Banco Colpatria Darwin Amézquita, Banco Colpatria

Contents  Introduction  General concepts  SAS PROC CONNECT  Genetic Algorithm  Parallel Genetic Algorithm  Methodology  Results  Conclusion

Introduction  Mitigate impact of credit risk.  Multi-Layer Perceptron (MLP) neural network as an tool for mitigate losses.  Architecture optimization by Genetic Algorithms (GA)  Correa, A. Gonzalez, C. Ladino. Genetic Algorithm Optimization for Selecting the Best Architecture of a Multi-Layer Perceptron Neural Network: A Credit Scoring Case.  PROC CONNECT SAS procedure.  Parallel Genetic Algorithm (PGA).

The problem  Reach the GA optimum results  Reduce expenditure of time in GA application

The solution  Parallelization  Optimize GA  Use full computational resources in a multi core computer  PROC CONNECT SAS procedure

General Concepts  SAS PROC CONNECT  The CONNECT procedure is one of the ways that a multiple local computers can connect to a server when both have SAS installed. »In this case several user can establish a connection to the server at the same time, each user use one processor. User 1 User 2 User 3

General Concepts  SAS PROC CONNECT  The CONNECT procedure is one of the ways that a multiple local computers can connect to a server when both have SAS installed. »One user can establish more than one connection to the server at the same time using different processors. User 1

ROC General Concepts  Genetic Algorithms  Technique that attempts to replicate natural evolution processes to solve different problems Define cost function, cost variables and GA parameters Generate Initial population Decode chromosomes Find cost for each chromosome Mating/Mutation Convergence Check Done Iterative process that emulates evolution Cost GA Parameters Gene Input Bias 1:Yes 0:No Input Bias 1:Yes 0:No Hidden activation Function 00:Linear 10:Logistic 01:Arc Tan 11:Hiperbolic Tan Hidden activation Function 00:Linear 10:Logistic 01:Arc Tan 11:Hiperbolic Tan Individual Individual Individual Individual Individual n Hidden Layer 00= 1 01= 2 10= 3 11= 4 Hidden Units 000= 1 001= 2 ……… 111= 8 Direct Connection 0= yes 1= no Hidden Layer Bias 0= yes 1= no Hidden Layer Activation Function 00=Logistic 01=Linear 10=Act Tan 11=Tan H Target Layer Activation Function 00=Logistic 01=Mlogistic 10=Softmax 11=Gauss Target Layer Bias 0= yes 1= no Father 1, ROC=78% Father 2 ROC=79% Son Son 1 mutated Convergence Criteria 1. Number of iterations 2. No change in the population 3. No improvement in cost function after some number of iterations 4. Others

General Concepts  Parallel Genetic Algorithms  Parallel genetic algorithms are modifications made to the genetic algorithms in order to make them more efficient in time spending, predictive power or improve another characteristic.  Because GA is a serial algorithm it doesn’t used the full computational resources available in a multi core computer.  There are several ways for parallelize an GA. »Master Slave Parallelization. »Synchronous. »Asynchronous. »Statistic subpopulation with migration. »Dynamic demes. »Others.

General Concepts  Parallel Genetic Algorithms  Master Slave Parallelization: This algorithm uses a single population and the evaluation of the individuals and the application of genetic operators are performed in parallel. Some process of GA are split in various sub-process. »Synchronous: »Master stops and wait to receive the fitness values for all the population before proceeding with the next generation. »Asynchronous: »The algorithm does not stop to wait for any slow processor.

Methodology  Parallelization Define cost function, cost variables and GA parameters Generate Initial population Decode chromosomes Mating/Mutation Convergence Check Done Parallelization Cost group 1 Calculate ROC Select mates Calculate Neural Network Cost group 2 Calculate ROC Calculate Neural Network Cost group 1 Calculate ROC Calculate Neural Network Cost group nCost group 2Cost group 1 Calculate ROC Calculate Neural Network Beginning of the process Slaves calculate neural networks and evaluate the fitness(ROC) Master selects the mates, makes mating/mutation and checks for convergence

Results Number of TimePredictive of CPU’s Power 1 9:26: % 2 4:19: % 4 2:29: % 8 1:11: % 16 0:35: % Time spent Number of Processors

Conclusions  The experimental results have shown that using PGA to optimize the architecture of a MLP neural network reach to the same result as the serial GA, but the time spent is reduced drastically.  The time reduction will depend of the number of slaves used to parallelize de GA.  Spent time is reduced from 9 to 1 hours using 16 slaves, which represents a reduction of 900%.  There’s still room for testing different parallelized versions of the GA.

THANK YOU

Contact information Darwin Amézquita Colpatria – Scotia Bank Bogotá, Colombia (+57) Alejandro Correa Colpatria – Scotia Bank Bogotá, Colombia (+57) Andrés González Colpatria – Scotia Bank Bogotá, Colombia (+57)