DOE OSTI · 2551902
Structure‐Aware Representation Learning for Effective Performance Prediction
Abstract
ABSTRACT Application performance is a function of several unknowns stemming from the interactions between the application, runtime, OS, and underlying hardware, making it challenging to model performance using deep learning techniques, especially without a large labeled dataset. Collecting such labeled longitudinal datasets can take weeks. Intuitively, developers could save analysis time during code development by taking a comparative approach between multiple applications. However, the unknown dynamic interactions between applications and execution environments make it difficult for deep learning‐based models to predict the performance of new applications. In this paper, we address these problems by presenting a labeled dataset for the community and taking a comparative analysis approach to explore the source code differences between different correct implementations of the same problem. This paper assesses the feasibility of using purely static information, for example, Abstract Syntax Tree (AST), of applications to predict performance change based on code structure. We evaluate several deep learning‐based representation learning techniques for source code and propose an architecture for the tree‐based Long Short‐Term Memory (LSTM) models to discover latent representations for a source code's hierarchical structure. We demonstrate that our proposed architecture enables feed‐forward predictive models to predict change in performance using source code with up to 84% accuracy.
Keep this discovery
Explore connections, maps & timelines
Ramadan, Tarek [Department of Computer Science Texas State University San Marcos TX USA] (ORCID:0000000264897668), Pinnow, Nathan [Lawrence Livermore National Laboratory Livermore CA USA], Phelps, Chase [Department of Computer Science Texas State University San Marcos TX USA], Thiagarajan, Jayaraman J. [Lawrence Livermore National Laboratory Livermore CA USA], Islam, Tanzima Z. [Department of Computer Science Texas State University San Marcos TX USA] (ORCID:0000000328775871). 2025-04-08. Structure‐Aware Representation Learning for Effective Performance Prediction. https://doi.org/10.1002/cpe.70046
Cite the original work for its findings. Save a collection to share your selection of sources.