Two-tier large language model serving improves cost and reliability decisions

TRIAGE: Reliability- and Load-Conditioned Escalation for Two-Tier LLM Serving with a Semantic Evidence Judge

Machine Learning

Summary

When serving AI language models, sometimes small models handle a request, but harder questions get passed to bigger, costlier models. The researchers studied a system called TRIAGE that tries to decide when to pass requests based on how reliable the small model’s answer seems and on the current load on the GPUs. They found that simple rules weren't enough to detect problems with evidence, but a new judge based on understanding the evidence improved decisions a lot. Overall, the system saved a lot of cost compared to always using the big model, but it wasn’t perfect for some open-source model setups.

What this means in practice

  • For cloud ai service operators: Optimize AI query routing to reduce costs by escalating only uncertain requests from small to large models while factoring in GPU load.
  • For ai model deployment teams: Use semantic evidence judges to better detect when small model answers are unreliable, improving overall response accuracy.

Authors

Basavaraj R M, Aryan Bharat Kumar

Abstract

Two-tier LLM serving escalates selected requests from a small model to a large one, but prompt-based routers cannot see whether retrieved evidence supports an answer, and they treat the GPU cost of an escalation as constant. We study TRIAGE, which conditions escalation on a post-generation reliability state and on a load-dependent GPU price, and we report both what held and what did not on one A40 serving Qwen2.5-7B and 32B (AWQ) under VLLM. Escalation cost rose 21.9x from 1 to 10 requests/s but showed no monotone dependence on KV-cache headroom, and a pre-registered claim that the reliability state detects corrupted evidence (AUROC>=0.70) was falsified at 0.571, although any prompt-only router scores exactly 0.500 by construction. Post hoc, a semantic evidence judge raised detection to 0.846 (0.926 on never-served items) and predicted wrong small-model answers at AUROC 0.90-0.96 on RGB and three RouterBench model pairs; the resulting cascade stayed within about 3 pp of GPT-4 at 79.5% lower API cost for GPT-3.5->GPT-4, yet fell below random routing for open-model pairs with 2-3x price ratios. End to end, the 7B->32B pair showed only a +2.88 pp held-out gap, so the allocator rightly declined to escalate and the headline is a null that a small pre-launch gate failed to expose.