Memristor-CMOS Hybrid Neuron Circuit with Nonideal-Effect Correction Related to Parasitic Resistance for Binary-Memristor-Crossbar Neural Networks

Voltages and currents in a memristor crossbar can be significantly affected due to nonideal effects such as parasitic source, line, and neuron resistance. These nonideal effects related to the parasitic resistance can cause the degradation of the neural network’s performance realized with the nonide...

Full description

Bibliographic Details
Main Authors: Tien Van Nguyen, Jiyong An, Kyeong-Sik Min
Format: Article
Language:English
Published: MDPI AG 2021-07-01
Series:Micromachines
Subjects:
Online Access:https://www.mdpi.com/2072-666X/12/7/791
_version_ 1827687326556356608
author Tien Van Nguyen
Jiyong An
Kyeong-Sik Min
author_facet Tien Van Nguyen
Jiyong An
Kyeong-Sik Min
author_sort Tien Van Nguyen
collection DOAJ
description Voltages and currents in a memristor crossbar can be significantly affected due to nonideal effects such as parasitic source, line, and neuron resistance. These nonideal effects related to the parasitic resistance can cause the degradation of the neural network’s performance realized with the nonideal memristor crossbar. To avoid performance degradation due to the parasitic-resistance-related nonideal effects, adaptive training methods were proposed previously. However, the complicated training algorithm could add a heavy computational burden to the neural network hardware. Especially, the hardware and algorithmic burden can be more serious for edge intelligence applications such as Internet of Things (IoT) sensors. In this paper, a memristor-CMOS hybrid neuron circuit is proposed for compensating the parasitic-resistance-related nonideal effects during not the training phase but the inference one, where the complicated adaptive training is not needed. Moreover, unlike the previous linear correction method performed by the external hardware, the proposed correction circuit can be included in the memristor crossbar to minimize the power and hardware overheads for compensating the nonideal effects. The proposed correction circuit has been verified to be able to restore the degradation of source and output voltages in the nonideal crossbar. For the source voltage, the average percentage error of the uncompensated crossbar is as large as 36.7%. If the correction circuit is used, the percentage error in the source voltage can be reduced from 36.7% to 7.5%. For the output voltage, the average percentage error of the uncompensated crossbar is as large as 65.2%. The correction circuit can improve the percentage error in the output voltage from 65.2% to 8.6%. Almost the percentage error can be reduced to ~1/7 if the correction circuit is used. The nonideal memristor crossbar with the correction circuit has been tested for MNIST and CIFAR-10 datasets in this paper. For MNIST, the uncompensated and compensated crossbars indicate the recognition rate of 90.4% and 95.1%, respectively, compared to 95.5% of the ideal crossbar. For CIFAR-10, the nonideal crossbars without and with the nonideal-effect correction show the rate of 85.3% and 88.1%, respectively, compared to the ideal crossbar achieving the rate as large as 88.9%.
first_indexed 2024-03-10T09:31:56Z
format Article
id doaj.art-e1fa2a578af94cca8c5e8c64a4248e67
institution Directory Open Access Journal
issn 2072-666X
language English
last_indexed 2024-03-10T09:31:56Z
publishDate 2021-07-01
publisher MDPI AG
record_format Article
series Micromachines
spelling doaj.art-e1fa2a578af94cca8c5e8c64a4248e672023-11-22T04:24:36ZengMDPI AGMicromachines2072-666X2021-07-0112779110.3390/mi12070791Memristor-CMOS Hybrid Neuron Circuit with Nonideal-Effect Correction Related to Parasitic Resistance for Binary-Memristor-Crossbar Neural NetworksTien Van Nguyen0Jiyong An1Kyeong-Sik Min2School of Electrical Engineering, Kookmin University, Seoul 02707, KoreaSchool of Electrical Engineering, Kookmin University, Seoul 02707, KoreaSchool of Electrical Engineering, Kookmin University, Seoul 02707, KoreaVoltages and currents in a memristor crossbar can be significantly affected due to nonideal effects such as parasitic source, line, and neuron resistance. These nonideal effects related to the parasitic resistance can cause the degradation of the neural network’s performance realized with the nonideal memristor crossbar. To avoid performance degradation due to the parasitic-resistance-related nonideal effects, adaptive training methods were proposed previously. However, the complicated training algorithm could add a heavy computational burden to the neural network hardware. Especially, the hardware and algorithmic burden can be more serious for edge intelligence applications such as Internet of Things (IoT) sensors. In this paper, a memristor-CMOS hybrid neuron circuit is proposed for compensating the parasitic-resistance-related nonideal effects during not the training phase but the inference one, where the complicated adaptive training is not needed. Moreover, unlike the previous linear correction method performed by the external hardware, the proposed correction circuit can be included in the memristor crossbar to minimize the power and hardware overheads for compensating the nonideal effects. The proposed correction circuit has been verified to be able to restore the degradation of source and output voltages in the nonideal crossbar. For the source voltage, the average percentage error of the uncompensated crossbar is as large as 36.7%. If the correction circuit is used, the percentage error in the source voltage can be reduced from 36.7% to 7.5%. For the output voltage, the average percentage error of the uncompensated crossbar is as large as 65.2%. The correction circuit can improve the percentage error in the output voltage from 65.2% to 8.6%. Almost the percentage error can be reduced to ~1/7 if the correction circuit is used. The nonideal memristor crossbar with the correction circuit has been tested for MNIST and CIFAR-10 datasets in this paper. For MNIST, the uncompensated and compensated crossbars indicate the recognition rate of 90.4% and 95.1%, respectively, compared to 95.5% of the ideal crossbar. For CIFAR-10, the nonideal crossbars without and with the nonideal-effect correction show the rate of 85.3% and 88.1%, respectively, compared to the ideal crossbar achieving the rate as large as 88.9%.https://www.mdpi.com/2072-666X/12/7/791neuron circuitnonideal-effect correctionbinary memristor crossbarneural networksedge intelligence
spellingShingle Tien Van Nguyen
Jiyong An
Kyeong-Sik Min
Memristor-CMOS Hybrid Neuron Circuit with Nonideal-Effect Correction Related to Parasitic Resistance for Binary-Memristor-Crossbar Neural Networks
Micromachines
neuron circuit
nonideal-effect correction
binary memristor crossbar
neural networks
edge intelligence
title Memristor-CMOS Hybrid Neuron Circuit with Nonideal-Effect Correction Related to Parasitic Resistance for Binary-Memristor-Crossbar Neural Networks
title_full Memristor-CMOS Hybrid Neuron Circuit with Nonideal-Effect Correction Related to Parasitic Resistance for Binary-Memristor-Crossbar Neural Networks
title_fullStr Memristor-CMOS Hybrid Neuron Circuit with Nonideal-Effect Correction Related to Parasitic Resistance for Binary-Memristor-Crossbar Neural Networks
title_full_unstemmed Memristor-CMOS Hybrid Neuron Circuit with Nonideal-Effect Correction Related to Parasitic Resistance for Binary-Memristor-Crossbar Neural Networks
title_short Memristor-CMOS Hybrid Neuron Circuit with Nonideal-Effect Correction Related to Parasitic Resistance for Binary-Memristor-Crossbar Neural Networks
title_sort memristor cmos hybrid neuron circuit with nonideal effect correction related to parasitic resistance for binary memristor crossbar neural networks
topic neuron circuit
nonideal-effect correction
binary memristor crossbar
neural networks
edge intelligence
url https://www.mdpi.com/2072-666X/12/7/791
work_keys_str_mv AT tienvannguyen memristorcmoshybridneuroncircuitwithnonidealeffectcorrectionrelatedtoparasiticresistanceforbinarymemristorcrossbarneuralnetworks
AT jiyongan memristorcmoshybridneuroncircuitwithnonidealeffectcorrectionrelatedtoparasiticresistanceforbinarymemristorcrossbarneuralnetworks
AT kyeongsikmin memristorcmoshybridneuroncircuitwithnonidealeffectcorrectionrelatedtoparasiticresistanceforbinarymemristorcrossbarneuralnetworks