paper-with-me

홈 › Papers

GenCode: A Generic Data Augmentation Framework for Boosting Deep Learning-Based Code Understanding

2024-02-24 · Zeming Dong, Qiang Hu, Xiaofei Xie, Maxime Cordy, Mike Papadakis, Jianjun Zhao

Pre-trained code models lead the era of code intelligence with multiple models have been designed with impressive performance. However, one important problem, data augmentation for code data that automatically helps developers prepare training data lacks study in this field. In this paper, we introduce a generic data augmentation framework, GenCode, to enhance the training of code understanding models. Simply speaking, GenCode follows a generation-and-selection paradigm to prepare useful training code data. Specifically, it employs code transformation techniques to generate new code candidates first and then selects important ones as the training data by importance metrics. To evaluate the effectiveness of GenCode, we conduct experiments on four code understanding tasks (e.g., code clone detection) and three pre-trained code models (e.g., CodeT5). Compared to the state-of-the-art (SOTA) code augmentation method, MixCode, GenCode produces code models with 2.92% higher accuracy and 4.90% robustness on average.

📄 PDF Abstract BibTeX arXiv:2402.15769

Code (0)

등록된 구현이 없습니다.

Tasks

Clone DetectionData Augmentation

Similar Papers 제목 키워드 기반

EEGEncoder: Advancing BCI with Transformer-Based Motor Imagery Classification

2024-04-23 · Wangdan Liao, Weidong Wang

Brain-computer interfaces (BCIs) harness electroencephalographic signals for direct neural control of devices, offering a significant benefit for individuals with motor impairments. Traditional machine learning methods f…

ClassificationData AugmentationEEGMotor Imagery+1

UniGenCoder: Merging Seq2Seq and Seq2Tree Paradigms for Unified Code Generation

2025-02-18 · Liangying Shao, Yanfu Yan, Denys Poshyvanyk, Jinsong Su

Deep learning-based code generation has completely transformed the way developers write programs today. Existing approaches to code generation have focused either on the Sequence-to-Sequence paradigm, which generates tar…

Code GenerationContrastive LearningDecoderMulti-Task Learning+1

GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understanding

2023-11-16 · Andor Diera, Abdelhalim Dahou, Lukas Galke, Fabian Karl 외

Language models can serve as a valuable tool for software developers to increase productivity. Large generative models can be used for code generation and code completion, while smaller encoder-only models are capable of…

Code CompletionCode GenerationCode SearchDiversity

Person Re-Identification by Camera Correlation Aware Feature Augmentation

2017-03-26 · Ying-Cong Chen, Xiatian Zhu, Wei-Shi Zheng, Jian-Huang Lai

The challenge of person re-identification (re-id) is to match individual images of the same person captured by different non-overlapping camera views against significant and unknown cross-view feature distortion. While a…

Person Re-Identification

ConvBoost: Boosting ConvNets for Sensor-based Activity Recognition

2023-05-22 · Shuai Shao, Yu Guan, Bing Zhai, Paolo Missier 외

Human activity recognition (HAR) is one of the core research themes in ubiquitous and wearable computing. With the shift to deep learning (DL) based analysis approaches, it has become possible to extract high-level featu…

Activity RecognitionData AugmentationHuman Activity Recognition