Exploiting Student Parallelism for Efficient GPU Inference of BERT-like Models in Online Services
Weiyan Wang, Yilun Jin, Yiming Zhang, Victor Junqiu Wei, Han Tian, Li, Chen, Jinbao Xue, Yangyu Tao, Di Wang, Kai Chen

TL;DR
This paper introduces \\sys, a GPU inference system for BERT-like models that uses stacking distillation and adaptive pruning to reduce latency and increase throughput in online workloads, especially during bursts.
Contribution
\\sys employs stacking distillation and boosting ensemble to enable shallow, parallel student models, reducing inference latency while maintaining accuracy.
Findings
\\sys achieves up to 22.27x higher throughput during workload bursts.
\\sys reduces latency by 1.6x to 4.1x compared to baselines.
\\sys maintains accuracy with dynamic student pruning.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCloud Computing and Resource Management · Advanced Neural Network Applications · Scientific Computing and Data Management
