Optimal Kernel Tuning Parameter Prediction using Deep Sequence Models
Not on the map. Why?
Abstract (arXiv)
GPU kernels have come to the forefront of computing due to their utility in varied fields, from high-performance computing to machine learning. A typical GPU compute kernel is invoked millions, if not billions of times in a typical application, which makes their performance highly critical. Due to the unknown nature of the optimization surface, an exhaustive search is required to discover the global optimum, which is infeasible due to the possible exponential number of parameter combinations. In this work, we propose a methodology that uses deep sequence-to-sequence models to predict the optimal tuning parameters governing compute kernels. This work considers the prediction of kernel parameters as a sequence to the sequence translation problem, borrowing models from the Natural Language Processing (NLP) domain. Parameters describing the input, output and weight tensors are considered as the input language to the model that emits the corresponding kernel parameters. In essence, the model translates the problem parameter language to kernel parameter language. The core contributions of this work are: a) Proposing that a sequence to sequence model can accurately learn the performance dynamics of a GPU compute kernel b) A novel network architecture which predicts the kernel tuning parameters for GPU kernels, c) A constrained beam search which incorporates the physical limits of the GPU hardware as well as other expert knowledge reducing the search space. The proposed algorithm can achieve more than 90% accuracy on various convolutional kernels in MIOpen, the AMD machine learning primitives library. As a result, the proposed technique can reduce the development time and compute resources required to tune unseen input configurations, resulting in shorter development cycles, reduced development costs, and better user experience.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 37 references that are in the map. First posted on arXiv 15 Apr 2024.
Builds on
19 of 37 references.
References · 19
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
- 2017Convolutional Sequence to Sequence Learningcited by 552
- 2016Image Captioning with Semantic Attentioncited by 260
- 2017Beam Search Strategies for Neural Machine Translationcited by 232
- 2016Sequence-to-Sequence Learning as Beam-Search Optimizationcited by 127
- 2017CLTune: A Generic Auto-Tuner for OpenCL Kernelscited by 27
- 2013Recurrent Convolutional Neural Networks for Discourse Compositionalitycited by 7
7 more
- 2015Machine Learning Based Auto-tuning for Enhanced OpenCL Performance Portabilitycited by 7
- 2016Optimizing Memory Efficiency for Deep Convolutional Neural Networks on GPUscited by 7
- 2019MIOpen: An Open Source Library For Deep Learning Primitivescited by 7
- 2013Firefly Algorithm: Recent Advances and Applicationscited by 5
- 2018Pervasive Attention: 2D Convolutional Neural Networks for Sequence-to-Sequence Predictioncited by 4
- 2017Autotuning GPU Kernels via Static and Predictive Analysiscited by 3
- 2017Information-Propogation-Enhanced Neural Machine Translation by Relation Modelcited by 1
Built on by
Not cited yet.