OpEvo: An Evolutionary Method for Tensor Operator Optimization
Xiaotian Gao, Wei Cui, Lintao Zhang, Mao Yang
摘要
Training and inference efficiency of deep neural networks highly rely on the performance of tensor operators on hardware platforms. Manually optimizing tensor operators has limitations in terms of supporting new operators or hardware platforms. Therefore, automatically optimizing device code configurations of tensor operators is getting increasingly attractive. However, current methods for tensor operator optimization usually suffer from poor sample-efficiency due to the combinatorial search space. In this work, we propose a novel evolutionary method, OpEvo, which efficiently explores the search spaces of tensor operators by introducing a topology-aware mutation operation based on q-random walk to leverage the topological structures over the search spaces. Our comprehensive experiment results show that compared with state-of-the-art (SOTA) methods OpEvo can find the best configuration with the lowest variance and least efforts in the number of trials and wall-clock time. All code of this work is available online.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ATFormer: A Learned Performance Model with Transfer Learning Across Devices for Deep Learning Tensor Programs 引用了 Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network Compilation
- ATFormer: A Learned Performance Model with Transfer Learning Across Devices for Deep Learning Tensor Programs 引用了 Ansor: Generating High-Performance Tensor Programs for Deep Learning
引用它的顶会 Paper1
它引用的 Paper4
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Leveraging Procedural Generation to Benchmark Reinforcement LearningKarl Cobbe, Christopher Hesse, Jacob Hilton, John SchulmanICML 2020 · 685 次引用
- Ansor: Generating High-Performance Tensor Programs for Deep LearningLianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu 等OSDI 2020 · 551 次引用
- Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network CompilationByung Hoon Ahn, Prannoy Pilligundla, Amir Yazdanbakhsh, Hadi EsmaeilzadehICLR 2020 · 90 次引用
相关 Paper
- Felix: Optimizing Tensor Programs with Gradient DescentYifan Zhao, Hashim Sharif, Vikram S. Adve, Sasa MisailovicASPLOS 2024 · 13 次引用
- TTOpt: A Maximum Volume Quantized Tensor Train-based Optimization and its Application to Reinforcement LearningKonstantin Sozykin, Andrei Chertkov, Roman Schutski, Anh-Huy Phan 等NeurIPS 2022 · 62 次引用
- Syno: Structured Synthesis for Neural OperatorsYongqi Zhuo, Zhengyuan Su, Chenggang Zhao, Mingyu GaoASPLOS 2025
- AutoGO: Automated Computation Graph Optimization for Neural Network EvolutionMohammad Salameh, Keith G. Mills, Negar Hassanpour, Fred X. Han 等NeurIPS 2023 · 7 次引用
- EINNET: Optimizing Tensor Programs with Derivation-Based TransformationsLiyan Zheng, Haojie Wang, Jidong Zhai, Muyan Hu 等OSDI 2023 · 19 次引用
