Efficient Fpga Implementation of a Generic Function Approximator and Its Application to Neural Net Computation

Bibliographic Details
Main Author: Bharkhada, Bharat Kishore
Language:English
Published: University of Cincinnati / OhioLINK 2003
Subjects:
Online Access:http://rave.ohiolink.edu/etdc/view?acc_num=ucin1060978658
id ndltd-OhioLink-oai-etd.ohiolink.edu-ucin1060978658
record_format oai_dc
spelling ndltd-OhioLink-oai-etd.ohiolink.edu-ucin10609786582021-08-03T06:09:17Z Efficient Fpga Implementation of a Generic Function Approximator and Its Application to Neural Net Computation Bharkhada, Bharat Kishore FPGA Activation Function hardware activation function sigmoid function neural network activation function Every neuron or processing element of an Artificial Neural Network (ANN) implementation requires an activation function. In the digital implementation of an ANN, the activation function is most widely implemented as a lookup table, and the accuracy of the output of the processing element depends partially on the number of words stored in the lookup table. The disadvantage with this approach is that, to achieve better results, the lookup table goes on increasing in size and often becomes large and unwieldy. In this thesis we explore the possibility of replacing the lookup table with direct computation of the activation function. As a case study, we compute the widely used activation function, the sigmoid function, by using a generic third order polynomial evaluator which is based on prior work addressing the problem of efficient function approximation for a system on a chip. The sigmoid function is approximated with a set of polynomials with integer coefficients. This approach results in a huge reduction in the memory required by the processing element. Booth encoding and Wallace tree techniques are used to further optimize the computation. The project is implemented in VHDL. The synthesis of the implementation and architectural simulations including place and route and timing analysis are carried using the Altera FLEX 10K family of devices. Synthesis and architectural simulations are also done in Synopsys. We show that our implementation achieves a large saving in memory and equivalent accuracy when compared with the lookup table approach, at the cost of some extra logic and execution time. We also show that our implementation achieves higher accuracy than other sigmoid approximations proposed in the literature. The current implementation can also generate a programmable sigmoid function and would allow, with minor changes and no increase in memory requirements, two to four different choices of slope for the sigmoid itself. 2003-09-02 English text University of Cincinnati / OhioLINK http://rave.ohiolink.edu/etdc/view?acc_num=ucin1060978658 http://rave.ohiolink.edu/etdc/view?acc_num=ucin1060978658 unrestricted This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
collection NDLTD
language English
sources NDLTD
topic FPGA Activation Function
hardware activation function
sigmoid function
neural network activation function
spellingShingle FPGA Activation Function
hardware activation function
sigmoid function
neural network activation function
Bharkhada, Bharat Kishore
Efficient Fpga Implementation of a Generic Function Approximator and Its Application to Neural Net Computation
author Bharkhada, Bharat Kishore
author_facet Bharkhada, Bharat Kishore
author_sort Bharkhada, Bharat Kishore
title Efficient Fpga Implementation of a Generic Function Approximator and Its Application to Neural Net Computation
title_short Efficient Fpga Implementation of a Generic Function Approximator and Its Application to Neural Net Computation
title_full Efficient Fpga Implementation of a Generic Function Approximator and Its Application to Neural Net Computation
title_fullStr Efficient Fpga Implementation of a Generic Function Approximator and Its Application to Neural Net Computation
title_full_unstemmed Efficient Fpga Implementation of a Generic Function Approximator and Its Application to Neural Net Computation
title_sort efficient fpga implementation of a generic function approximator and its application to neural net computation
publisher University of Cincinnati / OhioLINK
publishDate 2003
url http://rave.ohiolink.edu/etdc/view?acc_num=ucin1060978658
work_keys_str_mv AT bharkhadabharatkishore efficientfpgaimplementationofagenericfunctionapproximatoranditsapplicationtoneuralnetcomputation
_version_ 1719431809143406592