Transferable Graph Optimizers for ML Compilers
Not on the map. Why?
Abstract (arXiv)
Most compilers for machine learning (ML) frameworks need to solve many correlated optimization problems to generate efficient machine code. Current ML compilers rely on heuristics based algorithms to solve these optimization problems one at a time. However, this approach is not only hard to maintain but often leads to sub-optimal solutions especially for newer model architectures. Existing learning based approaches in the literature are sample inefficient, tackle a single optimization problem, and do not generalize to unseen graphs making them infeasible to be deployed in practice. To address these limitations, we propose an end-to-end, transferable deep reinforcement learning method for computational graph optimization (GO), based on a scalable sequential attention mechanism over an inductive graph neural network. GO generates decisions on the entire graph rather than on each individual node autoregressively, drastically speeding up the search compared to prior methods. Moreover, we propose recurrent attention layers to jointly optimize dependent graph optimization tasks and demonstrate 33%-60% speedup on three graph optimization tasks compared to TensorFlow default optimization. On a diverse set of representative graphs consisting of up to 80,000 nodes, including Inception-v3, Transformer-XL, and WaveNet, GO achieves on average 21% improvement over human experts and 18% improvement over the prior state of the art with 15x faster convergence, on a device placement task evaluated in real systems.
Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 9; 2023: 9; 2024: 2; 2025: 2; 2026: 1.
29 papers.
Sort:
By area:
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2023Robust Scheduling with GFlowNetscited by 67
- 2022SurCo: Learning Linear Surrogates For Combinatorial Nonlinear Optimization Problemscited by 21
- 2021A Full-Stack Search Technique for Domain Optimized Deep Learning Acceleratorscited by 19
- 2021Automap: Towards Ergonomic Automated Parallelism for ML Modelscited by 12
- 2022Neural Topological Ordering for Computation Graphscited by 12
- 2023Learning Compiler Pass Orders using Coreset and Normalized Value Predictioncited by 11
- 2021HASCO: Towards Agile HArdware and Software CO-design for Tensor Computationcited by 10
- 2023Enabling Resource-efficient AIoT System with Cross-level Optimization: A surveycited by 8
- 2021A Graph Policy Network Approach for Volt-Var Control in Power Distribution Systemscited by 5
- 2022Neural Architecture Search using Property Guided Synthesiscited by 4
- 2023Optimizing Memory Mapping Using Deep Reinforcement Learningcited by 3
17 more
- 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Servingcited by 3
- 2021A Transferable Approach for Partitioning Machine Learning Models on Multi-Chip-Modulescited by 2
- 2022Understanding Curriculum Learning in Policy Optimization for Online Combinatorial Optimizationcited by 2
- 2023X-RLflow: Graph Reinforcement Learning for Neural Network Subgraphs Transformationcited by 2
- 2023Saturn: An Optimized Data System for Large Model Deep Learning Workloadscited by 2
- 2024Optimizing Automatic Differentiation with Deep Reinforcement Learningcited by 2
- 2021A Graph Deep Learning Framework for High-Level Synthesis Design Space Explorationcited by 1
- 2022Terra: Imperative-Symbolic Co-Execution of Imperative Deep Learning Programscited by 1
- 2022End-to-end Mapping in Heterogeneous Systems Using Graph Representation Learningcited by 1
- 2022Attention mechanisms for physiological signal deep learning: which attention should we take?cited by 1
- 2022Celeritas: Fast Optimizer for Large Dataflow Graphscited by 1
- 2023Target-independent XLA optimization using Reinforcement Learningcited by 1
- 2026A Learning Method with Gap-Aware Generation for Heterogeneous DAG Schedulingcited by 1
- 2022Reinforcement Learning Approach for Mapping Applications to Dataflow-Based Coarse-Grained Reconfigurable Arraycited by 0
- 2023Expediting Distributed DNN Training with Device Topology-Aware Graph Deploymentcited by 0
- 2024Network Representation Learning for Biophysical Neural Network Analysiscited by 0
- 2025Learning to Shard: RL for Co-optimizing the Parallelism Degrees and Per-operator Sharding Dimensions in Distributed LLM Inferencecited by 0
- 2026A Learning Method with Gap-Aware Generation for Heterogeneous DAG Scheduling24 Mar 2026
- 2025Learning to Shard: RL for Co-optimizing the Parallelism Degrees and Per-operator Sharding Dimensions in Distributed LLM Inference29 Aug 2025
- 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving2 Jun 2025
- 2024Network Representation Learning for Biophysical Neural Network Analysis15 Oct 2024
- 2024Optimizing Automatic Differentiation with Deep Reinforcement Learning7 Jun 2024
- 2023Enabling Resource-efficient AIoT System with Cross-level Optimization: A survey27 Sep 2023
- 2023Saturn: An Optimized Data System for Large Model Deep Learning Workloads3 Sep 2023
- 2023Target-independent XLA optimization using Reinforcement Learning28 Aug 2023
- 2023Optimizing Memory Mapping Using Deep Reinforcement Learning11 May 2023
- 2023X-RLflow: Graph Reinforcement Learning for Neural Network Subgraphs Transformation28 Apr 2023
- 2023Full Stack Optimization of Transformer Inference: a Survey27 Feb 2023
- 2023Expediting Distributed DNN Training with Device Topology-Aware Graph Deployment13 Feb 2023
17 more
- 2023Robust Scheduling with GFlowNets17 Jan 2023
- 2023Learning Compiler Pass Orders using Coreset and Normalized Value Prediction9 Jan 2023
- 2022SurCo: Learning Linear Surrogates For Combinatorial Nonlinear Optimization Problems22 Oct 2022
- 2022Celeritas: Fast Optimizer for Large Dataflow Graphs30 Jul 2022
- 2022Neural Topological Ordering for Computation Graphs13 Jul 2022
- 2022Attention mechanisms for physiological signal deep learning: which attention should we take?4 Jul 2022
- 2022Reinforcement Learning Approach for Mapping Applications to Dataflow-Based Coarse-Grained Reconfigurable Array26 May 2022
- 2022Neural Architecture Search using Property Guided Synthesis8 May 2022
- 2022End-to-end Mapping in Heterogeneous Systems Using Graph Representation Learning25 Apr 2022
- 2022Understanding Curriculum Learning in Policy Optimization for Online Combinatorial Optimization11 Feb 2022
- 2022Terra: Imperative-Symbolic Co-Execution of Imperative Deep Learning Programs23 Jan 2022
- 2021A Transferable Approach for Partitioning Machine Learning Models on Multi-Chip-Modules7 Dec 2021
- 2021Automap: Towards Ergonomic Automated Parallelism for ML Models6 Dec 2021
- 2021A Graph Deep Learning Framework for High-Level Synthesis Design Space Exploration29 Nov 2021
- 2021A Graph Policy Network Approach for Volt-Var Control in Power Distribution Systems24 Sep 2021
- 2021A Full-Stack Search Technique for Domain Optimized Deep Learning Accelerators26 May 2021
- 2021HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation4 May 2021
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2023Robust Scheduling with GFlowNetscited by 67
- 2022SurCo: Learning Linear Surrogates For Combinatorial Nonlinear Optimization Problemscited by 21
- 2021A Full-Stack Search Technique for Domain Optimized Deep Learning Acceleratorscited by 19
- 2021Automap: Towards Ergonomic Automated Parallelism for ML Modelscited by 12
- 2022Neural Topological Ordering for Computation Graphscited by 12
- 2023Learning Compiler Pass Orders using Coreset and Normalized Value Predictioncited by 11
- 2021HASCO: Towards Agile HArdware and Software CO-design for Tensor Computationcited by 10
- 2023Enabling Resource-efficient AIoT System with Cross-level Optimization: A surveycited by 8
- 2021A Graph Policy Network Approach for Volt-Var Control in Power Distribution Systemscited by 5
- 2022Neural Architecture Search using Property Guided Synthesiscited by 4
- 2023Optimizing Memory Mapping Using Deep Reinforcement Learningcited by 3
12 most cited of 28 All 28 (JSON)
- 2026A Learning Method with Gap-Aware Generation for Heterogeneous DAG Scheduling24 Mar 2026
- 2025Learning to Shard: RL for Co-optimizing the Parallelism Degrees and Per-operator Sharding Dimensions in Distributed LLM Inference29 Aug 2025
- 2024Network Representation Learning for Biophysical Neural Network Analysis15 Oct 2024
- 2024Optimizing Automatic Differentiation with Deep Reinforcement Learning7 Jun 2024
- 2023Enabling Resource-efficient AIoT System with Cross-level Optimization: A survey27 Sep 2023
- 2023Saturn: An Optimized Data System for Large Model Deep Learning Workloads3 Sep 2023
- 2023Target-independent XLA optimization using Reinforcement Learning28 Aug 2023
- 2023Optimizing Memory Mapping Using Deep Reinforcement Learning11 May 2023
- 2023X-RLflow: Graph Reinforcement Learning for Neural Network Subgraphs Transformation28 Apr 2023
- 2023Full Stack Optimization of Transformer Inference: a Survey27 Feb 2023
- 2023Expediting Distributed DNN Training with Device Topology-Aware Graph Deployment13 Feb 2023
- 2023Robust Scheduling with GFlowNets17 Jan 2023
12 newest of 28 All 28 (JSON)