Lune

ICLR2021顶会

DynaTune: Dynamic Tensor Program Optimization in Deep Neural Network Compilation

Minjia Zhang, Menghao Li, Chi Wang, Mingqin Li

摘要

Recently, the DL compiler, together with Learning to Compile has proven to be a powerful technique for optimizing deep learning models. However, existing methods focus on accelerating the convergence speed of the individual tensor operator rather than the convergence speed of the entire model, which results in long optimization time to obtain a desired latency. In this paper, we present a new method called DynaTune, which provides significantly faster convergence speed to optimize a DNN model. In particular, we consider a Multi-Armed Bandit (MAB) model for the tensor program optimization problem. We use UCB to handle the decision-making of time-slot-based optimization, and we devise a Bayesian belief model that allows predicting the potential performance gain of each operator with uncertainty quantification, which guides the optimization process. We evaluate and compare DynaTune with the state-of-the-art DL compiler. The experiment results show that DynaTune is 1.2-2.4 times faster to achieve the same optimization quality for a range of models across different hardware architectures.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • AdaTune: Adaptive Tensor Program Compilation Made Efficient 引用了 Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network Compilation
  • Bayesian Code Diffusion for Efficient Automatic Deep Learning Program Optimization 引用了 AdaTune: Adaptive Tensor Program Compilation Made Efficient
  • Bayesian Code Diffusion for Efficient Automatic Deep Learning Program Optimization 引用了 Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network Compilation
  • Bayesian Code Diffusion for Efficient Automatic Deep Learning Program Optimization 引用了 Ansor: Generating High-Performance Tensor Programs for Deep Learning
  • Bayesian Code Diffusion for Efficient Automatic Deep Learning Program Optimization 引用了 ETO: Accelerating Optimization of DNN Operators by High-Performance Tensor Program Reuse
  • REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving 引用了 Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network Compilation
  • REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving 引用了 Ansor: Generating High-Performance Tensor Programs for Deep Learning
  • REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving 引用了 Glimpse: mathematical embedding of hardware specification for neural compilation
  • Glimpse: mathematical embedding of hardware specification for neural compilation 引用了 AdaTune: Adaptive Tensor Program Compilation Made Efficient
  • Glimpse: mathematical embedding of hardware specification for neural compilation 引用了 Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network Compilation
  • ETO: Accelerating Optimization of DNN Operators by High-Performance Tensor Program Reuse 引用了 Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network Compilation
  • ETO: Accelerating Optimization of DNN Operators by High-Performance Tensor Program Reuse 引用了 Ansor: Generating High-Performance Tensor Programs for Deep Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. ETO: Accelerating Optimization of DNN Operators by High-Performance Tensor Program ReuseJingzhi Fang, Yanyan Shen, Yue Wang, Lei ChenVLDB 2022 · 10 次引用
  2. REASONING COMPILER: LLM-Guided Optimizations for Efficient Model ServingAnnabelle Sujun Tang, Christopher Priebe, Rohan Mahapatra, Lianhui Qin 等NeurIPS 2025 · 7 次引用
  3. Glimpse: mathematical embedding of hardware specification for neural compilationByung Hoon Ahn, Sean Kinzer, Hadi EsmaeilzadehDAC 2022 · 4 次引用
  4. Bayesian Code Diffusion for Efficient Automatic Deep Learning Program OptimizationIsu Jeong, Seulki LeeOSDI 2025

它引用的 Paper3

  1. Ansor: Generating High-Performance Tensor Programs for Deep LearningLianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu 等OSDI 2020 · 551 次引用
  2. Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network CompilationByung Hoon Ahn, Prannoy Pilligundla, Amir Yazdanbakhsh, Hadi EsmaeilzadehICLR 2020 · 90 次引用
  3. AdaTune: Adaptive Tensor Program Compilation Made EfficientMenghao Li, Minjia Zhang, Chi Wang, Mingqin LiNeurIPS 2020 · 39 次引用

相关 Paper

  1. DyCL: Dynamic Neural Network Compilation Via Program Rewriting and Graph OptimizationSimin Chen, Shiyi Wei, Cong Liu, Wei YangISSTA 2023 · 11 次引用
  2. TLP: A Deep Learning-Based Cost Model for Tensor Program TuningYi Zhai, Yu Zhang, Shuo Liu, Xiaomeng Chu 等ASPLOS 2023 · 42 次引用
  3. MAGPY: Compiling Eager Mode DNN Programs by Monitoring Execution StatesChen Zhang, Rongchao Dong, Haojie Wang, Runxin Zhong 等USENIX ATC 2024 · 5 次引用
  4. CDMPP: A Device-Model Agnostic Framework for Latency Prediction of Tensor ProgramsHanpeng Hu, Junwei Su, Juntao Zhao, Yanghua Peng 等EuroSys 2024 · 7 次引用
  5. Fixing Broken Graphs: LLM-Powered Automatic Code Optimization for DNN ProgramsHaotian Wang, Yicheng Sui, Yudong Xie, Yicong Liu 等ASE 2025
黄昏的海面,两侧是细线勾勒的悬崖