mlsanityData to 7 Oct 2026

Performance Embeddings: A Similarity-based Approach to Automatic Performance Optimization

arXiv 2303.08142 ↗First posted 14 Mar 2023cs.SE cs.DC cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Performance optimization is an increasingly challenging but often repetitive task. While each platform has its quirks, the underlying code transformations rely on data movement and computational characteristics that recur across applications. This paper proposes to leverage those similarities by constructing an embedding space for subprograms. The continuous space captures both static and dynamic properties of loop nests via symbolic code analysis and performance profiling, respectively. Performance embeddings enable direct knowledge transfer of performance tuning between applications, which can result from autotuning or tailored improvements. We demonstrate this transfer tuning approach on case studies in deep neural networks, dense and sparse linear algebra compositions, and numerical weather prediction stencils. Transfer tuning reduces the search complexity by up to four orders of magnitude and outperforms the MKL library in sparse-dense matrix multiplication. The results exhibit clear correspondences between program characteristics and optimizations, outperforming prior specialized state-of-the-art approaches and generalizing beyond their capabilities.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 62 references that are in the map. First posted on arXiv 14 Mar 2023.

Builds on

15 of 62 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2015Gated Graph Sequence Neural Networkscited by 792
  4. 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 521
  5. 2020Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classificationcited by 500
  6. 2018Learning to Optimize Tensor Programscited by 138
  7. 2022The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Modelscited by 115
  8. 2020Subgraph Neural Networkscited by 73
  9. 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
  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. 2019Stateful Dataflow Multigraphs: A Data-Centric Model for Performance Portability on Heterogeneous Architecturescited by 21
3 more
  1. 2022Productive Performance Engineering for Weather and Climate Modeling with Pythoncited by 2
  2. 2021kEDM: A Performance-portable Implementation of Empirical Dynamic Modeling using Kokkoscited by 1
  3. 2022Boosting Performance Optimization with Interactive Data Movement Visualizationcited by 1

Built on by

Not cited yet.