arrow
返回

Source Code Error Understanding Using BERT for Multi-Label Classification

delete2025-01-01
delete0
delete
OA
AI
M
Md Faizul Ibne Amin *
Y
Yutaka Watanobe
M
Md. Mostafizer Rahman *
A
Atsushi Shirafuji
DOI:10.1109/ACCESS.2024.3525061delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Programming is an essential skill in computer science and across a wide range of engineering disciplines. However, errors, often referred to as 'bugs' in code, can be challenging to identify and rectify for both students learning to program and experienced professionals. Understanding, identifying, and effectively addressing these errors are critical aspects of programming education and software development. To aid in understanding and classifying these errors, we propose a multi-label error classification approach for source code using fine-tuned BERT models (BERT_Uncased and BERT_Cased). The models achieved average classification accuracies of 90.58% and 90.80%, exact match accuracies of 48.28% and 49.13%, and weighted F1 scores of 0.796 and 0.799, respectively. Precision, Recall, Hamming Loss, and ROC-AUC metrics further evaluate the effectiveness of our models. Additionally, we employed several combinations of large language models (CodeT5, CodeBERT) with machine learning classifiers (Decision Tree, Random Forest, Ensemble Learning, ML-KNN), demonstrating the superiority of our proposed approach. These findings highlight the potential of multi-label error classification to advance programming education, software engineering, and related research fields.
Keyword:
Programming
Programming profession
Codes
Multi label classification
Accuracy
Education
Transformers
Measurement
Computer bugs
Data models
Multi-label classification
BERT
CodeT5
CodeBERT
decision tree
random forest
ML-KNN
ensemble learning
data analysis
educational big data
error classification
learning analytics
programming learning
software engineering

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

T
tulane university
学者数:
1.3W
论文数: 1.0W
被引数: 9
U
University of Aizu
学者数:
768
论文数: 1.0K
被引数: 302
引用论文

引用论文

Bangla-BERT: Transformer-Based Efficient Model for Transfer Learning and Language Understanding
err2022-01-01
err19
errOAAI
errKowsher, M.; Sami, Abdullah A. S.; Prottasha, Nusrat Jahan; Arefin, Mohammad Shamsul; Dhar, Pranab Kumar; Koshiba, Takeshi
err分享
err收藏
Deep Learning-based Text Classification: A Comprehensive Review基于深度学习的文本分类综述
err2021-04-17
err587
PREAI
errMinaee, Shervin; Kalchbrenner, Nal; Cambria, Erik; Nikzad, Narjes; Chenaghlu, Meysam; Gao, Jianfeng
err分享
err收藏
ML-FOREST: A Multi-Label Tree Ensemble Method for Multi-Label Classification
err2016-10-01
err70
PREAI
errWu, Qingyao; Tan, Mingkui; Song, Hengjie; Chen, Jian; Ng, Michael K.
err分享
err收藏
学者 查看更多内容