mlsanityData to 7 Oct 2026

X-RLflow: Graph Reinforcement Learning for Neural Network Subgraphs Transformation

arXiv 2304.14698 ↗First posted 28 Apr 2023cs.LG cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 27 of its 50 references that are in the map. First posted on arXiv 28 Apr 2023.

Builds on

27 of 50 references.

References · 27

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2017Proximal Policy Optimization Algorithmscited by 14,441
  5. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  6. 2017Graph Attention Networkscited by 8,854
  7. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  8. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  9. 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,218
  10. 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 1,916
  11. 2016OpenAI Gymcited by 1,684
  12. 2018World Modelscited by 1,444
15 more
  1. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
  2. 2018Recurrent World Models Facilitate Policy Evolutioncited by 761
  3. 2019Solving Rubik's Cube with a Robot Handcited by 699
  4. 2019Model-Based Reinforcement Learning for Ataricited by 495
  5. 2020Transformer Transducer: A Streamable Speech Recognition Model with Transformer Encoders and RNN-T Losscited by 232
  6. 2015MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systemscited by 195
  7. 2018Learning to Perform Local Rewriting for Combinatorial Optimizationcited by 183
  8. 2020A Closer Look at Invalid Action Masking in Policy Gradient Algorithmscited by 160
  9. 2018Model-Based Value Estimation for Efficient Model-Free Reinforcement Learningcited by 152
  10. 2017Imagination-Augmented Agents for Deep Reinforcement Learningcited by 137
  11. 2020Transferable Graph Optimizers for ML Compilerscited by 29
  12. 2021Equality Saturation for Tensor Graph Superoptimizationcited by 27
  13. 2020AutoPhase: Juggling HLS Phase Orderings in Random Forests with Deep Reinforcement Learningcited by 24
  14. 2022PrefixRL: Optimization of Parallel Prefix Circuits using Deep Reinforcement Learningcited by 18
  15. 2022Implementing Reinforcement Learning Datacenter Congestion Control in NVIDIA NICscited by 2

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.