MIREncoder: Multi-modal IR-based Pretrained Embeddings for Performance Optimizations
Not on the map. Why?
Abstract (arXiv)
One of the primary areas of interest in High Performance Computing is the improvement of performance of parallel workloads. Nowadays, compilable source code-based optimization tasks that employ deep learning often exploit LLVM Intermediate Representations (IRs) for extracting features from source code. Most such works target specific tasks, or are designed with a pre-defined set of heuristics. So far, pre-trained models are rare in this domain, but the possibilities have been widely discussed. Especially approaches mimicking large-language models (LLMs) have been proposed. But these have prohibitively large training costs. In this paper, we propose MIREncoder, a M}ulti-modal IR-based Auto-Encoder that can be pre-trained to generate a learned embedding space to be used for downstream tasks by machine learning-based approaches. A multi-modal approach enables us to better extract features from compilable programs. It allows us to better model code syntax, semantics and structure. For code-based performance optimizations, these features are very important while making optimization decisions. A pre-trained model/embedding implicitly enables the usage of transfer learning, and helps move away from task-specific trained models. Additionally, a pre-trained model used for downstream performance optimization should itself have reduced overhead, and be easily usable. These considerations have led us to propose a modeling approach that i) understands code semantics and structure, ii) enables use of transfer learning, and iii) is small and simple enough to be easily re-purposed or reused even with low resource availability. Our evaluations will show that our proposed approach can outperform the state of the art while reducing overhead.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 22 of its 60 references that are in the map. First posted on arXiv 2 Jul 2024.
Builds on
22 of 60 references.
References · 22
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2019VideoBERT: A Joint Model for Video and Language Representation Learningcited by 703
- 2023Multimodal Deep Learningcited by 258
- 2018code2vec: Learning Distributed Representations of Codecited by 250
- 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 221
- 2017Learning to Represent Programs with Graphscited by 220
- 2019Graph Matching Networks for Learning the Similarity of Graph Structured Objectscited by 205
- 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 200
- 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
- 2023Large Language Models for Compiler Optimizationcited by 52
10 more
- 2019NeuroVectorizer: End-to-End Vectorization with Deep Reinforcement Learningcited by 37
- 2018A General Path-Based Representation for Predicting Program Propertiescited by 29
- 2023Learning to Parallelize with OpenMP by Augmented Heterogeneous AST Representationcited by 14
- 2020Autotuning PolyBench Benchmarks with LLVM Clang/Polly Loop Optimization Pragmas Using Bayesian Optimizationcited by 13
- 2023ytopt: Autotuning Scientific Applications for Energy Efficiency at Large Scalescited by 13
- 2022Learning Intermediate Representations using Graph Neural Networks for NUMA and Prefetchers Optimizationcited by 9
- 2023Quantifying OpenMP: Statistical Insights into Usage and Adoptioncited by 9
- 2018A deep tree-based model for software defect predictioncited by 8
- 2023Performance Optimization using Multimodal Modeling and Heterogeneous GNNcited by 7
- 2021LS-CAT: A Large-Scale CUDA AutoTuning Datasetcited by 3
Built on by
Citing papers per year: 2026: 2.
2 papers.