Exploring Data Augmentation for Code Generation Tasks
Pinzhen Chen, Γεράσιμος Λάμπουρας · Findings of the Association for Computational Linguistics: EACL · 2023
Advances in natural language processing, such as transfer learning from pre-trained language models, have impacted how models are trained for programming language tasks too.Previous research primarily explored code pre-training and expanded it through multi-modality and multi-tasking, yet the data for downstream tasks remain modest in size.Focusing on data utilization for downstream tasks, we propose and adapt augmentation methods that yield consistent improvements in code translation and summarization by up to 6.9% and 7.5% respectively.Further analysis suggests that our methods work orthogonally and show benefits in output code style and numeric consistency.We also discuss test data imperfections.
Cited by 5 works. doi:10.18653/v1/2023.findings-eacl.114 Open-access PDF
Authors
References
- BLEU
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
- HISTORIAE, History of Socio-Cultural Transformation as Linguistic Data Science. A Humanities Use Case
- CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- A Direction-Aware Study of LLM-Based Code Translation Across Eight Programming Languages
- Question Answering For Toxicological Information Extraction
- CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation
- Malware Obfuscation Techniques: A Brief Survey
- Findings of the 2018 Conference on Machine Translation (WMT18)
- Unified Pre-training for Program Understanding and Generation