- AutorIn
- Amirhossein Rostami
- Titel
- Design and Implementation of a Memory Efficient Hardware Accelerator for Online Learning in Neuromorphic Systems
- Zitierfähige Url:
- https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa2-1066328
- Übersetzter Titel (DE)
- Entwurf und Implementierung eines speichereffizienten Hardware-Beschleunigers für das Online-Lernen in neuromorphen Systemen
- Datum der Einreichung
- 29.09.2025
- Datum der Verteidigung
- 04.06.2026
- Abstract (EN)
- Deep neural networks (DNNs) and artificial intelligence (AI) have been deployed in an increasing number of applications in recent years. Training DNNs requires substantial memory, computational power, and energy. Exploring algorithms for training neural networks in a memory-efficient manner is a significant area of research, as memory-efficient learning enables the deployment of neural networks on hardware with limited memory, while also reducing power consumption by minimizing memory transactions. In this thesis, various memory-efficient learning rules are examined. The e-prop algorithm, a biologically plausible learning rule, was chosen, and a three-layer spiking recurrent neural network was implemented on the multi-core SpiNNaker2 and trained using the e-prop learning rule. I achieved a test accuracy of 91.12% on the Google Speech Commands dataset, with the best validation accuracy, while consuming 0.6% less memory compared to the backpropagation through time (BPTT) algorithm, which is widely used for training recurrent neural networks (RNNs). Furthermore, I demonstrated that training on the SpiNNaker chip is approximately 4.2 times more energy-efficient than on the V100 GPU. Next, existing hardware accelerators and neural processing units (NPUs) for training were examined, and different algorithms, including multilayer perceptron (MLP), gated recurrent unit (GRU), and spiking recurrent neural network (SRNN), were profiled to determine the primitive operations and bottlenecks. A new, general-purpose hardware accelerator for online learning (NLU) was developed. NLU can be integrated into a multi-core system, such as SpiNNaker, to enhance the training process. A chip was fabricated, and the design was validated in silicon. It was shown that NLU could accelerate the e-prop algorithm for training SRNNs by more than 12 times while using over 19 times less energy compared to the RISC-V implementation with floating-point unit. It also improved the performance of MLP and GRU networks by more than 27 times and 37 times, respectively.
- Freie Schlagwörter (EN)
- Accelerator, on-device learning, Neuromorphic, deep neural network (DNN), energy efficient
- Klassifikation (DDC)
- 006
- Klassifikation (RVK)
- ST 301
- GutachterIn
- Prof. Dr. Christian Georg Mayr
- Prof. Dr. Andreas König
- Publizierende Institution
- Technische Universität Dresden, Dresden
- Version / Begutachtungsstatus
- publizierte Version / Verlagsversion
- URN Qucosa
- urn:nbn:de:bsz:14-qucosa2-1066328
- Veröffentlichungsdatum Qucosa
- 20.08.2026
- Dokumenttyp
- Dissertation
- Sprache des Dokumentes
- Englisch
- Lizenz / Rechtehinweis
CC BY 4.0- Inhaltsverzeichnis
1 Introduction 1 1.1 Background and Motivation 1 1.2 Literature review: Algorithms 6 1.2.1 Memory-efficient training on MLP and CNN 6 1.2.2 Memory-efficient training on CNN 8 1.2.3 Memory-efficient training on RNN 8 1.2.4 Deep learning software 12 1.3 Literature review: Hardware 14 1.3.1 GPU 15 1.3.2 Network-Specific Accelerators 17 1.3.3 Domain-Specific Accelerators (DSA) 20 1.3.4 Neural Processing Units (NPUs) 23 1.4 SpiNNaker2 27 1.5 Summary of deep learning hardware 30 1.6 Thesis Organization 33 1.7 Author’s Contributions 34 2 Memory Efficient Online Learning: Algorithm Implementation 35 2.1 Network model 35 2.1.1 Algorithm selection 35 2.1.2 Network architecture 35 2.1.3 E-prop equations 36 2.1.4 Compare RTRL and e-prop 38 2.1.5 The Learning Mechanism of E-Prop 40 2.1.6 Dataset 40 2.1.7 Preprocessing 41 2.1.8 Spike neuron models 41 2.1.9 Pseudo Gradients 42 2.1.10 Optimization 43 2.1.11 Network study 43 2.2 E-prop implementation steps 45 2.2.1 Single-PE implementation 45 2.2.2 Parallelization approaches 47 2.2.3 Implementation of e-prop on multiple processing elements 51 2.3 SpiNNaker2 implementation results 51 2.3.1 Comparison of SpiNNaker2 implementation and TensorFlow 52 2.3.2 Clock profiling 53 2.3.3 Power and Energy Consumption 53 2.3.4 Memory analysis of e-prop and BPTT 56 2.3.5 Architecture exploration 57 2.3.6 Fitted functions for one PE with two memories 58 2.3.7 Compare one memory with two memories 58 2.4 Compare With State-Of-The-Art 59 2.4.1 Related works on e-prop 62 2.4.2 Summary 62 3 Optimizing Memory Footprint and Profiling for Hardware Design 63 3.1 Low-rank representation 63 3.1.1 Simulation Result 64 3.1.2 Comparison of Standard and Low-Rank Representations 65 3.2 Quantization 67 3.2.1 Mixed precision training with Float16 70 3.2.2 Mixed precision training with BFloat16 71 3.2.3 Rounding 73 3.2.4 Analysis of Floating-Point Operations on SpiNNaker2 74 3.2.5 Summary of mixed precision training 76 3.3 Sparsity 76 3.3.1 Dynamic Sparse Training (DST) 77 3.3.2 Simulation result 80 3.3.3 Recent Advances in Dynamic Sparse Training 81 3.4 Primitive operations and Profiling 82 3.5 Operations 84 3.5.1 Elementwise Operations 84 3.5.2 Vector-Matrix Multiplication 88 3.5.3 Transpose Vector-Matrix Multiplication 88 3.5.4 Activation Functions 90 3.6 Summary 92 4 Neural Learning Unit: Hardware Design and Implementation 93 4.1 Design a Hardware Accelerator 93 4.1.1 Requirements and Design Criteria 93 4.1.2 Design Space Exploration 94 4.2 The Accelerator Architecture 98 4.2.1 Dynamic Control Unit (DCU) 100 4.2.2 Tile Allocation Engine (TAE) 104 4.2.3 Neural Compute Pipeline (NCP) 104 4.2.4 Data and Operation Flow 107 4.3 Design Methodology and ImplementationWorkflow 110 4.3.1 Golden Reference Model 110 4.3.2 RTL Design 111 4.3.3 Functional Verification 111 4.3.4 Physical Implementation 112 4.3.5 Software Toolchain 112 4.4 Measurement Results 112 4.4.1 System on Chip (SoC) 112 4.4.2 Measurement Setup 115 4.4.3 Post-Silicon Functional Verification 115 4.4.4 Evaluations 115 4.4.5 Programmability 116 4.4.6 Area 117 4.4.7 Performance and power 117 4.4.8 Roofline Model 120 4.5 Online learning 121 4.6 ComparingWith State-Of-The-Art 128 4.6.1 Normalisation and Reporting Conventions 128 4.6.2 Comparability 130 4.6.3 ReckOn 131 4.6.4 SENECA 132 4.6.5 Vecim 133 4.6.6 RedMule 134 4.6.7 DF-LNPU 135 4.6.8 Trainer 135 4.6.9 On-Chip Training Accelerator (OCT) 136 4.6.10 CNN Training Processor (CTP) 136 4.6.11 NVIDIA A100 137 4.6.12 Architectural Trade-offs 138 4.7 Application Scope 138 4.8 Summary 139 5 Summary and Outlook 141 5.1 Summary 141 5.2 Outlook 143 Bibliography 145