Skip to main content
QUICK REVIEW

[Paper Review] Mixed-precision training of deep neural networks using computational memory

S. R. Nandakumar, Manuel Le Gallo|arXiv (Cornell University)|Dec 4, 2017
Advanced Memory and Neural ComputingEngineering29 references11 citations
TL;DR

This paper proposes a mixed-precision training architecture that combines a computational memory unit with resistive crossbar arrays for low-precision matrix-vector multiplications and a high-precision digital unit for accumulating weight updates. By applying sparse, high-precision weight updates only when necessary, the method achieves 97.40% test accuracy on MNIST using realistic phase-change memory models, overcoming non-idealities like stochasticity and limited update granularity.

ABSTRACT

Deep neural networks have revolutionized the field of machine learning by providing unprecedented human-like performance in solving many real-world problems such as image and speech recognition. Training of large DNNs, however, is a computationally intensive task, and this necessitates the development of novel computing architectures targeting this application. A computational memory unit where resistive memory devices are organized in crossbar arrays can be used to locally store the synaptic weights in their conductance states. The expensive multiply accumulate operations can be performed in place using Kirchhoff's circuit laws in a non-von Neumann manner. However, a key challenge remains the inability to alter the conductance states of the devices in a reliable manner during the weight update process. We propose a mixed-precision architecture that combines a computational memory unit storing the synaptic weights with a digital processing unit and an additional memory unit accumulating weight updates in high precision. The new architecture delivers classification accuracies comparable to those of floating-point implementations without being constrained by challenges associated with the non-ideal weight update characteristics of emerging resistive memories. A two layer neural network in which the computational memory unit is realized using non-linear stochastic models of phase-change memory devices achieves a test accuracy of 97.40% on the MNIST handwritten digit classification problem.

Motivation & Objective

  • To address the challenge of non-ideal resistive memory devices—such as limited update granularity, stochasticity, and non-linearity—in computational memory-based DNN training.
  • To enable high-accuracy deep neural network training using emerging resistive memory technologies that currently fail to achieve state-of-the-art performance.
  • To preserve the energy and speed advantages of in-memory computing by minimizing frequent, imprecise weight updates to resistive devices.
  • To develop a hybrid architecture that leverages the efficiency of computational memory for forward and backward propagation while ensuring accurate weight updates via high-precision digital accumulation.

Proposed method

  • The architecture uses a computational memory unit with phase-change memory (PCM) devices in crossbar arrays to store synaptic weights as conductance states, enabling in-situ matrix-vector multiplication via Kirchhoff’s laws.
  • Weight updates are accumulated in a high-precision digital unit, avoiding direct, frequent programming of resistive memory devices.
  • Only when the accumulated update reaches a threshold comparable to the device’s minimum update granularity is a single pulse applied to the memory array.
  • The method employs a blind single-pulse programming strategy without read-back, reducing overhead and latency.
  • The system uses a sparse update mechanism where updates are applied only when the accumulated error exceeds the device’s resolution, minimizing programming events.
  • Thresholding and subtraction operations are performed in parallel with accumulation to avoid additional memory access overhead.

Experimental results

Research questions

  • RQ1Can a mixed-precision architecture mitigate the non-ideal behavior of resistive memory devices during DNN training, such as stochasticity and limited update granularity?
  • RQ2To what extent can computational memory-based matrix-vector multiplication be leveraged for efficient forward and backward propagation without compromising training accuracy?
  • RQ3How does high-precision accumulation of weight updates compare to standard stochastic gradient descent in terms of convergence and final accuracy?
  • RQ4What is the impact of infrequent, high-precision updates on training efficiency and energy consumption in resistive memory-based systems?
  • RQ5Can realistic PCM device models with non-linear and asymmetric conductance responses still achieve high classification accuracy when combined with a mixed-precision update strategy?

Key findings

  • The proposed architecture achieves a test accuracy of 97.40% on the MNIST handwritten digit classification task using realistic 90 nm phase-change memory models.
  • The method maintains classification accuracy comparable to full-precision floating-point training despite using low-precision computational memory and sparse device updates.
  • The number of resistive memory programming events is reduced by several orders of magnitude due to infrequent, high-precision updates.
  • The system is robust to device-level non-idealities such as conductance programming asymmetry, non-linearity, and stochasticity.
  • The high-precision accumulation and sparse update mechanism enable significant energy and time savings while preserving training convergence.
  • The architecture preserves the computational efficiency of in-memory computing by accelerating O(N²) matrix-vector operations in fixed time, with minimal overhead from weight update management.

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.