arrow
返回

The effectiveness of data augmentation in code readability classification

delete2021-01-01
delete17
PRE
AI
Q
Qing Mi
肖艳 封面图
肖艳 (Yan Xiao)
才
才智 (Zhi Cai) *
X
Xibin Jia
DOI:10.1016/j.infsof.2020.106378delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context: Training deep learning models for code readability classification requires large datasets of quality pre-labeled data. However, it is almost always time-consuming and expensive to acquire readability data with manual labels. Objective: We thus propose to introduce data augmentation approaches to artificially increase the size of training set, this is to reduce the risk of overfitting caused by the lack of readability data and further improve the classification accuracy as the ultimate goal. Method: We create transformed versions of code snippets by manipulating original data from aspects such as comments, indentations, and names of classes/methods/variables based on domain-specific knowledge. In addition to basic transformations, we also explore the use of Auxiliary Classifier GANs to produce synthetic data. Results: To evaluate the proposed approach, we conduct a set of experiments. The results show that the classification performance of deep neural networks can be significantly improved when they are trained on the augmented corpus, achieving a state-of-the-art accuracy of 87.38%. Conclusion: We consider the findings of this study as primary evidence of the effectiveness of data augmentation in the field of code readability classification.
Keyword:
Code readability classification
Data augmentation
Generative adversarial network
Deep learning
Empirical software engineering
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

B
Beijing University of Technology
学者数:
2.8W
论文数: 2.1W
被引数: 2.7W
N
National University of Singapore
学者数:
7.6W
论文数: 6.5W
被引数: 11.4W
引用论文

引用论文

Robust Statistical Methods for Empirical Software Engineering
err2016-06-16
err151
PREAI
errKitchenham, Barbara; Madeyski, Lech; Budgen, David; Keung, Jacky; Brereton, Pearl; Charters, Stuart; Gibbs, Shirley; Pohthong, Amnart
err分享
err收藏
Improving code readability classification using convolutional neural networks
err2018-12-01
err34
PREAI
errMi, Qing; Keung, Jacky; Xiao, Yan; Mensah, Solomon; Gao, Yujin
err分享
err收藏
err分享
err收藏