Better Language Models of Code through Self-Improvement

Self-improving code LLMs via pseudo-data generation.
Ask this paper
Self-improvement loop: Generates pseudo training data from the model's own knowledge gained through pretraining and fine-tuning.
Iterative bootstrapping: Adds the generated data to the training set for the next training iteration, creating a self-improvement loop.
Multi-framework gains: Shows consistent improvements across different code LLM frameworks on code generation tasks.
Self-improvement research: An early example of the self-improvement paradigm for LLMs that would later mature in 2024's self-rewarding and self-play approaches.
Abstract
Pre-trained language models for code (PLMCs) have gained attention in recent research. These models are pre-trained on large-scale datasets using multi-modal objectives. However, fine-tuning them requires extensive supervision and is limited by the size of the dataset provided. We aim to improve this issue by proposing a simple data augmentation framework. Our framework utilizes knowledge gained during the pre-training and fine-tuning stage to generate pseudo data, which is then used as training data for the next step. We incorporate this framework into the state-of-the-art language models, such as CodeT5, CodeBERT, and UnixCoder. The results show that our framework significantly improves PLMCs' performance in code-related sequence generation tasks, such as code summarization and code generation in the CodeXGLUE benchmark.