Efficient Implementation of the Backpropagation Algorithm in FPGAs and Microcontrollers

被引:59
作者
Ortega-Zamorano, Francisco [1 ]
Jerez, Jose M. [1 ]
Urda Munoz, Daniel [1 ]
Luque-Baena, Rafael M. [1 ]
Franco, Leonardo [1 ]
机构
[1] Univ Malaga, Dept Lenguajes & Ciencias Comp, E-29071 Malaga, Spain
基金
美国国家科学基金会;
关键词
Embedded systems; field-programmable gate array (FPGA); hardware implementation; microcontrollers; supervised learning; WIRELESS SENSOR; NETWORKS;
D O I
10.1109/TNNLS.2015.2460991
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The well-known backpropagation learning algorithm is implemented in a field-programmable gate array (FPGA) board and a microcontroller, focusing in obtaining efficient implementations in terms of a resource usage and computational speed. The algorithm was implemented in both cases using a training/validation/testing scheme in order to avoid overfitting problems. For the case of the FPGA implementation, a new neuron representation that reduces drastically the resource usage was introduced by combining the input and first hidden layer units in a single module. Further, a time-division multiplexing scheme was implemented for carrying out product computations taking advantage of the built-in digital signal processor cores. In both implementations, the floating-point data type representation normally used in a personal computer (PC) has been changed to a more efficient one based on a fixed-point scheme, reducing system memory variable usage and leading to an increase in computation speed. The results show that the modifications proposed produced a clear increase in computation speed in comparison with the standard PC-based implementation, demonstrating the usefulness of the intrinsic parallelism of FPGAs in neurocomputational tasks and the suitability of both implementations of the algorithm for its application to the real world problems.
引用
收藏
页码:1840 / 1850
页数:11
相关论文
共 44 条
[1]   The effects of adding noise during backpropagation training on a generalization performance [J].
An, GZ .
NEURAL COMPUTATION, 1996, 8 (03) :643-674
[2]  
[Anonymous], 1974, Ph.D. Thesis
[3]  
[Anonymous], 2012, Learning in Non-Stationary Environments: Methods and Applications
[4]  
[Anonymous], 2013, ACM QUEUE, DOI DOI 10.1145/2436696.2443836
[5]  
[Anonymous], 2001, Neural Networks: A Comprehensive Foundation
[6]  
[Anonymous], 1997, Elements of Artificial Neural Networks
[7]  
Atmel, DAT ATM SAM3X8E ARM
[8]   Hessian Matrix Estimation in Hybrid Systems Based on an Embedded FFNN [J].
Baek, Seung-Mook ;
Park, Jung-Wook .
IEEE TRANSACTIONS ON NEURAL NETWORKS, 2010, 21 (10) :1533-1542
[9]   NeuralSens: A neural network based framework to allow dynamic adaptation in wireless sensor and actor networks [J].
Canete, Eduardo ;
Chen, Jaime ;
Marcos Luque, R. ;
Rubio, Bartolome .
JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2012, 35 (01) :382-393
[10]  
Chu P.P., 2006, RTL HARDWARE DESIGN