X-RLflow: Graph Reinforcement Learning for Neural Network Subgraphs Transformation
He, Guoliang, Parker, Sean, Yoneki, Eiko
–arXiv.org Artificial Intelligence
Tensor graph superoptimisation systems perform a sequence of subgraph substitution to neural networks, to find the optimal computation graph structure. Such a graph transformation process naturally falls into the framework of sequential decision-making, and existing systems typically employ a greedy search approach, which cannot explore the whole search space as it cannot tolerate a temporary loss of performance. In this paper, we address the tensor graph superoptimisation problem by exploring an alternative search approach, reinforcement learning (RL). Our proposed approach, X-RLflow, can learn to perform neural network dataflow graph rewriting, which substitutes a subgraph one at a time. X-RLflow is based on a model-free RL agent that uses a graph neural network (GNN) to encode the target computation graph and outputs a transformed computation graph iteratively. We show that our approach can outperform state-of-the-art superoptimisation systems over a range of deep learning models and achieve by up to 40% on those that are based on transformer-style architectures.
arXiv.org Artificial Intelligence
Apr-28-2023
- Country:
- Africa > Ethiopia (0.04)
- Asia > Middle East
- Jordan (0.04)
- Europe
- Italy > Calabria
- Catanzaro Province > Catanzaro (0.04)
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Italy > Calabria
- North America
- Canada > Quebec
- Montreal (0.04)
- United States
- California
- Los Angeles County > Long Beach (0.04)
- San Diego County > Carlsbad (0.04)
- Florida > Miami-Dade County
- Miami Beach (0.04)
- Georgia > Chatham County
- Savannah (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Nevada > Clark County
- Las Vegas (0.04)
- New York > New York County
- New York City (0.04)
- California
- Canada > Quebec
- Genre:
- Research Report (0.82)
- Industry:
- Information Technology (0.68)
- Technology: