Transfer Learning Across Heterogeneous Features For Efficient Tensor Program Generation

Gaurav Verma, Siddhisanket Raskar, Zhen Xie, Abid M Malik, Murali Emani +1 more
4/11/2023
cs.PLcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Tuning tensor program generation involves searching for various possible program transformation combinations for a given program on target hardware to optimize the tensor program execution. It is already a complex process because of the massive search space and exponential combinations of transformations make auto-tuning tensor program generation more challenging, especially when we have a heterogeneous target. In this research, we attempt to address these problems by learning the joint neural network and hardware features and transferring them to the new target hardware. We extensively study the existing state-of-the-art dataset, TenSet, perform comparative analysis on the test split strategies and propose methodologies to prune the dataset. We adopt an attention-inspired approach for tuning the tensor programs enabling them to embed neural network and hardware-specific features. Our approach could prune the dataset up to 45\% of the baseline without compromising the Pairwise Comparison Accuracy (PCA). Further, the proposed methodology can achieve on-par or improved mean inference time with 25%-40% of the baseline tuning time across different networks and target hardware.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{verma2023transfer,
  title  = {Transfer Learning Across Heterogeneous Features For Efficient Tensor Program Generation},
  author = {Gaurav Verma and Siddhisanket Raskar and Zhen Xie and Abid M Malik and Murali Emani and Barbara Chapman},
  year   = {2023},
  eprint = {2304.05430},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.05430v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.05430.svg)](https://codeofpaper.com/paper/2304.05430)

Discussion