Skip to main content
Erschienen in: Neural Computing and Applications 2/2013

01.08.2013 | Original Article

A new solution to the hyperbolic tangent implementation in hardware: polynomial modeling of the fractional exponential part

verfasst von: Ivo Nascimento, Ricardo Jardim, Fernando Morgado-Dias

Erschienen in: Neural Computing and Applications | Ausgabe 2/2013

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

The most difficult part of an artificial neural network to implement in hardware is the nonlinear activation function. For most implementations, the function used is the hyperbolic tangent. This function has received much attention in relation to hardware implementation. Nevertheless, there is no consensus regarding the best solution. In this paper, we propose a new approach by implementing the hyperbolic tangent in hardware with a polynomial modeling of the fractional exponential part. The results in the paper then demonstrate, through the use of an example, that this solution is faster than the CORDIC algorithm, but slower than the piecewise linear solution with the same error. The advantage over the piecewise linear approach is that it uses less memory.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Stieglitz T, Meyer J (2006) Biomedical microdevices for neural implants, vol 16. BIOMEMS Microsystems, Springer, pp 71–137 Stieglitz T, Meyer J (2006) Biomedical microdevices for neural implants, vol 16. BIOMEMS Microsystems, Springer, pp 71–137
2.
Zurück zum Zitat Frounchi J, Karimian G, Keshtkar A (2009) An artificial neural network hardware for bladder cancer. Eur J Sci Res 27(1):46–55 Frounchi J, Karimian G, Keshtkar A (2009) An artificial neural network hardware for bladder cancer. Eur J Sci Res 27(1):46–55
3.
Zurück zum Zitat Lindsey C, Lindblad T (1995) Survey of neural network hardware. In: Rogers SK, Ruck DW (eds) Applications and science of artificial neural networks, SPIE 2492, pp 1194–1205 Lindsey C, Lindblad T (1995) Survey of neural network hardware. In: Rogers SK, Ruck DW (eds) Applications and science of artificial neural networks, SPIE 2492, pp 1194–1205
5.
Zurück zum Zitat Hassibi K (2000) Detecting payment card fraud with neural networks. In: Lisboa P, Edisbury B, Vellido A (eds) Business applications of neural networks, progress in neural processing 13. World Scientific, Singapore Hassibi K (2000) Detecting payment card fraud with neural networks. In: Lisboa P, Edisbury B, Vellido A (eds) Business applications of neural networks, progress in neural processing 13. World Scientific, Singapore
6.
Zurück zum Zitat Dias FM, Antunes A, Mota AM (2004) Artificial neural networks: a review of commercial hardware. Eng Appl Artif Intell 17:945–952CrossRef Dias FM, Antunes A, Mota AM (2004) Artificial neural networks: a review of commercial hardware. Eng Appl Artif Intell 17:945–952CrossRef
7.
Zurück zum Zitat Misra J, Saha I (2010) Artificial neural networks in hardware: a survey of two decades of progress. Neurocomputing 74:239–255CrossRef Misra J, Saha I (2010) Artificial neural networks in hardware: a survey of two decades of progress. Neurocomputing 74:239–255CrossRef
8.
Zurück zum Zitat Ferreira P, Ribeiro P, Antunes A, Dias FM (2007) A high bit resolution FPGA implementation of a FNN with a new algorithm for the activation function. Neurocomputing 71(1–3):71–77CrossRef Ferreira P, Ribeiro P, Antunes A, Dias FM (2007) A high bit resolution FPGA implementation of a FNN with a new algorithm for the activation function. Neurocomputing 71(1–3):71–77CrossRef
9.
Zurück zum Zitat Ferreira P, Ribeiro P, Antunes A, Dias FM (2004) Artificial neural networks processor—a hardware implementation using a FPGA. Field-programmable logic and its applications, Belgium, LNCS-3203 Ferreira P, Ribeiro P, Antunes A, Dias FM (2004) Artificial neural networks processor—a hardware implementation using a FPGA. Field-programmable logic and its applications, Belgium, LNCS-3203
10.
Zurück zum Zitat Leon M, Castro A, Ascenccio R (1999) An artificial neural network on a field programmable gate array as a virtual sensor. In: Proceedings of the third international workshop on design of mixed-mode integrated circuits and applications, Puerto Vallarta, Mexico, pp 114–117 Leon M, Castro A, Ascenccio R (1999) An artificial neural network on a field programmable gate array as a virtual sensor. In: Proceedings of the third international workshop on design of mixed-mode integrated circuits and applications, Puerto Vallarta, Mexico, pp 114–117
11.
Zurück zum Zitat Ayala JL, Lomena AG, López-Vallejo M, Fernández A (2002) Design of a pipelined hardware architecture for real-time neural network computations. IEEE midwest symposium on circuits and systems, USA Ayala JL, Lomena AG, López-Vallejo M, Fernández A (2002) Design of a pipelined hardware architecture for real-time neural network computations. IEEE midwest symposium on circuits and systems, USA
12.
Zurück zum Zitat Soares AM, Pinto JOP, Bose BK, Leite LC, da Silva LEB, Romero ME (2006) Field programmable gate array (FPGA) based neural network implementation of stator flux oriented vector control of induction motor drive. IEEE international conference on industrial technology Soares AM, Pinto JOP, Bose BK, Leite LC, da Silva LEB, Romero ME (2006) Field programmable gate array (FPGA) based neural network implementation of stator flux oriented vector control of induction motor drive. IEEE international conference on industrial technology
13.
Zurück zum Zitat Chen X, Wang G, Zhou W, Chang S, Sun S (2006) Efficient sigmoid function for neural networks based FPGA design. ICIC 2006, LNCS 4113. Springer, Berlin, Heidelberg, pp 672–677 Chen X, Wang G, Zhou W, Chang S, Sun S (2006) Efficient sigmoid function for neural networks based FPGA design. ICIC 2006, LNCS 4113. Springer, Berlin, Heidelberg, pp 672–677
14.
Zurück zum Zitat Ghariani M, Kharrat MW, Masmoudin N, Kamoun L (2004) Electronic implementation of a neural observer in FPGA technology: application to the control of electric vehicle. 16th international conference on microelectronics Ghariani M, Kharrat MW, Masmoudin N, Kamoun L (2004) Electronic implementation of a neural observer in FPGA technology: application to the control of electric vehicle. 16th international conference on microelectronics
15.
Zurück zum Zitat Qian M (2006) Application of CORDIC algorithm to neural networks VLSI design. IMACS multiconference on computational engineering in systems applications Qian M (2006) Application of CORDIC algorithm to neural networks VLSI design. IMACS multiconference on computational engineering in systems applications
16.
Zurück zum Zitat Duren RW, Marks RJ II, Reynolds PD, Trumbo ML (2007) Real-time neural network inversion on the SRC-6e reconfigurable computer. IEEE Trans Neural Networks 18(3):889–901CrossRef Duren RW, Marks RJ II, Reynolds PD, Trumbo ML (2007) Real-time neural network inversion on the SRC-6e reconfigurable computer. IEEE Trans Neural Networks 18(3):889–901CrossRef
17.
Zurück zum Zitat Andraka R (1998) A survey of CORDIC algorithms for FPGA based computers. In: Proceedings of the ACM/SIGDA 6th international symposium on FPGA, Monterey, CA, USA, pp 191–200 Andraka R (1998) A survey of CORDIC algorithms for FPGA based computers. In: Proceedings of the ACM/SIGDA 6th international symposium on FPGA, Monterey, CA, USA, pp 191–200
18.
Zurück zum Zitat Soria-Olivas E, Martín-Guerrero JD, Camps-Valls G, Serrano-López AJ, Calpe-Maravilla J, Gómez-Chova L (2003) A low-complexity fuzzy activation function for artificial neural networks. IEEE Trans Neural Networks 14(6):1576–1579CrossRef Soria-Olivas E, Martín-Guerrero JD, Camps-Valls G, Serrano-López AJ, Calpe-Maravilla J, Gómez-Chova L (2003) A low-complexity fuzzy activation function for artificial neural networks. IEEE Trans Neural Networks 14(6):1576–1579CrossRef
19.
Zurück zum Zitat Rosado-Muñoz A, Soria-Olivas E, Gomez-Chova L, Vila Francés J (2008) An IP core and GUI for implementing multilayer perceptron with a fuzzy activation function on configurable logic devices. J Univers Comput Sci 14(10):1678–1694 Rosado-Muñoz A, Soria-Olivas E, Gomez-Chova L, Vila Francés J (2008) An IP core and GUI for implementing multilayer perceptron with a fuzzy activation function on configurable logic devices. J Univers Comput Sci 14(10):1678–1694
20.
Zurück zum Zitat Kwan HK (1992) Simple sigmoid-like activation function suitable for digital hardware implementation. Electron Lett 28(15):1379–1380CrossRef Kwan HK (1992) Simple sigmoid-like activation function suitable for digital hardware implementation. Electron Lett 28(15):1379–1380CrossRef
Metadaten
Titel
A new solution to the hyperbolic tangent implementation in hardware: polynomial modeling of the fractional exponential part
verfasst von
Ivo Nascimento
Ricardo Jardim
Fernando Morgado-Dias
Publikationsdatum
01.08.2013
Verlag
Springer London
Erschienen in
Neural Computing and Applications / Ausgabe 2/2013
Print ISSN: 0941-0643
Elektronische ISSN: 1433-3058
DOI
https://doi.org/10.1007/s00521-012-0919-0

Weitere Artikel der Ausgabe 2/2013

Neural Computing and Applications 2/2013 Zur Ausgabe