PUMA: A Programmable Ultra-efficient Memristor-based Accelerator for Machine Learning Inference

被引:304
作者
Ankit, Aayush [1 ,2 ]
El Hajj, Izzat [3 ,4 ]
Chalamalasetti, Sai Rahul [2 ]
Ndu, Geoffrey [2 ]
Foltin, Martin [2 ]
Williams, R. Stanley [2 ]
Faraboschi, Paolo [2 ]
Hwu, Wen-mei [4 ]
Strachan, John Paul [2 ]
Roy, Kaushik [1 ]
Milojicic, Dejan S. [2 ]
机构
[1] Purdue Univ, W Lafayette, IN 47907 USA
[2] Hewlett Packard Enterprise, San Jose, CA 95002 USA
[3] Amer Univ Beirut, Beirut, Lebanon
[4] Univ Illinois, Champaign, IL USA
来源
TWENTY-FOURTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS (ASPLOS XXIV) | 2019年
关键词
memristors; accelerators; machine learning; neural networks; MEMORY; SCALE; COPROCESSOR;
D O I
10.1145/3297858.3304049
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Memristor crossbars are circuits capable of performing analog matrix-vector multiplications, overcoming the fundamental energy efficiency limitations of digital logic. They have been shown to be effective in special-purpose accelerators for a limited set of neural network applications. We present the Programmable Ultra-efficient Memristor-based Accelerator (PUMA) which enhances memristor crossbars with general purpose execution units to enable the acceleration of a wide variety of Machine Learning (ML) inference workloads. PUMA's microarchitecture techniques exposed through a specialized Instruction Set Architecture (ISA) retain the efficiency of in-memory computing and analog circuitry, without compromising programmability. We also present the PUMA compiler which translates high-level code to PUMA ISA. The compiler partitions the computational graph and optimizes instruction scheduling and register allocation to generate code for large and complex workloads to run on thousands of spatial cores. We have developed a detailed architecture simulator that incorporates the functionality, timing, and power models of PUMA's components to evaluate performance and energy consumption. A PUMA accelerator running at 1 GHz can reach area and power efficiency of 577 GOPS/s/mm(2) and 837 GOPS/s/W, respectively. Our evaluation of diverse ML applications from image recognition, machine translation, and language modelling (5M-800M synapses) shows that PUMA achieves up to 2,446x energy and 66x latency improvement for inference compared to state-of-the-art GPUs. Compared to an application-specific memristor-based accelerator, PUMA incurs small energy overheads at similar inference latency and added programmability.
引用
收藏
页码:715 / 731
页数:17
相关论文
共 116 条
[71]   Dynamic Energy-Accuracy Trade-off Using Stochastic Computing in Deep Neural Networks [J].
Kim, Kyounghoon ;
Kim, Jungki ;
Yu, Joonsang ;
Seo, Jungwoo ;
Lee, Jongeun ;
Choi, Kiyoung .
2016 ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2016,
[72]   A Reconfigurable Digital Neuromorphic Processor with Memristive Synaptic Crossbar for Cognitive Computing [J].
Kim, Yongtae ;
Zhang, Yong ;
Li, Peng .
ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2015, 11 (04)
[73]   ImageNet Classification with Deep Convolutional Neural Networks [J].
Krizhevsky, Alex ;
Sutskever, Ilya ;
Hinton, Geoffrey E. .
COMMUNICATIONS OF THE ACM, 2017, 60 (06) :84-90
[74]  
Kwon H, 2018, ACM SIGPLAN NOTICES, V53, P461, DOI [10.1145/3296957.3173176, 10.1145/3173162.3173176]
[75]   Area Efficient ROM-Embedded SRAM Cache [J].
Lee, Dongsoo ;
Roy, Kaushik .
IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2013, 21 (09) :1583-1595
[76]  
Liu D, 2015, PROCEEDINGS OF 2015 INTERNATIONAL SYMPOSIUM - COLLEGE FOREIGN LANGUAGES EDUCATION REFORM AND INNOVATION, P369
[77]   Cambricon: An Instruction Set Architecture for Neural Networks [J].
Liu, Shaoli ;
Du, Zidong ;
Tao, Jinhua ;
Han, Dong ;
Luo, Tao ;
Xie, Yuan ;
Chent, Yunji ;
Chent, Tianshi .
2016 ACM/IEEE 43RD ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA), 2016, :393-405
[78]   Regionalization and Spatiotemporal Variation of Drought in China Based on Standardized Precipitation Evapotranspiration Index (1961-2013) [J].
Liu, Xiongfei ;
Wang, Shixin ;
Zhou, Yi ;
Wang, Futao ;
Li, Wenjun ;
Liu, Wenliang .
ADVANCES IN METEOROLOGY, 2015, 2015
[79]  
Mahajan D, 2016, INT S HIGH PERF COMP, P14, DOI 10.1109/HPCA.2016.7446050
[80]  
Mikolov T, 2010, 11TH ANNUAL CONFERENCE OF THE INTERNATIONAL SPEECH COMMUNICATION ASSOCIATION 2010 (INTERSPEECH 2010), VOLS 1-2, P1045