PULP-NN: A Computing Library for Quantized Neural Network inference at the edge on RISC-V Based Parallel Ultra Low Power Clusters
Authors:
- 1 November 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 33-36
Abstract
We present PULP-NN, a multicore computing library for a parallel ultra-low-power cluster of RISC-V based processors. The library consists of a set of kernels for Quantized Neural Network (QNN) inference on edge devices, targeting byte and sub-byte data types, down to INT-1. Our software solution exploits the digital signal processing (DSP) extensions available in the PULP RISC-V processors and the cluster's parallelism, improving performance by up to 63× with respect to a baseline implementation on a single RISC-V core implementing the RV32IMC ISA. Using the PULP-NN routines, the inference of a CIFAR-10 QNN model runs in 30× and 19.6× less clock cycles than the current state-of-the-art ARM CMSIS-NN library, running on an STM32L4 and an STM32H7 MCUs, respectively. By running the library kernels on the GAP-8 processor at the maximum efficiency operating point, the energy efficiency on GAP-8 is 14.1× higher than STM32L4 and 39.5× than STM32H7.Keywords
This publication has 8 references indexed in Scilit:
- Mr.Wolf: An Energy-Precision Scalable Parallel Ultra Low Power SoC for IoT Edge ProcessingIEEE Journal of Solid-State Circuits, 2019
- Work-in-Progress: Quantized NNs as the Definitive Solution for Inference on Low-Power ARM MCUs?2018
- GAP-8: A RISC-V SoC for AI at the Edge of the IoT2018
- Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference2018
- Minimum energy quantized neural networks2017
- An IoT Endpoint System-on-Chip for Secure and Energy-Efficient Near-Sensor AnalyticsIEEE Transactions on Circuits and Systems I: Regular Papers, 2017
- Near-Threshold RISC-V Core With DSP Extensions for Scalable IoT Endpoint DevicesIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2017
- Edge Computing: Vision and ChallengesIEEE Internet of Things Journal, 2016