mlsanityData to 7 Oct 2026

Optimizing LLM Inference: Fluid-Guided Online Scheduling with Memory Constraints

arXiv 2504.11320 ↗First posted 15 Apr 2025cs.LG cs.AI cs.DCcited by 16

Not on the map. Why?

Abstract (arXiv)

Large language models now serve millions of users daily, with providers incurring costs exceeding 700,000 per day. Each request requires token-by-token inference, making GPU scheduling central to latency, capacity, and cost. The difficulty is endogenous memory growth: generated tokens expand the Key-Value (KV) cache, and overflow can evict in-progress requests and waste prior computation. We formulate inference as a multi-stage online scheduling problem with endogenous memory growth, linear iteration times, and GPU-resident KV-cache constraints. We introduce a fluid model that characterizes equilibrium batch composition, memory requirement, and stability region. Guided by the fluid model, we design WAIT (Waiting for Accumulated Inference Threshold), a threshold-based admission rule for known output lengths, and Nested WAIT, which extends the rule to unknown output lengths by regulating how requests advance across decode-stage segments. Both algorithms approximate the fluid benchmark asymptotically under the stated memory conditions. Nested WAIT uses an additional safety buffer of moderate scale to hedge against memory-overflow-induced evictions under unknown output lengths. In Vidur simulations configured for Llama-2-7B on an A100 GPU, with supplemental real-GPU validation reported in the appendix, the policies enlarge the empirically observed stable operating range relative to widely used baseline algorithms and reduce latency especially in near-overloaded and overloaded regimes.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 28 of its 66 references that are in the map. First posted on arXiv 15 Apr 2025.

Builds on

28 of 66 references.

References · 28

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  6. 2023Qwen Technical Reportcited by 3,273
  7. 2022Emergent Abilities of Large Language Modelscited by 2,483
  8. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  9. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  10. 2020Efficient Transformers: A Surveycited by 784
  11. 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 595
  12. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
16 more
  1. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
  2. 2021Carbon Emissions and Large Neural Network Trainingcited by 561
  3. 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
  4. 2022Efficiently Scaling Transformer Inferencecited by 529
  5. 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 507
  6. 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 449
  7. 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
  8. 2021Sustainable AI: Environmental Implications, Challenges and Opportunitiescited by 242
  9. 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 187
  10. 2024GEAR: An Efficient KV Cache Compression Recipe for Near-Lossless Generative Inference of LLMcited by 155
  11. 2024Vidur: A Large-Scale Simulation Framework For LLM Inferencecited by 115
  12. 2024Efficient LLM Scheduling by Learning to Rankcited by 83
  13. 2021Compute and Energy Consumption Trends in Deep Learning Inferencecited by 61
  14. 2015The Sample Complexity of Revenue Maximizationcited by 48
  15. 2025Online Scheduling for LLM Inference with KV Cache Constraintscited by 17
  16. 2025Throughput-Optimal Scheduling Algorithms for LLM Inference and AI Agentscited by 17

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 10.

16 papers.

Sort:

By area:

  1. 2025Auto-Formulating Dynamic Programming Problems with Large Language Modelscited by 15
  2. 2025The Markovian Thinker: Architecture-Agnostic Linear Scaling of Reasoningcited by 12
  3. 2025Adaptively Robust LLM Inference Optimization under Prediction Uncertaintycited by 8
  4. 2025LLM Serving Optimization with Variable Prefill and Decode Lengthscited by 7
  5. 2026Optimal Bayesian Stopping for Efficient Inference of Consistent LLM Answerscited by 7
  6. 2025Assured autonomy: How operations research powers and orchestrates generative AI systemscited by 4
  7. 2026OptiRepair: Closed-Loop Diagnosis and Repair of Supply Chain Optimization Models with LLM Agentscited by 4
  8. 2026SuperInfer: SLO-Aware Rotary Scheduling and Memory Management for LLM Inference on Superchipscited by 2
  9. 2026A Queueing-Theoretic Framework for Stability Analysis of LLM Inference with KV Cache Memory Constraintscited by 2
  10. 2025You Only Need Your Transformer 25% of the Time: Meaning-First Execution for Eliminating Unnecessary Inferencecited by 1
  11. 2026Position: LLM Serving Needs Mathematical Optimization and Algorithmic Foundations, Not Just Heuristicscited by 1
  12. 2026Flow-Controlled Scheduling for LLM Inference with Provable Stability Guaranteescited by 0
4 more
  1. 2026Tackling the Data-Parallel Load Balancing Bottleneck in LLM Serving: Practical Online Routing at Scalecited by 0
  2. 2026Geometry-Aware Online Scheduling for LLM Serving: From Theoretical Bound to System Practicecited by 0
  3. 2026LLM Inference Under Bursty Workload Distribution: Modifying the WAIT Algorithmcited by 0
  4. 2026Analytical Power-Aware Provisioning for Prefill-Decode Disaggregated AI Inferencecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024AQUA: Network-Accelerated Memory Offloading for LLMs in Scale-Up GPU Domains
  2. 2024NEO: Saving GPU Memory Crisis with CPU Offloading for Online LLM Inference
  3. 2025APEX: Asynchronous Parallel CPU-GPU Execution for Online LLM Inference on Constrained GPUs
  4. 2025Efficient LLM Inference with Activation Checkpointing and Hybrid Caching
  5. 2026Scaling LLM Inference Beyond Amdahl`s Limits via Eliminating Non-Scalable Overheads ↗
  6. 2026Lodestar: An Online-Learning LLM Inference Router
  7. 2026Characterization of Request and Token Energy Costs for LLM Inference Workloads on GPU Platforms
  8. 2025CascadeInfer: Length-Aware Scheduling of LLM Serving with Low Latency and Load Balancing