An Empirical Study of Deep Transfer Learning-Based Program Repair for Kotlin Projects

被引:3
|
作者
Kim, Misoo [1 ]
Kim, Youngkyoung [2 ]
Jeong, Hohyeon [2 ]
Heo, Jinseok [2 ]
Kim, Sungoh [3 ]
Chung, Hyunhee [3 ]
Lee, Eunseok [4 ]
机构
[1] Sungkyunkwan Univ, Inst Software Convergence, Suwon, South Korea
[2] Sungkyunkwan Univ, Dept Elect & Comp Engn, Suwon, South Korea
[3] Samsung Elect, SW Engn Grp, Mobile Experience, Suwon, South Korea
[4] Sungkyunkwan Univ, Coll Comp & Informat, Suwon, South Korea
基金
新加坡国家研究基金会;
关键词
Empirical study; Deep learning-based program repair; Transfer learning; Industrial Kotlin project; SonarQube defects; SONARQUBE;
D O I
10.1145/3540250.3558967
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Deep learning-based automated program repair (DL-APR) can automatically fix software bugs and has received significant attention in the industry because of its potential to significantly reduce software development and maintenance costs. The Samsung mobile experience (MX) team is currently switching from Java to Kotlin projects. This study reviews the application of DL-APR, which automatically fixes defects that arise during this switching process; however, the shortage of Kotlin defect-fixing datasets in Samsung MX team precludes us from fully utilizing the power of deep learning. Therefore, strategies are needed to effectively reuse the pretrained DL-APR model. This demand can be met using the Kotlin defect-fixing datasets constructed from industrial and open-source repositories, and transfer learning. This study aims to validate the performance of the pretrained DL-APR model in fixing defects in the Samsung Kotlin projects, then improve its performance by applying transfer learning. We show that transfer learning with open source and industrial Kotlin defect-fixing datasets can improve the defect-fixing performance of the existing DL-APR by 307%. Furthermore, we confirmed that the performance was improved by 532% compared with the baseline DL-APR model as a result of transferring the knowledge of an industrial (non-defect) bug-fixing dataset. We also discovered that the embedded vectors and overlapping code tokens of the code-change pairs are valuable features for selecting useful knowledge transfer instances by improving the performance of APR models by up to 696%. Our study demonstrates the possibility of applying transfer learning to practitioners who review the application of DL-APR to industrial software.
引用
收藏
页码:1441 / 1452
页数:12
相关论文
共 50 条
  • [31] Deep transfer learning-based approach for detection of cracks on eggs
    Botta, Bhavya
    Datta, Ashis Kumar
    [J]. JOURNAL OF FOOD PROCESS ENGINEERING, 2023, 46 (11)
  • [32] Deep Learning-Based Haptic Guidance for Surgical Skills Transfer
    Fekri, Pedram
    Dargahi, Javad
    Zadeh, Mehrdad
    [J]. FRONTIERS IN ROBOTICS AND AI, 2021, 7
  • [33] Deep Transfer Learning-Based Detection for Flash Memory Channels
    Mei, Zhen
    Cai, Kui
    Shi, Long
    Li, Jun
    Chen, Li
    Immink, Kees A. Schouhamer
    [J]. IEEE TRANSACTIONS ON COMMUNICATIONS, 2024, 72 (06) : 3425 - 3438
  • [34] Transfer learning-based quantized deep learning models for nail melanoma classification
    Mujahid Hussain
    Makhmoor Fiza
    Aiman Khalil
    Asad Ali Siyal
    Fayaz Ali Dharejo
    Waheeduddin Hyder
    Antonella Guzzo
    Moez Krichen
    Giancarlo Fortino
    [J]. Neural Computing and Applications, 2023, 35 : 22163 - 22178
  • [35] Deep learning-based CNN for multiclassification of ocular diseases using transfer learning
    Deepak, G. Divya
    Bhat, Subraya Krishna
    [J]. COMPUTER METHODS IN BIOMECHANICS AND BIOMEDICAL ENGINEERING-IMAGING AND VISUALIZATION, 2024, 12 (01):
  • [36] Explainable Transfer Learning-Based Deep Learning Model for Pelvis Fracture Detection
    Kassem, Mohamed A. A.
    Naguib, Soaad M. M.
    Hamza, Hanaa M. M.
    Fouda, Mostafa M. M.
    Saleh, Mohamed K. K.
    Hosny, Khalid M. M.
    [J]. INTERNATIONAL JOURNAL OF INTELLIGENT SYSTEMS, 2023, 2023
  • [37] Transfer Learning-Based Deep Learning Model for Corn Leaf Disease Classification
    An, Justin
    Zhang, Nian
    Mahmoud, Wagdy H.
    [J]. ADVANCES IN NEURAL NETWORKS-ISNN 2024, 2024, 14827 : 163 - 173
  • [38] Transfer learning-based quantized deep learning models for nail melanoma classification
    Hussain, Mujahid
    Fiza, Makhmoor
    Khalil, Aiman
    Siyal, Asad Ali
    Dharejo, Fayaz Ali
    Hyder, Waheeduddin
    Guzzo, Antonella
    Krichen, Moez
    Fortino, Giancarlo
    [J]. NEURAL COMPUTING & APPLICATIONS, 2023, 35 (30): : 22163 - 22178
  • [39] Visual Trunk Detection Using Transfer Learning and a Deep Learning-Based Coprocessor
    Aguiar, Andre Silva
    Dos Santos, Filipe Neves
    Miranda De Sousa, Armando Jorge
    Oliveira, Paulo Moura
    Santos, Luis Carlos
    [J]. IEEE ACCESS, 2020, 8 : 77308 - 77320
  • [40] Feature assortment for deep learning-based bug localization with a program graph
    Kim, Youngkyoung
    Kim, Misoo
    Lee, Eunseok
    [J]. Proceedings of the ACM Symposium on Applied Computing, 2022, : 1536 - 1544