arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.00136cs.LGcs.CL
收藏

ParetoBandit: 面向非平稳LLM服务的预算驱动自适应路由

ParetoBandit: Budget-Paced Adaptive Routing for Non-Stationary LLM Serving

Independent Researcher(独立研究者)

Annette Taberner-Miller

AI总结:

ParetoBandit提出一种基于成本感知上下文老虎机的自适应路由方法,解决非平稳环境下LLM服务的预算控制与在线适应问题,实现高质量与低成本的平衡。

摘要:

多模型LLM服务在非平稳、嘈杂环境中运行:提供商调整定价,模型质量可能无预警变化,新模型定期出现。超过十余种方法提出了学习路由器以在覆盖约530倍成本范围的组合中导航质量-成本权衡。尽管有此活动,当前解决方案存在两个缺口:没有现有路由器在闭环中对请求流施加美元计价的成本上限,且无方法提供有原则的在线适应以应对部署后定价或模型质量的变化。我们提出了ParetoBandit,一种开源自适应路由器,基于成本感知上下文老虎机,解决了这两个缺口。其核心贡献是:(1) 一个在线对偶预算调节器,无需已知时间范围即可强制每个请求的成本上限;(2) 几何遗忘在充分统计量上,为老虎机提供有界内存以跟踪质量和成本变化。进一步的热替换模型注册表支持运行时模型更改,通过预算控制的探索。在1,824个基准提示和三个模型组合上,路由器保持预算合规性在0.4%以内,能够适应价格和质量变化,实现最高+0.071质量提升,并在约142步内集成冷启动模型。

英文摘要:

Multi-model LLM serving operates in a non-stationary, noisy environment: providers revise pricing, model quality can shift or regress without notice, and new models arrive regularly. More than a dozen recent methods have proposed learned routers to navigate the resulting quality--cost tradeoff across portfolios spanning a $\sim$530$\times$ cost range. Despite this activity, two gaps in the current solution space limit routing effectiveness under these conditions: no existing router enforces a dollar-denominated cost ceiling in closed loop over an open-ended request stream, and none provides principled online adaptation to post-deployment shifts in pricing or model quality. We present ParetoBandit, an open-source adaptive router built on cost-aware contextual bandits that addresses both gaps. Its core contributions are: (1) an online primal--dual budget pacer that enforces a per-request cost ceiling without a known horizon, and (2) geometric forgetting on sufficient statistics that gives the bandit bounded memory for tracking quality and cost shifts. A hot-swap model registry further supports runtime model changes with budget-controlled exploration. On 1,824 benchmark prompts with a three-model portfolio, the router maintains budget compliance within 0.4%, adapts to price and quality shifts with up to +0.071 quality lift, and integrates a cold-started model within $\sim$142 steps.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑