2000 character limit reached
Exploring Data Augmentation for Code Generation Tasks (2302.03499v1)
Published 5 Feb 2023 in cs.CL, cs.AI, and cs.PL
Abstract: Advances in natural language processing, such as transfer learning from pre-trained LLMs, 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.