Back to search

Iowa State University

Parallel code generation using graph neural networks and language models

Abstract

dc:description.abstract

The rapid growth of data- and compute-intensive applications, such as scientific simulations, real-time analytics, and neural networks, has driven a significant shift toward parallelism in performance-oriented programming. Meanwhile, microprocessor development has slowed as Moore’s law approaches its limits. With the stagnation of single-core performance, multi-core and many-core architectures have become increasingly dominant in high-performance computing (HPC). Fully exploiting the computational potential of these architectures, however, remains a significant challenge. Recent machine learning (ML) advances have enabled new opportunities in software engineering and HPC code development. Nevertheless, applying ML to the HPC domain presents unique challenges. Effective models must account for crucial features such as syntax, code structure, and semantics to capture the complex characteristics of HPC code. This dissertation presents four studies aimed at enabling machine learning techniques for parallel code generation. Each study introduces a novel approach to improve the applicability and effectiveness of ML in this domain. The first two studies focus on graph neural networks (GNNs) for OpenMP pragma generation. The first proposes a multi-view approach that integrates structural pattern analysis with node-level features to predict OpenMP pragmas. The second addresses limitations in the initial study by introducing a novel dataset and a new representation of HPC code to better support GNN modeling. Both works demonstrate the utility of GNNs in learning from code structure for parallelization. The third study explores the development of a domain-specific language model tailored for OpenMP pragma generation, emphasizing the potential of specialized language models in HPC contexts. The fourth study employs large language model (LLM) agents to construct a benchmark dataset for evaluating LLMs in parallel code generation, including both OpenMP and MPI. Collectively, these studies address key challenges in applying ML to the HPC domain, focusing on accurate modeling of parallel programs and enabling automatic parallel code generation. The techniques developed aim to contribute to the broader effort of making ML a practical tool for high-performance scientific computing. The author hopes this work inspires further research and contributes to overcoming the longstanding challenges of parallel programming in the HPC community.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
dissertation
Discipline thesis:degree_discipline
Computer science
Department dc:contributor.department
Department of Computer Science
Grantor
Iowa State University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Chen, Le
Advisors dc:contributor.advisor
  • Jannesari, Ali
  • Aduri, Pavan
  • Ciardo, Gianfranco
  • Li, Qi
  • Miner, Andrew
ORCID dc:identifier.orcid

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Chen, Le. Parallel code generation using graph neural networks and language models. dissertation thesis, Iowa State University, 2025. https://doi.org/10.31274/td-20251215-37