HMI: Hierarchical Knowledge Management for Efficient Multi-Tenant Inference in Pretrained Language Models
Not on the map. Why?
Abstract (arXiv)
The significant computational demands of pretrained language models (PLMs), which often require dedicated hardware, present a substantial challenge in serving them efficiently, especially in multi-tenant environments. To address this, we introduce HMI, a Hierarchical knowledge management-based Multi-tenant Inference system, designed to manage tenants with distinct PLMs resource-efficiently. Our approach is three-fold: Firstly, we categorize PLM knowledge into general, domain-specific, and task-specific. Leveraging insights on knowledge acquisition across different model layers, we construct hierarchical PLMs (hPLMs) by extracting and storing knowledge at different levels, significantly reducing GPU memory usage per tenant. Secondly, we establish hierarchical knowledge management for hPLMs generated by various tenants in HMI. We manage domain-specific knowledge with acceptable storage increases by constructing and updating domain-specific knowledge trees based on frequency. We manage task-specific knowledge within limited GPU memory through parameter swapping. Finally, we propose system optimizations to enhance resource utilization and inference throughput. These include fine-grained pipelining via hierarchical knowledge prefetching to overlap CPU and I/O operations with GPU computations, and optimizing parallel implementations with batched matrix multiplications. Our experimental results demonstrate that the proposed HMI can efficiently serve up to 10,000 hPLMs (hBERTs and hGPTs) on a single GPU, with only a negligible compromise in accuracy.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 48 of its 78 references that are in the map. First posted on arXiv 24 Apr 2025.
Builds on
48 of 78 references.
References · 48
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
36 more
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2023Qwen Technical Reportcited by 3,344
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,414
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 872
- 2020A Primer in BERTology: What we know about how BERT workscited by 815
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
- 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 493
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
- 2019Q8BERT: Quantized 8Bit BERTcited by 300
- 2021I-BERT: Integer-only BERT Quantizationcited by 255
- 2020AdapterDrop: On the Efficiency of Adapters in Transformerscited by 224
- 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 178
- 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 155
- 2023S-LoRA: Serving Thousands of Concurrent LoRA Adapterscited by 152
- 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 115
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
- 2017TensorFlow-Serving: Flexible, High-Performance ML Servingcited by 85
- 2023Punica: Multi-Tenant LoRA Servingcited by 83
- 2021On the geometry of generalization and memorization in deep neural networkscited by 73
- 2022BiBERT: Accurate Fully Binarized BERTcited by 73
- 2020SqueezeBERT: What can computer vision teach NLP about efficient neural networks?cited by 50
- 2020BERT-EMD: Many-to-Many Layer Mapping for BERT Compression with Earth Mover's Distancecited by 27
- 2018PRETZEL: Opening the Black Box of Machine Learning Prediction Serving Systemscited by 22
- 2018DLHub: Model and Data Serving for Sciencecited by 17
- 2022VELTAIR: Towards High-Performance Multi-tenant Deep Learning Services via Adaptive Compilation and Schedulingcited by 14
- 2020Experiments on Paraphrase Identification Using Quora Question Pairs Datasetcited by 1
Built on by
Not cited yet.