Optimizing Tensor Computation Graphs with Equality Saturation and Monte Carlo Tree Search
Not on the map. Why?
Abstract (arXiv)
The real-world effectiveness of deep neural networks often depends on their latency, thereby necessitating optimization techniques that can reduce a model's inference time while preserving its performance. One popular approach is to sequentially rewrite the input computation graph into an equivalent but faster one by replacing individual subgraphs. This approach gives rise to the so-called phase-ordering problem in which the application of one rewrite rule can eliminate the possibility to apply an even better one later on. Recent work has shown that equality saturation, a technique from compiler optimization, can mitigate this issue by first building an intermediate representation (IR) that efficiently stores multiple optimized versions of the input program before extracting the best solution in a second step. In practice, however, memory constraints prevent the IR from capturing all optimized versions and thus reintroduce the phase-ordering problem in the construction phase. In this paper, we present a tensor graph rewriting approach that uses Monte Carlo tree search to build superior IRs by identifying the most promising rewrite rules. We also introduce a novel extraction algorithm that can provide fast and accurate runtime estimates of tensor programs represented in an IR. Our approach improves the inference speedup of neural networks by up to 11% compared to existing methods.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 16 of its 37 references that are in the map. First posted on arXiv 7 Oct 2024.
Builds on
16 of 37 references.
References · 16
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 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
- 2020Transformer Transducer: A Streamable Speech Recognition Model with Transformer Encoders and RNN-T Losscited by 232
- 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learningcited by 47
4 more
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
- 2023Automating Constraint-Aware Datapath Optimization using E-Graphscited by 5
- 2023MCTS-GEB: Monte Carlo Tree Search is a Good E-graph Buildercited by 5
- 2023X-RLflow: Graph Reinforcement Learning for Neural Network Subgraphs Transformationcited by 2
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026TCL: Enabling Fast and Efficient Cross-Hardware Tensor Program Optimization via Continual Learning
- 2025Domain-Aware Tensor Network Structure Search
- 2026PassNet: Scaling Large Language Models for Graph Compiler Pass Generation
- 2026Prism: Symbolic Superoptimization of Tensor Programs
- 2026EinSort: Sorting is All We Need for Tensorizing LLM
- 2026Algorithmic algorithm development with LLMs: A Case Study on LLM-Usage for Contraction Order Optimization in Tensor Networks
- 2023Deep Tensor Network
- 2026Step-TP: A Grounded, Step-Level Dataset with Chain-of-Thought Reasoning for LLM-Guided Tensor Program Optimization