Beyond Prediction: Tail-Aware Scheduling for LLM Inference
Abstract
Lay Summary
Problem. When you chat with an AI assistant or use AI agent, your request shares a server with many others, and the system constantly decides whose request to work on next. Some requests finish in a flash; others — especially when the model "reasons" through a hard problem — run far longer, and there is no reliable way to tell which is which in advance. Most systems try to guess each request's length and serve the shortest first, which lowers the average wait but leaves some unlucky users stuck waiting far too long, and those worst-case latencies are exactly what people notice. Solution. We built a scheduler that makes no predictions at all. Instead, it watches simple live signals to gently nudge each request's priority, while carefully managing the limited memory on AI chips so it rarely wastes effort by restarting interrupted work. A single adjustable knob lets operators balance protecting long requests against speeding up short ones. Impact. On real-world traffic, this cuts the worst-case waits by a third to a half, beating even methods handed perfect knowledge of request lengths, and is easy to add to existing systems.