mlsanityData to 14 Oct 2026

HMI: Hierarchical Knowledge Management for Efficient Multi-Tenant Inference in Pretrained Language Models

arXiv 2504.17449 ↗First posted 24 Apr 2025cs.LG cs.AI cs.CLcited by 0

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  7. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  9. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  10. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  11. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  12. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
36 more
  1. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  2. 2023Qwen Technical Reportcited by 3,344
  3. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  4. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  6. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
  7. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  8. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
  9. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  10. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,414
  11. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  12. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  13. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 872
  14. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  15. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
  16. 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 493
  17. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
  18. 2019Q8BERT: Quantized 8Bit BERTcited by 300
  19. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  20. 2020AdapterDrop: On the Efficiency of Adapters in Transformerscited by 224
  21. 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
  22. 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 178
  23. 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 155
  24. 2023S-LoRA: Serving Thousands of Concurrent LoRA Adapterscited by 152
  25. 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 115
  26. 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
  27. 2017TensorFlow-Serving: Flexible, High-Performance ML Servingcited by 85
  28. 2023Punica: Multi-Tenant LoRA Servingcited by 83
  29. 2021On the geometry of generalization and memorization in deep neural networkscited by 73
  30. 2022BiBERT: Accurate Fully Binarized BERTcited by 73
  31. 2020SqueezeBERT: What can computer vision teach NLP about efficient neural networks?cited by 50
  32. 2020BERT-EMD: Many-to-Many Layer Mapping for BERT Compression with Earth Mover's Distancecited by 27
  33. 2018PRETZEL: Opening the Black Box of Machine Learning Prediction Serving Systemscited by 22
  34. 2018DLHub: Model and Data Serving for Sciencecited by 17
  35. 2022VELTAIR: Towards High-Performance Multi-tenant Deep Learning Services via Adaptive Compilation and Schedulingcited by 14
  36. 2020Experiments on Paraphrase Identification Using Quora Question Pairs Datasetcited by 1

Built on by

Not cited yet.