Skip to main content
QUICK REVIEW

[Paper Review] A Framework for Genetic Algorithms Based on Hadoop

Filomena Ferrucci, Tahar Kechadi|arXiv (Cornell University)|Nov 30, 2013
Machine Learning and Data ClassificationComputer Science13 references16 citations
TL;DR

This paper presents elephant56, a Hadoop-based framework that enables developers to implement parallel Genetic Algorithms (GAs) using the MapReduce paradigm, abstracting away Hadoop's complexity. The framework allows users to focus on problem-specific GA components while achieving significant performance gains on large-scale datasets, as demonstrated by a feature subset selection application that outperformed sequential execution on the Chicago Crime dataset.

ABSTRACT

Genetic Algorithms (GAs) are powerful metaheuristic techniques mostly used in many real-world applications. The sequential execution of GAs requires considerable computational power both in time and resources. Nevertheless, GAs are naturally parallel and accessing a parallel platform such as Cloud is easy and cheap. Apache Hadoop is one of the common services that can be used for parallel applications. However, using Hadoop to develop a parallel version of GAs is not simple without facing its inner workings. Even though some sequential frameworks for GAs already exist, there is no framework supporting the development of GA applications that can be executed in parallel. In this paper is described a framework for parallel GAs on the Hadoop platform, following the paradigm of MapReduce. The main purpose of this framework is to allow the user to focus on the aspects of GA that are specific to the problem to be addressed, being sure that this task is going to be correctly executed on the Cloud with a good performance. The framework has been also exploited to develop an application for Feature Subset Selection problem. A preliminary analysis of the performance of the developed GA application has been performed using three datasets and shown very promising performance.

Motivation & Objective

  • To develop a complete, user-friendly framework for implementing and executing parallel Genetic Algorithms on the Hadoop platform.
  • To abstract low-level Hadoop complexities so users can focus on problem-specific GA components like fitness functions and selection criteria.
  • To provide ready-to-use, common GA components (e.g., selection strategies, chromosome representations) for broad applicability.
  • To evaluate the framework’s performance through a real-world application: feature subset selection.
  • To demonstrate the feasibility and performance benefits of using Hadoop for parallel GAs, especially on compute-intensive problems.

Proposed method

  • The framework is built on the Hadoop MapReduce paradigm, structuring GA execution as a series of Map and Reduce phases.
  • The Driver component orchestrates the GA lifecycle, managing iterations and coordinating Map and Reduce tasks.
  • The 'core' components handle Hadoop-specific operations such as data partitioning, job submission, and result aggregation.
  • The 'user' components allow developers to plug in custom implementations of fitness function, selection, crossover, and mutation operators.
  • The framework supports both sequential and distributed execution modes for performance comparison.
  • A complete example application was implemented for feature subset selection, mapping chromosome representation to attribute subsets and fitness to classification accuracy.

Experimental results

Research questions

  • RQ1Can a high-level framework be designed to simplify the development of parallel GAs on Hadoop without requiring deep knowledge of Hadoop's internals?
  • RQ2How does the performance of a Hadoop-based parallel GA compare to a sequential implementation on real-world datasets?
  • RQ3To what extent can the framework's abstraction reduce development effort while maintaining computational efficiency?
  • RQ4What are the performance bottlenecks in Hadoop-based GA execution, and how can they be mitigated?
  • RQ5Does the framework achieve meaningful speedup on large-scale datasets, particularly when computation is the main cost?

Key findings

  • The elephant56 framework successfully abstracts Hadoop complexity, allowing developers to focus on GA-specific logic without managing low-level distributed computing details.
  • The framework achieved competitive performance, with the distributed version outperforming the sequential version on the large Chicago Crime dataset (6,000 instances), demonstrating scalability.
  • On smaller datasets like German Credit (1,000 instances), the sequential version remained faster due to Hadoop’s initialization and I/O overheads.
  • The number of selected attributes and classification accuracy remained consistent across sequential, pseudo-distributed, and fully distributed versions, confirming solution quality was preserved.
  • The results suggest that with targeted optimization, the performance of the parallel version could surpass the sequential one even on moderate-sized datasets.
  • The framework's design reduces code complexity, with a favorable ratio of application code to framework code, indicating high development productivity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.