mlsanityData to 7 Oct 2026

Source Code Data Augmentation for Deep Learning: A Survey

arXiv 2305.19915 ↗First posted 31 May 2023cs.CL cs.AI cs.SEcited by 3

Not on the map. Why?

Abstract (arXiv)

The increasingly popular adoption of deep learning models in many critical source code tasks motivates the development of data augmentation (DA) techniques to enhance training data and improve various capabilities (e.g., robustness and generalizability) of these models. Although a series of DA methods have been proposed and tailored for source code models, there lacks a comprehensive survey and examination to understand their effectiveness and implications. This paper fills this gap by conducting a comprehensive and integrative survey of data augmentation for source code, wherein we systematically compile and encapsulate existing literature to provide a comprehensive overview of the field. We start with an introduction of data augmentation in source code and then provide a discussion on major representative approaches. Next, we highlight the general strategies and techniques to optimize the DA quality. Subsequently, we underscore techniques useful in real-world source code scenarios and downstream tasks. Finally, we outline the prevailing challenges and potential opportunities for future research. In essence, we aim to demystify the corpus of existing literature on source code DA for deep learning, and foster further exploration in this sphere. Complementing this, we present a continually updated GitHub repository that hosts a list of update-to-date papers on DA for source code modeling, accessible at urlhttps://github.com/terryyz/DataAug4Code.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 23 of its 123 references that are in the map. First posted on arXiv 31 May 2023.

Builds on

23 of 123 references.

References · 23

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2023StarCoder: may the source be with you!cited by 790
  5. 2015Improving Neural Machine Translation Models with Monolingual Datacited by 784
  6. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  7. 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 591
  8. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  9. 2023Augmented Language Models: a Surveycited by 398
  10. 2023SantaCoder: don't reach for the stars!cited by 169
  11. 2023Red teaming ChatGPT via Jailbreaking: Bias, Robustness, Reliability and Toxicitycited by 86
  12. 2021NL-Augmenter: A Framework for Task-Sensitive Natural Language Augmentationcited by 72
11 more
  1. 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 50
  2. 2023Measuring The Impact Of Programming Language Distributioncited by 32
  3. 2022How Important are Good Method Names in Neural Code Generation? A Model Robustness Perspectivecited by 9
  4. 2022CodeS: Towards Code Model Generalization Under Distribution Shiftcited by 6
  5. 2022Pre-Training Representations of Binary Code Using Contrastive Learningcited by 6
  6. 2020STRATA: Simple, Gradient-Free Attacks for Models of Codecited by 5
  7. 2022SimSCOOD: Systematic Analysis of Out-of-Distribution Generalization in Fine-tuned Source Code Modelscited by 5
  8. 2023Boosting Source Code Learning with Text-Oriented Data Augmentation: An Empirical Studycited by 5
  9. 2021AugmentedCode: Examining the Effects of Natural Language Resources in Code Retrieval Modelscited by 3
  10. 2022Evaluation of Contrastive Learning with Various Code Representations for Code Clone Detectioncited by 3
  11. 2023Pathways to Leverage Transcompiler based Data Augmentation for Cross-Language Clone Detectioncited by 3

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 2.

3 papers.