Reinforced Genetic Algorithm Learning for Optimizing Computation Graphs
Preprint
Abstract
We present a deep reinforcement learning approach to minimizing the execution cost of neural network computation graphs in an optimizing compiler. Unlike earlier learning-based works that require training the optimizer on the same graph to be optimized, we propose a learning approach that trains an optimizer offline and then generalizes to previously unseen graphs without further training. This allows our approach to produce high-quality execution decisions on real-world TensorFlow graphs in seconds instead of hours. We consider two optimization tasks for computation graphs: minimizing running time and peak memory usage. In comparison to an extensive set of baselines, our approach achieves significant improvements over classical and other learning-based methods on these two tasks.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Machine learning for combinatorial optimization: A methodological tour d’horizonEuropean Journal of Operational Research, 2021
- Learning scheduling algorithms for data processing clusters2019
- A general reinforcement learning algorithm that masters chess, shogi, and Go through self-playScience, 2018
- Dynamic control flow in large-scale machine learning2018
- The tensorflow partitioning and scheduling problem2017
- Parallel Scheduling of Task Trees with Limited MemoryACM Transactions on Parallel Computing, 2015
- Biased random-key genetic algorithms for combinatorial optimizationJournal of Heuristics, 2010
- Emergence of Scaling in Random NetworksScience, 1999
- A Fast and High Quality Multilevel Scheme for Partitioning Irregular GraphsSIAM Journal on Scientific Computing, 1998
- An Efficient Heuristic Procedure for Partitioning GraphsBell System Technical Journal, 1970