Automated Synthesis of Distributed Code from Sequential Snippets Using Deep Learning

Processing big data poses a significant challenge when transitioning from sequential to distributed code, primarily due to the extensive scale at which data is handled. This complexity arises from both syntax and semantic differences between the codes. Unfortunately, current methods are inefficient and require more effective automated solutions. To address this problem, we utilized the Transformer-based BERT model because of its exceptional capability to understand and capture deep contextual relationships in large datasets. Our method involved creating two comprehensive datasets containing 10k and 100k sequential code snippets paired with their corresponding PySpark API calls. We optimized the BERT model by fine-tuning it to predict distributed API calls for previously unseen sequential snippets. For the 10k dataset, the model demonstrated robustness, achieving a training accuracy of 99.36%, a test accuracy of 99.7%, a Balanced Accuracy of 99.78%, and an F1 Score of 0.997. In contrast, the 100k dataset metrics were equally impressive, with a training accuracy of 89.48%, a test accuracy of 99.99%, a Balanced Accuracy of 99.98%, and an F1 Score of 0.999. Our work demonstrates the feasibility of automating the sequential-to-distributed code transition with notable precision.

Authors

Institutions

Publication Details

Published
2024-12-15
DOI
https://doi.org/10.1109/bigdata62323.2024.10825464
Citations
1
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated Synthesis of Distributed Code from Sequential Snippets Using Deep Learning

Pablo Rivas, Bikram Khanal, Arun Sanjel, Greg Speegle
1 citations
Software Testing and Debugging Techniques
0.49
article

Automated Synthesis of Distributed Code from Sequential Snippets Using Deep Learning

Pablo Rivas, Bikram Khanal, Arun Sanjel, Greg Speegle
article en
1 citations

Abstract

Processing big data poses a significant challenge when transitioning from sequential to distributed code, primarily due to the extensive scale at which data is handled. This complexity arises from both syntax and semantic differences between the codes. Unfortunately, current methods are inefficient and require more effective automated solutions. To address this problem, we utilized the Transformer-based BERT model because of its exceptional capability to understand and capture deep contextual relationships in large datasets. Our method involved creating two comprehensive datasets containing 10k and 100k sequential code snippets paired with their corresponding PySpark API calls. We optimized the BERT model by fine-tuning it to predict distributed API calls for previously unseen sequential snippets. For the 10k dataset, the model demonstrated robustness, achieving a training accuracy of 99.36%, a test accuracy of 99.7%, a Balanced Accuracy of 99.78%, and an F1 Score of 0.997. In contrast, the 100k dataset metrics were equally impressive, with a training accuracy of 89.48%, a test accuracy of 99.99%, a Balanced Accuracy of 99.98%, and an F1 Score of 0.999. Our work demonstrates the feasibility of automating the sequential-to-distributed code transition with notable precision.

Baylor University (US)
Openalex Percentile: Top 27%
Software Testing and Debugging Techniques
0.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.