4.5 Article

Implementation of Rapid Code Transformation Process Using Deep Learning Approaches

Journal

CMES-COMPUTER MODELING IN ENGINEERING & SCIENCES
Volume 136, Issue 1, Pages 107-134

Publisher

TECH SCIENCE PRESS
DOI: 10.32604/cmes.2023.024018

Keywords

Code transformation model; variational simhash; piecewise longest common subsequence; explainable AI; LIME

Ask authors/readers for more resources

This study introduces a deep learning approach to speed up the code transformation process by modifying simhash with a VSH algorithm and replacing LCS with a PLCS algorithm. It also compares the performance of GPT-2, Microsoft MASS, and Facebook BART. Additionally, it utilizes LIME for explainable AI. Experimental results show that VSH reduces qualified programs by 22.11% and PLCS reduces execution time by 32.39%, resulting in an average 1.38 times speedup compared to previous work.
Our previous work has introduced the newly generated program using the code transformation model GPT-2, verifying the generated programming codes through simhash (SH) and longest common subsequence (LCS) algorithms. However, the entire code transformation process has encountered a time-consuming problem. Therefore, the objective of this study is to speed up the code transformation process significantly. This paper has proposed deep learning approaches for modifying SH using a variational simhash (VSH) algorithm and replacing LCS with a piecewise longest common subsequence (PLCS) algorithm to faster the verification process in the test phase. Besides the code transformation model GPT-2, this study has also introduced Microsoft MASS and Facebook BART for a comparative analysis of their performance. Meanwhile, the explainable AI technique using local interpretable model-agnostic explanations (LIME) can also interpret the decision-making of AI models. The experimental results show that VSH can reduce the number of qualified programs by 22.11%, and PLCS can reduce the execution time of selected pocket programs by 32.39%. As a result, the proposed approaches can significantly speed up the entire code transformation process by 1.38 times on average compared with our previous work.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.5
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available