Lune

AAAI2021Top-tier venue

OpEvo: An Evolutionary Method for Tensor Operator Optimization

Xiaotian Gao, Wei Cui, Lintao Zhang, Mao Yang

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ATFormer: A Learned Performance Model with Transfer Learning Across Devices for Deep Learning Tensor Programs cites 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 cites Ansor: Generating High-Performance Tensor Programs for Deep Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. ATFormer: A Learned Performance Model with Transfer Learning Across Devices for Deep Learning Tensor ProgramsYang Bai, Wenqian Zhao, Shuo Yin, Zixiao Wang et al.EMNLP 2023 · 2 citations

Builds on4

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Leveraging Procedural Generation to Benchmark Reinforcement LearningKarl Cobbe, Christopher Hesse, Jacob Hilton, John SchulmanICML 2020 · 685 citations
  3. Ansor: Generating High-Performance Tensor Programs for Deep LearningLianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu et al.OSDI 2020 · 551 citations
  4. Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network CompilationByung Hoon Ahn, Prannoy Pilligundla, Amir Yazdanbakhsh, Hadi EsmaeilzadehICLR 2020 · 90 citations

Related papers

  1. Felix: Optimizing Tensor Programs with Gradient DescentYifan Zhao, Hashim Sharif, Vikram S. Adve, Sasa MisailovicASPLOS 2024 · 13 citations
  2. TTOpt: A Maximum Volume Quantized Tensor Train-based Optimization and its Application to Reinforcement LearningKonstantin Sozykin, Andrei Chertkov, Roman Schutski, Anh-Huy Phan et al.NeurIPS 2022 · 62 citations
  3. Syno: Structured Synthesis for Neural OperatorsYongqi Zhuo, Zhengyuan Su, Chenggang Zhao, Mingyu GaoASPLOS 2025
  4. AutoGO: Automated Computation Graph Optimization for Neural Network EvolutionMohammad Salameh, Keith G. Mills, Negar Hassanpour, Fred X. Han et al.NeurIPS 2023 · 7 citations
  5. EINNET: Optimizing Tensor Programs with Derivation-Based TransformationsLiyan Zheng, Haojie Wang, Jidong Zhai, Muyan Hu et al.OSDI 2023 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines