NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Model Cascades with Provable Per-Class Quality

Ashwin G Colaço, Sharad Mehrotra, Michael J De Lucia, Kevin Hamlen, Murat Kantarcioglu, Latifur R Khan, Ananthram Swami, Bhavani Thuraisingham, Unnat Jain

NeurIPS page · Open on the map

Category: LLM Agents, Evals & Benchmarks › LLM Model Selection and Routing · Type: new method · Keywords: model cascades, per-class quality, cascade exit policy, chain-safety certificate, cost approximation, efficient inference

Summary

NOMAD introduces per-class quality guarantees for model cascades by using predicted class labels as exit signals and routing through the cheapest viable sequences, achieving up to 40× speedup with zero per-class violations.

Explained to a 5-year-old

When a computer program has to answer lots of different questions, it can start with a small, fast model that makes a guess. If the guess looks confident, it stops there. If not, it passes the question to a bigger, slower model that can give a better answer. However, sometimes the small model is always wrong for some rare or tricky answers, and because we only look at overall confidence, we don't notice. This paper makes a rule that checks if the cheap guess is good for each special answer, and then always uses the cheapest guess that is safe. This way, the computer is faster and never makes mistakes on the special answers.

Explained to a 5-year-old, longer

When a computer program has to answer lots of different questions, it can start with a small, fast model that makes a guess. If the guess looks confident, it stops there. If not, it passes the question to a bigger, slower model that can give a better answer. However, sometimes the small model is always wrong for some rare or tricky answers, and because we only look at overall confidence, we don't notice. This can cause problems because the final answer might be wrong even though the system thinks it's right. The paper says we should look at which answer the model predicts, not just how confident it is. It checks, on separate data, which answers each model can handle safely. Then it makes a certificate that says any chain of models will keep those answers correct. Finally, it picks the cheapest chain that still respects the certificate, so the system stays fast and safe. This ensures that even for rare categories, the computer never gives a wrong answer, and it saves time by using the smallest model possible. The method works on many kinds of data, like numbers, pictures, and text, and it can even speed up big language models by a lot. By using this new rule, the system can be up to forty times faster while still being perfect on every class. The paper also provides code and a website so others can try it out and see how it works. Overall, it makes cascade systems more trustworthy and efficient for real-world use.

For a technical reader

The paper addresses the limitation of existing cascade exit policies that optimize aggregate quality, which can hide systematic failures on minority classes. It proposes using predicted class labels as the primary signal for exit decisions, rather than confidence scores alone. For each model, the approach determines which classes it can reliably handle using held-out data and constructs a chain-safety certificate to guarantee per-class quality across the entire cascade. A greedy selector then routes each input through the cheapest viable sequence, offering a provable 4-approximation on cost. Empirical evaluation on 16 diverse datasets shows up to 40× speedup with zero per-class violations, outperforming 11 baseline methods.

Problem

Existing model cascade exit rules optimize overall aggregate quality but fail to ensure reliable performance on individual classes, allowing systematic errors on rare or minority classes to go unnoticed. This creates a quality contract violation when a model is unreliable on specific classes despite high overall confidence.

Method

The approach identifies, for each model, the classes it can reliably handle based on held-out data, constructs a chain-safety certificate to ensure per-class quality across model sequences, and uses a greedy selector to route inputs through the cheapest viable sequence, providing a provable 4-approximation on cost.

Results

The approach achieves up to 40× speedup (geometric mean 4× over the role model) on 16 datasets and is the only method among 11 baselines with zero per-class violations on every dataset.

Contributions

It introduces per-class quality guarantees for model cascades via predicted class label exit signals, a chain-safety certificate for end-to-end quality preservation, and a provable cost-optimal greedy routing algorithm.

Practical relevance

Enables safer and more efficient deployment of cascaded models in production, ensuring reliable performance across all classes.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction