← Latest papers
💬 NLP

Cluster, Route, Escalate: Cascaded Framework for Cost-Aware LLM Serving

This paper proposes a two-stage cascaded framework that clusters queries for cost-effective model routing and escalates low-quality outputs to stronger models, achieving near-optimal accuracy while significantly reducing inference costs without requiring manual reconfiguration.

Original authors: Yasmin Moslem, Magdalena Kacmajor, Vasudevan Nedumpozhimana, Ammar Abbas, Solmaz Panahi, David Lynch, Zhuangzhuang Nie, Alexandros Agapitos, Aleksandar Milenovic, Hongmeng Song, Yucheng Shi, Yue Pan
Published 2026-06-29
📖 4 min read☕ Coffee break read

Original authors: Yasmin Moslem, Magdalena Kacmajor, Vasudevan Nedumpozhimana, Ammar Abbas, Solmaz Panahi, David Lynch, Zhuangzhuang Nie, Alexandros Agapitos, Aleksandar Milenovic, Hongmeng Song, Yucheng Shi, Yue Pan, Patricia Buffini, John D. Kelleher

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you run a busy customer service center for a large company. You have two types of agents available to help your customers:

  1. The "Speedy Interns": They are very fast, cheap to hire, and great at answering simple questions like "What are your opening hours?" But, if you ask them a complex math problem or a tricky technical issue, they might get it wrong.
  2. The "Senior Experts": They are incredibly smart and get almost everything right, even the hardest problems. However, they are slow, expensive, and take a long time to think before they answer.

The Problem:
If you send every customer to a Senior Expert, you waste a lot of money and time on simple questions. If you send every customer to a Speedy Intern, you save money but start getting a lot of wrong answers on the hard questions. Most companies just pick one type of agent and stick with them, which is inefficient.

The Solution: A Two-Stage "Smart Filter"
This paper proposes a clever system called Cluster, Route, Escalate that acts like a smart traffic cop for your customer service. It uses a two-step process to get the best balance of speed, cost, and accuracy.

Stage 1: The "Grouping & Routing" (The Traffic Cop)

First, the system looks at the incoming questions and groups them into "clusters" based on what they are about.

  • The Analogy: Imagine sorting mail. You put all "bills" in one pile, "complaints" in another, and "general questions" in a third.
  • The Action: The system decides, "Okay, the 'General Questions' pile is easy, so we'll send all of those to the Speedy Interns. But the 'Complex Math' pile is too hard for them, so we'll send those directly to the Senior Experts."
  • The Control Knob: There is a special dial (called a hyperparameter, λ\lambda) that the operators can turn. If they want to save more money, they turn the dial to send more questions to the Interns. If they want higher accuracy, they turn it to send more to the Experts. This dial is set once beforehand based on a budget for how fast the answers need to be.

Stage 2: The "Quality Check" (The Safety Net)

Even after the first stage, some questions sent to the Speedy Interns might still be too hard, and the Intern might give a wrong answer.

  • The Analogy: Imagine a junior editor checks a draft. If the draft looks good, they send it to the printer. If it looks messy or risky, they send it to the Senior Editor for a second look.
  • The Action: When a Speedy Intern gives an answer, a small, fast "Quality Checker" (a lightweight AI) quickly scans the answer.
    • If the answer looks good? Accept it and send it to the customer.
    • If the answer looks shaky or low-quality? Escalate it. The system immediately sends that specific question to the Senior Expert to fix it.

Why This is a Big Deal

The paper tested this system on two very different types of tasks:

  1. Telecom Questions: Technical questions about phone networks.
  2. Math Problems: Hard competition-level math questions.

The Results:

  • Accuracy: The system kept almost all the accuracy of the Senior Experts (about 97–99% of their performance).
  • Speed & Cost: It was significantly faster and cheaper than using the Senior Experts for everything. In the math tests, it was 18% faster while still getting nearly every answer right.
  • No Extra Work: The system only needed to know if an answer was "right" or "wrong" (which is easy to get from standard tests). It didn't need expensive human labels or complex retraining every time a new model was added.

The Bottom Line

This framework is like having a smart manager who knows exactly when to let the interns do the work and when to call in the experts. It saves money and time on easy tasks but ensures that hard tasks still get the top-tier attention they need, all without needing a human to manually decide every single time.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →