mlsanityData to 7 Oct 2026

STI: Turbocharge NLP Inference at the Edge via Elastic Pipelining

arXiv 2207.05022 ↗First posted 11 Jul 2022cs.LGcited by 14

Not on the map. Why?

Abstract (arXiv)

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. To this end, we propose Speedy Transformer Inference (STI). Built on the key idea of maximizing IO/compute resource utilization on the most important parts of a model, STI reconciles the latency v.s. memory tension via two novel techniques. First, model sharding. STI manages model parameters as independently tunable shards, and profiles their importance to accuracy. Second, elastic pipeline planning with a preload buffer. STI instantiates an IO/compute pipeline and uses a small buffer for preload shards to bootstrap execution without stalling at early stages; it judiciously selects, tunes, and assembles shards per their importance for resource-elastic execution, maximizing inference accuracy. Atop two commodity SoCs, we build STI and evaluate it against a wide range of NLP tasks, under a practical range of target latencies, and on both CPU and GPU. We demonstrate that STI delivers high accuracies with 1-2 orders of magnitude lower memory, outperforming competitive baselines.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 35 of its 71 references that are in the map. First posted on arXiv 11 Jul 2022.

Builds on

35 of 71 references.

References · 35

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  7. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  8. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  9. 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
  10. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  11. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  12. 2019Are Sixteen Heads Really Better than One?cited by 803
23 more
  1. 2020Efficient Transformers: A Surveycited by 784
  2. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  3. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  4. 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 426
  5. 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 387
  6. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  7. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
  8. 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
  9. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  10. 2020Emformer: Efficient Memory Transformer Based Acoustic Model For Low Latency Streaming Speech Recognitioncited by 111
  11. 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 103
  12. 2019Playing the lottery with rewards and multiple languages: lottery tickets in RL and NLPcited by 73
  13. 2022BiBERT: Accurate Fully Binarized BERTcited by 70
  14. 2020EdgeBERT: Sentence-Level Energy Optimizations for Latency-Aware Multi-Task NLP Inferencecited by 69
  15. 2018NestDNN: Resource-Aware Multi-Tenant On-Device Deep Learning for Continuous Mobile Visioncited by 68
  16. 2021RecSSD: Near Data Processing for Solid State Drive Based Recommendation Inferencecited by 35
  17. 2018Bandana: Using Non-volatile Memory for Storing Deep Learning Modelscited by 14
  18. 2021Pipeline Parallelism for Inference on Heterogeneous Edge Computingcited by 13
  19. 2020To BERT or Not to BERT: Comparing Task-specific and Task-agnostic Semi-Supervised Approaches for Sequence Taggingcited by 10
  20. 2022Boosting DNN Cold Inference on Edge Devicescited by 6
  21. 2020A Note on Latency Variability of Deep Neural Networks for Mobile Inferencecited by 3
  22. 2021Demystifying BERT: Implications for Accelerator Designcited by 3
  23. 2021Minimum Viable Device Drivers for ARM TrustZonecited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 5; 2025: 2; 2026: 4.

14 papers.

Sort:

By area: