Pre-training Code Representation with Semantic Flow Graph for Effective Bug Localization
Open accessThe DOI matches its Crossref record; 84 of the 85 references it cites were found in a registry or an index, and 1 are not checked yet.
Abstract
Enlightened by the big success of pre-training in natural language processing, pre-trained models for programming languages have been widely used to promote code intelligence in recent years. In particular, BERT has been used for bug localization tasks and impressive results have been obtained. However, these BERT-based bug localization techniques suffer from two issues. First, the pre-trained BERT model on source code does not adequately capture the deep semantics of program code. Second, the overall bug localization models neglect the necessity of large-scale negative samples in contrastive learning for representations of changesets and ignore the lexical similarity between bug reports and changesets during similarity estimation. We address these two issues by 1) proposing a novel directed, multiple-label code graph representation named Semantic Flow Graph (SFG), which compactly and adequately captures code semantics, 2) designing and training SemanticCodeBERT based on SFG, and 3) designing a novel Hierarchical Momentum Contrastive Bug Localization technique (HMCBL). Evaluation results show that our method achieves state-of-the-art performance in bug localization.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“unlike the grammatical structure of natural language, the syntactic structure of source code is stricter and more intricate, directly reflecting the program's behavior [9], [12], [63]-[65].”
From Post-Incorporating Code Structural Knowledge Into Pretrained Models via ICL for Code Translation (2025) · cites this paper as [12]
In the citing paper
“mainstream methods based on LLMs often overlook code structural knowledge, whose effectiveness has been validated in prior studies [11], [12], [65].”
From Post-Incorporating Code Structural Knowledge Into Pretrained Models via ICL for Code Translation (2025) · cites this paper as [12]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173 · cited 5×
“In particular, state-of-the-art transformer-based architecture BERT [21] (bidirectional encoder representation from the transformer) has been widely employed [17, 47].”
BackgroundMethodInfluentialBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325 · cited 5×
“In particular, state-of-the-art transformer-based architecture BERT [21] (bidirectional encoder representation from the transformer) has been widely employed [17, 47].”
BackgroundMethodInfluentialMomentum Contrast for Unsupervised Visual Representation Learning
He, K., Fan, H., Wu, Y., Xie, S., & Girshick, R. (2020) · 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr42600.2020.00975 · Cited by 13,347
Representation Learning with Contrastive Predictive Coding
Oord, A. V. D., Li, Y., & Vinyals, O. (2018) · arXiv · doi:10.48550/arxiv.1807.03748 · Cited by 6,242 · cited 2×
“We adopt InfoNCE [59], a form of contrastive loss functions, as our objective function for contrastive matching.”
MethodBillion-scale similarity search with GPUs
Johnson, J., Douze, M., & Jegou, H. (2021) · IEEE Transactions on Big Data · doi:10.1109/tbdata.2019.2921572 · Cited by 4,228
Billion-scale similarity search with GPUs
Johnson, J., Douze, M., & Jégou, H. (2017) · arXiv · doi:10.48550/arxiv.1702.08734 · Cited by 4,140
Unsupervised Feature Learning via Non-parametric Instance Discrimination
Wu, Z., Xiong, Y., Yu, S. X., & Lin, D. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00393 · Cited by 3,664
CodeBERT: A Pre-Trained Model for Programming and Natural Languages
Feng, Z., Guo, D., Tang, D., Duan, N., Feng, X., Gong, M., Shou, L., Qin, B., Liu, T., Jiang, D., et al. (2020) · Findings of the Association for Computational Linguistics: EMNLP 2020 · doi:10.18653/v1/2020.findings-emnlp.139 · Cited by 2,824
ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
Khattab, O., & Zaharia, M. (2020) · Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval · doi:10.1145/3397271.3401075 · Cited by 1,301 · cited 1×
“[40], Ciborowska et. al.”
Empirical evaluation of the tarantula automatic fault-localization technique
Jones, J. A., & Harrold, M. J. (2005) · Proceedings of the 20th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/1101908.1101949 · Cited by 1,238
A Survey on Software Fault Localization
Wong, W. E., Gao, R., Li, Y., Abreu, R., & Wotawa, F. (2016) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2016.2521368 · Cited by 1,110
code2vec: Learning distributed representations of code
Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3290353 · Cited by 962 · cited 1×
“…of code representation ways within the literature: token-based ways that represent code as a sequence of tokens [1, 19, 26, 27], syntactic-based ways that represent code as trees [4–6, 30, 56, 63, 87], and semantic-based ways that represent code as graph structures [3, 7, 8, 12, 20, 25, 43, 92].”
BackgroundConvolutional Neural Networks over Tree Structures for Programming Language Processing
Mou, L., Li, G., Zhang, L., Wang, T., & Jin, Z. (2016) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v30i1.10139 · Cited by 675 · cited 1×
“…of code representation ways within the literature: token-based ways that represent code as a sequence of tokens [1, 19, 26, 27], syntactic-based ways that represent code as trees [4–6, 30, 56, 63, 87], and semantic-based ways that represent code as graph structures [3, 7, 8, 12, 20, 25, 43, 92].”
BackgroundUniXcoder: Unified Cross-Modal Pre-training for Code Representation
Guo, D., Lu, S., Duan, N., Wang, Y., Zhou, M., & Yin, J. (2022) · Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2022.acl-long.499 · Cited by 673
Zhou, J., Zhang, H., & Lo, D. (2012) · 2012 34th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2012.6227210 · Cited by 507 · cited 2×
“For instance, BugLocator [91] makes use of the revised Vector Space Model (rVSM) to establish the textual similarity between the bug report and the source code and then ranks all source code files based on the calculated similarity.”
MethodCodeSearchNet Challenge: Evaluating the State of Semantic Code Search
Husain, H., Wu, H.-H., Gazit, T., Allamanis, M., & Brockschmidt, M. (2019) · arXiv · doi:10.48550/arxiv.1909.09436 · Cited by 483 · cited 2×
“We implement the analyzer for obtaining SFG for Java code and use the Java corpus (including 450,000 functions) of the CodeSearchNet dataset [33] to pre-train SemanticCodeBERT.”
MethodGraphCodeBERT: Pre-training Code Representations with Data Flow
Guo, D., Ren, S., Lu, S., Feng, Z., Tang, D., Liu, S., Zhou, L., Duan, N., Svyatkovskiy, A., Fu, S., et al. (2020) · arXiv · doi:10.48550/arxiv.2009.08366 · Cited by 480 · cited 14×
“However, the existing pre-trained BERT model either totally ignores the code structure by treating code snippet as a sequence of tokens same as natural language or considers only the shallow structure of the code by using graph code representations such as data flow graph [25].”
BackgroundMethodInfluentialDeepFix: Fixing Common C Language Errors by Deep Learning
Gupta, R., Pal, S., Kanade, A., & Shevade, S. (2017) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v31i1.10742 · Cited by 426 · cited 1×
“There are majorly three categories of code representation ways within the literature: token-based ways that represent code as a sequence of tokens [1, 19, 26, 27], syntactic-based ways that represent code as trees [4–6, 30, 55, 62, 86], and semantic-based ways that represent code as graph structures [3, 7, 8, 12, 20,…”
BackgroundOn the naturalness of software
Hindle, A., Barr, E. T., Su, Z., Gabel, M., & Devanbu, P. (2012) · 2012 34th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2012.6227135 · Cited by 425 · cited 2×
“can be exploited to build better software engineering tools” [29], recent years have witnessed many innovations in using machine learning (particularly deep learning) techniques to help make the software more reliable and maintainable.”
BackgroundMethodImproving bug localization using structured information retrieval
Saha, R. K., Lease, M., Khurshid, S., & Perry, D. E. (2013) · 2013 28th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2013.6693093 · Cited by 390 · cited 4×
“• BLUiR [71]: A structured IR-based fault localization tool, which builds AST to extract the program constructs of each source code file and utilizes Okapi BM25 [69] to calculate the similarity between the bug report and the candidate changesets.”
BackgroundMethodInfluentialLearning natural coding conventions
Allamanis, M., Barr, E. T., Bird, C., & Sutton, C. (2014) · Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2635868.2635883 · Cited by 376 · cited 1×
“There are majorly three categories of code representation ways within the literature: token-based ways that represent code as a sequence of tokens [1, 19, 26, 27], syntactic-based ways that represent code as trees [4–6, 30, 55, 62, 86], and semantic-based ways that represent code as graph structures [3, 7, 8, 12, 20,…”
BackgroundMetallaxis‐FL: mutation‐based fault localization
Papadakis, M., & Le Traon, Y. (2015) · Software Testing, Verification and Reliability · doi:10.1002/stvr.1509 · Cited by 371
Expertise in debugging computer programs: A process analysis
Vessey, I. (1985) · International Journal of Man-Machine Studies · doi:10.1016/s0020-7373(85)80054-7 · Cited by 359
SOBER: statistical model-based bug localization
Liu, C., Yan, X., Fei, L., Han, J., & Midkiff, S. P. (2005) · Proceedings of the 10th European software engineering conference held jointly with 13th ACM SIGSOFT international symposium on Foundations of software engineering · doi:10.1145/1081706.1081753 · Cited by 357
DeepBugs: a learning approach to name-based bug detection
Pradel, M., & Sen, K. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3276517 · Cited by 342
On the naturalness of software
Hindle, A., Barr, E. T., Gabel, M., Su, Z., & Devanbu, P. (2016) · Communications of the ACM · doi:10.1145/2902362 · Cited by 307
SPOON: A library for implementing analyses and transformations of Java source code
Pawlak, R., Monperrus, M., Petitprez, N., Noguera, C., & Seinturier, L. (2016) · Software: Practice and Experience · doi:10.1002/spe.2346 · Cited by 261
Experimentation as a way of life: Okapi at TREC
Robertson, S. E., Walker, S., & Beaulieu, M. (2000) · Information Processing & Management · doi:10.1016/s0306-4573(99)00046-1 · Cited by 249
Reducing Features to Improve Code Change-Based Bug Prediction
Shivaji, S., Whitehead, E. J., Akella, R., & Kim, S. (2013) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2012.43 · Cited by 247
Traceability Transformed: Generating More Accurate Links with Pre-Trained BERT Models
Lin, J., Liu, Y., Zeng, Q., Jiang, M., & Cleland‐Huang, J. (2021) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse43902.2021.00040 · Cited by 232 · cited 2×
“In particular, state-ofthe-art transformer-based architecture BERT [21] (bidirectional encoder representation from the transformer) has been widely employed [17, 47].”
BackgroundSemantically Enhanced Software Traceability Using Deep Learning Techniques
Guo, J., Cheng, J., & Cleland-Huang, J. (2017) · 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2017.9 · Cited by 232 · cited 1×
“There are majorly three categories of code representation ways within the literature: token-based ways that represent code as a sequence of tokens [1, 19, 26, 27], syntactic-based ways that represent code as trees [4–6, 30, 55, 62, 86], and semantic-based ways that represent code as graph structures [3, 7, 8, 12, 20,…”
BackgroundBug Localization with Combination of Deep Learning and Information Retrieval
Lam, A. N., Nguyen, A. T., Nguyen, H. A., & Nguyen, T. N. (2017) · 2017 IEEE/ACM 25th International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2017.24 · Cited by 194 · cited 2×
“Given that deep learning architectures are capable of leveraging contextual information and have achieved impressive progress in natural language processing, a number of bug localization techniques based on the neural network have been proposed in recent years [17, 32, 44, 54, 56, 63, 82, 93, 94].”
BackgroundWhere Should We Fix This Bug? A Two-Phase Recommendation Model
Kim, D., Tao, Y., Kim, S., & Zeller, A. (2013) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2013.24 · Cited by 185 · cited 1×
“The matched software artifact at the early phase of bug localization research focuses on code elements such as classes and methods [41, 71], but recent years have witnessed a growing interest in changesets [18, 67, 78, 80].”
BackgroundEnd-to-End Deep Learning of Optimization Heuristics
Cummins, C., Petoumenos, P., Wang, Z., & Leather, H. (2017) · 2017 26th International Conference on Parallel Architectures and Compilation Techniques (PACT) · doi:10.1109/pact.2017.24 · Cited by 179 · cited 1×
“There are majorly three categories of code representation ways within the literature: token-based ways that represent code as a sequence of tokens [1, 19, 26, 27], syntactic-based ways that represent code as trees [4–6, 30, 55, 62, 86], and semantic-based ways that represent code as graph structures [3, 7, 8, 12, 20,…”
BackgroundLocus: locating bugs from software changes
Wen, M., Wu, R., & Cheung, S.-C. (2016) · Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/2970276.2970359 · Cited by 172 · cited 8×
“While we do believe tangled changes can affect our results, the dataset has been widely used for changeset-based bug localization studies [17, 78], and removing tangled changes completely is extraordinarily difficult.”
BackgroundMethodResultInfluentialBoosting coverage-based fault localization via graph-based representation learning
Lou, Y., Zhu, Q., Dong, J., Li, X., Sun, Z., Hao, D., Zhang, L., & Zhang, L. (2021) · Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3468264.3468580 · Cited by 163
(2014) · doi:10.1145/2635868.2635901 · Cited by 159 · cited 1×
“…of code representation ways within the literature: token-based ways that represent code as a sequence of tokens [1, 19, 26, 27], syntactic-based ways that represent code as trees [4–6, 30, 56, 63, 87], and semantic-based ways that represent code as graph structures [3, 7, 8, 12, 20, 25, 43, 92].”
BackgroundA Survey of Machine Learning for Big Code and Naturalness
Allamanis, M., Barr, E. T., Devanbu, P., & Sutton, C. (2019) · ACM Computing Surveys · doi:10.1145/3212695 · Cited by 150 · cited 2×
“The representation, on the one hand, should capture enough code semantics, and on the other hand, should be learnable across code written by different developers or even different programming languages [2].”
BackgroundStatistical Deobfuscation of Android Applications
Bichsel, B., Raychev, V., Tsankov, P., & Vechev, M. (2016) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/2976749.2978422 · Cited by 136 · cited 2×
“There are majorly three categories of code representation ways within the literature: token-based ways that represent code as a sequence of tokens [1, 19, 26, 27], syntactic-based ways that represent code as trees [4–6, 30, 55, 62, 86], and semantic-based ways that represent code as graph structures [3, 7, 8, 12, 20,…”
BackgroundMethodHow to design a program repair bot? insights from the repairnator project
Urli, S., Yu, Z., Seinturier, L., & Monperrus, M. (2018) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1145/3183519.3183540 · Cited by 136 · cited 2×
“Among them, information retrieval-based methods typically proceed by establishing the relevance between bug reports and related software artifacts on the ground of information retrieval techniques, and this category of methods is appealing as it is amenable to the mainstream development practice which features continu…”
Self-citationA general path-based representation for predicting program properties
Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2018) · Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/3192366.3192412 · Cited by 131
Liu, C., Yan, X., Long, F., Han, J., & Midkiff, S. P. (2005) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/1095430.1081753 · Cited by 117
Improving IR-based bug localization with context-aware query reformulation
Rahman, M. M., & Roy, C. K. (2018) · Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3236024.3236065 · Cited by 108 · cited 3×
“The matched software artifact at the early phase of bug localization research focuses on code elements such as classes and methods [41, 71], but recent years have witnessed a growing interest in changesets [18, 67, 78, 80].”
BackgroundYu, Z., Martínez, M., Danglot, B., Durieux, T., & Monperrus, M. (2018) · Empirical Software Engineering · doi:10.1007/s10664-018-9619-4 · Cited by 107 · cited 1×
“To tackle the ever-growing high costs involved in debugging, a variety of automatic techniques have been proposed as debugging aids for developers over the past decades [87].”
BackgroundSelf-citationBui, N. D. Q., Yu, Y., & Jiang, L. (2021) · Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval · doi:10.1145/3404835.3462840 · Cited by 103
How Practitioners Perceive Automated Bug Report Management Techniques
Zou, W., Lo, D., Chen, Z., Xia, X., Feng, Y., & Xu, B. (2020) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2870414 · Cited by 96
Neural reverse engineering of stripped binaries using augmented control flow graphs
David, Y., Alon, U., & Yahav, E. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428293 · Cited by 84 · cited 2×
“There are majorly three categories of code representation ways within the literature: token-based ways that represent code as a sequence of tokens [1, 19, 26, 27], syntactic-based ways that represent code as trees [4–6, 30, 55, 62, 86], and semantic-based ways that represent code as graph structures [3, 7, 8, 12, 20,…”
BackgroundMethodEvaluating SZZ Implementations Through a Developer-Informed Oracle
Rosa, G., Pascarella, L., Scalabrino, S., Tufano, R., Bavota, G., Lanza, M., & Oliveto, R. (2021) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse43902.2021.00049 · Cited by 84
C4: contrastive cross-language code clone detection
Tao, C., Zhang, Q., Hu, X., & Xia, X. (2022) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3524610.3527911 · Cited by 83
Deep Transfer Bug Localization
Huo, X., Thung, F., Li, M., Lo, D., & Shi, S.-T. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2920771 · Cited by 78
Ni, C., Wang, W., Yang, K., Xia, X., Liu, K., & Lo, D. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549165 · Cited by 76
Exploiting Code Knowledge Graph for Bug Localization via Bi-directional Attention
Zhang, J., Xie, R., Ye, W., Zhang, Y., & Zhang, S. (2020) · International Conference on Program Comprehension · doi:10.1145/3387904.3389281 · Cited by 66
A Universal Data Augmentation Approach for Fault Localization
Xie, H., Lei, Y., Yan, M., Yu, Y., Xia, X., & Mao, X.-G. (2022) · International Conference on Software Engineering · doi:10.1145/3510003.3510136 · Cited by 64 · cited 1×
“Given that deep learning architectures are capable of leveraging contextual information and have achieved impressive progress in natural language processing, a number of bug localization techniques based on the neural network have been proposed in recent years [17, 32, 44, 54, 56, 63, 82, 93, 94].”
BackgroundMasked Contrastive Learning for Anomaly Detection
Cho, H., Seol, J., & Lee, S. (2021) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2021/198 · Cited by 60
Fast changeset-based bug localization with BERT
Ciborowska, A., & Damevski, K. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510042 · Cited by 60
ChangeLocator: locate crash-inducing changes based on crash reports
Wu, R., Wen, M., Cheung, S.-C., & Zhang, H. (2017) · Empirical Software Engineering · doi:10.1007/s10664-017-9567-4 · Cited by 55
Control Flow Graph Embedding Based on Multi-Instance Decomposition for Bug Localization
Huo, X., Li, M., & Zhou, Z.-H. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i04.5844 · Cited by 55
VarCLR: variable semantic representation pre-training via contrastive learning
Chen, Q., Lacomis, J., Schwartz, E. J., Neubig, G., Vasilescu, B., & Goues, C. L. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510162 · Cited by 51
Exploring Software Naturalness through Neural Language Models
Buratti, L., Pujar, S., Bornea, M. A., McCarley, S., Zheng, Y., Rossiello, G., Morari, A., Laredo, J., Thost, V., Zhuang, Y., et al. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.12641 · Cited by 51 · cited 1×
“[10] propose C-BERT, a transformer-based language model that is pre-trained on the C language corpus for code analysis tasks.”
MethodDreamLoc: A Deep Relevance Matching-Based Framework for bug Localization
Qi, B., Sun, H., Yuan, W., Zhang, H., & Meng, X. (2021) · IEEE Transactions on Reliability · doi:10.1109/tr.2021.3104728 · Cited by 47
Scaffle: bug localization on millions of files
Pradel, M., Murali, V., Qian, R., Machalica, M., Meijer, E., & Chandra, S. (2020) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3395363.3397356 · Cited by 46 · cited 1×
“The investigated software artifacts can be majorly divided into two categories: code elements such as classes and methods [31, 41, 42, 46, 50–53, 58, 62, 67, 71–73, 90, 94] and changesets [18, 68, 79, 81].”
BackgroundIndustry-Scale IR-Based Bug Localization: A Perspective from Facebook
Murali, V., Gross, L., Qian, R., & Chandra, S. (2021) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip52600.2021.00028 · Cited by 43 · cited 3×
“[56] propose Bug2Commit, which is an unsupervised model leveraging multiple dimensions of data associated with bug reports and commits.”
BackgroundAutomatically generating features for learning program analysis heuristics for C-like languages
Chae, K., Oh, H., Heo, K., & Yang, H. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3133925 · Cited by 37 · cited 2×
“There are majorly three categories of code representation ways within the literature: token-based ways that represent code as a sequence of tokens [1, 19, 26, 27], syntactic-based ways that represent code as trees [4–6, 30, 55, 62, 86], and semantic-based ways that represent code as graph structures [3, 7, 8, 12, 20,…”
BackgroundMethodTraceCRL: contrastive representation learning for microservice trace analysis
Zhang, C., Peng, X., Zhou, T., Sha, C., Yan, Z., Chen, Y., & Yang, H. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549146 · Cited by 36
Cross-modal Knowledge Graph Contrastive Learning for Machine Learning Method Recommendation
Cao, X., Shi, Y., Wang, J., Yu, H., Wang, X., & Yan, Z. (2022) · Proceedings of the 30th ACM International Conference on Multimedia · doi:10.1145/3503161.3548273 · Cited by 35
CooBa: Cross-project Bug Localization via Adversarial Transfer Learning
Zhu, Z., Li, Y., Tong, H., & Wang, Y. (2020) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2020/493 · Cited by 28
Does the Failing Test Execute a Single or Multiple Faults? An Approach to Classifying Failing Tests
Yu, Z., Bai, C., & Cai, K. (2015) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2015.102 · Cited by 27 · cited 1×
“In particular, numerous methods have been developed to facilitate fault localization, which aims to identify the exact locations of program bugs and is one of the most expensive, tedious, and time-consuming activities in debugging [79, 84].”
MethodSelf-citationMulti-queue Momentum Contrast for Microvideo-Product Retrieval
Du, Y., Wei, Y., Ji, W., Liu, F., Luo, X., & Nie, L. (2023) · ACM International Conference on Web Search and Data Mining (WSDM) · doi:10.1145/3539597.3570405 · Cited by 26
Self-citationA deep multimodal model for bug localization
Zhu, Z., Li, Y., Wang, Y., Wang, Y., & Tong, H. (2021) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-021-00755-7 · Cited by 23
GUI Software Fault Localization Using N-gram Analysis
Yu, Z., Hu, H. Y., Bai, C., Cai, K., & Wong, W. E. (2011) · IEEE International Symposium on High Assurance Systems Engineering (HASE) · doi:10.1109/hase.2011.29 · Cited by 21 · cited 1×
“The literature on fault localization is rich and is abundant with methods stemming from ideas that originate from several different disciplines, notably including statistical analysis [37, 48, 83, 85], program transformation [59], information retrieval [67, 70].”
BackgroundSelf-citationLaprob: A Label propagation-Based software bug localization method
Li, Z., Jiang, Z., Chen, X., Cao, K., & Gu, Q. (2020) · Information and Software Technology · doi:10.1016/j.infsof.2020.106410 · Cited by 21
Mutation-oriented test data augmentation for GUI software fault localization
Yu, Z., Bai, C., & Cai, K. (2013) · Information and Software Technology · doi:10.1016/j.infsof.2013.07.004 · Cited by 20 · cited 1×
“The literature on fault localization is rich and is abundant with methods stemming from ideas that originate from several different disciplines, notably including statistical analysis [37, 48, 84, 86], program transformation [60], information retrieval [68, 71].”
BackgroundSelf-citationWang, X., Yin, K., Ouyang, Q., Wen, X., Zhang, S., Zhang, W., Cao, L., Han, J., Jin, X., & Pei, D. (2022) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre55969.2022.00043 · Cited by 20
Learning the Relation Between Code Features and Code Transforms With Structured Prediction
Yu, Z., Martínez, M., Chen, Z., Bissyandé, T. F., & Monperrus, M. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2023.3275380 · Cited by 17
Self-citationEnhancing bug localization with bug report decomposition and code hierarchical network
Zhu, Z., Tong, H., Wang, Y., & Li, Y. (2022) · Knowledge-Based Systems · doi:10.1016/j.knosys.2022.108741 · Cited by 17
Ma, Y.-F., & Li, M. (2022) · Machine Learning · doi:10.1007/s10994-021-06078-4 · Cited by 16
JITO: a tool for just-in-time defect identification and localization
Qiu, F., Yan, M. L., Xia, X., Wang, X., Fan, Y., Hassan, A. E., & Lo, D. (2020) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3368089.3417927 · Cited by 14
SFLKit: a workbench for statistical fault localization
Smytzek, M., & Zeller, A. (2022) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3540250.3558915 · Cited by 11
DigBug—Pre/post-processing operator selection for accurate bug localization
Kim, K., Ghatpande, S., Liu, K., Koyuncu, A., Kim, D., Bissyandé, T. F., Klein, J., & Traon, Y. L. (2022) · Journal of Systems and Software · doi:10.1016/j.jss.2022.111300 · Cited by 10
Mahajan, G., & Chaudhary, N. (2022) · Soft Computing · doi:10.1007/s00500-022-07341-z · Cited by 10 · cited 1×
“Given that deep learning architectures are capable of leveraging contextual information and have achieved impressive progress in natural language processing, a number of bug localization techniques based on the neural network have been proposed in recent years [17, 32, 44, 54, 56, 63, 82, 93, 94].”
BackgroundMa, Y.-F., & Li, M. (2022) · Proceedings · doi:10.1109/icdm54844.2022.00040 · Cited by 7
Online Adaptable Bug Localization for Rapidly Evolving SoftwarePreprint
Ciborowska, A., Decker, M. J., & Damevski, K. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2203.03544 · Cited by 6 · cited 2×
“The matched software artifact at the early phase of bug localization research focuses on code elements such as classes and methods [41, 71], but recent years have witnessed a growing interest in changesets [18, 67, 78, 80].”
BackgroundMa, Y.-F., Du, Y., & Li, M. (2023) · Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2023/249 · Cited by 4
Self-citationeMoCo: Sentence Representation Learning With Enhanced Momentum Contrast
Qi, S., Jin, R., & Paik, J. (2022) · doi:10.1145/3569966.3570013 · Cited by 2
Research works printed but not linked: 13
- Miltiadis Allamanis, Marc Brockschmidt, and Mahmoud Khademi. 2018. Learning to Represent Programs with Graphs. In International Conference on Learning Representations.
- Tal Ben-Nun, Alice Shoshana Jakobovits, and Torsten Hoefler. 2018. Neural Code Comprehension: A Learnable Representation of Code Semantics. In Proceedings of the 32nd International Conference on Neural Information Processing Systems.
- Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. 2020. A simple framework for contrastive learning of visual representations. In Interna- tional conference on machine learning. PMLR.
- Xinlei Chen, Haoqi Fan, Ross B. Girshick, and Kaiming He. 2020. Improved Baselines with Momentum Contrastive Learning. CoRR (2020).
- Sergey Ioffe and Christian Szegedy. 2015. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International conference on machine learning.
- Xue Jiang, Zhuoran Zheng, Chen Lyu, Liang Li, and Lei Lyu. 2021. Treebert: A tree-based pre-trained model for programming language. In Uncertainty in Artificial Intelligence. PMLR.
- Minguk Kang and Jaesik Park. 2020. ContraGAN: Contrastive Learning for Conditional Image Generation. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020.
- Ted Kremenek, Andrew Y. Ng, and Dawson Engler. 2007. A Factor Graph Model for Software Bug Finding. In Proceedings of the 20th International Joint Conference on Artifical Intelligence. Morgan Kaufmann Publishers Inc. · doi:10.5555/1625275.1625680
- Hao Lan, Li Chen, and Baochun Li. 2021. Accelerated Device Placement Opti- mization with Contrastive Learning. In ICPP 2021: 50th International Conference on Parallel Processing. ACM.
- Ilya Loshchilov and Frank Hutter. 2019. Decoupled Weight Decay Regularization. In 7th International Conference on Learning Representations. OpenReview.net.
- Andrew L Maas, Awni Y Hannun, Andrew Y Ng, et al. 2013. Rectifier nonlineari- ties improve neural network acoustic models. In Proc. icml.
- 10.5555/3015812.3016002 · doi:10.5555/3015812.3016002
- Yiyue Qian, Yiming Zhang, Qianlong Wen, Yanfang Ye, and Chuxu Zhang. 2022. Rep2Vec: Repository Embedding via Heterogeneous Graph Adversarial Con- trastive Learning. In KDD '22: The 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. ACM.
Cited by
Large Language Models for Software Engineering: A Systematic Literature Review
Hou, X., Zhao, Y., Liu, Y., Yang, Z., Wang, K., Li, L., Luo, X., Lo, D., Grundy, J., & Wang, H. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3695988 · Cited by 1,029
Large Language Models for Cyber Security: A Systematic Literature Review
Xu, H., Wang, S., Li, N., Wang, K., Zhao, Y., Chen, K., Yu, T., Liu, Y., & Wang, H. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3769676 · Cited by 189
“The dominance of decoder-only LLMs in cybersecurity research aligns with the broader trends in the LLM community.”
A survey on large language models for software engineering
Zhang, Q., Fang, C., Xie, Y., Zhang, Y., Yu, S., Sun, W., Yang, Y., & Chen, Z. (2026) · Science China Information Sciences · doi:10.1007/s11432-025-4670-0 · Cited by 124
Jaffal, N. O., Alkhanafseh, M., & Mohaisen, D. (2025) · AI · doi:10.3390/ai6090216 · Cited by 69
Large Language Models for Equivalent Mutant Detection: How Far Are We?
Tian, Z., Shu, H., Wang, D., Cao, X., Kamei, Y., & Chen, J. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3680395 · Cited by 51
“These models have been widely adopted in the literature [16, 77, 85], including: • CodeBERT [18] is a popular pre-trained model designed to learn from bimodal data encompassing both source code and natural languages, using a multilayer Transformer architecture.”
Metadata
- Authors
- Du, Y., & Yu, Z.
- Affiliations
- Shandong University (CN)
- Venue
- Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering
- Publisher
- ACM
- Published
- 2023-11-30
- Pages
- 579-591
- OpenAlex
- W4389160736
- Semantic Scholar
- 80e87ce4ceb8029db2e2c45908dca41e4d791d52
- Cited by
- 19
- References
- 67
- Citations by year
- 2026: 4 · 2025: 10 · 2024: 4 · 2023: 1
- FWCI
- 4.89
- Type
- conference paper
- Language
- en
- Open access
- bronze
- doi.org
- Locations
- ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- Shandong University
- National Natural Science Foundation of China (62102233)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Keywords
- bug localization, momentum contrastive learning, bug reports, word similarity, pre-trained code models, BERT
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.