arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.11652cs.LGcs.AR
收藏

通过基于强化学习的初始化加速精确组合优化——以调度问题为案例研究

Accelerating Exact Combinatorial Optimization via RL-based Initialization -- A Case Study in Scheduling

University of Utah(犹他大学)

Jiaqi Yin, Cunxi Yu

AI总结:

针对数据流图调度这一NP难问题,提出两阶段RL到ILP的调度框架,结合RL粗粒度调度、解松弛与ILP精确求解,在保证最优性的同时实现最高128倍加速,性能优于商用EdgeTPU编译器。

摘要:

数据流图(又称计算图)上的调度是一个NP难问题。传统精确方法受运行时复杂度限制,而强化学习(RL)和基于启发式的方法在确定性与解的质量上存在不足。本研究旨在开发一种创新方法,运用机器学习(ML)解决组合优化问题,并以调度作为案例研究,目标是在保持启发式方法运行时成本的同时,提供最优性和确定性保证。具体而言,我们提出了一种新颖的两阶段RL到ILP(整数线性规划)调度框架,包含三个步骤:1)RL求解器充当粗粒度调度器;2)解松弛;3)通过ILP进行精确求解。我们的框架在调度性能上与使用精确调度方法相当,同时实现了最高128倍的速度提升。该实验在实际EdgeTPU平台上开展,以ImageNet DNN(深度神经网络)计算图作为输入。此外,与商用EdgeTPU编译器相比,该框架还提升了片上推理运行时速度与加速效果。

英文摘要:

Scheduling on dataflow graphs (also known as computation graphs) is an NP-hard problem. The traditional exact methods are limited by runtime complexity, while reinforcement learning (RL) and heuristic-based approaches struggle with determinism and solution quality. This research aims to develop an innovative approach that employs machine learning (ML) for addressing combinatorial optimization problems, using scheduling as a case study. The goal is to provide guarantees in optimality and determinism while maintaining the runtime cost of heuristic methods. Specifically, we introduce a novel two-phase RL-to-ILP scheduling framework, which includes three steps: 1) RL solver acts as coarse-grain scheduler, 2) solution relaxation and 3) exact solving via ILP. Our framework demonstrates the same scheduling performance compared with using exact scheduling methods while achieving up to 128 $\times$ speed improvements. This was conducted on actual EdgeTPU platforms, utilizing ImageNet DNN computation graphs as input. Additionally, the framework offers improved on-chip inference runtime and acceleration compared to the commercially available EdgeTPU compiler.

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

↑