CDMPP: A Device-Model Agnostic Framework for Latency Prediction of Tensor Programs
Not on the map. Why?
Abstract (arXiv)
Deep Neural Networks (DNNs) have shown excellent performance in a wide range of machine learning applications. Knowing the latency of running a DNN model or tensor program on a specific device is useful in various tasks, such as DNN graph- or tensor-level optimization and device selection. Considering the large space of DNN models and devices that impede direct profiling of all combinations, recent efforts focus on building a predictor to model the performance of DNN models on different devices. However, none of the existing attempts have achieved a cost model that can accurately predict the performance of various tensor programs while supporting both training and inference accelerators. We propose CDMPP, an efficient tensor program latency prediction framework for both cross-model and cross-device prediction. We design an informative but efficient representation of tensor programs, called compact ASTs, and a pre-order-based positional encoding method, to capture the internal structure of tensor programs. We develop a domain-adaption-inspired method to learn domain-invariant representations and devise a KMeans-based sampling algorithm, for the predictor to learn from different domains (i.e., different DNN operators and devices). Our extensive experiments on a diverse range of DNN models and devices demonstrate that CDMPP significantly outperforms state-of-the-art baselines with 14.03% and 10.85% prediction error for cross-model and cross-device prediction, respectively, and one order of magnitude higher training efficiency. The implementation and the expanded dataset are available at https://github.com/joapolarbear/cdmpp.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 29 of its 65 references that are in the map. First posted on arXiv 16 Nov 2023.
Builds on
29 of 65 references.
References · 29
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 831
- 2018ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardwarecited by 666
- 2016Deep Transfer Learning with Joint Adaptation Networkscited by 609
- 2019The Non-IID Data Quagmire of Decentralized Machine Learningcited by 303
- 2020MCUNet: Tiny Deep Learning on IoT Devicescited by 269
- 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
- 2019MLPerf Inference Benchmarkcited by 195
17 more
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
- 2019MLPerf Training Benchmarkcited by 114
- 2020A survey on domain adaptation theory: learning bounds and theoretical guaranteescited by 109
- 2020BRP-NAS: Prediction-based NAS using GCNscited by 109
- 2021Shift-Robust GNNs: Overcoming the Limitations of Localized Graph Training Datacited by 86
- 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 64
- 2017Deep Learning for IoT Big Data and Streaming Analytics: A Surveycited by 59
- 2021A Deep Learning Based Cost Model for Automatic Code Optimizationcited by 33
- 2017Robust Unsupervised Domain Adaptation for Neural Networks via Moment Alignmentcited by 29
- 2021A Runtime-Based Computational Performance Predictor for Deep Neural Network Trainingcited by 29
- 2020Domain Divergences: a Survey and Empirical Analysiscited by 24
- 2022Learning sparse features can lead to overfitting in neural networkscited by 23
- 2021Margin Calibration for Long-Tailed Visual Recognitioncited by 17
- 2022TLP: A Deep Learning-based Cost Model for Tensor Program Tuningcited by 14
- 2021MetaTune: Meta-Learning Based Cost Model for Fast and Efficient Auto-tuning Frameworkscited by 9
- 2019PiNet: A Permutation Invariant Graph Neural Network for Graph Classificationcited by 3
- 2022Moses: Efficient Exploitation of Cross-device Transferable Features for Tensor Program Optimizationcited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.