Litcius/Paper detail

HAPI

Stefanos Laskaridis, Stylianos I. Venieris, Hyeji Kim, Nicholas D. Lane

202030 citationsDOIOpen Access PDF

Abstract

Convolutional neural networks (CNNs) have recently become the state-of-the-art in a diversity of AI tasks. Despite their popularity, CNN inference still comes at a high computational cost. A growing body of work aims to alleviate this by exploiting the difference in the classification difficulty among samples and early-exiting at different stages of the network. Nevertheless, existing studies on early exiting have primarily focused on the training scheme, without considering the use-case requirements or the deployment platform. This work presents HAPI, a novel methodology for generating high-performance early-exit networks by co-optimising the placement of intermediate exits together with the early-exit strategy at inference time. Furthermore, we propose an efficient design space exploration algorithm which enables the faster traversal of a large number of alternative architectures and generates the highest-performing design, tailored to the use-case requirements and target hardware. Quantitative evaluation shows that our system consistently outperforms alternative search mechanisms and state-of-the-art early-exit schemes across various latency budgets. Moreover, it pushes further the performance of highly optimised hand-crafted early-exit CNNs, delivering up to 5.11× speedup over lightweight models on imposed latency-driven SLAs for embedded devices.

Topics & Concepts

Computer scienceTree traversalSpeedupInferenceSoftware deploymentArtificial intelligenceConvolutional neural networkLatency (audio)Machine learningArtificial neural networkKey (lock)Distributed computingRobustness (evolution)ComputationDeep neural networksWork (physics)Data miningComputer engineeringProcess (computing)Design space explorationAdvanced Neural Network ApplicationsAdvanced Memory and Neural ComputingCCD and CMOS Imaging Sensors
HAPI | Litcius