Classifying Handwritten Digits with the Artificial Neural Network and Genetic Algorithm in a Distributed Environment
From CSI 702
Contents |
1 Classifying Handwritten Digits with the Artificial Neural Network and Genetic Algorithm in a Distributed Environment
- Authors: Zach Firth, Stefan Novak
- Project Presentation
- Project Report
- Project Source Code
1.1 Abstract
This study explores the integration of the genetic algorithm and artificial neural network in performing classification of handwritten digits in a distributed environment. Message Passing Interface (MPI) is used in the modeling of the environment in which many configurations of the artificial neural network are initiated and OpenMP is used to increase the runtime performance of the artificial neural network calculations. Although implementations of the serialized backpropagation algorithm converge on a solution more rapidly than the distributed implementation, the backpropagation algorithm has a tendency to converge into local minima, requiring additional tuning parameters to avoid such behavior. A superposition of both backpropagation and genetic algorithms are implemented to resolve this behavior.
1.2 Speedup Summary
When using MPI, we achieved a speedup of ~2.8 when running across 4 threads. This was implemented by parallelizing the fitness function which takes an artificial neural network configuration and validates it to 1,000 test images.
