Litcius/Paper detail

CRIME: Input-Dependent Collaborative Inference for Recurrent Neural Networks

Daniele Jahier Pagliari, Roberta Chiaro, Enrico Macii, Massimo Poncino

2020IEEE Transactions on Computers27 citationsDOI

Abstract

The excellent accuracy of Recurrent Neural Networks (RNNs) for time-series and natural language processing comes at the cost of computational complexity. Therefore, the choice between edge and cloud computing for RNN inference, with the goal of minimizing response time or energy consumption, is not trivial. An edge approach must deal with the aforementioned complexity, while a cloud solution pays large time and energy costs for data transmission. Collaborative inference is a technique that tries to obtain the best of both worlds, by splitting the inference task among a network of collaborating devices. While already investigated for other types of neural networks, collaborative inference for RNNs poses completely new challenges, such as the strong influence of input length on processing time and energy, and is greatly unexplored. In this paper, we introduce a Collaborative RNN Inference Mapping Engine(CRIME), which automatically selects the best inference device for each input. CRIME is flexible with respect to the connection topology among collaborating devices, and adapts to changes in the connections statuses and in the devices loads. With experiments on several RNNs and datasets, we show that CRIME can reduce the execution time (or end-node energy) by more than 25% compared to any single-device approach.

Topics & Concepts

InferenceComputer scienceRecurrent neural networkCloud computingEnhanced Data Rates for GSM EvolutionArtificial intelligenceEnergy consumptionEdge deviceTask (project management)Node (physics)Machine learningArtificial neural networkDistributed computingEngineeringBiologyOperating systemManagementEcologyStructural engineeringEconomicsAdvanced Memory and Neural ComputingIoT and Edge/Fog ComputingAdvanced Neural Network Applications
CRIME: Input-Dependent Collaborative Inference for Recurrent Neural Networks | Litcius