模型在SCOPE下:通过预先推理实现可扩展和可控的路由
Models Under SCOPE: Scalable and Controllable Routing via Pre-hoc Reasoning
AI总结:
SCOPE通过预先推理预测模型成本和性能,实现动态路由决策,提升准确率或降低成本
摘要:
模型路由选择每个查询所使用的语言模型。通过将简单查询发送到更便宜的模型,将困难查询发送到更强的模型,可以显著降低推理成本,同时保持高准确性。然而,大多数现有路由器将此视为在少量模型之间固定选择,这使得它们难以适应新模型或变化的预算约束。在本文中,我们提出了SCOPE(可扩展和可控的输出性能估计器),一种路由框架,超越了模型选择,通过预测其成本和性能。通过强化学习训练,SCOPE通过检索模型在相似问题上的行为来做出基于推理的预测,而不是依赖于固定的模型名称,使其能够工作于新的、未见过的模型。此外,通过明确预测模型的准确性和成本,它将路由转化为一个动态决策问题,允许用户轻松控制准确性和成本之间的权衡。实验表明,SCOPE不仅仅是节省成本的工具。它灵活适应用户需求:当性能是优先考虑时,它可以将准确性提高多达25.7%,当效率最为重要时,它可以将成本降低多达95.1%。
英文摘要:
Model routing chooses which language model to use for each query. By sending easy queries to cheaper models and hard queries to stronger ones, it can significantly reduce inference cost while maintaining high accuracy. However, most existing routers treat this as a fixed choice among a small set of models, which makes them hard to adapt to new models or changing budget constraints. In this paper, we propose SCOPE (Scalable and Controllable Outcome Performance Estimator), a routing framework that goes beyond model selection by predicting their cost and performance. Trained with reinforcement learning, SCOPE makes reasoning-based predictions by retrieving how models behave on similar problems, rather than relying on fixed model names, enabling it to work with new, unseen models. Moreover, by explicitly predicting how accurate and how expensive a model will be, it turns routing into a dynamic decision problem, allowing users to easily control the trade-off between accuracy and cost. Experiments show that SCOPE is more than just a cost-saving tool. It flexibly adapts to user needs: it can boost accuracy by up to 25.7% when performance is the priority, or cut costs by up to 95.1% when efficiency matters most.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。