mlsanityData to 7 Oct 2026

Exploiting Student Parallelism for Efficient GPU Inference of BERT-like Models in Online Services

arXiv 2408.12526 ↗First posted 22 Aug 2024cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Due to high accuracy, BERT-like models have been widely adopted by text mining and web searching. However, large BERT-like models suffer from inefficient online inference, facing the following two problems on GPUs: (1) their high accuracy relies on the large model depth, which linearly increases the sequential computation on GPUs; (2) stochastic and dynamic online workloads cause extra costs from batching and paddings. Therefore, we present sys for the real-world setting of GPU inference on online workloads. At its core, sys adopts stacking distillation and boosting ensemble, distilling the original deep model into a group of shallow but virtually stacked student models running in parallel. This enables sys to achieve a lower model depth (e.g., two layers) than the others and the lowest inference latency while maintaining accuracy. In addition, adaptive student pruning realizes dynamic student numbers according to changing online workloads. Especially for occasional workload bursts, it can temporarily decrease the student number with minimal accuracy loss to improve system throughput. We conduct comprehensive experiments to verify the effectiveness, whose results show that sys outperforms the baselines by 4.1×~ 1.6× in latency while maintaining accuracy and achieves up to 22.27× higher throughput for workload bursts.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 33 of its 61 references that are in the map. First posted on arXiv 22 Aug 2024.

Builds on

33 of 61 references.

References · 33

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  4. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  5. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  6. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  7. 2019Are Sixteen Heads Really Better than One?cited by 803
  8. 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 778
  9. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  10. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  11. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  12. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
21 more
  1. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  2. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 267
  3. 2021I-BERT: Integer-only BERT Quantizationcited by 250
  4. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
  5. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
  6. 2020Proving the Lottery Ticket Hypothesis: Pruning is All You Needcited by 200
  7. 2019MLPerf Inference Benchmarkcited by 195
  8. 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
  9. 2018Knowledge Distillation by On-the-Fly Native Ensemblecited by 186
  10. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
  11. 2021Learned Token Pruning for Transformerscited by 138
  12. 2020Encoder-Decoder Models Can Benefit from Pre-trained Masked Language Models in Grammatical Error Correctioncited by 59
  13. 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 55
  14. 2019Ensemble Knowledge Distillation for Learning Improved and Efficient Networkscited by 46
  15. 2019Model Compression with Two-stage Multi-teacher Knowledge Distillation for Web Question Answering Systemcited by 43
  16. 2022MoEBERT: from BERT to Mixture-of-Experts via Importance-Guided Adaptationcited by 37
  17. 2017Learning Deep ResNet Blocks Sequentially using Boosting Theorycited by 32
  18. 2022ByteTransformer: A High-Performance Transformer Boosted for Variable-Length Inputscited by 32
  19. 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Paddingcited by 17
  20. 2022MKQ-BERT: Quantized BERT with 4-bits Weights and Activationscited by 10
  21. 2021Collaborative Teacher-Student Learning via Multiple Knowledge Transfercited by 3

Built on by

Not cited yet.