paper-with-me

Papers

Just-In-Time Software Defect Prediction via Bi-modal Change Representation Learning

2024-10-15 · Yuze Jiang, Beijun Shen, Xiaodong Gu

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.

📄 PDF Abstract BibTeX arXiv:2410.12107

Code (1)

jyz-1201/jit-bicc 공식 구현 pytorch

Tasks

Representation Learning

Similar Papers 제목 키워드 기반

Multimodal Learning for Just-In-Time Software Defect Prediction in Autonomous Driving Systems

2025-02-28 · Faisal Mohammad, Duksan Ryu

In recent years, the rise of autonomous driving technologies has highlighted the critical importance of reliable software for ensuring safety and performance. This paper proposes a novel approach for just-in-time softwar…

Autonomous Driving

Graph-Based Machine Learning Improves Just-in-Time Defect Prediction

2021-10-11 · Jonathan Bryan, Pablo Moriano

The increasing complexity of today's software requires the contribution of thousands of developers. This complex collaboration structure makes developers more likely to introduce defect-prone changes that lead to softwar…

BIG-bench Machine LearningPrediction

A Defect is Being Born: How Close Are We? A Time Sensitive Forecasting Approach

2026-01-05 · Mikel Robredo, Matteo Esposito, Fabio Palomba, Rafael Peñaloza 외 arxiv

Background. Defect prediction has been a highly active topic among researchers in the Empirical Software Engineering field. Previous literature has successfully achieved the most accurate prediction of an incoming fault …

ApacheJIT: A Large Dataset for Just-In-Time Defect Prediction

2022-02-28 · Hossein Keshavarz, Meiyappan Nagappan

In this paper, we present ApacheJIT, a large dataset for Just-In-Time defect prediction. ApacheJIT consists of clean and bug-inducing software changes in popular Apache projects. ApacheJIT has a total of 106,674 commits …

CodeFlowLM: Incremental Just-In-Time Defect Prediction with Pretrained Language Models and Exploratory Insights into Defect Localization

2025-11-28 · Monique Louise Monteiro, George G. Cabral, Adriano L. I. OLiveira arxiv

This work introduces CodeFlowLM, an incremental learning framework for Just-In-Time Software Defect Prediction (JIT-SDP) that leverages pre-trained language models (PLMs). Unlike traditional online learners, CodeFlowLM e…

Incremental Learning