Robust Scheduling with GFlowNets

01/17/2023
by   David W. Zhang, et al.
0

Finding the best way to schedule operations in a computation graph is a classical NP-hard problem which is central to compiler optimization. However, evaluating the goodness of a schedule on the target hardware can be very time-consuming. Traditional approaches as well as previous machine learning ones typically optimize proxy metrics, which are fast to evaluate but can lead to bad schedules when tested on the target hardware. In this work, we propose a new approach to scheduling by sampling proportionally to the proxy metric using a novel GFlowNet method. We introduce a technique to control the trade-off between diversity and goodness of the proposed schedules at inference time and demonstrate empirically that the pure optimization baselines can lead to subpar performance with respect to our approach when tested on a target model. Furthermore, we show that conditioning the GFlowNet on the computation graph enables generalization to unseen scheduling problems for both synthetic and real-world compiler datasets.

READ FULL TEXT
research
12/27/2019

A Two-Phase Scheme for Distributed TDMA Scheduling in WSNs with Flexibility to Trade-off between Schedule Length and Scheduling Time

The existing distributed TDMA-scheduling techniques can be classified as...
research
04/10/2023

RESPECT: Reinforcement Learning based Edge Scheduling on Pipelined Coral Edge TPUs

Deep neural networks (DNNs) have substantial computational and memory re...
research
08/18/2018

Compiler Enhanced Scheduling for OpenMP for Heterogeneous Multiprocessors

Scheduling in Asymmetric Multicore Processors (AMP), a special case of H...
research
05/09/2018

Exact Lexicographic Scheduling and Approximate Rescheduling

In industrial scheduling, an initial planning phase may solve the nomina...
research
08/19/2023

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

Scheduling on dataflow graphs (also known as computation graphs) is an N...
research
10/21/2018

Runtime Concurrency Control and Operation Scheduling for High Performance Neural Network Training

Training neural network often uses a machine learning framework such as ...
research
06/17/2021

Towards Prevention of Sportsmen Burnout: Formal Analysis of Sub-Optimal Tournament Scheduling

Scheduling a sports tournament is a complex optimization problem, which ...

Please sign up or login with your details

Forgot password? Click here to reset