Hermes: Efficient Serving of LLM Applications with Probabilistic Demand Modeling
Yifei Liu, Zuo Gan, Zhenghao Gan, W. Wang, Chen Chen, Yizhou Shan, Xusheng Chen, Zhenhua Han,
Shanghai Jiao Tong University · Huawei Technologies (United Kingdom)
Key points
From the paper's conclusion- We then propose Hermes, which leverages PDGraph for efficient serving of LLM applications.
Abstract
Applications based on Large Language Models (LLMs) contain a series of tasks to address real-world problems with boosted capability, which have dynamic demand volumes on diverse backends. Existing serving systems treat the resource demands of LLM applications as a blackbox, compromising end-to-end efficiency due to improper queuing order and backend warm up latency. We find that the resource demands of LLM applications can be modeled in a general and accurate manner with Probabilistic Demand Graph (PDGraph). We then propose Hermes, which leverages PDGraph for efficient serving of LLM applications. Confronting probabilistic demand description, Hermes applies the Gittins policy to determine the scheduling order that can minimize the average application completion time. It also uses the PDGraph model to help prewarm cold backends at proper moments. Experiments with diverse LLM applications confirm that Hermes can effectively improve the application serving efficiency, reducing the average completion time by over 70% and the P95 completion time by over 80%.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LLM-Driven Adaptive Cloud Resource Scheduling: Bridging Reasoning Intelligence With Optimization GuaranteesIEEE Open Journal of the Computer Society · 2026
- Optimal Scheduling Algorithms for LLM Inference: Theory and PracticeProceedings of the ACM on Measurement and Analysis of Computing Systems · 2025
- JointServe: Serving Multi-Model Agents on Memory-Constrained GPUsarXiv · 2026
- RePrism: Joint Request and Representation Scheduling for LLM Agent ServingarXiv · 2026
- Koi: Evidence-Guided, Self-Calibrating Planning for Multi-Cloud, Heterogeneous LLM Inference FleetsarXiv · 2026
- Uncertainty-aware offline reinforcement learning for LLM inference serving with heterogeneous SLOsScientific Reports · 2026