English

Training of Quantized Deep Neural Networks using a Magnetic Tunnel Junction-Based Synapse

Emerging Technologies 2022-05-31 v2 Hardware Architecture Machine Learning Neural and Evolutionary Computing

Abstract

Quantized neural networks (QNNs) are being actively researched as a solution for the computational complexity and memory intensity of deep neural networks. This has sparked efforts to develop algorithms that support both inference and training with quantized weight and activation values, without sacrificing accuracy. A recent example is the GXNOR framework for stochastic training of ternary (TNN) and binary (BNN) neural networks. In this paper, we show how magnetic tunnel junction (MTJ) devices can be used to support QNN training. We introduce a novel hardware synapse circuit that uses the MTJ stochastic behavior to support the quantize update. The proposed circuit enables processing near memory (PNM) of QNN training, which subsequently reduces data movement. We simulated MTJ-based stochastic training of a TNN over the MNIST, SVHN, and CIFAR10 datasets and achieved an accuracy of 98.61%, 93.99% and 82.71%, respectively (less than 1% degradation compared to the GXNOR algorithm). We evaluated the synapse array performance potential and showed that the proposed synapse circuit can train ternary networks in situ, with 18.3TOPs/W for feedforward and 3TOPs/W for weight update.

Keywords

Cite

@article{arxiv.1912.12636,
  title  = {Training of Quantized Deep Neural Networks using a Magnetic Tunnel Junction-Based Synapse},
  author = {Tzofnat Greenberg Toledo and Ben Perach and Itay Hubara and Daniel Soudry and Shahar Kvatinsky},
  journal= {arXiv preprint arXiv:1912.12636},
  year   = {2022}
}

Comments

Published in Semiconductor Science and Technology, Vol 36

R2 v1 2026-06-23T12:58:22.820Z