CLAILGMar 23

Scalable Prompt Routing via Fine-Grained Latent Task Discovery

arXiv:2603.1941592.3h-index: 39
Predicted impact top 23% in CL · last 90 daysOriginality Incremental advance
AI Analysis

This addresses the problem of cost-effective and high-performance model selection for users of large language models, though it is incremental as it builds on existing routing methods.

The paper tackles the challenge of efficiently routing prompts to the best large language model from a pool of many models with similar capabilities, by proposing a two-stage architecture that discovers fine-grained tasks and estimates quality per task; it outperforms baselines and the strongest individual model on 10 benchmarks while reducing cost by over half.

Prompt routing dynamically selects the most appropriate large language model from a pool of candidates for each query, optimizing performance while managing costs. As model pools scale to include dozens of frontier models with narrow performance gaps, existing approaches face significant challenges: manually defined task taxonomies cannot capture fine-grained capability distinctions, while monolithic routers struggle to differentiate subtle differences across diverse tasks. We propose a two-stage routing architecture that addresses these limitations through automated fine-grained task discovery and task-aware quality estimation. Our first stage employs graph-based clustering to discover latent task types and trains a classifier to assign prompts to discovered tasks. The second stage uses a mixture-of-experts architecture with task-specific prediction heads for specialized quality estimates. At inference, we aggregate predictions from both stages to balance task-level stability with prompt-specific adaptability. Evaluated on 10 benchmarks with 11 frontier models, our method consistently outperforms existing baselines and surpasses the strongest individual model while incurring less than half its cost.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes