返回
An 8-bit Single Perceptron Processing Unit for Tiny Machine Learning Applications
DOI:10.1109/ACCESS.2023.3327517.png)
摘要
En 中文
We present a tiny MultiLayer Perceptron (MLP) accelerator named Single Perceptron Linear Vector Processor (SPLVP) that aims at extending the capabilities of limited resources MCUs, enabling inference time speedup and main CPU off-load. It is based on a single perceptron hardware unit, enhanced with an additional accumulation input and scaling features, that is sequentially scheduled to cover all the nodes of the network. The accelerator supports both linear and Rectified Linear Unit (ReLU) activation and its firmware can be generated from 8-bit tflite quantized models. We also present a complete design toolchain that encompasses supervised learning, compilation, assembly, simulation, and device programming. The hardware support for extra accumulation input and scaling, together with the processor memory partitioning, are the key features that enable significant speedups. By solving a toy recognition problem based on image data captured from an infra-red camera, measurements show that the execution speed of SPLVP at 80MHz outperforms an ARM Cortex-M4 STM32L476 microcontroller by a factor of 9.2 when the same ANN is translated to MCU code using the STM CubeMX-Ai converter at the same clock frequency. SPLVP is synthesized on a low-cost and gate-count Cyclone 10 LP FPGA resulting in an 18% logic and 77% memory occupation. The SPLVP assembly code can be directly converted into a VHDL description that directly hardcodes the ANN. The execution speed of an ANN model for Iris classification, fully synthesized, improves by a factor of 209 compared to firmware execution on the MCU. To verify the operation of SPLVP and its design framework, we have designed various tiny Machine Learning (ML) classifiers, for which we briefly discuss the obtained performance and the preprocessing techniques used. Across all these classifiers, the obtained speedup compared to the STM32 is 8.3-14.9 $\times $ .
Keyword:
Neural processing unit
multilayer perceptron
single perceptron linear vector processor
fully connected neural network
FPGA
compiler
design toolchain
MCU
tiny machine learning
期刊
IF:
3.6
论文数:
9.8W
被引数:
29.4W
机构
引用论文
An online generalized eigenvalue version of Laplacian Eigenmaps for visual big data
NEUROCOMPUTING
IF6.5
Wireless Intrusion and Attack Detection for 5G Networks using Deep Learning Techniques基于深度学习技术的5G网络无线入侵与攻击检测
Novel Insights in the Application of Probiotic Yeast Saccharomyces boulardii in Dairy Products and Health Promotion
Foods
IF0

