atlas

Research map / Large language models / Reasoning and chain of thought

Efficient LLM Scheduling by Learning to Rank

NeurIPS 2024 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 19 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes learning-to-rank predictors (OPT backbone trained with ListMLE) to rank LLM requests by expected output length, enabling approximate SJF/SRTF scheduling in vLLM that reduces chatbot latency and boosts synthetic data generation throughput.

Problem

LLM serving systems use FCFS scheduling, causing head-of-line blocking because output lengths are assumed unknown in advance; prior length-prediction methods target exact lengths, which is hard and brittle.

Approach

Instead of predicting exact generation lengths, train a small OPT-based scorer with a listwise ListMLE ranking loss to predict the relative ordering of output lengths, and use it for iteration-level SJF/SRTF-like scheduling with starvation prevention inside vLLM.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Ranking-based scheduling (learning-to-rank OPT predictor) instead of FCFSchatbot serving, Llama-3-8B · LMSYS-Chat-1M burst of 2K requestsP90 latency (s/token): 4.86 -> 0.52Helped
Ranking-based scheduling instead of FCFSchatbot serving, Llama-3-70B · ShareGPT burst of 2K requestsMean latency (s/token): 1.44 -> 0.78Helped
Ranking-based scheduling instead of FCFSsynthetic data generation, Llama-3-70B · ShareGPT, samples generated in 5 minSamples generated: 670 -> 1299Helped
Ranking-based scheduling instead of FCFSsynthetic data generation, Llama-3-8B · LMSYS-Chat-1M, time to generate 1k samplesTime (s): 197.38 -> 30.48Helped
Classification predictor (10 buckets) instead of ranking (ablation)synthetic data generation, Llama-3-70B · ShareGPT, samples generated in 5 minSamples generated: 670 -> 479 (vs FCFS)Hurt
Learning-to-rank (ListMLE) predictor instead of classification with 10 buckets (ablation)OPT predictor, Llama-3-70B · ShareGPT Kendall's TauKendall's Tau: 0.24 -> 0.54Helped
Classification with larger bucket size (100) instead of 10 buckets (ablation)OPT predictor, Llama-3-70B · ShareGPT Kendall's TauKendall's Tau: 0.24 -> 0.49Helped
Classification accuracy increases with bucket size but Kendall's Tau does not track it (ablation)OPT classification predictor · ShareGPT and LMSYS-Chat-1MAccuracy vs Kendall's TauMixed
Ranking predictor vs PO on LMSYS-Chat-1M Kendall's TauOPT ranking predictor vs Perception Only · LMSYS-Chat-1M Kendall's TauKendall's Tau: 0.62 vs 0.67 (PO higher)Hurt
Starvation prevention (max TPOT-based promotion with quantum) (ablation)ranking scheduler · LMSYS-Chat-1M and ShareGPT, mean max-TPOT fairness metricMean max TPOT: reduced by up to 3.4x (LMSYS) and 3.3x (ShareGPT)Helped
Starvation prevention added to ranking scheduler (ablation)ranking scheduler latency · serving latencyMean latency overhead: <10% overhead in most cases, <30% in all casesHurt
Re-predicting scores for already running requests (dynamic correction of mispredictions) (ablation)ranking scheduler, Llama-3-8B · ShareGPT and LMSYS-Chat-1M latencyLatency (s/token): 0.43 vs 0.44 (ShareGPT); 0.64 vs 0.64 (LMSYS)No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: ShareGPT LMSYS-Chat-1M

Benchmarks: ShareGPT LMSYS-Chat-1M Alpaca

Metrics: Kendall's Tau mean per-token latency p90 per-token latency throughput (requests/s) time to generate 1k samples classification accuracy max TPOT fairness

Baselines: FCFS MLFQ Perception Only Classification (S3-style)

Builds on: vLLM ListMLE S3 Perception Only FastServe

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy