1 / 13

Scaling Genetic Algorithms using MapReduce

Abhishek Verma , Xavier Llora , David E. Goldberg, Roy H. Campbell. Scaling Genetic Algorithms using MapReduce. Motivation. Genetic Algorithms ( GAs ) applied to very large scale data- intensive problems Current approach: MPI Requires detailed knowledge of h/w architecture

telma
Download Presentation

Scaling Genetic Algorithms using MapReduce

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AbhishekVerma, Xavier Llora, David E. Goldberg, Roy H. Campbell Scaling Genetic Algorithms using MapReduce

  2. Motivation • Genetic Algorithms (GAs) • applied to very large scale data-intensiveproblems • Current approach: MPI • Requires detailed knowledge of h/w architecture • Complicated to program, debug, checkpoint • Does not scale on commodity clusters • MapReduce: simple and scalable abstraction • Use MapReduce to scale GAs Intelligent Systems Design and Applications 2009

  3. Outline • Motivation • MapReduce • Genetic Algorithm • Approach • Experimental Results • Conclusion Intelligent Systems Design and Applications 2009

  4. k1 v1 k1 v1 k2 v2 k1 v3 k1 v3 k1 v5 k2 v2 k2 v4 k2 v4 k1 v5 MapReduce Overview Input records h(k1) Output records Map Reduce h(k1) h(k2) Split h(k1) Reduce Map h(k2) Split Shuffle Intelligent Systems Design and Applications 2009

  5. Genetic Algorithm • Initialize population with random individuals. • Evaluate fitness value of individuals. • Select good solutions by using tournament selection without replacement. • Create new individuals by recombining the selected population using uniform crossover. • Evaluate the fitness value of all offspring. • Repeat steps 3-5 until some convergence criteria are met. Intelligent Systems Design and Applications 2009

  6. Genetic Algorithm • Initialize population with random individuals. • Evaluate fitness value of individuals. • Repeat steps 4-5 to 2 until some convergence criteria are met. • Select good solutions by using tournament selection without replacement. • Create new individuals by recombining the selected population using uniform crossover. Map Reduce Intelligent Systems Design and Applications 2009

  7. MapReducing Genetic Algorithm Random partitioner 00010 10000 01001 <00010, 1> <10000, 1> <01001, 2> Map 10110 00001 Reduce <01001, 2> 10001 01000 10001 01000 Reduce 10101 10000 00000 <10101, 3> <10000, 1> <00000, 0> Map <10101, 3> Distributed File System Intelligent Systems Design and Applications 2009

  8. MapReducing Genetic Algorithm (2) • Modifications • Mappers write to DFS so that clients can evaluate convergence criteria and control next iteration • Random partitioner function • Maintain a window of individuals in each reducer • Optimizations • Create the initial population in 0th MapReduce • Compactly represent bits in array of long ints Intelligent Systems Design and Applications 2009

  9. Experimental Results • Experimental setup • 52 nodes: 16GB RAM, 2TB hard drives • Each node runs 5 mappers + 3 reducers • Population set to nlog(n) Intelligent Systems Design and Applications 2009

  10. Scaling GAs to 100 million variables Intelligent Systems Design and Applications 2009

  11. Conclusion • Modeled GAs in MapReduce • Scales on a commodity clusters to 100 million variables • Can also use Pthreads(Phoenix), GPUs(Mars), … • Future Work • Demonstrate scalability for practical applications • MapReduce Compact GAs and Extended Compact GAs • Comparison with MPI implementation Intelligent Systems Design and Applications 2009

  12. Questions?

  13. Thank You

More Related