Slim Scheduler:一种面向高效CNN推理的运行时感知强化学习与调度系统
Slim Scheduler: A Runtime-Aware RL and Scheduler System for Efficient CNN Inference
AI总结:
针对静态调度忽视动态环境的问题,提出Slim Scheduler混合框架,结合PPO强化学习与贪心调度,分层协调可瘦身模型推理,显著降低延迟和能耗,并实现精度与效率的灵活权衡。
摘要:
大多数神经网络调度研究侧重于优化固定宽度的静态端到端模型,忽视了适应异构硬件和波动运行时条件的动态方法。我们提出了Slim Scheduler,一种混合调度框架,它将近端策略优化(PPO)强化学习策略与算法性的贪心调度器相结合,以协调可瘦身模型的分布式推理。每个服务器运行一个本地贪心调度器,该调度器对兼容请求进行批处理,并基于显存和利用率约束管理实例扩展,而PPO路由器则学习用于设备选择、宽度比例和批处理配置的全局路由策略。这种分层设计降低了搜索空间复杂度,减轻了对特定硬件的过拟合,并平衡了效率与吞吐量。与纯随机任务分配基线相比,Slim Scheduler可以实现多种精度和延迟权衡,例如:平均延迟降低96.45%,能耗降低97.31%,同时将精度降至可用的最瘦模型(70.3%)。随后,它能够实现平均延迟与能耗的总体降低,同时提高精度,但代价是上述延迟和能耗的标准差增大,从而影响整体任务吞吐量。
英文摘要:
Most neural network scheduling research focuses on optimizing static, end-to-end models of fixed width, overlooking dynamic approaches that adapt to heterogeneous hardware and fluctuating runtime conditions. We present Slim Scheduler, a hybrid scheduling framework that integrates a Proximal Policy Optimization (PPO) reinforcement learning policy with algorithmic, greedy schedulers to coordinate distributed inference for slimmable models. Each server runs a local greedy scheduler that batches compatible requests and manages instance scaling based on VRAM and utilization constraints, while the PPO router learns global routing policies for device selection, width ratio, and batch configuration. This hierarchical design reduces search space complexity, mitigates overfitting to specific hardware, and balances efficiency and throughput. Compared to a purely randomized task distribution baseline, Slim Scheduler can achieve various accuracy and latency trade-offs such as: A 96.45% reduction in mean latency and a 97.31% reduction in energy usage dropping accuracy to the slimmest model available (70.3%). It can then accomplish an overall reduction in average latency plus energy consumption with an increase in accuracy at the cost of higher standard deviations of said latency and energy, effecting overall task throughput.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。