{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,21]],"date-time":"2026-07-21T01:03:10Z","timestamp":1784595790073,"version":"3.55.0"},"reference-count":41,"publisher":"Elsevier BV","license":[{"start":{"date-parts":[[2026,10,1]],"date-time":"2026-10-01T00:00:00Z","timestamp":1790812800000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/www.elsevier.com\/tdm\/userlicense\/1.0\/"},{"start":{"date-parts":[[2026,10,1]],"date-time":"2026-10-01T00:00:00Z","timestamp":1790812800000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/www.elsevier.com\/legal\/tdmrep-license"},{"start":{"date-parts":[[2026,10,1]],"date-time":"2026-10-01T00:00:00Z","timestamp":1790812800000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-017"},{"start":{"date-parts":[[2026,10,1]],"date-time":"2026-10-01T00:00:00Z","timestamp":1790812800000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-037"},{"start":{"date-parts":[[2026,10,1]],"date-time":"2026-10-01T00:00:00Z","timestamp":1790812800000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-012"},{"start":{"date-parts":[[2026,10,1]],"date-time":"2026-10-01T00:00:00Z","timestamp":1790812800000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-029"},{"start":{"date-parts":[[2026,10,1]],"date-time":"2026-10-01T00:00:00Z","timestamp":1790812800000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-004"}],"content-domain":{"domain":["elsevier.com","sciencedirect.com"],"crossmark-restriction":true},"short-container-title":["Science of Computer Programming"],"published-print":{"date-parts":[[2026,10]]},"DOI":"10.1016\/j.scico.2026.103534","type":"journal-article","created":{"date-parts":[[2026,7,1]],"date-time":"2026-07-01T23:32:37Z","timestamp":1782948757000},"page":"103534","update-policy":"https:\/\/doi.org\/10.1016\/elsevier_cm_policy","source":"Crossref","is-referenced-by-count":0,"special_numbering":"C","title":["Software defect prediction via contrastive similarity learning and inter-sample attention"],"prefix":"10.1016","volume":"254","author":[{"ORCID":"https:\/\/orcid.org\/0009-0007-6500-4853","authenticated-orcid":false,"given":"Ahmed\u2013Reda","family":"Rhazi","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Oumayma","family":"Banouar","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6801-2006","authenticated-orcid":false,"given":"Fadel","family":"Toure","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Said","family":"Raghay","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"78","reference":[{"key":"10.1016\/j.scico.2026.103534_bib0001","unstructured":"P. Mahbub, M. M. Rahman, Predicting line-level defects by capturing code contexts with hierarchical transformers, (2023). https:\/\/arxiv.org\/abs\/2312.11889."},{"key":"10.1016\/j.scico.2026.103534_bib0002","doi-asserted-by":"crossref","DOI":"10.1016\/j.jss.2022.111537","article-title":"On the use of deep learning in software defect prediction","volume":"195","author":"Giray","year":"2023","journal-title":"J. Syst. Softw."},{"key":"10.1016\/j.scico.2026.103534_bib0003","unstructured":"Y. Xiao, X. Zuo, L. Xue, K. Wang, J.S. Dong, I. Beschastnikh, Empirical study on transformer-based techniques for software engineering, (2023). https:\/\/arxiv.org\/abs\/2310.00399."},{"key":"10.1016\/j.scico.2026.103534_bib0004","unstructured":"G. Somepalli, M. Goldblum, A. Schwarzschild, C.B. Bruss, T. Goldstein, SAINT: improved neural networks for tabular data via row attention and contrastive pre-training, (2021). https:\/\/arxiv.org\/abs\/2106.01342."},{"key":"10.1016\/j.scico.2026.103534_bib0005","doi-asserted-by":"crossref","first-page":"227","DOI":"10.1162\/tacl_a_00544","article-title":"Transformers for tabular data representation: a survey of models and applications","volume":"11","author":"Badaro","year":"2023","journal-title":"Trans. Assoc. Comput. Linguist."},{"key":"10.1016\/j.scico.2026.103534_bib0006","unstructured":"S. Krutikov, B. Khaertdinov, R. Kiriukhin, S. Agrawal, M. Ariannezhad, K.J. De Vries, Challenging gradient boosted decision trees with tabular transformers for fraud detection at booking.com, (2025). https:\/\/arxiv.org\/abs\/2405.13692."},{"key":"10.1016\/j.scico.2026.103534_bib0007","unstructured":"A. Jaiswal, W.B. AbdAlmageed, Y. Wu, P. Natarajan, A survey on contrastive self-supervised learning, (2020). https:\/\/arxiv.org\/abs\/2011.00362."},{"key":"10.1016\/j.scico.2026.103534_bib0008","doi-asserted-by":"crossref","DOI":"10.1016\/j.cose.2024.104024","article-title":"BjCnet: a contrastive learning-based framework for software defect prediction","author":"Han","year":"2024","journal-title":"Comput. Secur."},{"issue":"12","key":"10.1016\/j.scico.2026.103534_bib0009","first-page":"5030","article-title":"Revisiting the impact of dependency network metrics on software defect prediction","volume":"48","author":"Gong","year":"2021","journal-title":"IEEE Trans. Softw. Eng."},{"issue":"2","key":"10.1016\/j.scico.2026.103534_bib0010","doi-asserted-by":"crossref","first-page":"52","DOI":"10.3390\/computers13020052","article-title":"Interpretable software defect prediction from project effort and static code metrics","volume":"13","author":"Haldar","year":"2024","journal-title":"Computers"},{"issue":"24","key":"10.1016\/j.scico.2026.103534_bib0011","doi-asserted-by":"crossref","first-page":"13765","DOI":"10.1007\/s00500-022-07365-5","article-title":"Static code metrics-based deep learning architecture for software fault prediction","volume":"26","author":"Goyal","year":"2022","journal-title":"Soft Comput."},{"key":"10.1016\/j.scico.2026.103534_bib0012","series-title":"Machine Learning Approaches for Software Quality Evaluation","article-title":"Deep learning-based approach to predict software faults","author":"Kalonia","year":"2022"},{"issue":"5","key":"10.1016\/j.scico.2026.103534_bib0013","first-page":"236","article-title":"Software defect prediction based on SAINT","volume":"13","author":"Mohapatra","year":"2024","journal-title":"Trans. Korea Inf. Process. Soc."},{"key":"10.1016\/j.scico.2026.103534_bib0014","doi-asserted-by":"crossref","first-page":"22582","DOI":"10.1109\/ACCESS.2024.3362896","article-title":"DP-CCL: a supervised contrastive learning approach using CodeBERT model in software defect prediction","volume":"12","author":"Sahar","year":"2024","journal-title":"IEEE Access"},{"key":"10.1016\/j.scico.2026.103534_bib0015","series-title":"2025 IEEE International Conference on Big Data and Smart Computing (BigComp)","first-page":"97","article-title":"Enhancing the software defect prediction using AutoInt","author":"Jadhav","year":"2025"},{"key":"10.1016\/j.scico.2026.103534_bib0016","doi-asserted-by":"crossref","first-page":"5","DOI":"10.1023\/A:1010933404324","article-title":"Random forests","volume":"45","author":"Breiman","year":"2001","journal-title":"Mach. Learn."},{"key":"10.1016\/j.scico.2026.103534_bib0017","series-title":"Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining","first-page":"785","article-title":"XGBoost: a scalable tree boosting system","author":"Chen","year":"2016"},{"key":"10.1016\/j.scico.2026.103534_bib0018","series-title":"Advances in Neural Information Processing Systems","article-title":"CatBoost: unbiased boosting with categorical features","volume":"vol. 31","author":"Prokhorenkova","year":"2018"},{"key":"10.1016\/j.scico.2026.103534_bib0019","article-title":"Software defect prediction based on semantic views of metrics: clustering analysis and model performance analysis","author":"Zhou","year":"2025","journal-title":"Comput. Mater. Contin."},{"key":"10.1016\/j.scico.2026.103534_bib0020","series-title":"Pattern Recognition and Machine Learning","author":"Bishop","year":"2006"},{"key":"10.1016\/j.scico.2026.103534_bib0021","series-title":"Applied Statistics and Probability for Engineers","author":"Montgomery","year":"2014"},{"key":"10.1016\/j.scico.2026.103534_bib0022","unstructured":"R. Xiong, Y. Yang, D. He, K. Zheng, S. Zheng, C. Xing, H. Zhang, Y. Lan, L. Wang, T. Liu, On layer normalization in the transformer architecture, (2020). https:\/\/arxiv.org\/abs\/2002.04745."},{"key":"10.1016\/j.scico.2026.103534_bib0023","series-title":"Matrix Computations","author":"Golub","year":"2013"},{"key":"10.1016\/j.scico.2026.103534_bib0024","series-title":"Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL)","first-page":"634","article-title":"Low-rank approximations of second-order document representations","volume":"not applicable","author":"Lagus","year":"2019"},{"key":"10.1016\/j.scico.2026.103534_bib0025","series-title":"Proceedings of the IEEE\/CVF Winter Conference on Applications of Computer Vision (WACV)","first-page":"1371","article-title":"Deep learning on small datasets without pre-training using cosine loss","author":"Barz","year":"2020"},{"key":"10.1016\/j.scico.2026.103534_bib0026","series-title":"Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering (ENASE)","first-page":"414","article-title":"Recommender systems approaches for software defect prediction: a comparative study","author":"Rhazi","year":"2025"},{"issue":"4\u20135","key":"10.1016\/j.scico.2026.103534_bib0027","doi-asserted-by":"crossref","first-page":"531","DOI":"10.1007\/s10664-011-9173-9","article-title":"Evaluating defect prediction approaches: a benchmark and an extensive comparison","volume":"17","author":"D\u2019Ambros","year":"2012","journal-title":"Empir. Softw. Eng."},{"key":"10.1016\/j.scico.2026.103534_bib0028","series-title":"Proceedings of the 31st International Conference on Software Engineering","article-title":"Towards identifying software project clusters with regard to defect prediction","author":"Zimmermann","year":"2009"},{"key":"10.1016\/j.scico.2026.103534_bib0029","series-title":"FSE","article-title":"Relink: recovering links between bugs and changes","author":"Wu","year":"2011"},{"key":"10.1016\/j.scico.2026.103534_bib0030","doi-asserted-by":"crossref","DOI":"10.1109\/32.295895","article-title":"A metrics suite for object-oriented design","author":"Chidamber","year":"1994","journal-title":"IEEE Trans. Softw. Eng."},{"issue":"1","key":"10.1016\/j.scico.2026.103534_bib0031","doi-asserted-by":"crossref","first-page":"4","DOI":"10.1109\/32.979986","article-title":"A hierarchical model for object-oriented design quality assessment","volume":"28","author":"Bansiya","year":"2002","journal-title":"IEEE Trans. Softw. Eng."},{"key":"10.1016\/j.scico.2026.103534_bib0032","series-title":"Software Metrics: A Rigorous and Practical Approach","author":"Fenton","year":"1997"},{"issue":"4","key":"10.1016\/j.scico.2026.103534_bib0033","doi-asserted-by":"crossref","first-page":"308","DOI":"10.1109\/TSE.1976.233837","article-title":"A complexity measure","volume":"2","author":"McCabe","year":"1976","journal-title":"IEEE Trans. Softw. Eng."},{"key":"10.1016\/j.scico.2026.103534_bib0034","series-title":"Technical Report","article-title":"Structured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric","author":"Watson","year":"1996"},{"key":"10.1016\/j.scico.2026.103534_bib0035","series-title":"Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)","article-title":"FaceNet: a unified embedding for face recognition and clustering","author":"Schroff","year":"2015"},{"key":"10.1016\/j.scico.2026.103534_bib0036","series-title":"Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis","first-page":"101","article-title":"On the use of evaluation measures for defect prediction studies","author":"Moussa","year":"2022"},{"key":"10.1016\/j.scico.2026.103534_bib0037","doi-asserted-by":"crossref","first-page":"113","DOI":"10.1016\/j.patcog.2019.04.005","article-title":"Directional statistics-based deep metric learning for image classification and retrieval","volume":"93","author":"Zhe","year":"2019","journal-title":"Pattern Recognit."},{"key":"10.1016\/j.scico.2026.103534_bib0038","doi-asserted-by":"crossref","first-page":"321","DOI":"10.1613\/jair.953","article-title":"SMOTE: synthetic minority over-sampling technique","volume":"16","author":"Chawla","year":"2002","journal-title":"J. Artif. Intell. Res."},{"issue":"9","key":"10.1016\/j.scico.2026.103534_bib0039","doi-asserted-by":"crossref","first-page":"4577","DOI":"10.3390\/app12094577","article-title":"Software defect prediction using stacking generalization of optimized tree-based ensembles","volume":"12","author":"Alazba","year":"2022","journal-title":"Appl. Sci."},{"key":"10.1016\/j.scico.2026.103534_bib0040","unstructured":"Y. Gorishniy, I. Rubachev, V. Khrulkov, A. Babenko, Revisiting deep learning models for tabular data, (2023). https:\/\/arxiv.org\/abs\/2106.11959."},{"key":"10.1016\/j.scico.2026.103534_bib0041","article-title":"Within-project and cross-project defect prediction based on model averaging","author":"Li","year":"2025","journal-title":"Sci. Rep."}],"container-title":["Science of Computer Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/api.elsevier.com\/content\/article\/PII:S0167642326001000?httpAccept=text\/xml","content-type":"text\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/api.elsevier.com\/content\/article\/PII:S0167642326001000?httpAccept=text\/plain","content-type":"text\/plain","content-version":"vor","intended-application":"text-mining"}],"deposited":{"date-parts":[[2026,7,21]],"date-time":"2026-07-21T00:40:38Z","timestamp":1784594438000},"score":1,"resource":{"primary":{"URL":"https:\/\/linkinghub.elsevier.com\/retrieve\/pii\/S0167642326001000"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10]]},"references-count":41,"alternative-id":["S0167642326001000"],"URL":"https:\/\/doi.org\/10.1016\/j.scico.2026.103534","relation":{},"ISSN":["0167-6423"],"issn-type":[{"value":"0167-6423","type":"print"}],"subject":[],"published":{"date-parts":[[2026,10]]},"assertion":[{"value":"Elsevier","name":"publisher","label":"This article is maintained by"},{"value":"Software defect prediction via contrastive similarity learning and inter-sample attention","name":"articletitle","label":"Article Title"},{"value":"Science of Computer Programming","name":"journaltitle","label":"Journal Title"},{"value":"https:\/\/doi.org\/10.1016\/j.scico.2026.103534","name":"articlelink","label":"CrossRef DOI link to publisher maintained version"},{"value":"article","name":"content_type","label":"Content Type"},{"value":"\u00a9 2026 Elsevier B.V. All rights are reserved, including those for text and data mining, AI training, and similar technologies.","name":"copyright","label":"Copyright"}],"article-number":"103534"}}