arrow
返回

Active Code Learning: Benchmarking Sample-Efficient Training of Code Models

delete2024-05-01
delete1
delete
OA
AI
Q
Qiang Hu
Y
Yuejun Guo
X
Xiaofei Xie
M
Maxime Cordy
L
Lei Ma *
M
Mike Papadakis
Y
Yves Le Traon
DOI:10.1109/TSE.2024.3376964delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The costly human effort required to prepare the training data of machine learning (ML) models hinders their practical development and usage in software engineering (ML4Code), especially for those with limited budgets. Therefore, efficiently training models of code with less human effort has become an emergent problem. Active learning is such a technique to address this issue that allows developers to train a model with reduced data while producing models with desired performance, which has been well studied in computer vision and natural language processing domains. Unfortunately, there is no such work that explores the effectiveness of active learning for code models. In this paper, we bridge this gap by building the first benchmark to study this critical problem - active code learning. Specifically, we collect 11 acquisition functions (which are used for data selection in active learning) from existing works and adapt them for code-related tasks. Then, we conduct an empirical study to check whether these acquisition functions maintain performance for code data. The results demonstrate that feature selection highly affects active learning and using output vectors to select data is the best choice. For the code summarization task, active code learning is ineffective which produces models with over a 29.64% gap compared to the expected performance. Furthermore, we explore future directions of active code learning with an exploratory study. We propose to replace distance calculation methods with evaluation metrics and find a correlation between these evaluation-based distance methods and the performance of code models.
Keyword:
Codes
Data models
Task analysis
Training
Feature extraction
Training data
Labeling
Active learning
machine learning for code
benchmark
empirical analysis

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

U
University of Tokyo
学者数:
7.1W
论文数: 6.5W
被引数: 2.2K
L
luxembourg institute of science & technology
学者数:
1.9K
论文数: 1.8K
被引数: 1
U
university of luxembourg
学者数:
5.2K
论文数: 4.8K
被引数: 4
学者 查看更多机构
引用论文

引用论文

Nonsurgical management of benign prostatic hyperplasia in men with bladder calculi
err2002-08-01
err0
PREAI
errR.Corey O’Connor; Brett A Laven; Gregory T Bales; Glenn S Gerber
err分享
err收藏
err分享
err收藏
Absolute measurement of cellular activities using photochromic single-fluorophore biosensors
err
IF0
err2020-10-29
err0
errOAAI
errVincent Gielen; Viola Mönkemöller; Franziska Bierbuesse; Anaïs C. Bourges; Wim Vandenberg; Yi Shen; Johan Hofkens; Pieter Vanden Berghe; Robert E. Campbell; Benjamien Moeyaert; Peter Dedecker
err分享
err收藏
err分享
err收藏
Politics and Existence
err2008-05-01
err0
PREAI
errRonjon Paul Datta
err分享
err收藏
Type I collagen metabolites as tumor markers in patients with lung carcinomaI型胶原代谢产物作为肺癌患者的肿瘤标志物
err1999-05-01
err0
errOAAI
errTetsu Kobayashi; Esteban C. Gabazza; Osamu Taguchi; Juha Risteli; Leila Risteli; Hiroyasu Kobayashi; Hiroki Yasui; Hisamichi Yuda; Takashi Sakai; Masanori Kaneda; Yukihiko Adachi
err分享
err收藏
学者 查看更多内容