arrow
Return

An data augmentation method for source code summarization

delete2023-09-01
delete2
PRE
AI
Z
Zixuan Song
H
Hui Zeng
X
Xiuwei Shang
G
Guanxi Li
H
Hui Li
S
Shikai Guo *
DOI:10.1016/j.neucom.2023.126385delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Code comments improve the readability and intelligibility of codes, Unfortunately, code comments are often missing, or outdated in software projects, which negatively affects the efficiency of developers to infer the functionality from source code and affect the efficiency of software maintenance and evolution. To solve this problem, many source code summarization algorithms have been proposed, which automatically generate code comments from source code. However, these methods usually try to collect a large data set which contains the mapping between code comments and source code to train models. However, there are two limitations for the training sets: the insufficient data collection limitation (i.e., generate a large amount of noises-free training data) and data distribution bias limitation (i.e., generate training data for infrequently used methods). To address this issues, we have proposed a data augmentation method for code comments, named CDA-CS. Training models on the augmented dataset, the state-of the-art algorithms can easily get a further 1.37% to 2.24% improvement in terms of different evaluation metrics (i.e., BLUE-4, METEOR, ROUGH_L).& COPY; 2023 Elsevier B.V. All rights reserved.
Keywords:
Code summary
Data augmentation
Clustering
Word replacement
Code Structure-Guided Transformer for Source Code Summarization
err2023-02-13
err33
errOAAI
errGao, Shuzheng; Gao, Cuiyun; He, Yulan; Zeng, Jichuan; Nie, Lunyiu; Xia, Xin; Lyu, Michael
errShare
errSave
Boosting source code learning with text-oriented data augmentation: an empirical study
err2025-02-18
err0
PREAI
errDong, Zeming; Hu, Qiang; Guo, Yuejun; Zhang, Zhenya; Cordy, Maxime; Papadakis, Mike; Le Traon, Yves; Zhao, Jianjun
errShare
errSave
An Eye-Tracking Study of Java Programmers and Application to Source Code Summarization
err2015-11-01
err47
PREAI
errRodeghero, Paige; Liu, Cheng; McBurney, Paul W.; McMillan, Collin
errShare
errSave
An adaptive fusion-based data augmentation method for abstract dialogue summarization
err2025-04-18
err0
errOAAI
errLi, Weihao; Jiang, Dan; Zhang, Han; Xiao, Kejing; Cao, Shaozhong
errShare
errSave
On the effectiveness of graph data augmentation for source code learning
err2024-02-01
err1
PREAI
errDong, Zeming; Hu, Qiang; Zhang, Zhenya; Zhao, Jianjun
errShare
errSave
Enhancing code smell classification with code refactoring-based data augmentation
err2026-09-01
err0
PREAI
errAli Nizam; Musa Aydin; Ertugrul Islamoglu; Shaaban Sahmoud; Samil Bilal Ozaydin
errShare
errSave
SECON: Maintaining Semantic Consistency in Data Augmentation for Code Search
err2025-01-16
err0
errOAAI
errZhang, Xu; Lin, Zexu; Hu, Xiaoyu; Wang, Jianlei; Lu, Wenpeng; Zhou, Deyu
errShare
errSave
READSUM: Retrieval-Augmented Adaptive Transformer for Source Code Summarization
err2023-01-01
err4
errOAAI
errChoi, Yunseok; Na, Cheolwon; Kim, Hyojun; Lee, Jee-Hyong
errShare
errSave

Journal

Neurocomputing cover
Neurocomputing
IF:
6.5
Papers:
2.6W
Citations:
8.4W

Organization

dalian maritime university cover
dalian maritime university
Scholars:
2.2K
Papers: 663
Citations: 6.1K
Cited Papers

Cited Papers

err
IF0
err
err0
errOAAI
err
errShare
errSave
Fret: Functional Reinforced Transformer With BERT for Code Summarization
err2020-01-01
err31
errOAAI
errWang, Ruyun; Zhang, Hanwen; Lu, Guoliang; Lyu, Lei; Lyu, Chen
errShare
errSave
errShare
errSave
Application of RAPD for molecular characterization of plant species of medicinal value from an arid environment
err2010-01-01
err0
errOAAI
errI.A. Arif; M.A. Bakir; H.A. Khan; A.H. Al Farhan; A.A. Al Homaidan; A.H. Bahkali; M. Al Sadoon; M. Shobrak
errShare
errSave
An automated framework for the extraction of semantic legal metadata from legal texts
err2021-03-24
err18
errOAAI
errSleimi, Amin; Sannier, Nicolas; Sabetzadeh, Mehrdad; Briand, Lionel; Ceci, Marcello; Dann, John
errShare
errSave
researcher View more