MESS+:具备服务等级保障的语言模型库中能量最优推理
MESS+: Energy-Optimal Inferencing in Language Model Zoos with Service Level Guarantees
AI总结:
针对LLM模型库选择难、服务商与用户需求难平衡的问题,提出在线随机优化算法MESS+,可按单请求实现能量最优的模型选择,在保障SLA精度要求下能效最高达随机选择的2.5倍。
摘要:
开放权重大语言模型(LLM)库让用户能够快速将前沿模型集成到系统中。尽管可用模型日益增多,但为特定任务选择最合适的模型仍很大程度上依赖公开基准排行榜和经验判断。这对推理服务提供商和终端用户而言都不尽如人意:提供商通常优先考虑成本效率,而终端用户通常优先保障其推理请求的模型输出质量。在商业场景中,这两类优先级通常通过服务等级协议(SLA)进行协调。我们提出MESS+,这是一种在线随机优化算法,用于从模型库中进行能量最优的模型选择,可按单条推理请求执行调度。在要求高精度的给定SLA约束下,使用MESS+的能量效率比从模型库中随机选择LLM最高高出2.5倍,同时能维持SLA的质量约束。
英文摘要:
Open-weight large language model (LLM) zoos allow users to quickly integrate state-of-the-art models into systems. Despite increasing availability, selecting the most appropriate model for a given task still largely relies on public benchmark leaderboards and educated guesses. This can be unsatisfactory for both inference service providers and end users, where the providers usually prioritize cost efficiency, while the end users usually prioritize model output quality for their inference requests. In commercial settings, these two priorities are often brought together in Service Level Agreements (SLA). We present MESS+, an online stochastic optimization algorithm for energy-optimal model selection from a model zoo, which works on a per-inference-request basis. For a given SLA that requires high accuracy, we are up to 2.5x more energy efficient with MESS+ than with randomly selecting an LLM from the zoo while maintaining SLA quality constraints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。