Litcius/Paper detail

STI: Turbocharge NLP Inference at the Edge via Elastic Pipelining

Liwei Guo, Wonkyo Choe, Felix Xiaozhu Lin

202321 citationsDOIOpen Access PDF

Abstract

Natural Language Processing (NLP) inference is seeing increasing adoption by mobile applications, where on-device inference is desirable for crucially preserving user data privacy and avoiding network roundtrips. Yet, the unprecedented size of an NLP model stresses both latency and memory, creating a tension between the two key resources of a mobile device. To meet a target latency, holding the whole model in memory launches execution as soon as possible but increases one app’s memory footprints by several times, limiting its benefits to only a few inferences before being recycled by mobile memory management. On the other hand, loading the model from storage on demand incurs IO as long as a few seconds, far exceeding the delay range satisfying to a user; pipelining layerwise model loading and execution does not hide IO either, due to the high skewness between IO and computation delays.

Topics & Concepts

Computer scienceInferenceLatency (audio)LimitingMobile deviceComputationArtificial intelligenceAlgorithmOperating systemEngineeringMechanical engineeringTelecommunicationsAnomaly Detection Techniques and ApplicationsContext-Aware Activity Recognition SystemsIoT and Edge/Fog Computing
STI: Turbocharge NLP Inference at the Edge via Elastic Pipelining | Litcius