Skip to main content
QUICK REVIEW

[Paper Review] X-CHANGR: Changing Memristive Crossbar Mapping for Mitigating Line-Resistance Induced Accuracy Degradation in Deep Neural Networks

Amogh Agrawal, Chankyu Lee|arXiv (Cornell University)|Jun 29, 2019
Advanced Memory and Neural ComputingEngineering38 references21 citations
TL;DR

This paper proposes X-CHANGR, a crossbar re-mapping technique that reduces line-resistance-induced accuracy degradation in memristive crossbar-based DNN inference by ranking and reassigning sensitive DNN weights and kernels to columns closer to drivers. Using static (SRS) and dynamic (DRS) remapping strategies on a VGG16 network with CIFAR-10, accuracy degradation is reduced to 2.9% and 2.1%, respectively, compared to 5.6% in baseline mapping, without retraining or multiple writes to non-volatile memory.

ABSTRACT

There is widespread interest in emerging technologies, especially resistive crossbars for accelerating Deep Neural Networks (DNNs). Resistive crossbars offer a highly-parallel and efficient matrix-vector-multiplication (MVM) operation. MVM being the most dominant operation in DNNs makes crossbars ideally suited. However, various sources of device and circuit non-idealities lead to errors in the MVM output, thereby reducing DNN accuracy. Towards that end, we propose crossbar re-mapping strategies to mitigate line-resistance induced accuracy degradation in DNNs, without having to re-train the learned weights, unlike most prior works. Line-resistances degrade the voltage levels along the crossbar columns, thereby inducing more errors at the columns away from the drivers. We rank the DNN weights and kernels based on a sensitivity analysis, and re-arrange the columns such that the most sensitive kernels are mapped closer to the drivers, thereby minimizing the impact of errors on the overall accuracy. We propose two algorithms $-$ static remapping strategy (SRS) and dynamic remapping strategy (DRS), to optimize the crossbar re-arrangement of a pre-trained DNN. We demonstrate the benefits of our approach on a standard VGG16 network trained using CIFAR10 dataset. Our results show that SRS and DRS limit the accuracy degradation to 2.9\% and 2.1\%, respectively, compared to a 5.6\% drop from an as it is mapping of weights and kernels to crossbars. We believe this work brings an additional aspect for optimization, which can be used in tandem with existing mitigation techniques, such as in-situ compensation, technology aware training and re-training approaches, to enhance system performance.

Motivation & Objective

  • To address line-resistance-induced accuracy degradation in resistive crossbar-based DNN inference, which degrades performance due to voltage drop across columns.
  • To mitigate this degradation without retraining or multiple writes to non-volatile memory, which are energy-intensive and limited by device endurance.
  • To optimize crossbar mapping by ranking DNN layer sensitivity and reassigning high-sensitivity kernels to low-error columns.
  • To develop two practical remapping strategies—static and dynamic—that improve system-level accuracy with minimal hardware overhead.

Proposed method

  • A statistical model characterizes line-resistance effects, showing voltage degradation increases with distance from the driver, causing higher errors in remote columns.
  • Sensitivity analysis computes δ-values across the full training set to rank neurons by their impact on final output, with higher δ indicating greater sensitivity.
  • In the static remapping strategy (SRS), all neurons are ranked once using the full dataset, and crossbar columns are assigned based on these ranks.
  • In the dynamic remapping strategy (DRS), mini-batches are used to iteratively compute local gradients, re-rank neurons, and re-map columns after each batch, selecting the configuration with highest validation accuracy.
  • The crossbar model integrates with a system-level framework to evaluate accuracy on VGG16 with CIFAR-10, comparing baseline, SRS, and DRS configurations.
  • The final mapping is selected based on validation performance, minimizing overall accuracy degradation.

Experimental results

Research questions

  • RQ1How does line-resistance-induced voltage degradation vary across crossbar columns, and what is its impact on DNN inference accuracy?
  • RQ2Can sensitivity analysis of DNN weights and kernels predict which layers are most vulnerable to line-resistance errors?
  • RQ3Can crossbar column re-mapping based on sensitivity ranking reduce overall accuracy degradation without retraining?
  • RQ4How do static and dynamic remapping strategies compare in terms of accuracy improvement and hardware cost?
  • RQ5Can this approach be used in tandem with existing mitigation techniques like in-situ compensation or retraining?

Key findings

  • The baseline accuracy of the VGG16 network on CIFAR-10 was 89.29% before hardware-induced errors.
  • With standard crossbar mapping, line-resistance caused a 5.6% accuracy drop, reducing performance to 83.70%.
  • The static remapping strategy (SRS) reduced degradation to 2.9%, achieving a test accuracy of 86.37%.
  • The dynamic remapping strategy (DRS) achieved the best result, limiting degradation to 2.1% with a test accuracy of 87.18%.
  • DRS outperformed SRS due to iterative re-mapping and stochastic exploration of the design space.
  • Both strategies avoid retraining and minimize eNVM writes, making them suitable for energy-constrained, edge-deployed systems.

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.