Neuromorphic Circuit Simulation with Memristors: Design and Evaluation Using MemTorch for MNIST and CIFAR

Read original: arXiv:2407.13410 - Published 7/19/2024 by Julio Souto, Guillermo Botella, Daniel Garc'ia, Ra'ul Murillo, Alberto del Barrio
Total Score

0

Neuromorphic Circuit Simulation with Memristors: Design and Evaluation Using MemTorch for MNIST and CIFAR

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

• This paper presents a framework for simulating neuromorphic circuits using memristors, which are electronic devices that can store and process information in a way that mimics the function of biological neurons and synapses.

• The researchers developed a Python library called MemTorch to enable the design, simulation, and evaluation of neuromorphic circuits for image recognition tasks on the MNIST and CIFAR-10 datasets.

• The paper explores the potential benefits of memristor-based neuromorphic computing, which could overcome the limitations of traditional von Neumann architecture and enable more energy-efficient and parallel processing of information.

Plain English Explanation

Computers today are based on the von Neumann architecture, where data and instructions are kept separate. This can lead to inefficiencies, especially for tasks like image recognition that require a lot of data processing. Memristors are a type of electronic component that can mimic the behavior of biological neurons and synapses, potentially allowing for more efficient and parallel processing of information.

In this paper, the researchers developed a software tool called MemTorch that allows them to design and simulate neuromorphic circuits using memristors. They used MemTorch to build and test neuromorphic networks for recognizing images from the MNIST and CIFAR-10 datasets, which are commonly used benchmarks in machine learning.

The goal is to show that memristor-based neuromorphic computing can be a viable alternative to traditional approaches, potentially offering benefits in terms of energy efficiency, speed, and scalability. By using memristors to create neural network-like structures, the researchers hope to overcome some of the limitations of the von Neumann architecture and enable more powerful and flexible computing systems.

Technical Explanation

The researchers developed MemTorch, a Python library that allows users to design, simulate, and evaluate neuromorphic circuits based on memristor devices. MemTorch provides a flexible framework for specifying the architecture of neuromorphic networks, including the connectivity, weights, and activation functions of the artificial neurons and synapses.

Using MemTorch, the researchers built and trained neuromorphic networks for image recognition on the MNIST and CIFAR-10 datasets. They explored different memristor device models and network configurations to evaluate the performance and efficiency of the memristor-based approach compared to traditional neural networks implemented on conventional hardware.

The results show that the memristor-based neuromorphic circuits can achieve competitive accuracy on these image recognition tasks, while potentially offering benefits in terms of energy efficiency and scalability. The researchers also discuss the potential of memristor-based time series forecasting and the integration of memristors with CMOS-based analog neurons as further avenues for neuromorphic computing.

Critical Analysis

The paper provides a comprehensive framework for simulating and evaluating memristor-based neuromorphic circuits, which is a valuable contribution to the field. However, the researchers acknowledge that the current memristor device models and fabrication processes may not yet be mature enough to fully realize the potential of this approach.

Additionally, the paper focuses primarily on image recognition tasks, which may not be representative of the full range of applications that could benefit from neuromorphic computing. There may be other domains, such as event-based processing or spin-based computing, where memristor-based neuromorphic architectures could have even greater advantages.

Further research is needed to explore the scalability, robustness, and energy efficiency of memristor-based neuromorphic systems across a wider range of applications and under real-world conditions. Addressing these challenges will be crucial for the successful adoption and deployment of this technology.

Conclusion

This paper presents a promising approach to neuromorphic circuit simulation using memristors, a type of electronic device that can mimic the behavior of biological neurons and synapses. The researchers developed a flexible software tool called MemTorch to design, simulate, and evaluate memristor-based neuromorphic networks for image recognition tasks.

The results suggest that memristor-based neuromorphic computing could offer benefits in terms of energy efficiency, speed, and scalability compared to traditional von Neumann-based architectures. However, further research is needed to address the current limitations of memristor technology and explore the wider applications of this approach.

Overall, this work contributes to the growing field of neuromorphic computing and demonstrates the potential of memristor-based systems to overcome the limitations of conventional computing and enable more powerful and efficient information processing.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

Neuromorphic Circuit Simulation with Memristors: Design and Evaluation Using MemTorch for MNIST and CIFAR
Total Score

0

Neuromorphic Circuit Simulation with Memristors: Design and Evaluation Using MemTorch for MNIST and CIFAR

Julio Souto, Guillermo Botella, Daniel Garc'ia, Ra'ul Murillo, Alberto del Barrio

Memristors offer significant advantages as in-memory computing devices due to their non-volatility, low power consumption, and history-dependent conductivity. These attributes are particularly valuable in the realm of neuromorphic circuits for neural networks, which currently face limitations imposed by the Von Neumann architecture and high energy demands. This study evaluates the feasibility of using memristors for in-memory processing by constructing and training three digital convolutional neural networks with the datasets MNIST, CIFAR10 and CIFAR100. Subsequent conversion of these networks into memristive systems was performed using Memtorch. The simulations, conducted under ideal conditions, revealed minimal precision losses of nearly 1% during inference. Additionally, the study analyzed the impact of tile size and memristor-specific non-idealities on performance, highlighting the practical implications of integrating memristors in neuromorphic computing systems. This exploration into memristive neural network applications underscores the potential of Memtorch in advancing neuromorphic architectures.

Read more

7/19/2024

🧠

Total Score

0

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

M. Reza Eslami, Dhiman Biswas, Soheib Takhtardeshir, Sarah S. Sharif, Yaser M. Banad

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 (<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.

Read more

8/28/2024

Event-Based Simulation of Stochastic Memristive Devices for Neuromorphic Computing
Total Score

0

Event-Based Simulation of Stochastic Memristive Devices for Neuromorphic Computing

Waleed El-Geresy, Christos Papavassiliou, Deniz Gunduz

In this paper, we build a general model of memristors suitable for the simulation of event-based systems, such as hardware spiking neural networks, and more generally, neuromorphic computing systems. We extend an existing general model of memristors - the Generalised Metastable Switch Model - to an event-driven setting, eliminating errors associated discrete time approximation, as well as offering potential improvements in terms of computational efficiency for simulation. We introduce the notion of a volatility state variable, to allow for the modelling of memory-dependent and dynamic switching behaviour, succinctly capturing and unifying a variety of volatile phenomena present in memristive devices, including state relaxation, structural disruption, Joule heating, and drift acceleration phenomena. We supply a drift dataset for titanium dioxide memristors and introduce a linear conductance model to simulate the drift characteristics, motivated by a proposed physical model of filament growth. We then demonstrate an approach for fitting the parameters of the event-based model to the drift model.

Read more

7/24/2024

Contrastive Learning in Memristor-based Neuromorphic Systems
Total Score

0

New!Contrastive Learning in Memristor-based Neuromorphic Systems

Cory Merkel, Alexander Ororbia

Spiking neural networks, the third generation of artificial neural networks, have become an important family of neuron-based models that sidestep many of the key limitations facing modern-day backpropagation-trained deep networks, including their high energy inefficiency and long-criticized biological implausibility. In this work, we design and investigate a proof-of-concept instantiation of contrastive-signal-dependent plasticity (CSDP), a neuromorphic form of forward-forward-based, backpropagation-free learning. Our experimental simulations demonstrate that a hardware implementation of CSDP is capable of learning simple logic functions without the need to resort to complex gradient calculations.

Read more

9/18/2024