Conference proceeding
Unsupervised Code Representation Learning via Contrastive Learning for Cross-Project Defect Prediction
Advanced Intelligent Computing Technology and Applications, pp.3-14
Lecture Notes in Computer Science
22nd International Conference on Intelligent Computing, ICIC 2026, 22nd (Toronto, Canada, 22/07/2026–26/07/2026)
2027
Metrics
1 Record Views
Abstract
Cross-project defect prediction (CPDP) is an approach for addressing the situation that historical data is a few for software defect prediction. Many deep learning algorithms applied for CPDP suffer from the huge demand for labeled data to generated feature, which leads to poor performance in CPDP tasks. To address this situation, we propose the method DPCL generating feature without labels, which is aligned feature by comparative learning. During extracting feature, the cascaded architecture of convolutional neural networks and self-attention mechanism is applied for captured the local information and global dependencies. We also design the framework DPCL based on DPCL for CPDP. Experimental studies on the datasets across 17 different software projects show that DPCL achieved an improvement of up to 28.8% in the F1-score on CPDP. We chose the 17 java projects to evaluate our method compared to the baselines.
Details
- Title
- Unsupervised Code Representation Learning via Contrastive Learning for Cross-Project Defect Prediction
- Creators
- Hanlin Zhao - Tianjin UniversityZhiyong Feng - Tianjin UniversityRuitao Feng - Southern Cross University
- Contributors
- De-Shuang Huang (Editor) - Eastern Institute of Technology, NingboChuanlei Zhang (Editor) - Tianjin University of Science and TechnologyWei Chen (Editor) - China University of Mining and TechnologyBo Li (Editor) - Wuhan University of Science and TechnologyQinhu Zhang (Editor) - Eastern Institute of Technology, NingboWenzheng Bao (Editor) - Xuzhou University of TechnologyYijie Pan (Editor) - Eastern Institute of Technology, NingboPrashan Premaratne (Editor) - University of Wollongong
- Publication Details
- Advanced Intelligent Computing Technology and Applications, pp.3-14
- Conference
- 22nd International Conference on Intelligent Computing, ICIC 2026, 22nd (Toronto, Canada, 22/07/2026–26/07/2026)
- Series
- Lecture Notes in Computer Science
- Publisher
- Springer Nature Singapore; Singapore
- Identifiers
- 991013389849802368
- Copyright
- © 2027.
- Academic Unit
- Faculty of Science and Engineering
- Language
- English
- Resource Type
- Conference proceeding