Litcius/Paper detail

ClassyNet: Class-Aware Early-Exit Neural Networks for Edge Devices

Mohammed Ayyat, Tamer Nadeem, Bartosz Krawczyk

2023IEEE Internet of Things Journal16 citationsDOI

Abstract

Edge-based and IoT devices have seen phenomenal growth in recent years, driven by the surge in demand for emerging applications that leverage machine learning models, such as Deep Neural Networks (DNNs). However, a primary drawback of DNNs is their substantial storage/memory needs and high computational overhead, making their adoption in edge devices challenging. This limitation prompted the development of early-exit models like BranchyNet, which enable decisions to be made at earlier stages by incorporating dedicated exits within the architecture’s inner layers. Nonetheless, these existing early-exit models lack control over the specific class that should exit and when. The necessity for such class-aware models is evident in numerous edge applications, where particular high-priority classes must be detected earlier due to their time-sensitive nature. In this paper, we introduce ClassyNet, the first early-exit architecture designed to return only selected classes at each exit. This feature facilitates faster inference times for critical classes, allowing the initial layers to operate on edge devices. This strategy conserves considerable computational time and resources on the edge without compromising accuracy. Through extensive experiments, we show the effectiveness of ClassyNet compared to other models under various scenarios.

Topics & Concepts

Computer scienceLeverage (statistics)Edge deviceEnhanced Data Rates for GSM EvolutionEdge computingDistributed computingInferenceArchitectureOverhead (engineering)Class (philosophy)Artificial intelligenceArtificial neural networkMachine learningOperating systemVisual artsArtCloud computingAdvanced Neural Network ApplicationsAdvanced Memory and Neural ComputingMachine Learning and ELM