CCBERT: Self-Supervised Code Change Representation Learning
Not on the map. Why?
Abstract (arXiv)
Numerous code changes are made by developers in their daily work, and a superior representation of code changes is desired for effective code change analysis. Recently, Hoang et al. proposed CC2Vec, a neural network-based approach that learns a distributed representation of code changes to capture the semantic intent of the changes. Despite demonstrated effectiveness in multiple tasks, CC2Vec has several limitations: 1) it considers only coarse-grained information about code changes, and 2) it relies on log messages rather than the self-contained content of the code changes. In this work, we propose CCBERT (underlineCode underlineChange underlineBERT), a new Transformer-based pre-trained model that learns a generic representation of code changes based on a large-scale dataset containing massive unlabeled code changes. CCBERT is pre-trained on four proposed self-supervised objectives that are specialized for learning code change representations based on the contents of code changes. CCBERT perceives fine-grained code changes at the token level by learning from the old and new versions of the content, along with the edit actions. Our experiments demonstrate that CCBERT significantly outperforms CC2Vec or the state-of-the-art approaches of the downstream tasks by 7.7%--14.0% in terms of different metrics and tasks. CCBERT consistently outperforms large pre-trained code models, such as CodeBERT, while requiring 6--10× less training time, 5--30× less inference time, and 7.9× less GPU memory.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 27 Sep 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 3.
6 papers.
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
- 2025LLMs in Software Security: A Survey of Vulnerability Detection Techniques and Insightscited by 47
- 2025LLM-JEPA: Large Language Models Meet Joint Embedding Predictive Architecturescited by 38
- 2023Just-in-Time Detection of Silent Security Patchescited by 7
- 2025LAMS: LLM-Driven Automatic Mode Switching for Assistive Teleoperationcited by 2
- 2024Just-In-Time Software Defect Prediction via Bi-modal Change Representation Learningcited by 1
- 2025LLM-JEPA: Large Language Models Meet Joint Embedding Predictive Architectures11 Sep 2025
- 2025LLMs in Software Security: A Survey of Vulnerability Detection Techniques and Insights10 Feb 2025
- 2025LAMS: LLM-Driven Automatic Mode Switching for Assistive Teleoperation15 Jan 2025
- 2024Just-In-Time Software Defect Prediction via Bi-modal Change Representation Learning15 Oct 2024
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Ahead7 Apr 2024
- 2023Just-in-Time Detection of Silent Security Patches2 Dec 2023