Equality Saturation for Tensor Graph Superoptimization
Not on the map. Why?
Abstract (arXiv)
One of the major optimizations employed in deep learning frameworks is graph rewriting. Production frameworks rely on heuristics to decide if rewrite rules should be applied and in which order. Prior research has shown that one can discover more optimal tensor computation graphs if we search for a better sequence of substitutions instead of relying on heuristics. However, we observe that existing approaches for tensor graph superoptimization both in production and research frameworks apply substitutions in a sequential manner. Such sequential search methods are sensitive to the order in which the substitutions are applied and often only explore a small fragment of the exponential space of equivalent graphs. This paper presents a novel technique for tensor graph superoptimization that employs equality saturation to apply all possible substitutions at once. We show that our approach can find optimized graphs with up to 16% speedup over state-of-the-art, while spending on average 48x less time optimizing.
Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 9 of its 35 references that are in the map. First posted on arXiv 5 Jan 2021.
Builds on
9 of 35 references.
References · 9
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,489
- 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,097
- 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
- 2018Learning to Perform Local Rewriting for Combinatorial Optimizationcited by 183
- 2017Souper: A Synthesizing Superoptimizercited by 12
Built on by
Citing papers per year: 2021: 3; 2022: 4; 2023: 3; 2024: 2; 2025: 9; 2026: 6.
27 papers.
Sort:
By area:
- 2024Mirage: A Multi-Level Superoptimizer for Tensor Programscited by 39
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
- 2025HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimizationcited by 19
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 14
- 2021Automap: Towards Ergonomic Automated Parallelism for ML Modelscited by 12
- 2023MCTS-GEB: Monte Carlo Tree Search is a Good E-graph Buildercited by 5
- 2022Neural Architecture Search using Property Guided Synthesiscited by 4
- 2021A Data-Centric Optimization Framework for Machine Learningcited by 3
- 2024Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyondcited by 3
- 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Servingcited by 3
- 2025Neptune: Advanced ML Operator Fusion for Locality and Parallelism on GPUscited by 3
- 2021Collage: Seamless Integration of Deep Learning Backends with Automatic Placementcited by 2
15 more
- 2023X-RLflow: Graph Reinforcement Learning for Neural Network Subgraphs Transformationcited by 2
- 2025FedHQ: Hybrid Runtime Quantization for Federated Learningcited by 2
- 2025e-boost: Boosted E-Graph Extraction with Adaptive Heuristics and Exact Solvingcited by 2
- 2023Canvas: End-to-End Kernel Architecture Search in Neural Networkscited by 1
- 2022ALT: Boosting Deep Learning Performance by Breaking the Wall between Graph and Operator Level Optimizationscited by 0
- 2022AGO: Boosting Mobile AI Inference Performance by Removing Constraints on Graph Optimizationcited by 0
- 2025Verify Distributed Deep Learning Model Implementation Refinement with Iterative Relation Inferencecited by 0
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworkscited by 0
- 2025nncase: An End-to-End Compiler for Efficient LLM Deployment on Heterogeneous Storage Architecturescited by 0
- 2026VTC: DNN Compilation with Virtual Tensors for Data Movement Eliminationcited by 0
- 2026Nautilus: An Auto-Scheduling Tensor Compiler for Efficient Tiled GPU Kernelscited by 0
- 2026Prism: Symbolic Superoptimization of Tensor Programscited by 0
- 2026LLM-Guided Strategy Synthesis for Scalable Equality Saturationcited by 0
- 2026Axon: A Synthesizing Superoptimizer for Tensor Programscited by 0
- 2026Meganeura: Portable GPU Training and Inference through Vulkan and Metalcited by 0
- 2026Meganeura: Portable GPU Training and Inference through Vulkan and Metal3 Aug 2026
- 2026Axon: A Synthesizing Superoptimizer for Tensor Programs24 Jun 2026
- 2026LLM-Guided Strategy Synthesis for Scalable Equality Saturation19 Apr 2026
- 2026Prism: Symbolic Superoptimization of Tensor Programs16 Apr 2026
- 2026Nautilus: An Auto-Scheduling Tensor Compiler for Efficient Tiled GPU Kernels16 Apr 2026
- 2026VTC: DNN Compilation with Virtual Tensors for Data Movement Elimination11 Feb 2026
- 2025nncase: An End-to-End Compiler for Efficient LLM Deployment on Heterogeneous Storage Architectures25 Dec 2025
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programs22 Dec 2025
- 2025Neptune: Advanced ML Operator Fusion for Locality and Parallelism on GPUs9 Oct 2025
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworks12 Sep 2025
- 2025e-boost: Boosted E-Graph Extraction with Adaptive Heuristics and Exact Solving18 Aug 2025
- 2025Verify Distributed Deep Learning Model Implementation Refinement with Iterative Relation Inference13 Aug 2025
15 more
- 2025HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimization9 Jun 2025
- 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving2 Jun 2025
- 2025FedHQ: Hybrid Runtime Quantization for Federated Learning17 May 2025
- 2024Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyond19 Jun 2024
- 2024Mirage: A Multi-Level Superoptimizer for Tensor Programs9 May 2024
- 2023X-RLflow: Graph Reinforcement Learning for Neural Network Subgraphs Transformation28 Apr 2023
- 2023Canvas: End-to-End Kernel Architecture Search in Neural Networks16 Apr 2023
- 2023MCTS-GEB: Monte Carlo Tree Search is a Good E-graph Builder8 Mar 2023
- 2022AGO: Boosting Mobile AI Inference Performance by Removing Constraints on Graph Optimization2 Dec 2022
- 2022ALT: Boosting Deep Learning Performance by Breaking the Wall between Graph and Operator Level Optimizations22 Oct 2022
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programs18 Oct 2022
- 2022Neural Architecture Search using Property Guided Synthesis8 May 2022
- 2021Automap: Towards Ergonomic Automated Parallelism for ML Models6 Dec 2021
- 2021Collage: Seamless Integration of Deep Learning Backends with Automatic Placement1 Nov 2021
- 2021A Data-Centric Optimization Framework for Machine Learning20 Oct 2021
- 2024Mirage: A Multi-Level Superoptimizer for Tensor Programscited by 39
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 14
- 2021Automap: Towards Ergonomic Automated Parallelism for ML Modelscited by 12
- 2023MCTS-GEB: Monte Carlo Tree Search is a Good E-graph Buildercited by 5
- 2022Neural Architecture Search using Property Guided Synthesiscited by 4
- 2021A Data-Centric Optimization Framework for Machine Learningcited by 3
- 2024Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyondcited by 3
- 2025Neptune: Advanced ML Operator Fusion for Locality and Parallelism on GPUscited by 3
- 2021Collage: Seamless Integration of Deep Learning Backends with Automatic Placementcited by 2
- 2023X-RLflow: Graph Reinforcement Learning for Neural Network Subgraphs Transformationcited by 2
- 2025FedHQ: Hybrid Runtime Quantization for Federated Learningcited by 2
12 most cited of 25 All 25 (JSON)
- 2026Meganeura: Portable GPU Training and Inference through Vulkan and Metal3 Aug 2026
- 2026Axon: A Synthesizing Superoptimizer for Tensor Programs24 Jun 2026
- 2026LLM-Guided Strategy Synthesis for Scalable Equality Saturation19 Apr 2026
- 2026Prism: Symbolic Superoptimization of Tensor Programs16 Apr 2026
- 2026Nautilus: An Auto-Scheduling Tensor Compiler for Efficient Tiled GPU Kernels16 Apr 2026
- 2026VTC: DNN Compilation with Virtual Tensors for Data Movement Elimination11 Feb 2026
- 2025nncase: An End-to-End Compiler for Efficient LLM Deployment on Heterogeneous Storage Architectures25 Dec 2025
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programs22 Dec 2025
- 2025Neptune: Advanced ML Operator Fusion for Locality and Parallelism on GPUs9 Oct 2025
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworks12 Sep 2025
- 2025e-boost: Boosted E-Graph Extraction with Adaptive Heuristics and Exact Solving18 Aug 2025
- 2025Verify Distributed Deep Learning Model Implementation Refinement with Iterative Relation Inference13 Aug 2025
12 newest of 25 All 25 (JSON)