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 条
  • [21] A controlled experiment of different code representations for learning-based program repair
    Marjane Namavar
    Noor Nashid
    Ali Mesbah
    [J]. Empirical Software Engineering, 2022, 27
  • [22] Deep transfer learning-based hologram classification for molecular diagnostics
    Sung-Jin Kim
    Chuangqi Wang
    Bing Zhao
    Hyungsoon Im
    Jouha Min
    Hee June Choi
    Joseph Tadros
    Nu Ri Choi
    Cesar M. Castro
    Ralph Weissleder
    Hakho Lee
    Kwonmoo Lee
    [J]. Scientific Reports, 8
  • [23] Deep Transfer Learning-Based Automated Identification of Bird Song
    Das, Nabanita
    Padhy, Neelamadhab
    Dey, Nilanjan
    Bhattacharya, Sudipta
    Tavares, Joao Manuel R. S.
    [J]. INTERNATIONAL JOURNAL OF INTERACTIVE MULTIMEDIA AND ARTIFICIAL INTELLIGENCE, 2023, 8 (04): : 33 - 45
  • [24] Model for deep learning-based skill transfer in an assembly process
    Wang, Kung-Jeng
    Asrini, Luh Juni
    Sanjaya, Lucy
    Nguyen, Hong-Phuc
    [J]. ADVANCED ENGINEERING INFORMATICS, 2022, 52
  • [25] A controlled experiment of different code representations for learning-based program repair
    Namavar, Marjane
    Nashid, Noor
    Mesbah, Ali
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (07)
  • [26] 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)
  • [27] Deep Learning-Based Haptic Guidance for Surgical Skills Transfer
    Fekri, Pedram
    Dargahi, Javad
    Zadeh, Mehrdad
    [J]. FRONTIERS IN ROBOTICS AND AI, 2021, 7
  • [28] Deep transfer learning-based hologram classification for molecular diagnostics
    Kim, Sung-Jin
    Wang, Chuangqi
    Zhao, Bing
    Im, Hyungsoon
    Min, Jouha
    Choi, Hee June
    Tadros, Joseph
    Choi, Nu Ri
    Castro, Cesar M.
    Weissleder, Ralph
    Lee, Hakho
    Lee, Kwon Moo
    [J]. SCIENTIFIC REPORTS, 2018, 8
  • [29] Deep transfer learning-based anomaly detection for cycling safety
    Yaqoob, Shumayla
    Cafiso, Salvatore
    Morabito, Giacomo
    Pappalardo, Giuseppina
    [J]. JOURNAL OF SAFETY RESEARCH, 2023, 87 : 122 - 131
  • [30] 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