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

面向截止期限的在线调度用于大语言模型微调与预留市场预测

Deadline-Aware Online Scheduling for LLM Fine-Tuning with Spot Market Predictions

Fudan University(复旦大学);University of Oregon(俄勒冈大学);Inria(法国国家信息与自动化研究所)

Linggao Kong, Yuedong Xu, Lei Jiao, Chuan Xu

AI总结:

本文提出了一种面向截止期限的在线调度方法,结合预留和按需实例,通过预测和策略选择算法实现大语言模型微调的低成本高效调度。

摘要:

随着基础模型规模的增大,对它们进行微调变得越来越昂贵。虽然GPU预留实例提供了比按需资源更低的成本替代方案,但其价格波动和可用性使得具有截止期限的调度尤其具有挑战性。我们通过结合预留和按需实例来解决这一难题。与众不同的是,我们展示了在预留实例市场中价格和可用性的可预测性,预测在实现成本高效调度中的力量及其对估计误差的敏感性。一个整数规划问题被提出,以捕捉在价格和可用性动态下的混合实例使用情况。我们提出了一种基于预测的在线分配算法,该算法基于承诺水平控制方法,通过承诺水平来强制部分决策序列。当这种预测变得不准确时,我们进一步提出了一个互补的在线算法,该算法不依赖预测。我们开发了一个在线策略选择算法,该算法从由两种算法参数变化构造的池中学习最佳策略。我们证明了基于预测的算法在预测误差减小时能够实现更紧的性能界限,而策略选择算法具有O(√T)的遗憾界。实验结果表明,我们的在线框架能够在变化的预留市场动态和预测质量下自适应地选择最佳策略,持续优于基线,并通过54.8%以上提升效用。

英文摘要:

As foundation models grow in size, fine-tuning them becomes increasingly expensive. While GPU spot instances offer a low-cost alternative to on-demand resources, their volatile prices and availability make deadline-aware scheduling particularly challenging. We tackle this difficulty by using a mix of spot and on-demand instances. Distinctively, we show the predictability of prices and availability in a spot instance market, the power of prediction in enabling cost-efficient scheduling and its sensitivity to estimation errors. An integer programming problem is formulated to capture the use of mixed instances under both the price and availability dynamics. We propose an online allocation algorithm with prediction based on the committed horizon control approach that leverages a \emph{commitment level} to enforce the partial sequence of decisions. When this prediction becomes inaccurate, we further present a complementary online algorithm without predictions. An online policy selection algorithm is developed that learns the best policy from a pool constructed by varying the parameters of both algorithms. We prove that the prediction-based algorithm achieves tighter performance bounds as prediction error decreases, while the policy selection algorithm possesses a regret bound of $\mathcal{O}(\sqrt{T})$. Experimental results demonstrate that our online framework can adaptively select the best policy under varying spot market dynamics and prediction quality, consistently outperforming baselines and improving utility by up to 54.8\%.

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

↑