CONCUR: A Framework for Continual Constrained and Unconstrained Routing
Peter Baile Chen, Weiyue Li, Dan Roth, Michael Cafarella, Samuel Madden, Jacob Andreas
TL;DR
<CONCUR> tackles continual routing of AI tasks to diverse computation strategies by learning per-strategy predictors for accuracy and cost. It leverages dual input representations—general-purpose and task-specific—to predict performance and orchestrate constrained and unconstrained routing via optimization, enabling easy extension to new strategies without retraining existing predictors. Empirical results across in-distribution and out-of-distribution, reasoning-intensive tasks show CONCUR surpassing the best single-strategy and existing routers, with higher end-to-end accuracy and lower inference cost, plus reduced training cost in continual settings. The approach provides a scalable, budget-aware framework for dynamic model-decoding landscapes in practical AI workloads.
Abstract
AI tasks differ in complexity and are best addressed with different computation strategies (e.g., combinations of models and decoding methods). Hence, an effective routing system that maps tasks to the appropriate strategies is crucial. Most prior methods build the routing framework by training a single model across all strategies, which demands full retraining whenever new strategies appear and leads to high overhead. Attempts at such continual routing, however, often face difficulties with generalization. Prior models also typically use a single input representation, limiting their ability to capture the full complexity of the routing problem and leading to sub-optimal routing decisions. To address these gaps, we propose CONCUR, a continual routing framework that supports both constrained and unconstrained routing (i.e., routing with or without a budget). Our modular design trains a separate predictor model for each strategy, enabling seamless incorporation of new strategies with low additional training cost. Our predictors also leverage multiple representations of both tasks and computation strategies to better capture overall problem complexity. Experiments on both in-distribution and out-of-distribution, knowledge- and reasoning-intensive tasks show that our method outperforms the best single strategy and strong existing routing techniques with higher end-to-end accuracy and lower inference cost in both continual and non-continual settings, while also reducing training cost in the continual setting.
