This position paper argues that LLM inference serving has outgrown generic heuristics and now demands mathematical optimization and algorithmic foundations. Despite rapid advances in serving systems such as vLLM and SGLang, their algorithmic cores remain largely unchanged from classical distributed computing: request routing uses join-shortest-queue or round-robin, scheduling defaults to FIFO, and KV cache eviction follows LRU. These general-purpose policies ignore the distinctive structure of LLM inference--dynamically growing KV cache memory, prefill-decode phase asymmetry, unknown output lengths, and continuous batching constraints. We contend that the field must develop mathematical models capturing these characteristics, enabling the design of algorithms with provable performance guarantees across diverse workloads, rather than heuristics that may succeed in some scenarios but fail unpredictably in others. Emerging work at the intersection of operations research and ML systems demonstrates that principled methods can match or exceed heuristic performance while providing theoretical guarantees. We call on the community to recognize algorithmic design for LLM serving as a research frontier.
ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution
Peking University(北京大学);Southeast University(东南大学);Singapore Management University(新加坡管理大学);KAIST(韩国科学技术院);PKU-Wuhan Institute for Artificial Intelligence(北京大学武汉人工智能研究院)
Geometry-Aware Online Scheduling for LLM Serving: From Theoretical Bound to System Practice
Gaoling School of Artificial Intelligence(人工智能学院);Renmin University of China(中国人民大学);Department of Management Science and Engineering(管理科学与工程系);Stanford University(斯坦福大学);Department of Industrial Engineering and Decision Analytics(工业工程与决策分析系);HKUST(香港科技大学)
针对LLM推理中KV缓存动态内存占用问题,提出Smallest Volume First (SVF)算法,通过几何感知调度优化性能,理论证明将竞争比从48降至5,并在vLLM中实现即插即用,显著降低平均和尾部延迟。
TIDE: Tuning-Integrated Dynamic Evolution for LLM-Based Automated Heuristic Design
School of Mathematics and Statistics, Xi’an Jiaotong University, Xi’an, China(西安交通大学数学与统计学院);School of Electronics and Information, Northwest Polytechnical University, Xi’an, China(西北工业大学电子与信息学院)
LLM Serving Optimization with Variable Prefill and Decode Lengths
Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Department of Management Science and Engineering, Stanford University(斯坦福大学管理科学与工程系);Department of Industrial Engineering and Decision Analytics, HKUST(香港科技大学工业工程与决策分析系)
A2DEPT: Large Language Model-Driven Automated Algorithm Design via Evolutionary Program Trees
The Institute of Intelligent Computing, University of Electronic Science and Technology of China(电子科技大学智能计算学院);College of Systems Engineering, National University of Defense Technology(国防科技大学系统工程学院);Academy of Military Medical Sciences(军事医学科学院)