The University of Southampton
University of Southampton Institutional Repository

Realisation of early-exit dynamic neural networks on reconfigurable hardware

Realisation of early-exit dynamic neural networks on reconfigurable hardware
Realisation of early-exit dynamic neural networks on reconfigurable hardware
Early-Exiting is a strategy that’s becoming popular in Deep Neural Networks (DNNs), as it can lead to faster execution and a reduction in the computational intensity of inference. To achieve this intermediate classifiers abstract information from the input samples to strategically stop forward propagation and generate an output at an earlier stage. Confidence criteria are used to identify easier to recognise samples over the ones that need further filtering. However, such dynamic DNNs have only been realised in conventional computing systems (CPU+GPU) using libraries designed for static networks. In this paper, we do a first exploration to efficiently realise early-exit dynamic DNNs on FPGAs, a platform already proven to be highly effective for neural network applications. We consider two approaches for implementing and executing the intermediate classifiers: pipeline, which uses existing hardware, and parallel, which uses additional dedicated modules. We model their energy needs and execution time and explore their performance using the BranchyNet early exit approach on LeNet-5, AlexNet, VGG19 and ResNet32, and a Xilinx ZCU106 Evaluation Board. We found that the dynamic approaches are at least 24% faster than a static network executed on a FPGA, consuming a minimum of 1.32x lower energy. We further observe that FPGAs can enhance the performance of early-exit dynamic DNNs, by minimising the complexities introduced by the decision intermediate classifiers, through parallel execution. Finally we compare the two approaches, and identify which is best for different network types and confidence levels.
dynamic neural networks, early-exiting, FPGA, low resource, hardware architecture for machine learning
0278-0070
Dimitriou, Anastasios
02f87799-17dc-4271-96c3-8b30e64e659e
Xun, Lei
d30d0c37-7c17-4eed-b02c-1a0f81844f17
Hare, Jonathon
65ba2cda-eaaf-4767-a325-cd845504e5a9
Merrett, Geoff V.
89b3a696-41de-44c3-89aa-b0aa29f54020
Dimitriou, Anastasios
02f87799-17dc-4271-96c3-8b30e64e659e
Xun, Lei
d30d0c37-7c17-4eed-b02c-1a0f81844f17
Hare, Jonathon
65ba2cda-eaaf-4767-a325-cd845504e5a9
Merrett, Geoff V.
89b3a696-41de-44c3-89aa-b0aa29f54020

Dimitriou, Anastasios, Xun, Lei, Hare, Jonathon and Merrett, Geoff V. (2024) Realisation of early-exit dynamic neural networks on reconfigurable hardware. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. (doi:10.1109/TCAD.2024.3519055).

Record type: Article

Abstract

Early-Exiting is a strategy that’s becoming popular in Deep Neural Networks (DNNs), as it can lead to faster execution and a reduction in the computational intensity of inference. To achieve this intermediate classifiers abstract information from the input samples to strategically stop forward propagation and generate an output at an earlier stage. Confidence criteria are used to identify easier to recognise samples over the ones that need further filtering. However, such dynamic DNNs have only been realised in conventional computing systems (CPU+GPU) using libraries designed for static networks. In this paper, we do a first exploration to efficiently realise early-exit dynamic DNNs on FPGAs, a platform already proven to be highly effective for neural network applications. We consider two approaches for implementing and executing the intermediate classifiers: pipeline, which uses existing hardware, and parallel, which uses additional dedicated modules. We model their energy needs and execution time and explore their performance using the BranchyNet early exit approach on LeNet-5, AlexNet, VGG19 and ResNet32, and a Xilinx ZCU106 Evaluation Board. We found that the dynamic approaches are at least 24% faster than a static network executed on a FPGA, consuming a minimum of 1.32x lower energy. We further observe that FPGAs can enhance the performance of early-exit dynamic DNNs, by minimising the complexities introduced by the decision intermediate classifiers, through parallel execution. Finally we compare the two approaches, and identify which is best for different network types and confidence levels.

Text
Realisation of Early-Exit Dynamic Neural Networks - Accepted Manuscript
Available under License Creative Commons Attribution.
Download (1MB)
Text
Realisation of Early-Exit Dynamic Neural Networks - Other
Restricted to Repository staff only
Request a copy

More information

Submitted date: 25 July 2024
e-pub ahead of print date: 16 December 2024
Keywords: dynamic neural networks, early-exiting, FPGA, low resource, hardware architecture for machine learning

Identifiers

Local EPrints ID: 499024
URI: http://eprints.soton.ac.uk/id/eprint/499024
ISSN: 0278-0070
PURE UUID: 6349c6c4-f2a5-485b-8ced-254bf43c335d
ORCID for Jonathon Hare: ORCID iD orcid.org/0000-0003-2921-4283
ORCID for Geoff V. Merrett: ORCID iD orcid.org/0000-0003-4980-3894

Catalogue record

Date deposited: 07 Mar 2025 17:34
Last modified: 08 Mar 2025 02:41

Export record

Altmetrics

Contributors

Author: Anastasios Dimitriou
Author: Lei Xun
Author: Jonathon Hare ORCID iD
Author: Geoff V. Merrett ORCID iD

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

Loading...

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

Back to top

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×