PROTEUS:通过拉格朗日强化学习实现多LLM服务系统的SLA感知路由
PROTEUS: SLA-Aware Routing via Lagrangian RL for Multi-LLM Serving Systems
AI总结:
PROTEUS通过拉格朗日强化学习实现多LLM服务系统的SLA感知路由,能够根据运行时指定的准确性目标动态调整路由决策,显著提升准确性和成本效率。
摘要:
在生产环境中部署的大语言模型(LLM)需要处理多样化的负载,其中成本和质量要求会根据客户等级、时间以及查询的重要性而变化。模型服务系统直接接受延迟的服务水平目标(SLO)。LLM路由器却不。它们迫使操作员在离线环境中调整参数并猜测可能的结果准确性。参数与结果之间的关系是间接的、非单调的,并且依赖于数据集。操作员需要指定准确性目标,而不是从模糊的设置中推断出来。我们提出了PROTEUS(Polymorphic Router for Operational Target Enforcement with Unified SLA),一种路由器,它接受准确性目标tau作为运行时输入。PROTEUS使用拉格朗日双重控制。一个经过学习的双重变量lambda在训练期间跟踪约束违规情况,并条件化策略网络。这使路由器能够将指定的tau值转换为满足这些要求的路由决策。一个经过训练的模型可以服务于整个准确性范围而无需重新训练。我们在RouterBench(11个模型,405,000个查询)和SPROUT(14个模型,45,000个查询)上进行了评估。PROTEUS在准确性达到或超过tau时实现了稳定的地板合规性。目标-响应相关性达到0.97到0.98。最接近的基线模型OmniRouter尽管也使用了拉格朗日优化,但只在22%的时间内达到地板要求。PROTEUS可以在单个模型上跨tau在[0.85, 0.95]范围内运行。在RouterBench上,它实现了90.1%的准确性,与oracle相差1.3%。在SPROUT上,它实现了94.0%的准确性,与oracle相差4.6%。成本节省达到89.8%,优于最佳固定模型。
英文摘要:
Production LLM deployments serve diverse workloads where cost and quality requirements vary by customer tier, time of day, and query criticality. Model serving systems accept latency SLOs directly. LLM routers do not. They force operators to tune parameters offline and guess what accuracy might result. The relationship between parameters and outcomes is indirect, non-monotonic, and dataset-dependent. Operators need to specify accuracy targets, not infer them from opaque settings. We present PROTEUS (Polymorphic Router for Operational Target Enforcement with Unified SLA), a router that accepts accuracy targets tau as runtime input. PROTEUS uses Lagrangian dual control. A learned dual variable lambda tracks constraint violations during training and conditions the policy network. This lets the router translate specified tau values into routing decisions that satisfy them. A single trained model serves the full accuracy spectrum without retraining.We evaluate on RouterBench (11 models, 405K queries) and SPROUT (14 models, 45K queries). PROTEUS achieves consistent floor compliance where accuracy meets or exceeds tau. The target-response correlation reaches 0.97 to 0.98. The closest baseline, OmniRouter, meets floors only 22% of the time despite also using Lagrangian optimization. PROTEUS operates across tau in [0.85, 0.95] from a single model. On RouterBench it achieves 90.1% accuracy, within 1.3% of oracle. On SPROUT it achieves 94.0% accuracy, within 4.6% of oracle. Cost savings reach 89.8% versus the best fixed model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。