Just-In-Time Software Defect Prediction via Bi-modal Change Representation Learning
Not on the map. Why?
Abstract (arXiv)
For predicting software defects at an early stage, researchers have proposed just-in-time defect prediction (JIT-DP) to identify potential defects in code commits. The prevailing approaches train models to represent code changes in history commits and utilize the learned representations to predict the presence of defects in the latest commit. However, existing models merely learn editions in source code, without considering the natural language intentions behind the changes. This limitation hinders their ability to capture deeper semantics. To address this, we introduce a novel bi-modal change pre-training model called BiCC-BERT. BiCC-BERT is pre-trained on a code change corpus to learn bi-modal semantic representations. To incorporate commit messages from the corpus, we design a novel pre-training objective called Replaced Message Identification (RMI), which learns the semantic association between commit messages and code changes. Subsequently, we integrate BiCC-BERT into JIT-DP and propose a new defect prediction approach -- JIT-BiCC. By leveraging the bi-modal representations from BiCC-BERT, JIT-BiCC captures more profound change semantics. We train JIT-BiCC using 27,391 code changes and compare its performance with 8 state-of-the-art JIT-DP approaches. The results demonstrate that JIT-BiCC outperforms all baselines, achieving a 10.8% improvement in F1-score. This highlights its effectiveness in learning the bi-modal semantics for JIT-DP.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 26 of its 63 references that are in the map. First posted on arXiv 15 Oct 2024.
Builds on
26 of 63 references.
References · 26
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2017Decoupled Weight Decay Regularizationcited by 1,831
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2018code2vec: Learning Distributed Representations of Codecited by 250
- 2022CoditT5: Pretraining for Source Code and Natural Language Editingcited by 45
- 2020CC2Vec: Distributed Representations of Code Changescited by 39
- 2018Learning to Represent Editscited by 34
- 2021Learning Structural Edits via Incremental Tree Transformationscited by 16
- 2020CoreGen: Contextualized Code Representation Learning for Commit Message Generationcited by 15
14 more
- 2021JITLine: A Simpler, Better, Faster, Finer-grained Just-In-Time Defect Predictioncited by 15
- 2020Copy that! Editing Sequences by Copying Spanscited by 13
- 2020Multi-timescale Representation Learning in LSTM Language Modelscited by 13
- 2019Commit2Vec: Learning Distributed Representations of Code Changescited by 12
- 2020A Fine-grained Data Set and Analysis of Tangling in Bug Fixing Commitscited by 11
- 2023Code-centric Learning-based Just-In-Time Vulnerability Detectioncited by 8
- 2024Delving into Parameter-Efficient Fine-Tuning in Code Change Learning: An Empirical Studycited by 8
- 2022On the Use of Deep Learning in Software Defect Predictioncited by 6
- 2023CCBERT: Self-Supervised Code Change Representation Learningcited by 6
- 2021Unsupervised Learning of General-Purpose Embeddings for Code Changescited by 3
- 2022Zero-Shot Program Representation Learningcited by 3
- 2023Context-Encoded Code Change Representation for Automated Commit Message Generationcited by 2
- 2024Bridging Expert Knowledge with Deep Learning Techniques for Just-In-Time Defect Predictioncited by 2
- 2023Human-in-the-loop online just-in-time software defect predictioncited by 1
Built on by
Citing papers per year: 2025: 1.
1 paper.