Original Article

A Stochastic Computing Method For Generating Activation Functions in Multilayer Feedforward Neural Networks

Volume 21 · Issue 3 Publish Date: August 23, 2021
Full Text PDF
DOI
Durmuş Ersoy
Department of Electrical and Electronics Engineering, İstanbul Esenyurt University, İstanbul, Turkey
Burcu Erkmen
Department of Electronics and Communication Engineering, Yıldız Technical University, İstanbul, Turkey
Ersoy, D., & Erkmen, B. (2021). A Stochastic Computing Method For Generating Activation Functions in Multilayer Feedforward Neural Networks. ELECTRICA, 21(3), 376–387. https://doi.org/10.5152/electr.2021.21043
Full Text Full Text PDF

Abstract

Stochastic computing using basic arithmetic logic elements based on stochastic bit sequences provides very beneficial solutions in terms of speed and hardware cost, relative to deterministic calculation. Studies for the realization of tangent hyperbolic and exponential functions used in the development of activation functions in Artificial Neural Networks by stochastic methods exist in the literature. The techniques presented using state transitions on finite state machines were constructed on the basis of two different forms of finite state machines, one-dimensional (Linear) and two-dimensional. In this analysis, in terms of both error rate and circuit cost, the advantageous two-dimensional finite state machines-based stochastic computing approach for tangent hyperbolic and exponential functions is presented. The presented approach is implemented on Field Programmable Gate Array and the results are given for hardware simulation. The dataset used for the classification process in a decentralized smart grid control has been applied to the multilayer feedforward neural network and deterministic computing, for the stability classification which is carried out separately with the linear finite state machines-based stochastic computing and the proposed 2D finite state machines-based stochastic computing methods.

Cite this article as: D. Ersoy, B. Erkmen. “A Stochastic Computing Method for Generating Activation Functions in Multilayer Feedforward Neural Networks.”, Electrica. vol. 21, no. 3, pp. 376-387, Sep. 2021.

Article Info
Published In
Journal ELECTRICA
Volume / Issue Volume 21 · Issue 3
Pages 376-387
History
Published Online August 23, 2021
Copyright
Affiliations
Durmuş Ersoy
Department of Electrical and Electronics Engineering, İstanbul Esenyurt University, İstanbul, Turkey
Burcu Erkmen
Department of Electronics and Communication Engineering, Yıldız Technical University, İstanbul, Turkey
Cite this Article
Ersoy, D., & Erkmen, B. (2021). A Stochastic Computing Method For Generating Activation Functions in Multilayer Feedforward Neural Networks. ELECTRICA, 21(3), 376–387. https://doi.org/10.5152/electr.2021.21043
Outlines