Logo image
Pre-Computing Batch Normalisation Parameters for Edge Devices on a Binarized Neural Network
Journal article   Open access   Peer reviewed

Pre-Computing Batch Normalisation Parameters for Edge Devices on a Binarized Neural Network

Nicholas Phipps, Jin-Jia Shang, Tee Hui Teo and I-Chyn Wey
Sensors (Basel, Switzerland), Vol.23(12), p.5556
14/06/2023
PMID: 37420727

Abstract

Chemistry Chemistry, Analytical Engineering Engineering, Electrical & Electronic Instruments & Instrumentation Physical Sciences Science & Technology Technology
Binarized Neural Network (BNN) is a quantized Convolutional Neural Network (CNN), reducing the precision of network parameters for a much smaller model size. In BNNs, the Batch Normalisation (BN) layer is essential. When running BN on edge devices, floating point instructions take up a significant number of cycles to perform. This work leverages the fixed nature of a model during inference, to reduce the full-precision memory footprint by half. This was achieved by pre-computing the BN parameters prior to quantization. The proposed BNN was validated through modeling the network on the MNIST dataset. Compared to the traditional method of computation, the proposed BNN reduced the memory utilization by 63% at 860-bytes without any significant impact on accuracy. By pre-computing portions of the BN layer, the number of cycles required to compute is reduced to two cycles on an edge device.
url
https://doi.org/10.3390/s23125556View
Published (Version of record) Open

Metrics

1 Record Views

Details

Logo image