Skip to main content
QUICK REVIEW

[Paper Review] On-Chip Learning with Memristor-Based Neural Networks: Assessing Accuracy and Efficiency Under Device Variations, Conductance Errors, and Input Noise

M. R. Eslami, Dhiman Biswas|arXiv (Cornell University)|Aug 26, 2024
Advanced Memory and Neural ComputingEngineering3 citations
TL;DR

This paper presents a memristor-based compute-in-memory accelerator for on-chip training and inference, using realistic SPICE models of silver-based M-SDC memristors with tungsten, chromium, and carbon channels. It demonstrates that training with moderate noise (<15%) enhances robustness, achieving up to 97% accuracy under device variations and input noise, with chromium-based devices reaching 2.4s training time and 18.9mJ energy consumption while tolerating 10% conductance error.

ABSTRACT

This paper presents a memristor-based compute-in-memory hardware accelerator for on-chip training and inference, focusing on its accuracy and efficiency against device variations, conductance errors, and input noise. Utilizing realistic SPICE models of commercially available silver-based metal self-directed channel (M-SDC) memristors, the study incorporates inherent device non-idealities into the circuit simulations. The hardware, consisting of 30 memristors and 4 neurons, utilizes three different M-SDC structures with tungsten, chromium, and carbon media to perform binary image classification tasks. An on-chip training algorithm precisely tunes memristor conductance to achieve target weights. Results show that incorporating moderate noise (&lt;15%) during training enhances robustness to device variations and noisy input data, achieving up to 97% accuracy despite conductance variations and input noises. The network tolerates a 10% conductance error without significant accuracy loss. Notably, omitting the initial memristor reset pulse during training considerably reduces training time and energy consumption. The hardware designed with chromium-based memristors exhibits superior performance, achieving a training time of 2.4 seconds and an energy consumption of 18.9 mJ. This research provides insights for developing robust and energy-efficient memristor-based neural networks for on-chip learning in edge applications.

Motivation & Objective

  • To design a hardware accelerator for on-chip training and inference using memristor-based compute-in-memory architectures.
  • To evaluate the impact of device non-idealities—such as conductance variations, conductance errors, and input noise—on neural network accuracy and efficiency.
  • To investigate how on-chip training algorithms can mitigate the effects of hardware imperfections in real-world memristor devices.
  • To optimize training time and energy consumption by eliminating the initial memristor reset pulse.
  • To compare performance across different memristor channel materials (tungsten, chromium, carbon) in terms of accuracy, speed, and energy efficiency.

Proposed method

  • The study employs realistic SPICE models of commercially available silver-based metal self-directed channel (M-SDC) memristors to simulate device-level non-idealities.
  • A hardware prototype with 30 memristors and 4 neurons is implemented using three M-SDC structures with tungsten, chromium, and carbon media for binary image classification.
  • An on-chip training algorithm dynamically tunes memristor conductance to achieve target synaptic weights, enabling in-situ adaptation to hardware variations.
  • Moderate noise injection (<15%) during training is applied to improve robustness against device variations and input noise.
  • The training process is optimized by omitting the initial memristor reset pulse, significantly reducing training time and energy consumption.
  • Performance is evaluated across accuracy, training time, energy consumption, and tolerance to conductance errors and input noise.

Experimental results

Research questions

  • RQ1How does incorporating moderate input noise during training affect the robustness of memristor-based neural networks to device variations and noisy inputs?
  • RQ2To what extent can conductance variations and errors in memristor devices degrade the accuracy of on-chip trained neural networks?
  • RQ3What is the impact of omitting the initial memristor reset pulse on training time and energy efficiency in on-chip learning systems?
  • RQ4How do different memristor channel materials (tungsten, chromium, carbon) compare in terms of training speed, energy efficiency, and accuracy?
  • RQ5Can on-chip training with conductance tuning achieve high accuracy despite hardware non-idealities in real-world memristor devices?

Key findings

  • Training with moderate noise (<15%) significantly improves robustness, enabling the network to achieve up to 97% accuracy despite device variations and input noise.
  • The network tolerates up to 10% conductance error without significant accuracy degradation, demonstrating strong resilience to hardware imperfections.
  • Omitting the initial memristor reset pulse reduces training time and energy consumption, with chromium-based memristors achieving a training time of 2.4 seconds and energy consumption of 18.9 mJ.
  • Chromium-based memristors outperform tungsten and carbon-based counterparts in both speed and energy efficiency, making them optimal for on-chip learning applications.
  • The hardware accelerator successfully performs on-chip training and inference with high accuracy, validating the feasibility of memristor-based systems for edge AI workloads.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.