mlsanityData to 7 Oct 2026

TLP: A Deep Learning-based Cost Model for Tensor Program Tuning

arXiv 2211.03578 ↗First posted 7 Nov 2022cs.LG cs.PFcited by 14

Not on the map. Why?

Abstract (arXiv)

Tensor program tuning is a non-convex objective optimization problem, to which search-based approaches have proven to be effective. At the core of the search-based approaches lies the design of the cost model. Though deep learning-based cost models perform significantly better than other methods, they still fall short and suffer from the following problems. First, their feature extraction heavily relies on expert-level domain knowledge in hardware architectures. Even so, the extracted features are often unsatisfactory and require separate considerations for CPUs and GPUs. Second, a cost model trained on one hardware platform usually performs poorly on another, a problem we call cross-hardware unavailability. In order to address these problems, we propose TLP and MTLTLP. TLP is a deep learning-based cost model that facilitates tensor program tuning. Instead of extracting features from the tensor program itself, TLP extracts features from the schedule primitives. We treat schedule primitives as tensor languages. TLP is thus a Tensor Language Processing task. In this way, the task of predicting the tensor program latency through the cost model is transformed into a natural language processing (NLP) regression task. MTL-TLP combines Multi-Task Learning and TLP to cope with the cross-hardware unavailability problem. We incorporate these techniques into the Ansor framework and conduct detailed experiments. Results show that TLP can speed up the average search time by 9.1X and 3.0X on CPU and GPU workloads, respectively, compared to the state-of-the-art implementation. MTL-TLP can achieve a speed-up of 4.7X and 2.9X on CPU and GPU workloads, respectively, using only 7% of the target hardware data.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 17 of its 43 references that are in the map. First posted on arXiv 7 Nov 2022.

Builds on

17 of 43 references.

References · 17

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,345
  4. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  5. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
  6. 2016Recurrent Neural Network for Text Classification with Multi-Task Learningcited by 144
  7. 2018Learning to Optimize Tensor Programscited by 138
  8. 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 84
  9. 2018TVM: An Automated End-to-End Optimizing Compiler for Deep Learningcited by 62
  10. 2018Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Codecited by 53
  11. 2021A Deep Learning Based Cost Model for Automatic Code Optimizationcited by 33
  12. 2020Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network Compilationcited by 29
5 more
  1. 2018Intel nGraph: An Intermediate Representation, Compiler, and Executor for Deep Learningcited by 22
  2. 2021Bolt: Bridging the Gap between Auto-tuners and Hardware-native Performancecited by 18
  3. 2017Exploiting Linguistic Resources for Neural Machine Translation Using Multi-task Learningcited by 11
  4. 2020ProTuner: Tuning Programs with Monte Carlo Tree Searchcited by 9
  5. 2022Moses: Efficient Exploitation of Cross-device Transferable Features for Tensor Program Optimizationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 4; 2025: 4; 2026: 4.

14 papers.

Sort: