atlas

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

DON’T STOP ME NOW: EMBEDDING BASED SCHEDULING FOR LLMS

ICLR 2025 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 0 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 TRAIL, which probes LLM intermediate-layer embeddings with a lightweight classifier to predict remaining output length each iteration and uses an SRPT variant with limited preemption in vLLM.

Problem

Size-based scheduling (SRPT) for LLM serving needs output-length predictions, but accurate predictors are costly, and preemption adds KV-cache memory overhead, while FCFS causes head-of-line blocking.

Approach

Recycle the target LLM's own intermediate-layer embeddings (layer 11 of Llama3-8B) with a lightweight MLP probe, refined per token by Bayesian smoothing, to predict remaining length; preemption is allowed only for the first C·r iterations of each request.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use refined layer-11 embedding predictions instead of BERT prompt predictionsTrail length prediction · Alpacamean absolute error: 2.66x lower mean absolute errorHelped
Use Trail with embedding predictions and limited-preemption scheduling instead of vLLMLlama3-8b-instruct serving · Alpacamean latency: 1.66x to 2.01x lower mean latencyHelped
Use Trail with embedding predictions and limited-preemption scheduling instead of vLLMLlama3-8b-instruct serving · Alpacamean time to first token: 1.76x to 24.07x lower mean time to the first tokenHelped
Add limited preemption rather than using vLLM schedulingLLM serving with Trail · Alpacamean latencyHelped
Replace vLLM-FCFS with SJF based on BERT prompt predictionsvLLM · Alpacamean latencyNo clear effect
Remove the limit on preemption (c=1) (ablation)Trail · Alpaca, request rate 14mean latencyHurt
Remove the limit on preemption (c=1) (ablation)Trail · Alpaca, request rate 14mean TTFTHurt
Set the preemption threshold to c=0.2 (ablation)Trail · Alpaca, request rate 14mean latencyHurt
Set the preemption threshold to c=0.2 (ablation)Trail · Alpaca, request rate 14mean TTFTHurt
Set the preemption threshold to c=0.8 rather than c=0.5 (ablation)Trail · Alpaca, request rate 14mean latencyNo clear effect
Set the preemption threshold to c=0.8 rather than c=0.5 (ablation)Trail · Alpaca burst workloadmean latencyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Alpaca

Benchmarks: Alpaca

Metrics: mean absolute error mean latency median latency time to first token

Baselines: vLLM-FCFS vLLM-SJF_BERT TRAIL-BERT FastServe

Builds on: vLLM Orca SPRPT SOAP S3

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