arXiv:2411.15997cs.LGcs.AI2024-11被引 3

解决多应用共用大模型时的请求不公平问题

Ensuring Fair LLM Serving Amid Diverse Applications

  • 根据应用特性动态限流,结合加权调度机制
  • 实测在真实请求数据上显著优于现有方法
  • 适合部署在多租户大模型服务平台的工程师

在托管多种应用的多租户大语言模型(LLM)服务系统中,部分用户可能提交过多请求,导致服务对其他用户不可用,引发不公平。现有公平性方法未考虑不同应用间令牌长度差异和多次调用问题,不适用于此类平台。本文基于微软MS CoPilot平台数百万条请求、数千名用户的实际数据进行分析,验证了现有方法的不足,并据此提出FairServe系统。该系统采用基于应用特征的请求限流与加权服务计数器调度策略,有效遏制滥用行为并保障公平性。在真实请求轨迹上的实验表明,FairServe在确保公平性方面优于当前最先进的方法。系统正积极准备投入生产,预计将惠及全球数百万用户。

原文摘要 · Abstract (English)

In a multi-tenant large language model (LLM) serving platform hosting diverse applications, some users may submit an excessive number of requests, causing the service to become unavailable to other users and creating unfairness. Existing fairness approaches do not account for variations in token lengths across applications and multiple LLM calls, making them unsuitable for such platforms. To address the fairness challenge, this paper analyzes millions of requests from thousands of users on MS CoPilot, a real-world multi-tenant LLM platform hosted by Microsoft. Our analysis confirms the inadequacy of existing methods and guides the development of FairServe, a system that ensures fair LLM access across diverse applications. FairServe proposes application-characteristic aware request throttling coupled with a weighted service counter based scheduling technique to curb abusive behavior and ensure fairness. Our experimental results on real-world traces demonstrate FairServe's superior performance compared to the state-of-the-art method in ensuring fairness. We are actively working on deploying our system in production, expecting to benefit millions of customers world-wide.

大模型服务公平性限流调度

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。