Optimizing hardware-software co-design based on non-ideality in memristor crossbars for in-memory computing

被引:0
|
作者
Jiang, Pinfeng [1 ]
Song, Danzhe [1 ]
Huang, Menghua [1 ]
Yang, Fan [1 ]
Wang, Letian [1 ]
Liu, Pan [1 ]
Miao, Xiangshui [1 ,2 ]
Wang, Xingsheng [1 ,2 ]
机构
[1] Huazhong Univ Sci & Technol, Sch Integrated Circuits, Wuhan 430074, Peoples R China
[2] Hubei Yangtze Memory Labs, Wuhan 450205, Peoples R China
基金
中国国家自然科学基金;
关键词
memristor crossbar; IR-drop; neural network; activation function; hardware-software co-design; EFFICIENT;
D O I
10.1007/s11432-024-4240-x
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The memristor crossbar, with its exceptionally high storage density and parallelism, enables efficient vector matrix multiplication (VMM), significantly improving data throughput and computational efficiency. However, its analog computing is vulnerable to issues like IR-drop, device-to-device (D2D) variation, and stuck-at-fault (SAF), leading to a substantial decrease in the inference accuracy of neural networks deployed on crossbars. This work presents a hardware-software co-design approach tailored to deal with memristor crossbar non-ideality. We introduce an end-to-end functional array simulator (FAST) for precise and ultra fast end-to-end training, mapping, and evaluation of neural networks on the memristor crossbar. Utilizing the sparsity of the memristor crossbar coefficient matrix, it achieves simulation with low storage and computational resource requirements, dynamically selecting the optimal solution to complete the process. It can also precisely simulate the impact of non-ideal effects such as IR-drop, retention, variation, SAF, and AD/DA precision. Using FAST, we assess memristor crossbar matrix operations under non-ideal conditions, identifying the max throughput and the most energy-efficient crossbar configurations. Additionally, we propose a comparator-based activation function modulation (CAFM) scheme and its corresponding hardware architecture with programmable activation function circuits to address the IR-drop issue, enabling low power and area overheads, resulting in the recovery of neural network accuracy by 54% or more. This is validated within FAST, demonstrating the success of our hardware-software optimization co-design.
引用
收藏
页数:16
相关论文
共 50 条
  • [41] A Hardware-Software Co-design Experiments Platform for NAND Flash Based on Zynq
    Wei, Debao
    Gong, Youhua
    Qiao, Liyan
    Deng, Libao
    2014 IEEE 20TH INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS (RTCSA), 2014,
  • [42] Device Non-Ideality Effects and Architecture-aware Training in RRAM In-Memory Computing Modules
    Wang, Qiwen
    Park, Yongmo
    Lu, Wei D.
    2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2021,
  • [43] Multi-Tag: A Hardware-Software Co-Design for Memory Safety based on Multi-Granular Memory Tagging
    Unterguggenberger, Martin
    Schrammel, David
    Nasahl, Pascal
    Schilling, Robert
    Lamster, Lukas
    Mangard, Stefan
    PROCEEDINGS OF THE 2023 ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, ASIA CCS 2023, 2023, : 177 - 189
  • [44] Hardware-Software Co-design to Accelerate Neural Network Applications
    Imani, Mohsen
    Garcia, Ricardo
    Gupta, Saransh
    Rosing, Tajana
    ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2019, 15 (02)
  • [45] Hardware-Software Co-design for Heterogeneous Multiprocessor Sensor Nodes
    Zhang, Jingyao
    Iyer, Srikrishna
    Zheng, Xiangwei
    Schaumont, Patrick
    Yang, Yaling
    2014 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM 2014), 2014, : 20 - 25
  • [46] Scalable and Interpretable Brain-Inspired Hyperdimensional Computing Intelligence with Hardware-software Co-design
    Chen, Hanning
    Ni, Yang
    Huang, Wenjun
    Imani, Mohsen
    2024 IEEE CUSTOM INTEGRATED CIRCUITS CONFERENCE, CICC, 2024,
  • [47] Hardware Implementation of Memristor-based In-Memory Computing for Classification Tasks
    Eslami, Mohammad Reza
    Takhtardeshir, Soheib
    Sharif, Sarah
    Banad, Yaser Mike
    2024 IEEE 67TH INTERNATIONAL MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS, MWSCAS 2024, 2024, : 126 - 130
  • [48] Co-Z ECC scalar multiplications for hardware, software and hardware-software co-design on embedded systems
    Baldwin, Brian
    Goundar, Raveen R.
    Hamilton, Mark
    Marnane, William P.
    JOURNAL OF CRYPTOGRAPHIC ENGINEERING, 2012, 2 (04) : 221 - 240
  • [49] Algorithm/Hardware Co-Design for In-Memory Neural Network Computing with Minimal Peripheral Circuit Overhead
    Kim, Hyungjun
    Kim, Yulhwa
    Ryu, Sungju
    Kim, Jae-Joon
    PROCEEDINGS OF THE 2020 57TH ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2020,
  • [50] Computational Imaging and Display - Hardware-Software Co-design for Imaging Devices
    Heidrich, Wolfgang
    COMPUTER GRAPHICS FORUM, 2015, 34 (02) : XXI - XXI