English

MemTorch: An Open-source Simulation Framework for Memristive Deep Learning Systems

Emerging Technologies 2025-01-30 v4

Abstract

Memristive devices have shown great promise to facilitate the acceleration and improve the power efficiency of Deep Learning (DL) systems. Crossbar architectures constructed using these Resistive Random-Access Memory (RRAM) devices can be used to efficiently implement various in-memory computing operations, such as Multiply Accumulate (MAC) and unrolled-convolutions, which are used extensively in Deep Neural Networks (DNNs) and Convolutional Neural Networks (CNNs). However, memristive devices face concerns of aging and non-idealities, which limit the accuracy, reliability, and robustness of Memristive Deep Learning Systems (MDLSs), that should be considered prior to circuit-level realization. This Original Software Publication (OSP) presents MemTorch, an open-source framework for customized large-scale memristive DL simulations, with a refined focus on the co-simulation of device non-idealities. MemTorch also facilitates co-modelling of key crossbar peripheral circuitry. MemTorch adopts a modernized soft-ware engineering methodology and integrates directly with the well-known PyTorch Machine Learning (ML) library

Keywords

Cite

@article{arxiv.2004.10971,
  title  = {MemTorch: An Open-source Simulation Framework for Memristive Deep Learning Systems},
  author = {Corey Lammie and Wei Xiang and Bernabé Linares-Barranco and Mostafa Rahimi Azghadi},
  journal= {arXiv preprint arXiv:2004.10971},
  year   = {2025}
}

Comments

Accepted for Publication in Neurocomputing

R2 v1 2026-06-23T15:02:40.714Z