Adaptively Robust LLM Inference Optimization under Prediction Uncertainty
Not on the map. Why?
Abstract (arXiv)
We study the problem of optimizing Large Language Model (LLM) inference scheduling to minimize total latency. LLM inference is an online and multi-task service process and also heavily energy consuming by which a pre-trained LLM processes input requests and generates output tokens sequentially. Therefore, it is vital to improve its scheduling efficiency and reduce the power consumption while a great amount of prompt requests are arriving. A key challenge in LLM inference scheduling is that while the prompt length is known upon arrival, the output length, which critically impacts memory usage and processing time, is unknown. To address this uncertainty, we propose algorithms that leverage machine learning to predict output lengths, assuming the prediction provides an interval classification (min-max range) for each request. We first design a conservative algorithm, Amax, which schedules requests based on the upper bound of predicted output lengths to prevent memory overflow. However, this approach is overly conservative: as prediction accuracy decreases, performance degrades significantly due to potential overestimation. To overcome this limitation, we propose Amin, an adaptive algorithm that initially treats the predicted lower bound as the output length and dynamically refines this estimate during inferencing. We prove that Amin achieves a log-scale competitive ratio. Through numerical simulations, we demonstrate that Amin often performs nearly as well as the hindsight scheduler, highlighting both its efficiency and robustness in practical scenarios. Moreover, Amin relies solely on the lower bound of the prediction interval--an advantageous design choice since upper bounds on output length are typically more challenging to predict accurately.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 21 of its 46 references that are in the map. First posted on arXiv 20 Aug 2025.
Builds on
21 of 46 references.
References · 21
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 617
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 558
- 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 526
- 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
- 2018Competitive caching with machine learned advicecited by 195
- 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 193
- 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
- 2024Vidur: A Large-Scale Simulation Framework For LLM Inferencecited by 117
- 2023Response Length Perception and Sequence Scheduling: An LLM-Empowered LLM Inference Pipelinecited by 86
9 more
- 2024Efficient LLM Scheduling by Learning to Rankcited by 85
- 2020Secretary and Online Matching Problems with Machine Learned Advicecited by 71
- 2024Efficient Interactive LLM Serving with Proxy Model-based Sequence Length Predictioncited by 66
- 2024Don't Stop Me Now: Embedding Based Scheduling for LLMscited by 35
- 2025Online Scheduling for LLM Inference with KV Cache Constraintscited by 19
- 2025Optimizing LLM Inference: Fluid-Guided Online Scheduling with Memory Constraintscited by 19
- 2025Throughput-Optimal Scheduling Algorithms for LLM Inference and AI Agentscited by 18
- 2023Online Resource Allocation with Convex-set Machine-Learned Advicecited by 7
- 2025LLM Serving Optimization with Variable Prefill and Decode Lengthscited by 7
Built on by
Citing papers per year: 2025: 1; 2026: 9.
10 papers.
- 2026Scheduling LLM Inference with Uncertainty-Aware Output Length Predictionscited by 8
- 2026TRIAGE: Evaluating Prospective Metacognitive Control in LLMs under Resource Constraintscited by 6
- 2026A Queueing-Theoretic Framework for Stability Analysis of LLM Inference with KV Cache Memory Constraintscited by 2
- 2026Position: LLM Serving Needs Mathematical Optimization and Algorithmic Foundations, Not Just Heuristicscited by 1
- 2025Specification and Detection of LLM Code Smellscited by 0
- 2026Flow-Controlled Scheduling for LLM Inference with Provable Stability Guaranteescited by 0
- 2026Tackling the Data-Parallel Load Balancing Bottleneck in LLM Serving: Practical Online Routing at Scalecited by 0
- 2026LLM Code Smells: A Taxonomy and Detection Approachcited by 0
- 2026Service-Induced Congestion in Memory-Constrained LLM Servingcited by 0
- 2026Geometry-Aware Online Scheduling for LLM Serving: From Theoretical Bound to System Practicecited by 0
- 2026Geometry-Aware Online Scheduling for LLM Serving: From Theoretical Bound to System Practice21 Jun 2026
- 2026Service-Induced Congestion in Memory-Constrained LLM Serving14 Jun 2026
- 2026LLM Code Smells: A Taxonomy and Detection Approach21 May 2026
- 2026TRIAGE: Evaluating Prospective Metacognitive Control in LLMs under Resource Constraints13 May 2026
- 2026Tackling the Data-Parallel Load Balancing Bottleneck in LLM Serving: Practical Online Routing at Scale7 May 2026
- 2026A Queueing-Theoretic Framework for Stability Analysis of LLM Inference with KV Cache Memory Constraints6 May 2026
- 2026Position: LLM Serving Needs Mathematical Optimization and Algorithmic Foundations, Not Just Heuristics2 May 2026
- 2026Flow-Controlled Scheduling for LLM Inference with Provable Stability Guarantees13 Apr 2026
- 2026Scheduling LLM Inference with Uncertainty-Aware Output Length Predictions1 Apr 2026
- 2025Specification and Detection of LLM Code Smells19 Dec 2025