paper-with-me

Papers

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

2024-08-22 · Weiyan Wang, Yilun Jin, Yiming Zhang, Victor Junqiu Wei, Han Tian, Li Chen, Kai Chen

Due to high accuracy, BERT-like models have been widely adopted by discriminative text mining and web searching. However, large BERT-like models suffer from inefficient online inference, as they face the following two problems on GPUs. First, they rely on the large model depth to achieve high accuracy, which linearly increases the sequential computation on GPUs. Second, stochastic and dynamic online workloads cause extra costs. In this paper, we present Academus for low-latency online inference of BERT-like models. At the core of Academus is the novel student parallelism, which adopts boosting ensemble and stacking distillation to distill the original deep model into an equivalent group of parallel and shallow student models. This enables Academus to achieve the lower model depth (e.g., two layers) than baselines and consequently the lowest inference latency without affecting the accuracy.For occasional workload bursts, it can temporarily decrease the number of students with minimal accuracy loss to improve throughput. Additionally, it employs specialized system designs for student parallelism to better handle stochastic online workloads. We conduct comprehensive experiments to verify the effectiveness. The results show that Academus outperforms the baselines by 4.1X~1.6X in latency without compromising accuracy, and achieves up to 22.27X higher throughput for workload bursts.

📄 PDF Abstract BibTeX arXiv:2408.12526

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Similar Papers 제목 키워드 기반

Query Distillation: BERT-based Distillation for Ensemble Ranking

2020-12-01 · COLING 2020 8 · Wangshu Zhang, Junhong Liu, Zujie Wen, Yafang Wang 외

Recent years have witnessed substantial progress in the development of neural ranking networks, but also an increasingly heavy computational burden due to growing numbers of parameters and the adoption of model ensembles…

Knowledge Distillation

RefBERT: Compressing BERT by Referencing to Pre-computed Representations

2021-06-11 · Xinyi Wang, Haiqin Yang, Liang Zhao, Yang Mo 외

Recently developed large pre-trained language models, e.g., BERT, have achieved remarkable performance in many downstream natural language processing applications. These pre-trained language models often contain hundreds…

Knowledge Distillation

Arctic Inference with Shift Parallelism: Fast and Efficient Open Source Inference System for Enterprise AI

2025-07-16 · Samyam Rajbhandari, Mert Hidayetoglu, Aurick Qiao, Ye Wang 외

Inference is now the dominant AI workload, yet existing systems force trade-offs between latency, throughput, and cost. Arctic Inference, an open-source vLLM plugin from Snowflake AI Research, introduces Shift Parallelis…

GPU

Galaxy: A Resource-Efficient Collaborative Edge AI System for In-situ Transformer Inference

2024-05-27 · Shengyuan Ye, Jiangsu Du, Liekang Zeng, Wenzhong Ou 외

Transformer-based models have unlocked a plethora of powerful intelligent applications at the edge, such as voice assistant in smart home. Traditional deployment approaches offload the inference workloads to the remote c…

Collaborative Inference

Neural Architecture Search for Effective Teacher-Student Knowledge Transfer in Language Models

2023-03-16 · Aashka Trivedi, Takuma Udagawa, Michele Merler, Rameswar Panda 외

Large pretrained language models have achieved state-of-the-art results on a variety of downstream tasks. Knowledge Distillation (KD) into a smaller student model addresses their inefficiency, allowing for deployment in …

CoLACPUGPUKnowledge Distillation+2