Discovering Software Parallelization Points Using Deep Neural Networks

Izavan dos S. Correia, Henrique C. T. Santos, Tiago A. E. Ferreira
9/5/2025
1 citation
cs.LGcs.AIcs.DC

No official code found. Best implementation: IzavanCorreia/DSPPUDNN-Article (0 stars, Python, MIT, last commit 2026-03-05).

Abstract

This study proposes a deep learning-based approach for discovering loops in programming code according to their potential for parallelization. Two genetic algorithm-based code generators were developed to produce two distinct types of code: (i) independent loops, which are parallelizable, and (ii) ambiguous loops, whose dependencies are unclear, making them impossible to define if the loop is parallelizable or not.

Show full abstract

The generated code snippets were tokenized and preprocessed to ensure a robust dataset. Two deep learning models - a Deep Neural Network (DNN) and a Convolutional Neural Network (CNN) - were implemented to perform the classification. Based on 30 independent runs, a robust statistical analysis was employed to verify the expected performance of both models, DNN and CNN. The CNN showed a slightly higher mean performance, but the two models had a similar variability. Experiments with varying dataset sizes highlighted the importance of data diversity for model performance. These results demonstrate the feasibility of using deep learning to automate the identification of parallelizable structures in code, offering a promising tool for software optimization and performance improvement.

View on arXivView PDF

Code Implementations(1)

MIT

This repository serves as the Data Availability Statement for the paper Discovering Software Parallelization Points Using Deep Neural Networks. It contains all the necessary datasets, generation scripts, and deep learning model implementations to ensure the full reproducibility of the reported experiments.

00PythonSep 29, 20259 months agoMIT

Similar Papers

Cite this paper

@article{correia2025discovering,
  title  = {Discovering Software Parallelization Points Using Deep Neural Networks},
  author = {Izavan dos S. Correia and Henrique C. T. Santos and Tiago A. E. Ferreira},
  year   = {2025},
  eprint = {2509.16215},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.16215v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.16215.svg)](https://codeofpaper.com/paper/2509.16215)

Discussion