mlsanityData to 14 Oct 2026

RT-LM: Uncertainty-Aware Resource Management for Real-Time Inference of Language Models

arXiv 2309.06619 ↗First posted 12 Sep 2023cs.LG cs.CL cs.SYcited by 11

Not on the map. Why?

Abstract (arXiv)

Recent advancements in language models (LMs) have gained substantial attentions on their capability to generate human-like responses. Though exhibiting a promising future for various applications such as conversation AI, these LMs face deployment challenges on various devices due to their extreme computational cost and unpredictable inference latency. Such varied inference latency, identified as a consequence of uncertainty intrinsic to the nature of language, can lead to computational inefficiency and degrade the overall performance of LMs, especially under high-traffic workloads. Unfortunately, the bandwidth of these uncertainty sources is extensive, complicating the prediction of latency and the effects emanating from such uncertainties. To understand and mitigate the impact of uncertainty on real-time response-demanding systems, we take the first step to comprehend, quantify and optimize these uncertainty-induced latency performance variations in LMs. Specifically, we present RT-LM, an uncertainty-aware resource management ecosystem for real-time inference of LMs. RT-LM innovatively quantifies how specific input uncertainties, adversely affect latency, often leading to an increased output length. Exploiting these insights, we devise a lightweight yet effective method to dynamically correlate input text uncertainties with output length at runtime. Utilizing this quantification as a latency heuristic, we integrate the uncertainty information into a system-level scheduler which explores several uncertainty-induced optimization opportunities, including uncertainty-aware prioritization, dynamic consolidation, and strategic CPU offloading. Quantitative experiments across five state-of-the-art LMs on two hardware platforms demonstrates that RT-LM can significantly reduce the average response time and improve throughput while incurring a rather small runtime overhead.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 41 of its 81 references that are in the map. First posted on arXiv 12 Sep 2023.

Builds on

41 of 81 references.

References · 41

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  5. 2017On Calibration of Modern Neural Networkscited by 4,960
  6. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  8. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  9. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
  10. 2014Show and Tell: A Neural Image Caption Generatorcited by 879
  11. 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
  12. 2018Personalizing Dialogue Agents: I have a dog, do you have pets too?cited by 828
29 more
  1. 2020Efficient Transformers: A Surveycited by 790
  2. 2020Recipes for building an open-domain chatbotcited by 593
  3. 2017End-to-end Neural Coreference Resolutioncited by 241
  4. 2019The Second Conversational Intelligence Challenge (ConvAI2)cited by 179
  5. 2018The Design and Implementation of XiaoIce, an Empathetic Social Chatbotcited by 172
  6. 2020Can You Put it All Together: Evaluating Conversational Agents' Ability to Blend Skillscited by 131
  7. 2020Serving DNNs like Clockwork: Performance Predictability from the Bottom Upcited by 120
  8. 2023Unleashing the Power of Edge-Cloud Generative AI in Mobile Networks: A Survey of AIGC Servicescited by 76
  9. 2023Large Language Models Empowered Autonomous Edge AI for Connected Intelligencecited by 56
  10. 2022GODEL: Large-Scale Pre-Training for Goal-Directed Dialogcited by 51
  11. 2022NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Modelscited by 50
  12. 2019Language Modelling Makes Sense: Propagating Representations through WordNet for Full-Coverage Word Sense Disambiguationcited by 40
  13. 2021Revisiting Self-Training for Few-Shot Learning of Language Modelcited by 23
  14. 2018Multi-Task Zipping via Layer-wise Neuron Sharingcited by 20
  15. 2022Generate, Discriminate and Contrast: A Semi-Supervised Sentence Representation Learning Frameworkcited by 19
  16. 2020Calibrated Language Model Fine-Tuning for In- and Out-of-Distribution Datacited by 17
  17. 2022DeepPerform: An Efficient Approach for Performance Testing of Resource-Constrained Neural Networkscited by 17
  18. 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Modelscited by 16
  19. 2021SHARE: a System for Hierarchical Assistive Recipe Editingcited by 15
  20. 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generationcited by 14
  21. 2023Dynamic Transformers Provide a False Sense of Efficiencycited by 14
  22. 2022NVRadarNet: Real-Time Radar Obstacle and Free Space Detection for Autonomous Drivingcited by 13
  23. 2018Automatic Detection of Vague Words and Sentences in Privacy Policiescited by 10
  24. 2023SlothSpeech: Denial-of-service Attack Against Speech Recognition Modelscited by 10
  25. 2023DyCL: Dynamic Neural Network Compilation Via Program Rewriting and Graph Optimizationcited by 9
  26. 2022Gated Multimodal Fusion with Contrastive Learning for Turn-taking Prediction in Human-robot Dialoguecited by 8
  27. 2022Demand Layering for Real-Time DNN Inference with Minimized Memory Usagecited by 7
  28. 2023Uncertainty-Aware Bootstrap Learning for Joint Extraction on Distantly-Supervised Datacited by 7
  29. 2020Coreference Reasoning in Machine Reading Comprehensioncited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 2; 2025: 4; 2026: 3.

11 papers.