Bulk‐Switching Memristor‐Based Compute‐In‐Memory Module for Deep Neural Network Training
The constant drive to achieve higher performance in deep neural networks (DNNs) has led to the proliferation of very large models. Model training, however, requires intensive computation time and energy. Memristor‐based compute‐in‐memory (CIM) modules can perform vector‐matrix multiplication (VMM) i...
Saved in:
| Published in: | Advanced materials (Weinheim) Vol. 35; no. 46; pp. e2305465 - n/a |
|---|---|
| Main Authors: | , , , , , , , |
| Format: | Journal Article |
| Language: | English |
| Published: |
Weinheim
Wiley Subscription Services, Inc
01.11.2023
|
| Subjects: | |
| ISSN: | 0935-9648, 1521-4095, 1521-4095 |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Summary: | The constant drive to achieve higher performance in deep neural networks (DNNs) has led to the proliferation of very large models. Model training, however, requires intensive computation time and energy. Memristor‐based compute‐in‐memory (CIM) modules can perform vector‐matrix multiplication (VMM) in place and in parallel, and have shown great promises in DNN inference applications. However, CIM‐based model training faces challenges due to non‐linear weight updates, device variations, and low‐precision. In this work, a mixed‐precision training scheme is experimentally implemented to mitigate these effects using a bulk‐switching memristor‐based CIM module. Low‐precision CIM modules are used to accelerate the expensive VMM operations, with high‐precision weight updates accumulated in digital units. Memristor devices are only changed when the accumulated weight update value exceeds a pre‐defined threshold. The proposed scheme is implemented with a system‐onchip of fully integrated analog CIM modules and digital sub‐systems, showing fast convergence of LeNet training to 97.73%. The efficacy of training larger models is evaluated using realistic hardware parameters and verifies that CIM modules can enable efficient mix‐precision DNN training with accuracy comparable to full‐precision software‐trained models. Additionally, models trained on chip are inherently robust to hardware variations, allowing direct mapping to CIM inference chips without additional re‐training.
A compute‐in‐memory module integrated with bulk‐switching memristor arrays is demonstrated. A hardware–software co‐designed system is constructed to accelerate the neural network training and relax stringent requirements for device precision and endurance. The on‐chip trained networks are able to reach software‐comparable accuracies and exhibit robustness to weight perturbation when transferred to a new chip. |
|---|---|
| Bibliography: | ObjectType-Article-1 SourceType-Scholarly Journals-1 ObjectType-Feature-2 content type line 14 content type line 23 |
| ISSN: | 0935-9648 1521-4095 1521-4095 |
| DOI: | 10.1002/adma.202305465 |