RT-LM: Uncertainty-Aware Resource Management for Real-Time Inference of Language Models
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
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
- 2014Show and Tell: A Neural Image Caption Generatorcited by 879
- 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
- 2018Personalizing Dialogue Agents: I have a dog, do you have pets too?cited by 828
29 more
- 2020Efficient Transformers: A Surveycited by 790
- 2020Recipes for building an open-domain chatbotcited by 593
- 2017End-to-end Neural Coreference Resolutioncited by 241
- 2019The Second Conversational Intelligence Challenge (ConvAI2)cited by 179
- 2018The Design and Implementation of XiaoIce, an Empathetic Social Chatbotcited by 172
- 2020Can You Put it All Together: Evaluating Conversational Agents' Ability to Blend Skillscited by 131
- 2020Serving DNNs like Clockwork: Performance Predictability from the Bottom Upcited by 120
- 2023Unleashing the Power of Edge-Cloud Generative AI in Mobile Networks: A Survey of AIGC Servicescited by 76
- 2023Large Language Models Empowered Autonomous Edge AI for Connected Intelligencecited by 56
- 2022GODEL: Large-Scale Pre-Training for Goal-Directed Dialogcited by 51
- 2022NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Modelscited by 50
- 2019Language Modelling Makes Sense: Propagating Representations through WordNet for Full-Coverage Word Sense Disambiguationcited by 40
- 2021Revisiting Self-Training for Few-Shot Learning of Language Modelcited by 23
- 2018Multi-Task Zipping via Layer-wise Neuron Sharingcited by 20
- 2022Generate, Discriminate and Contrast: A Semi-Supervised Sentence Representation Learning Frameworkcited by 19
- 2020Calibrated Language Model Fine-Tuning for In- and Out-of-Distribution Datacited by 17
- 2022DeepPerform: An Efficient Approach for Performance Testing of Resource-Constrained Neural Networkscited by 17
- 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Modelscited by 16
- 2021SHARE: a System for Hierarchical Assistive Recipe Editingcited by 15
- 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generationcited by 14
- 2023Dynamic Transformers Provide a False Sense of Efficiencycited by 14
- 2022NVRadarNet: Real-Time Radar Obstacle and Free Space Detection for Autonomous Drivingcited by 13
- 2018Automatic Detection of Vague Words and Sentences in Privacy Policiescited by 10
- 2023SlothSpeech: Denial-of-service Attack Against Speech Recognition Modelscited by 10
- 2023DyCL: Dynamic Neural Network Compilation Via Program Rewriting and Graph Optimizationcited by 9
- 2022Gated Multimodal Fusion with Contrastive Learning for Turn-taking Prediction in Human-robot Dialoguecited by 8
- 2022Demand Layering for Real-Time DNN Inference with Minimized Memory Usagecited by 7
- 2023Uncertainty-Aware Bootstrap Learning for Joint Extraction on Distantly-Supervised Datacited by 7
- 2020Coreference Reasoning in Machine Reading Comprehensioncited by 6
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 4; 2026: 3.
11 papers.
- 2023An Open Source Data Contamination Report for Large Language Modelscited by 51
- 2023Safety Alignment in NLP Tasks: Weakly Aligned Summarization as an In-Context Attackcited by 11
- 2024Real-Time Human Action Recognition on Embedded Platformscited by 4
- 2025LeMix: Unified Scheduling for LLM Training and Inference on Multi-GPU Systemscited by 3
- 2025MACE: A Hybrid LLM Serving System with Colocated SLO-aware Continuous Retraining Alignmentcited by 2
- 2026From Token to Token Pair: Efficient Prompt Compression for Large Language Models in Clinical Predictioncited by 2
- 2024FogROS2-FT: Fault Tolerant Cloud Roboticscited by 1
- 2025Achieving Trustworthy Real-Time Decision Support Systems with Low-Latency Interpretable AI Modelscited by 1
- 2026PIMbot: A Self-Adaptive Attack Framework for Adversarial Manipulation of Multi-Robot Reinforcement Learningcited by 1
- 2025Efficient Large Language Models with Zero-Shot Adjustable Accelerationcited by 0
- 2026TetraRL: A Self-Adaptive Runtime for On-Device Deep Reinforcement Learning Systemscited by 0
- 2026TetraRL: A Self-Adaptive Runtime for On-Device Deep Reinforcement Learning Systems11 Jun 2026
- 2026PIMbot: A Self-Adaptive Attack Framework for Adversarial Manipulation of Multi-Robot Reinforcement Learning21 May 2026
- 2026From Token to Token Pair: Efficient Prompt Compression for Large Language Models in Clinical Prediction12 May 2026
- 2025MACE: A Hybrid LLM Serving System with Colocated SLO-aware Continuous Retraining Alignment28 Sep 2025
- 2025Efficient Large Language Models with Zero-Shot Adjustable Acceleration1 Sep 2025
- 2025LeMix: Unified Scheduling for LLM Training and Inference on Multi-GPU Systems28 Jul 2025
- 2025Achieving Trustworthy Real-Time Decision Support Systems with Low-Latency Interpretable AI Models24 Jun 2025
- 2024FogROS2-FT: Fault Tolerant Cloud Robotics6 Dec 2024
- 2024Real-Time Human Action Recognition on Embedded Platforms9 Sep 2024
- 2023Safety Alignment in NLP Tasks: Weakly Aligned Summarization as an In-Context Attack12 Dec 2023
- 2023An Open Source Data Contamination Report for Large Language Models26 Oct 2023