TL;DR
ADAPT is a lightweight, retrieval-based routing system designed to orchestrate collections of specialized AI services. By introducing a confidence threshold that automatically scales with the number of available services, ADAPT enables routers to reliably "abstain" from selecting a specialist when a query is off-topic, matching the accuracy of large language model (LLM) routers at a fraction of the computational cost.
What Problem Does This Paper Address?
Modern AI is shifting from monolithic models to "modular" architectures—think of a central agent routing your request to a specific tool, like a chess engine, a medical database, or a coding assistant. A critical component of these systems is the router.
While retrieval models (like bi-encoders or cross-encoders) are efficient at picking the "best" tool for a job, they have a major flaw: they almost always pick something, even if the query is completely irrelevant to every available tool. To be practical, a router needs a "fallback" or "abstention" mechanism.
The authors identify a subtle but significant challenge: as you add more tools to your system (increasing the pool size $K$), the statistical likelihood of a "lucky" high relevance score for an off-topic query increases. This means a fixed confidence threshold that works for 3 tools will fail miserably when you have 14, leading to "false positives" where off-topic queries are sent to specialists that can't handle them.
Methods
The researchers introduce ADAPT (Adaptive Decision and Abstention with Pool-Size-Aware Thresholds). Instead of looking at a specialist's absolute score, ADAPT looks at the gap: the difference between the highest relevance score and the median score of all candidates.
The core innovation is the K-aware threshold. Based on empirical observations across various model families, the authors found that the "noise" in off-topic scores grows logarithmically with the pool size. They model the required threshold $T(K)$ as: $$T(K) = c_0 + c_1 \ln K$$ where $c_0$ and $c_1$ are model-specific constants fitted using a small set of off-topic validation queries. This allows the system to remain calibrated as new services are added without needing to retrain the underlying retrieval model.
Datasets
The study utilized several well-known benchmarks to simulate a multi-service environment:
- MMLU (Massive Multitask Language Understanding): Used to provide the "specialist" domains (e.g., Abstract Algebra, Anatomy).
- BANKING77 and CLINC-OOS: Used to provide "off-topic" or out-of-distribution queries to test the router's ability to abstain.
- MedMCQA: A medical question-answering dataset used as a second domain to test how well the calibrated thresholds transfer to new topics.
Key Insights and Ideas
- The "K-Effect" is Universal: Regardless of whether you use a simple bi-encoder or a complex cross-encoder, the confidence required to distinguish a specialist query from "noise" increases as the pool of specialists grows.
- Logarithmic Scaling: The relationship between pool size and the optimal threshold is remarkably consistent. When rescaled, different retrieval architectures follow a nearly identical logarithmic growth curve (see Figure 3).
- Retrieval Rivals Generative: You don't need a massive LLM to route queries. A well-calibrated cross-encoder (like Qwen3-Reranker-4B) can match or exceed the routing accuracy of 32B parameter LLMs while being significantly more robust to off-topic queries.
Key Results
- Accuracy vs. Cost: ADAPT-enabled retrieval models are roughly 30 to 50 times faster and use 30 to 50 times less energy per query than LLM-based routers (Figure 5).
- Robust Abstention: At a pool size of $K=14$, ADAPT maintained a "general recall" (correctly identifying off-topic queries) of over 70% for all models. In contrast, some LLM routers saw their general recall plummet to as low as 26%, frequently hallucinating that an off-topic query belonged to a specialist.
- Competitive Performance: The Qwen3-Reranker-4B model achieved 81.35% overall accuracy at $K=14$, trailing the much larger and more expensive Qwen3-32B LLM by only about 5 percentage points.
Limitations and Future Work
The authors acknowledge that while ADAPT works well for the pool sizes tested (up to $K=14$), there is a theoretical limit. As $K$ continues to grow, the score distributions for in-scope and off-topic queries will eventually overlap so much that simple thresholding won't suffice.
To address this, they suggest hierarchical routing: organizing specialists into smaller groups and applying ADAPT at each level. Future work will also explore applying ADAPT to multi-intent queries, different languages, and non-text modalities like images and audio.
Summary updated