arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.08234cs.GTcs.DS
收藏

基于样本的未知泊松到达在线广义分配问题

Multidimensional Online Resource Allocation for Large Language Model Services under Nonstationary Demand

University of Science and Technology of China(中国科学技术大学);Nanyang Technological University(南洋理工大学)

Hao Wang, Zihao Li, Zhenzhen Yan

AI总结:

研究未知泊松到达的在线广义分配问题,提出基于历史与在线数据的多阶段算法,给出竞争比保证,并推广至多维多需求场景。

摘要:

我们研究具有未知泊松到达的边加权在线随机广义分配问题。在此模型中,我们考虑一个包含离线箱和在线物品的二部图,其中每个离线箱关联一个$D$维容量向量,每个在线物品具有一个$D$维需求向量。在线到达物品从一组在线物品类型中采样得到,这些类型遵循独立但不一定同分布的泊松过程。每个泊松过程的到达率是未知的。每个在线物品要么被装入一个离线箱中(这会扣除分配箱的容量向量并产生奖励),要么被拒绝。决策必须在其到达时立即且不可撤销地做出。我们的目标是在不违反容量约束的前提下最大化分配的总奖励。我们提出了一种基于样本的多阶段算法,利用现有的离线数据(称为历史数据)和顺序揭示的在线数据。我们建立了以竞争比衡量的性能保证。在$D=1$且所有容量和需求均为1的简化设置中,我们证明该比率取决于历史数据规模和规划期内每种在线物品类型的最小到达次数,由此分析了历史数据规模和泊松到达模型对算法性能的影响。我们进一步将该算法推广到一般的多维多需求设置,并给出了参数化性能保证。基于建立的参数形式,进一步分析了容量(需求)维度对算法性能的影响。最后,我们通过数值实验证明了算法的有效性。

英文摘要:

We study multidimensional online generalized assignment under nonstationary arrivals, motivated by resource allocation for large language model agent services. Providers may commit model and tool allowances to agent tasks upon admission, reserving budgets for their internal execution loops. Each request is rejected or accepted with an irrevocable assignment to one compatible server, earning reward and consuming a vector of its nonreplenishing budgets. Arrivals are independent with known, potentially time-varying type distributions. Scalar reductions can discard feasible combinations of requests with complementary resource requirements. To maximize expected reward, we develop Vector-Aware Best-Fit, which combines linear-programming-guided candidate routing with calibrated acceptance while retaining vector feasibility. Relative to the expected clairvoyant offline optimum, its guarantee improves on scalar reduction in the multidimensional case and has the best possible inverse-dimensional order. With an appropriate acceptance parameter, the proposed policy attains the optimal competitive ratio on all-heavy instances, where every feasible assignment consumes more than half of at least one resource budget. We further develop two heuristics that retain its performance guarantee. Computational results show that the heuristics perform well against benchmarks in most tested settings, especially when capacity is scarce relative to demand.

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

↑