{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,20]],"date-time":"2026-05-20T01:53:59Z","timestamp":1779242039992,"version":"3.51.4"},"reference-count":61,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2019,3,28]],"date-time":"2019-03-28T00:00:00Z","timestamp":1553731200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/100000181","name":"Air Force Office of Scientific Research","doi-asserted-by":"publisher","award":["FA9550-14-1-0351"],"award-info":[{"award-number":["FA9550-14-1-0351"]}],"id":[{"id":"10.13039\/100000181","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["J. Emerg. Technol. Comput. Syst."],"published-print":{"date-parts":[[2019,4,30]]},"abstract":"<jats:p>Owing to high device density, scalability, and non-volatility, magnetic tunnel junction (MTJ)-based crossbars have garnered significant interest for implementing the weights of neural networks (NNs). The existence of only two stable states in MTJs implies a high overhead of obtaining optimal binary weights in software. This article illustrates that the inherent parallelism in the crossbar structure makes it highly appropriate for in situ training, wherein the network is taught directly on the hardware. It leads to significantly smaller training overhead as the training time is independent of the size of the network, while also circumventing the effects of alternate current paths in the crossbar and accounting for manufacturing variations in the device. We show how the stochastic switching characteristics of MTJs can be leveraged to perform probabilistic weight updates using the gradient descent algorithm. We describe how the update operations can be performed on crossbars implementing NNs and restricted Boltzmann machines, and perform simulations on them to demonstrate the effectiveness of our techniques. The results reveal that stochastically trained MTJ-crossbar feed-forward and deep belief nets achieve a classification accuracy nearly the same as that of real-valued weight networks trained in software and exhibit immunity to device variations.<\/jats:p>","DOI":"10.1145\/3309880","type":"journal-article","created":{"date-parts":[[2019,3,29]],"date-time":"2019-03-29T12:45:01Z","timestamp":1553863501000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":5,"title":["In Situ Stochastic Training of MTJ Crossbars With Machine Learning Algorithms"],"prefix":"10.1145","volume":"15","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9847-4225","authenticated-orcid":false,"given":"Ankit","family":"Mondal","sequence":"first","affiliation":[{"name":"University of Maryland College Park, MD"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Ankur","family":"Srivastava","sequence":"additional","affiliation":[{"name":"University of Maryland College Park, MD"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2019,3,28]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Retrieved","author":"Toronto CS","year":"2012","unstructured":"CS Toronto . 2012 . Training a Deep Autoencoder or a Classifier on MNIST Digits . Retrieved March 12, 2019 from http:\/\/www.cs.toronto.edu\/&sim;hinton\/MatlabForSciencePaper.html. CS Toronto. 2012. Training a Deep Autoencoder or a Classifier on MNIST Digits. Retrieved March 12, 2019 from http:\/\/www.cs.toronto.edu\/&sim;hinton\/MatlabForSciencePaper.html."},{"key":"e_1_2_1_2_1","volume-title":"Retrieved","author":"Learning Deep","year":"2018","unstructured":"Deep Learning . 2018 . Deep Belief Network Tutorial . Retrieved March 12, 2019 from http:\/\/deeplearning.net\/tutorial\/DBN.html. Deep Learning. 2018. Deep Belief Network Tutorial. Retrieved March 12, 2019 from http:\/\/deeplearning.net\/tutorial\/DBN.html."},{"key":"e_1_2_1_3_1","doi-asserted-by":"crossref","unstructured":"Yoshua Bengio Pascal Lamblin Dan Popovici and Hugo Larochelle. 2007. Greedy layer-wise training of deep networks. In Advances in Neural Information Processing Systems. 153--160. Yoshua Bengio Pascal Lamblin Dan Popovici and Hugo Larochelle. 2007. Greedy layer-wise training of deep networks. In Advances in Neural Information Processing Systems. 153--160.","DOI":"10.7551\/mitpress\/7503.003.0024"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1109\/NANOARCH.2015.7180609"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2629503"},{"key":"e_1_2_1_6_1","unstructured":"Matthieu Courbariaux Yoshua Bengio and Jean-Pierre David. 2015. BinaryConnect: Training deep neural networks with binary weights during propagations. In Advances in Neural Information Processing Systems. 3123--3131. Matthieu Courbariaux Yoshua Bengio and Jean-Pierre David. 2015. BinaryConnect: Training deep neural networks with binary weights during propagations. In Advances in Neural Information Processing Systems. 3123--3131."},{"key":"e_1_2_1_7_1","unstructured":"Jeffrey Dean Greg Corrado Rajat Monga Kai Chen Matthieu Devin Mark Mao Andrew Senior etal 2012. Large scale distributed deep networks. In Advances in Neural Information Processing Systems. 1223--1231. Jeffrey Dean Greg Corrado Rajat Monga Kai Chen Matthieu Devin Mark Mao Andrew Senior et al. 2012. Large scale distributed deep networks. In Advances in Neural Information Processing Systems. 1223--1231."},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1371\/journal.pone.0161335"},{"key":"e_1_2_1_9_1","volume-title":"Proceedings of the 13th International Conference on Artificial Intelligence and Statistics. 249--256","author":"Glorot Xavier","year":"2010","unstructured":"Xavier Glorot and Yoshua Bengio . 2010 . Understanding the difficulty of training deep feedforward neural networks . In Proceedings of the 13th International Conference on Artificial Intelligence and Statistics. 249--256 . Xavier Glorot and Yoshua Bengio. 2010. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the 13th International Conference on Artificial Intelligence and Statistics. 249--256."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.3389\/fnins.2016.00333"},{"key":"e_1_2_1_11_1","volume-title":"Proceedings of the International Joint Conference on Neural Networks (IJCNN\u201914)","author":"Hasan Raqibul","unstructured":"Raqibul Hasan and Tarek M. Taha . 2014. Enabling back propagation training of memristor crossbar neuromorphic processors . In Proceedings of the International Joint Conference on Neural Networks (IJCNN\u201914) . IEEE, Los Alamitos, CA, 21--28. Raqibul Hasan and Tarek M. Taha. 2014. Enabling back propagation training of memristor crossbar neuromorphic processors. In Proceedings of the International Joint Conference on Neural Networks (IJCNN\u201914). IEEE, Los Alamitos, CA, 21--28."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/IJCNN.2017.7966118"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1162\/089976602760128018"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0079-6123(06)65034-6"},{"key":"e_1_2_1_15_1","volume-title":"Neural Networks: Tricks of the Trade","author":"Hinton Geoffrey E.","unstructured":"Geoffrey E. Hinton . 2012. A practical guide to training restricted Boltzmann machines . In Neural Networks: Tricks of the Trade . Springer , 599--619. Geoffrey E. Hinton. 2012. A practical guide to training restricted Boltzmann machines. In Neural Networks: Tricks of the Trade. Springer, 599--619."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1162\/neco.2006.18.7.1527"},{"key":"e_1_2_1_17_1","volume-title":"Proceedings of the IEEE\/ACM International Symposium on Nanoscale Architectures (NANOARCH\u201916)","author":"Jin Yingyezhe","year":"2016","unstructured":"Yingyezhe Jin , Yu Liu , and Peng Li . 2016 . SSO-LSM: A sparse and self-organizing architecture for liquid state machine based neural processors . In Proceedings of the IEEE\/ACM International Symposium on Nanoscale Architectures (NANOARCH\u201916) . IEEE, Los Alamitos, CA, 55--60. Yingyezhe Jin, Yu Liu, and Peng Li. 2016. SSO-LSM: A sparse and self-organizing architecture for liquid state machine based neural processors. In Proceedings of the IEEE\/ACM International Symposium on Nanoscale Architectures (NANOARCH\u201916). IEEE, Los Alamitos, CA, 55--60."},{"key":"e_1_2_1_18_1","first-page":"101","article-title":"Comparison of supervised learning methods for spike time coding in spiking neural networks","volume":"16","author":"Kasi\u0144ski Andrzej","year":"2006","unstructured":"Andrzej Kasi\u0144ski and Filip Ponulak . 2006 . Comparison of supervised learning methods for spike time coding in spiking neural networks . International Journal of Applied Mathematics and Computer Science 16 (2006), 101 -- 113 . Andrzej Kasi\u0144ski and Filip Ponulak. 2006. Comparison of supervised learning methods for spike time coding in spiking neural networks. International Journal of Applied Mathematics and Computer Science 16 (2006), 101--113.","journal-title":"International Journal of Applied Mathematics and Computer Science"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1109\/TVLSI.2011.2109404"},{"key":"e_1_2_1_20_1","volume-title":"Proceedings of the IEEE Custom Integrated Circuits Conference (CICC\u201915)","author":"Kim Jongyeon","unstructured":"Jongyeon Kim , An Chen , Behtash Behin-Aein , Saurabh Kumar , Jian-Ping Wang , and Chris H. Kim . 2015. A technology-agnostic MTJ SPICE model with user-defined dimensions for STT-MRAM scalability studies . In Proceedings of the IEEE Custom Integrated Circuits Conference (CICC\u201915) . IEEE, Los Alamitos, CA, 1--4. Jongyeon Kim, An Chen, Behtash Behin-Aein, Saurabh Kumar, Jian-Ping Wang, and Chris H. Kim. 2015. A technology-agnostic MTJ SPICE model with user-defined dimensions for STT-MRAM scalability studies. In Proceedings of the IEEE Custom Integrated Circuits Conference (CICC\u201915). IEEE, Los Alamitos, CA, 1--4."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/ISCAS.2018.8351344"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/1390156.1390224"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1109\/5.726791"},{"key":"e_1_2_1_24_1","volume-title":"Neural Networks: Tricks of the Trade","author":"LeCun Yann A.","unstructured":"Yann A. LeCun , L\u00e9on Bottou , Genevieve B. Orr , and Klaus-Robert M\u00fcller . 2012. Efficient backprop . In Neural Networks: Tricks of the Trade . Springer , Berlin, Germany , 9--48. Yann A. LeCun, L\u00e9on Bottou, Genevieve B. Orr, and Klaus-Robert M\u00fcller. 2012. Efficient backprop. In Neural Networks: Tricks of the Trade. Springer, Berlin, Germany, 9--48."},{"key":"e_1_2_1_25_1","volume-title":"Proceedings of the International Joint Conference on Neural Networks (IJCNN\u201906)","author":"Lee Jung Hoon","unstructured":"Jung Hoon Lee and Konstantin K. Likharev . 2006. In situ training of CMOL CrossNets . In Proceedings of the International Joint Conference on Neural Networks (IJCNN\u201906) . IEEE, Los Alamitos, CA, 2749--2756. Jung Hoon Lee and Konstantin K. Likharev. 2006. In situ training of CMOL CrossNets. In Proceedings of the International Joint Conference on Neural Networks (IJCNN\u201906). IEEE, Los Alamitos, CA, 2749--2756."},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.5555\/1249226.1249233"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1162\/0899766054796888"},{"key":"e_1_2_1_28_1","unstructured":"Fengfu Li Bo Zhang and Bin Liu. 2016. Ternary weight networks. arXiv:1605.04711. Fengfu Li Bo Zhang and Bin Liu. 2016. Ternary weight networks. arXiv:1605.04711."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevB.68.024404"},{"key":"e_1_2_1_30_1","volume-title":"Retrieved","author":"Lichman M.","year":"2013","unstructured":"M. Lichman . 2013 . UCI Machine Learning Repository . Retrieved March 12, 2019 from http:\/\/archive.ics.uci.edu\/ml. M. Lichman. 2013. UCI Machine Learning Repository. Retrieved March 12, 2019 from http:\/\/archive.ics.uci.edu\/ml."},{"key":"e_1_2_1_31_1","unstructured":"Suhwan Lim Jong-Ho Bae Jai-Ho Eum Sungtae Lee Chul-Heung Kim Dongseok Kwon Byung-Gook Park etal 2017. Adaptive learning rule for hardware-based deep neural networks using electronic synapse devices. In Neural Computing and Applications. Springer 1--16. Suhwan Lim Jong-Ho Bae Jai-Ho Eum Sungtae Lee Chul-Heung Kim Dongseok Kwon Byung-Gook Park et al. 2017. Adaptive learning rule for hardware-based deep neural networks using electronic synapse devices. In Neural Computing and Applications. Springer 1--16."},{"key":"e_1_2_1_32_1","volume-title":"Proceedings of the IEEE Custom Integrated Circuits Conference (CICC\u201911)","author":"Merolla Paul","unstructured":"Paul Merolla , John Arthur , Filipp Akopyan , Nabil Imam , Rajit Manohar , and Dharmendra S. Modha . 2011. A digital neurosynaptic core using embedded crossbar memory with 45pJ per spike in 45nm . In Proceedings of the IEEE Custom Integrated Circuits Conference (CICC\u201911) . IEEE, Los Alamitos, CA, 1--4. Paul Merolla, John Arthur, Filipp Akopyan, Nabil Imam, Rajit Manohar, and Dharmendra S. Modha. 2011. A digital neurosynaptic core using embedded crossbar memory with 45pJ per spike in 45nm. In Proceedings of the IEEE Custom Integrated Circuits Conference (CICC\u201911). IEEE, Los Alamitos, CA, 1--4."},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.neucom.2010.03.021"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/3218603.3218616"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.3389\/fnins.2013.00272"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/2996192"},{"key":"e_1_2_1_37_1","volume-title":"Proceedings of the International Joint Conference on Neural Networks","volume":"2","author":"Pan Dong","unstructured":"Dong Pan and Bogdan M. Wilamowski . 2003. A VLSI implementation of mixed-signal mode bipolar neuron circuitry . In Proceedings of the International Joint Conference on Neural Networks , Vol. 2 . IEEE, Los Alamitos, CA, 971--976. Dong Pan and Bogdan M. Wilamowski. 2003. A VLSI implementation of mixed-signal mode bipolar neuron circuitry. In Proceedings of the International Joint Conference on Neural Networks, Vol. 2. IEEE, Los Alamitos, CA, 971--976."},{"key":"e_1_2_1_38_1","doi-asserted-by":"crossref","unstructured":"M. Prezioso F. Merrikh-Bayat B. D. Hoskins G. C. Adam K. K. Likharev and D. B. Strukov. 2015. Training and operation of an integrated neuromorphic network based on metal-oxide memristors. Nature 521 7550 (2015) 61--64. M. Prezioso F. Merrikh-Bayat B. D. Hoskins G. C. Adam K. K. Likharev and D. B. Strukov. 2015. Training and operation of an integrated neuromorphic network based on metal-oxide memristors. Nature 521 7550 (2015) 61--64.","DOI":"10.1038\/nature14441"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNANO.2013.2250995"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-46493-0_32"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.3389\/fnins.2015.00051"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevApplied.6.064003"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1109\/TED.2016.2568762"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevE.71.061907"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1109\/CICC.2011.6055293"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.engappai.2014.09.013"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNNLS.2014.2383395"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1038\/srep29545"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1109\/NVMTS.2015.7457484"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1109\/TED.2013.2263000"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1109\/TMAG.2011.2105860"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1109\/TBCAS.2015.2414423"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1088\/0022-3727\/46\/7\/074003"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41467-018-03140-z"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/2894756"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1109\/IEDM.2010.5703349"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.neunet.2013.02.003"},{"key":"e_1_2_1_58_1","volume-title":"Proceedings of the International Joint Conference on Neural Networks (IJCNN\u201916)","author":"Yakopcic Chris","unstructured":"Chris Yakopcic , Md Zahangir Alom , and Tarek M. Taha . 2016. Memristor crossbar deep network implementation based on a convolutional neural network . In Proceedings of the International Joint Conference on Neural Networks (IJCNN\u201916) . IEEE, Los Alamitos, CA, 963--970. Chris Yakopcic, Md Zahangir Alom, and Tarek M. Taha. 2016. Memristor crossbar deep network implementation based on a convolutional neural network. In Proceedings of the International Joint Conference on Neural Networks (IJCNN\u201916). IEEE, Los Alamitos, CA, 963--970."},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1109\/TBCAS.2016.2533798"},{"key":"e_1_2_1_60_1","volume-title":"Proceedings of the IEEE\/ACM International Symposium on Nanoscale Architectures (NANOARCH\u201916)","author":"Zhang Deming","year":"2016","unstructured":"Deming Zhang , Lang Zeng , Youguang Zhang , Weisheng Zhao , and Jacques Olivier Klein . 2016 . Stochastic spintronic device based synapses and spiking neurons for neuromorphic computation . In Proceedings of the IEEE\/ACM International Symposium on Nanoscale Architectures (NANOARCH\u201916) . IEEE, Los Alamitos, CA, 173--178. Deming Zhang, Lang Zeng, Youguang Zhang, Weisheng Zhao, and Jacques Olivier Klein. 2016. Stochastic spintronic device based synapses and spiking neurons for neuromorphic computation. In Proceedings of the IEEE\/ACM International Symposium on Nanoscale Architectures (NANOARCH\u201916). IEEE, Los Alamitos, CA, 173--178."},{"key":"e_1_2_1_61_1","volume-title":"Proceedings of the Conference on Design, Automation, and Test in Europe. 1313--1318","author":"Zhang Yaojun","year":"2012","unstructured":"Yaojun Zhang , Xiaobin Wang , Yong Li , Alex K. Jones , and Yiran Chen . 2012 . Asymmetry of MTJ switching and its implication to STT-RAM designs . In Proceedings of the Conference on Design, Automation, and Test in Europe. 1313--1318 . Yaojun Zhang, Xiaobin Wang, Yong Li, Alex K. Jones, and Yiran Chen. 2012. Asymmetry of MTJ switching and its implication to STT-RAM designs. In Proceedings of the Conference on Design, Automation, and Test in Europe. 1313--1318."}],"container-title":["ACM Journal on Emerging Technologies in Computing Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3309880","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3309880","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3309880","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T23:53:36Z","timestamp":1750204416000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3309880"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,3,28]]},"references-count":61,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2019,4,30]]}},"alternative-id":["10.1145\/3309880"],"URL":"https:\/\/doi.org\/10.1145\/3309880","relation":{},"ISSN":["1550-4832","1550-4840"],"issn-type":[{"value":"1550-4832","type":"print"},{"value":"1550-4840","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,3,28]]},"assertion":[{"value":"2018-07-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2019-01-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2019-03-28","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}