mlsanityData to 14 Oct 2026

Comparative Code Structure Analysis using Deep Learning for Performance Prediction

arXiv 2102.07660 ↗First posted 12 Feb 2021cs.LG cs.PFcited by 3

Not on the map. Why?

Abstract (arXiv)

Performance analysis has always been an afterthought during the application development process, focusing on application correctness first. The learning curve of the existing static and dynamic analysis tools are steep, which requires understanding low-level details to interpret the findings for actionable optimizations. Additionally, application performance is a function of an infinite number of unknowns stemming from the application-, runtime-, and interactions between the OS and underlying hardware, making it difficult, if not impossible, to model using any deep learning technique, especially without a large labeled dataset. In this paper, we address both of these problems by presenting a large corpus of a labeled dataset for the community and take a comparative analysis approach to mitigate all unknowns except their source code differences between different correct implementations of the same problem. We put the power of deep learning to the test for automatically extracting information from the hierarchical structure of abstract syntax trees to represent source code. This paper aims to assess the feasibility of using purely static information (e.g., abstract syntax tree or AST) of applications to predict performance change based on the change in code structure. This research will enable performance-aware application development since every version of the application will continue to contribute to the corpora, which will enhance the performance of the model. Our evaluations of several deep embedding learning methods demonstrate that tree-based Long Short-Term Memory (LSTM) models can leverage the hierarchical structure of source-code to discover latent representations and achieve up to 84% (individual problem) and 73% (combined dataset with multiple of problems) accuracy in predicting the change in performance.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 14 of its 33 references that are in the map. First posted on arXiv 12 Feb 2021.

Builds on

14 of 33 references.

References · 14

  1. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  2. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  3. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,501
  4. 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,694
  5. 2014DeepWalk: Online Learning of Social Representationscited by 1,547
  6. 2019Heterogeneous Graph Attention Networkcited by 734
  7. 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 306
  8. 2014A Convolutional Neural Network for Modelling Sentencescited by 163
  9. 2019Multi-Modal Attention Network Learning for Semantic Source Code Retrievalcited by 41
  10. 2016Tree-to-Sequence Attentional Neural Machine Translationcited by 28
  11. 2019Automatic Source Code Summarization with Extended Tree-LSTMcited by 28
  12. 2014Convolutional Neural Networks over Tree Structures for Programming Language Processingcited by 10
2 more
  1. 2018A deep tree-based model for software defect predictioncited by 8
  2. 2014Building Program Vector Representations for Deep Learningcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 1; 2023: 1; 2024: 0; 2025: 0; 2026: 1.

3 papers.