arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.01348cs.LG
收藏

预测和批评:通过强化学习加速云计算的端到端预测控制

Predict-and-Critic: Accelerated End-to-End Predictive Control for Cloud Computing through Reinforcement Learning

University of Pennsylvania(宾夕法尼亚大学);AWS AI Labs(AWS人工智能实验室)

Kaustubh Sridhar, Vikramank Singh, Balakrishnan Narayanaswamy, Abishek Sankararaman

摘要:

云计算有望通过规模经济降低成本。为了实现这一承诺,云计算供应商通常解决顺序资源分配问题,其中客户工作负载打包在共享硬件上。虚拟机(VM)构成了现代云计算的基础,因为它们有助于从共享的物理基础设施中逻辑地抽象用户计算。传统上,VM包装问题通过预测需求来解决,随后是在未来范围内的模型预测控制(MPC)优化。我们引入了工业虚拟机包装问题的近似公式,作为具有由预测参数化的软约束的MILP。最近,预测和优化(PnO)被提出用于预测模型的端到端训练,通过优化问题反向传播决策的成本。但是,PnO无法扩展到云计算中普遍存在的大预测范围。为了解决这个问题,我们提出了预测和批评(PnC)框架,通过利用强化学习,仅用两步时间就可以超越PnO。PnC联合训练预测模型和终端Q函数,其通过将决策成本反向传播通过优化问题\emph{and from the future}来近似长时间范围内的成本。终端Q函数允许我们解决比PnO中所需的多步时域小得多的两步时域优化问题。我们评估PnO和PnC框架上的两个数据集,三个工作负载,并在优化问题中没有建模的干扰。我们发现,PnC显着提高决策质量PnO,即使优化问题是不是一个完美的现实代表。我们还发现,硬化软约束的MILP和反向传播的约束,提高决策质量的PnO和PnC。

英文摘要:

Cloud computing holds the promise of reduced costs through economies of scale. To realize this promise, cloud computing vendors typically solve sequential resource allocation problems, where customer workloads are packed on shared hardware. Virtual machines (VM) form the foundation of modern cloud computing as they help logically abstract user compute from shared physical infrastructure. Traditionally, VM packing problems are solved by predicting demand, followed by a Model Predictive Control (MPC) optimization over a future horizon. We introduce an approximate formulation of an industrial VM packing problem as an MILP with soft-constraints parameterized by the predictions. Recently, predict-and-optimize (PnO) was proposed for end-to-end training of prediction models by back-propagating the cost of decisions through the optimization problem. But, PnO is unable to scale to the large prediction horizons prevalent in cloud computing. To tackle this issue, we propose the Predict-and-Critic (PnC) framework that outperforms PnO with just a two-step horizon by leveraging reinforcement learning. PnC jointly trains a prediction model and a terminal Q function that approximates cost-to-go over a long horizon, by back-propagating the cost of decisions through the optimization problem \emph{and from the future}. The terminal Q function allows us to solve a much smaller two-step horizon optimization problem than the multi-step horizon necessary in PnO. We evaluate PnO and the PnC framework on two datasets, three workloads, and with disturbances not modeled in the optimization problem. We find that PnC significantly improves decision quality over PnO, even when the optimization problem is not a perfect representation of reality. We also find that hardening the soft constraints of the MILP and back-propagating through the constraints improves decision quality for both PnO and PnC.

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

↑