PULP-NN: Accelerating Quantized Neural Networks on Parallel Ultra-Low-Power RISC-V Processors

Angelo Garofalo, Manuele Rusci, Francesco Conti, Davide Rossi, Luca Benini
8/29/2019
cs.NE
quantization-pruning

Official code: pulp-platform/pulp-nn (100 stars, C, Apache-2.0, last commit 2023-10-18).

Abstract

We present PULP-NN, an optimized computing library for a parallel ultra-low-power tightly coupled cluster of RISC-V processors. The key innovation in PULP-NN is a set of kernels for Quantized Neural Network (QNN) inference, targeting byte and sub-byte data types, down to INT-1, tuned for the recent trend toward aggressive quantization in deep neural network inference.

Show full abstract

The proposed library exploits both the digital signal processing (DSP) extensions available in the PULP RISC-V processors and the cluster's parallelism, achieving up to 15.5 MACs/cycle on INT-8 and improving performance by up to 63x with respect to a sequential implementation on a single RISC-V core implementing the baseline RV32IMC ISA. Using PULP-NN, a CIFAR-10 network on an octa-core cluster runs in 30x and 19.6x less clock cycles than the current state-of-the-art ARM CMSIS-NN library, running on STM32L4 and STM32H7 MCUs, respectively. The proposed library, when running on GAP-8 processor, outperforms by 36.8x and by 7.45x the execution on energy efficient MCUs such as STM32L4 and high-end MCUs such as STM32H7 respectively, when operating at the maximum frequency. The energy efficiency on GAP-8 is 14.1x higher than STM32L4 and 39.5x higher than STM32H7, at the maximum efficiency operating point.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
10019CJul 10, 20193 years agoApache-2.0

Similar Papers

Cite this paper

@article{garofalo2019pulpnn,
  title  = {PULP-NN: Accelerating Quantized Neural Networks on Parallel Ultra-Low-Power RISC-V Processors},
  author = {Angelo Garofalo and Manuele Rusci and Francesco Conti and Davide Rossi and Luca Benini},
  year   = {2019},
  eprint = {1908.11263},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.11263}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1908.11263.svg)](https://codeofpaper.com/paper/1908.11263)

Discussion