Learning to Parallelize with OpenMP by Augmented Heterogeneous AST Representation
Not on the map. Why?
Abstract (arXiv)
Detecting parallelizable code regions is a challenging task, even for experienced developers. Numerous recent studies have explored the use of machine learning for code analysis and program synthesis, including parallelization, in light of the success of machine learning in natural language processing. However, applying machine learning techniques to parallelism detection presents several challenges, such as the lack of an adequate dataset for training, an effective code representation with rich information, and a suitable machine learning model to learn the latent features of code for diverse analyses. To address these challenges, we propose a novel graph-based learning approach called Graph2Par that utilizes a heterogeneous augmented abstract syntax tree (Augmented-AST) representation for code. The proposed approach primarily focused on loop-level parallelization with OpenMP. Moreover, we create an OMPSerial dataset with 18598 parallelizable and 13972 non-parallelizable loops to train the machine learning models. Our results show that our proposed approach achieves the accuracy of parallelizable code region detection with 85% accuracy and outperforms the state-of-the-art token-based machine learning approach. These results indicate that our approach is competitive with state-of-the-art tools and capable of handling loops with complex structures that other tools may overlook.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 14 of its 49 references that are in the map. First posted on arXiv 9 May 2023.
Builds on
14 of 49 references.
References · 14
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Heterogeneous Graph Transformercited by 582
- 2018Graph Convolutional Networks for Text Classificationcited by 345
- 2018code2vec: Learning Distributed Representations of Codecited by 250
- 2017Learning to Represent Programs with Graphscited by 220
- 2021Language-Agnostic Representation Learning of Source Code from Structure and Contextcited by 63
- 2019Text Level Graph Neural Network for Text Classificationcited by 60
- 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
- 2022Image Classification using Graph Neural Network and Multiscale Wavelet Superpixelscited by 10
- 2022Learning to Parallelize in a Shared-Memory Environment with Transformerscited by 10
Built on by
Citing papers per year: 2023: 7; 2024: 3; 2025: 3; 2026: 1.
14 papers.
Sort:
- 2023HPC-GPT: Integrating Large Language Model for High-Performance Computingcited by 22
- 2024The Landscape and Challenges of HPC Research and LLMscited by 22
- 2023LM4HPC: Towards Effective Language Model Application in High-Performance Computingcited by 18
- 2024OMPGPT: A Generative Pre-trained Transformer Model for OpenMPcited by 16
- 2023Scope is all you need: Transforming LLMs for HPC Codecited by 12
- 2023MonoCoder: Domain-Specific Code Language Model for HPC Codes and Taskscited by 12
- 2023Data Race Detection Using Large Language Modelscited by 11
- 2023AutoParLLM: GNN-guided Context Generation for Zero-Shot Code Parallelization using LLMscited by 5
- 2023PERFOGRAPH: A Numerical Aware Program Graph Representation for Performance Optimization and Program Analysiscited by 3
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translationcited by 3
- 2024MIREncoder: Multi-modal IR-based Pretrained Embeddings for Performance Optimizationscited by 2
- 2025Accelerating Latency-Critical Applications with AI-Powered Semi-Automatic Fine-Grained Parallelization on SMT Processorscited by 0
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translation7 Jan 2026
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation29 Nov 2025
- 2025ACCeLLiuM: Supervised Fine-Tuning for Automated OpenACC Pragma Generation20 Sep 2025
- 2025Accelerating Latency-Critical Applications with AI-Powered Semi-Automatic Fine-Grained Parallelization on SMT Processors31 Aug 2025
- 2024MIREncoder: Multi-modal IR-based Pretrained Embeddings for Performance Optimizations2 Jul 2024
- 2024The Landscape and Challenges of HPC Research and LLMs3 Feb 2024
- 2024OMPGPT: A Generative Pre-trained Transformer Model for OpenMP28 Jan 2024
- 2023MonoCoder: Domain-Specific Code Language Model for HPC Codes and Tasks20 Dec 2023
- 2023AutoParLLM: GNN-guided Context Generation for Zero-Shot Code Parallelization using LLMs6 Oct 2023
- 2023HPC-GPT: Integrating Large Language Model for High-Performance Computing3 Oct 2023
- 2023Scope is all you need: Transforming LLMs for HPC Code18 Aug 2023
- 2023Data Race Detection Using Large Language Models15 Aug 2023
- 2023HPC-GPT: Integrating Large Language Model for High-Performance Computingcited by 22
- 2024The Landscape and Challenges of HPC Research and LLMscited by 22
- 2023LM4HPC: Towards Effective Language Model Application in High-Performance Computingcited by 18
- 2024OMPGPT: A Generative Pre-trained Transformer Model for OpenMPcited by 16
- 2023Scope is all you need: Transforming LLMs for HPC Codecited by 12
- 2023MonoCoder: Domain-Specific Code Language Model for HPC Codes and Taskscited by 12
- 2023Data Race Detection Using Large Language Modelscited by 11
- 2023AutoParLLM: GNN-guided Context Generation for Zero-Shot Code Parallelization using LLMscited by 5
- 2023PERFOGRAPH: A Numerical Aware Program Graph Representation for Performance Optimization and Program Analysiscited by 3
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translationcited by 3
- 2024MIREncoder: Multi-modal IR-based Pretrained Embeddings for Performance Optimizationscited by 2
- 2025Accelerating Latency-Critical Applications with AI-Powered Semi-Automatic Fine-Grained Parallelization on SMT Processorscited by 0
12 most cited of 14 All 14 (JSON)
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translation7 Jan 2026
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation29 Nov 2025
- 2025ACCeLLiuM: Supervised Fine-Tuning for Automated OpenACC Pragma Generation20 Sep 2025
- 2025Accelerating Latency-Critical Applications with AI-Powered Semi-Automatic Fine-Grained Parallelization on SMT Processors31 Aug 2025
- 2024MIREncoder: Multi-modal IR-based Pretrained Embeddings for Performance Optimizations2 Jul 2024
- 2024The Landscape and Challenges of HPC Research and LLMs3 Feb 2024
- 2024OMPGPT: A Generative Pre-trained Transformer Model for OpenMP28 Jan 2024
- 2023MonoCoder: Domain-Specific Code Language Model for HPC Codes and Tasks20 Dec 2023
- 2023AutoParLLM: GNN-guided Context Generation for Zero-Shot Code Parallelization using LLMs6 Oct 2023
- 2023HPC-GPT: Integrating Large Language Model for High-Performance Computing3 Oct 2023
- 2023Scope is all you need: Transforming LLMs for HPC Code18 Aug 2023
- 2023Data Race Detection Using Large Language Models15 Aug 2023
12 newest of 14 All 14 (JSON)