| Literature DB >> 32231513 |
Jeongjun Lee1, Renqian Zhang2, Wenrui Zhang1, Yu Liu2, Peng Li1.
Abstract
Spiking neural networks (SNNs) present a promising computing model and enable bio-plausible information processing and event-driven based ultra-low power neuromorphic hardware. However, training SNNs to reach the same performances of conventional deep artificial neural networks (ANNs), particularly with error backpropagation (BP) algorithms, poses a significant challenge due to inherent complex dynamics and non-differentiable spike activities of spiking neurons. In this paper, we present the first study on realizing competitive spike-train level backpropagation (BP) like algorithms to enable on-chip training of SNNs. We propose a novel spike-train level direct feedback alignment (ST-DFA) algorithm, which is much more bio-plausible and hardware friendly than BP. Algorithm and hardware co-optimization and efficient online neural signal computation are explored for on-chip implementation of ST-DFA. On the Xilinx ZC706 FPGA board, the proposed hardware-efficient ST-DFA shows excellent performance vs. overhead tradeoffs for real-world speech and image classification applications. SNN neural processors with on-chip ST-DFA training show competitive classification accuracy of 96.27% for the MNIST dataset with 4× input resolution reduction and 84.88% for the challenging 16-speaker TI46 speech corpus, respectively. Compared to the hardware implementation of the state-of-the-art BP algorithm HM2-BP, the design of the proposed ST-DFA reduces functional resources by 76.7% and backward training latency by 31.6% while gracefully trading off classification performance.Entities:
Keywords: FPGA; backpropagation; hardware neural processor; on-chip training; spiking neural networks
Year: 2020 PMID: 32231513 PMCID: PMC7082320 DOI: 10.3389/fnins.2020.00143
Source DB: PubMed Journal: Front Neurosci ISSN: 1662-453X Impact factor: 4.677
Figure 1(A) Backpropagation (BP) vs. (B) Direct feedback alignment (DFA). Solid arrows indicate feedforward paths and dashed arrows indicate feedback paths. The feedback matrices 1 and 2 need not be symmetric to 2 or 3.
Figure 2The proposed spike-train level DFA (ST-DFA).
Figure 3Proposed architecture of multi-layer SNNs with onchip ST-DFA training. HE represents a digital hidden neuron element; and OE represents a digital output neuron element.
Figure 4On-line S-PSP calculation onchip.
Figure 5On-chip ST-DFA weight update computation.
Inference accuracy comparison of HM2BP, ST-DFA, and ST-DFA-2 derived by software simulation.
| MNIST | HM2-BP: 784-800-10 | 98.93 |
| MNIST | ST-DFA: 784-800-10 | 98.64 |
| MNIST | ST-DFA-2: 784-800-10 | 98.74 |
| N-MNIST | HM2-BP: 2312-800-10 | 98.88 |
| N-MNIST | ST-DFA: 2312-800-10 | 98.47 |
| N-MNIST | ST-DFA-2: 2312-800-10 | 98.59 |
| TI46 | HM2-BP: 78-800-26 | 89.92 |
| TI46 | ST-DFA: 78-800-26 | 87.00 |
| TI46 | ST-DFA-2: 78-800-26 | 87.31 |
All SNNs are fully connected networks with a single hidden layer of 800 neurons. MNIST: 28 × 28 input resolution; N-MNIST: 2,312 input spike trains; 16-speaker TI46: 78 input spike trains.
Overheads of the fully-connected SNNs with on-chip ST-DFA-2 implemented on Xilinx ZC706 board.
| 196-50-10 | 33484 | 6836 | 60 | 113 | 3.998 | 0.452 |
| 196-50-50-10 | 62989 | 12516 | 110 | 125 | 4.836 | 0.604 |
| 196-100-10 | 73027 | 12329 | 110 | 224 | 4.802 | 1.076 |
| 196-100-100-10 | 126482 | 23331 | 210 | 275 | 6.445 | 1.772 |
| 78-50-26 | 38220 | 8826 | 76 | 73 | 3.688 | 0.269 |
| 78-50-50-26 | 74709 | 14641 | 126 | 87 | 5.123 | 0.445 |
| 78-100-26 | 64280 | 14096 | 126 | 113 | 5.089 | 0.575 |
| 78-100-100-26 | 145452 | 30546 | 226 | 185 | 7.929 | 1.467 |
Inference performances of the fully-connected SNNs with on-chip ST-DFA-2 measured on Xilinx ZC706 FPGA board.
| 196-50-10 | 94.34 |
| 196-50-50-10 | 94.51 |
| 196-100-10 | 95.72 |
| 196-100-100-10 | 96.27 |
| 78-50-26 | 71.63 |
| 78-50-50-26 | 74.95 |
| 78-100-26 | 75.19 |
| 78-100-100-26 | 84.88 |
Overheads of an FPGA SNN with on-chip HM2-BP vs. ST-DFA-2 (Network size:196-100-100-10).
| HM2-BP | 154477 | 23462 | 900 | 17.560 |
| ST-DFA | 126482 | 23331 | 210 | 12.010 |
| HM2-BP | 122 | 101 | 429 | 146 |
| ST-DFA | 100 | 100 | 100 | 100 |