SPMD-based Neural Network Simulation with Golang

SPMD-based Neural Network Simulation with Golang

Abstract

This paper describes the design and implementation of parallel neural networks (PNNs) with the novel programming language Golang. We follow in our approach the classical Single-Program Multiple-Data (SPMD) model where a PNN is composed of several sequential neural networks, which are trained with a proportional share of the training dataset. We used for this purpose the MNIST dataset, which contains binary images of handwritten digits. Our analysis focusses on different activation functions and optimizations in the form of stochastic gradients and initialization of weights and biases. We conduct a thorough performance analysis, where network configurations and different performance factors are analyzed and interpreted. Golang and its inherent parallelization support proved very well for parallel neural network simulation by considerable decreased processing times compared to sequential variants.

Grafik Top
Authors
  • Kalwarowskyj, Daniela
  • Schikuta, Erich
Grafik Top
Shortfacts
Category
Paper in Conference Proceedings or in Workshop Proceedings (Paper)
Event Title
23rd International Conference on Computational Science
Divisions
Workflow Systems and Technology
Subjects
Kuenstliche Intelligenz
Computersimulation
Event Location
Prague, Czech Republic
Event Type
Conference
Event Dates
3-5 July, 2023
Date
July 2023
Export
Grafik Top