Keeping Pace with Ever-Increasing Data: Towards Continual Learning of Code Intelligence Models
Not on the map. Why?
Abstract (arXiv)
Previous research on code intelligence usually trains a deep learning model on a fixed dataset in an offline manner. However, in real-world scenarios, new code repositories emerge incessantly, and the carried new knowledge is beneficial for providing up-to-date code intelligence services to developers. In this paper, we aim at the following problem: How to enable code intelligence models to continually learn from ever-increasing data? One major challenge here is catastrophic forgetting, meaning that the model can easily forget knowledge learned from previous datasets when learning from the new dataset. To tackle this challenge, we propose REPEAT, a novel method for continual learning of code intelligence models. Specifically, REPEAT addresses the catastrophic forgetting problem with representative exemplars replay and adaptive parameter regularization. The representative exemplars replay component selects informative and diverse exemplars in each dataset and uses them to retrain model periodically. The adaptive parameter regularization component recognizes important parameters in the model and adaptively penalizes their changes to preserve the knowledge learned before. We evaluate the proposed approach on three code intelligence tasks including code summarization, software vulnerability detection, and code clone detection. Extensive experiments demonstrate that REPEAT consistently outperforms baseline methods on all tasks. For example, REPEAT improves the conventional fine-tuning method by 1.22, 5.61, and 1.72 on code summarization, vulnerability detection and clone detection, respectively.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Feb 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 6; 2024: 1; 2025: 1.
8 papers.
- 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Modelscited by 28
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
- 2023On the Usage of Continual Learning for Out-of-Distribution Generalization in Pre-trained Language Models of Codecited by 7
- 2024GitChameleon: Unmasking the Version-Switching Capabilities of Code Generation Modelscited by 6
- 2023Enhancing Robustness of AI Offensive Code Generators via Data Augmentationcited by 3
- 2023A Comprehensive Review of State-of-The-Art Methods for Java Code Generation from Natural Language Textcited by 2
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Frameworkcited by 1
- 2023CodeLL: A Lifelong Learning Dataset to Support the Co-Evolution of Data and Language Models of Codecited by 0
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Framework20 Oct 2025
- 2024GitChameleon: Unmasking the Version-Switching Capabilities of Code Generation Models5 Nov 2024
- 2023CodeLL: A Lifelong Learning Dataset to Support the Co-Evolution of Data and Language Models of Code20 Dec 2023
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Survey27 Oct 2023
- 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Models21 Aug 2023
- 2023A Comprehensive Review of State-of-The-Art Methods for Java Code Generation from Natural Language Text10 Jun 2023
- 2023Enhancing Robustness of AI Offensive Code Generators via Data Augmentation8 Jun 2023
- 2023On the Usage of Continual Learning for Out-of-Distribution Generalization in Pre-trained Language Models of Code6 May 2023