中国物理B ›› 2022, Vol. 31 ›› Issue (7): 78702-078702.doi: 10.1088/1674-1056/ac4f4e

• • 上一篇    下一篇

Pulse coding off-chip learning algorithm for memristive artificial neural network

Ming-Jian Guo(郭明健), Shu-Kai Duan(段书凯), and Li-Dan Wang(王丽丹)   

  1. College of Artificial Intelligence, Southwest University, Chongqing 400715, China
  • 收稿日期:2021-12-08 修回日期:2022-01-18 接受日期:2022-01-27 出版日期:2022-06-09 发布日期:2022-07-19
  • 通讯作者: Li-Dan Wang E-mail:ldwang@swu.edu.cn
  • 基金资助:
    Project supported by the National Natural Science Foundation of China (Grant Nos. 62076208, 62076207, and U20A20227) and the National Key Research and Development Program of China (Grant No. 2018YFB1306600).

Pulse coding off-chip learning algorithm for memristive artificial neural network

Ming-Jian Guo(郭明健), Shu-Kai Duan(段书凯), and Li-Dan Wang(王丽丹)   

  1. College of Artificial Intelligence, Southwest University, Chongqing 400715, China
  • Received:2021-12-08 Revised:2022-01-18 Accepted:2022-01-27 Online:2022-06-09 Published:2022-07-19
  • Contact: Li-Dan Wang E-mail:ldwang@swu.edu.cn
  • Supported by:
    Project supported by the National Natural Science Foundation of China (Grant Nos. 62076208, 62076207, and U20A20227) and the National Key Research and Development Program of China (Grant No. 2018YFB1306600).

摘要: Memristive neural network has attracted tremendous attention since the memristor array can perform parallel multiply-accumulate calculation (MAC) operations and memory-computation operations as compared with digital CMOS hardware systems. However, owing to the variability of the memristor, the implementation of high-precision neural network in memristive computation units is still difficult. Existing learning algorithms for memristive artificial neural network (ANN) is unable to achieve the performance comparable to high-precision by using CMOS-based system. Here, we propose an algorithm based on off-chip learning for memristive ANN in low precision. Training the ANN in the high-precision in digital CPUs and then quantifying the weight of the network to low precision, the quantified weights are mapped to the memristor arrays based on VTEAM model through using the pulse coding weight-mapping rule. In this work, we execute the inference of trained 5-layers convolution neural network on the memristor arrays and achieve an accuracy close to the inference in the case of high precision (64-bit). Compared with other algorithms-based off-chip learning, the algorithm proposed in the present study can easily implement the mapping process and less influence of the device variability. Our result provides an effective approach to implementing the ANN on the memristive hardware platform.

关键词: off-chip learning, mapping, memristor array, artificial neural network

Abstract: Memristive neural network has attracted tremendous attention since the memristor array can perform parallel multiply-accumulate calculation (MAC) operations and memory-computation operations as compared with digital CMOS hardware systems. However, owing to the variability of the memristor, the implementation of high-precision neural network in memristive computation units is still difficult. Existing learning algorithms for memristive artificial neural network (ANN) is unable to achieve the performance comparable to high-precision by using CMOS-based system. Here, we propose an algorithm based on off-chip learning for memristive ANN in low precision. Training the ANN in the high-precision in digital CPUs and then quantifying the weight of the network to low precision, the quantified weights are mapped to the memristor arrays based on VTEAM model through using the pulse coding weight-mapping rule. In this work, we execute the inference of trained 5-layers convolution neural network on the memristor arrays and achieve an accuracy close to the inference in the case of high precision (64-bit). Compared with other algorithms-based off-chip learning, the algorithm proposed in the present study can easily implement the mapping process and less influence of the device variability. Our result provides an effective approach to implementing the ANN on the memristive hardware platform.

Key words: off-chip learning, mapping, memristor array, artificial neural network

中图分类号:  (Neural networks and synaptic communication)

  • 87.18.Sn
07.05.Rm (Data presentation and visualization: algorithms and implementation) 07.05.Tp (Computer modeling and simulation) 07.05.Mh (Neural networks, fuzzy logic, artificial intelligence)