paper-with-me

홈 › Papers

Reinforcement Learning and Adaptive Sampling for Optimized DNN Compilation

2019-05-30 · Byung Hoon Ahn, Prannoy Pilligundla, Hadi Esmaeilzadeh

Achieving faster execution with shorter compilation time can enable further diversity and innovation in neural networks. However, the current paradigm of executing neural networks either relies on hand-optimized libraries, traditional compilation heuristics, or very recently, simulated annealing and genetic algorithms. Our work takes a unique approach by formulating compiler optimizations for neural networks as a reinforcement learning problem, whose solution takes fewer steps to converge. This solution, dubbed ReLeASE, comes with a sampling algorithm that leverages clustering to focus the costly samples (real hardware measurements) on representative points, subsuming an entire subspace. Our adaptive sampling not only reduces the number of samples, but also improves the quality of samples for better exploration in shorter time. As such, experimentation with real hardware shows that reinforcement learning with adaptive sampling provides 4.45x speed up in optimization time over AutoTVM, while also improving inference time of the modern deep networks by 5.6%. Further experiments also confirm that our adaptive sampling can even improve AutoTVM's simulated annealing by 4.00x.

📄 PDF Abstract BibTeX arXiv:1905.12799

Code (1)

https://bitbucket.org/act-lab/release 공식 구현

Tasks

ClusteringDiversityreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network Compilation

2020-01-23 · ICLR 2020 1 · Byung Hoon Ahn, Prannoy Pilligundla, Amir Yazdanbakhsh, Hadi Esmaeilzadeh

Achieving faster execution with shorter compilation time can foster further diversity and innovation in neural networks. However, the current paradigm of executing neural networks either relies on hand-optimized librarie…

DiversityReinforcement Learning

Accelerating Metropolis-Hastings with Lightweight Inference Compilation

2020-10-23 · Feynman Liang, Nimar Arora, Nazanin Tehrani, Yucen Li 외

In order to construct accurate proposers for Metropolis-Hastings Markov Chain Monte Carlo, we integrate ideas from probabilistic graphical models and neural networks in an open-source framework we call Lightweight Infere…

Probabilistic Programming

Compiler Optimization for Quantum Computing Using Reinforcement Learning

2022-12-08 · Nils Quetschlich, Lukas Burgholzer, Robert Wille

Any quantum computing application, once encoded as a quantum circuit, must be compiled before being executable on a quantum computer. Similar to classical compilation, quantum compilation is a sequential process with man…

Compiler Optimizationreinforcement-learningReinforcement LearningReinforcement Learning (RL)

qgym: A Gym for Training and Benchmarking RL-Based Quantum Compilation

2023-08-01 · Stan van der Linde, Willem de Kok, Tariq Bontekoe, Sebastian Feld

Compiling a quantum circuit for specific quantum hardware is a challenging task. Moreover, current quantum computers have severe hardware limitations. To make the most use of the limited resources, the compilation proces…

BenchmarkingOpenAI GymReinforcement Learning (RL)

AdaTune: Adaptive Tensor Program Compilation Made Efficient

2020-12-01 · NeurIPS 2020 12 · Menghao Li, Minjia Zhang, Chi Wang, Mingqin Li

Deep learning models are computationally intense, and implementations often have to be highly optimized by experts or hardware vendors to be usable in practice. The DL compiler, together with Learning to Compile have pro…