Robust Scheduling with GFlowNets

David W. Zhang, Corrado Rainone, Markus Peschl, Roberto Bondesan
1/17/2023
cs.AIcs.LGcs.PL

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2023robust,
  title  = {Robust Scheduling with GFlowNets},
  author = {David W. Zhang and Corrado Rainone and Markus Peschl and Roberto Bondesan},
  year   = {2023},
  eprint = {2302.05446},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.05446v2},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.05446.svg)](https://codeofpaper.com/paper/2302.05446)

Discussion