Fast Changeset-based Bug Localization with BERT
Not on the map. Why?
Abstract (arXiv)
Automatically localizing software bugs to the changesets that induced them has the potential to improve software developer efficiency and to positively affect software quality. To facilitate this automation, a bug report has to be effectively matched with source code changes, even when a significant lexical gap exists between natural language used to describe the bug and identifier naming practices used by developers. To bridge this gap, we need techniques that are able to capture software engineering-specific and project-specific semantics in order to detect relatedness between the two types of documents that goes beyond exact term matching. Popular transformer-based deep learning architectures, such as BERT, excel at leveraging contextual information, hence appear to be a suitable candidate for the task. However, BERT-like models are computationally expensive, which precludes them from being used in an environment where response time is important. In this paper, we describe how BERT can be made fast enough to be applicable to changeset-based bug localization. We also explore several design decisions in using BERT for this purpose, including how best to encode changesets and how to match bug reports to individual changes for improved accuracy. We compare the accuracy and performance of our model to a non-contextual baseline (i.e., vector space model) and BERT-based architectures previously used in software engineering. Our evaluation results demonstrate advantages in using the proposed BERT model compared to the baselines, especially for bug reports that lack any hints about related code elements.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). First posted on arXiv 28 Dec 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 5; 2024: 3; 2025: 3; 2026: 2.
13 papers.
Sort:
By area:
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 76
- 2023RLocator: Reinforcement Learning for Bug Localizationcited by 7
- 2024BLAZE: Cross-Language and Cross-Project Bug Localization via Dynamic Chunking and Hard Example Learningcited by 7
- 2025Improved IR-based Bug Localization with Intelligent Relevance Feedbackcited by 5
- 2025Generative AI for Self-Adaptive Systems: State of the Art and Research Roadmapcited by 5
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsificationcited by 2
- 2025Taming System Complexity: Demystifying Software Engineering Agents in Diagnosing Linux Kernel Faultscited by 2
- 2023Exploring Large Language Models in Resolving Environment-Related Crash Bugs: Localizing and Repairingcited by 1
- 2024Studying the Impact of TensorFlow and PyTorch Bindings on Machine Learning Software Qualitycited by 1
- 2023Skill over Scale: The Case for Medium, Domain-Specific Models for SEcited by 0
- 2026Improved Bug Localization with AI Agents Leveraging Hypothesis and Dynamic Cognitioncited by 0
- 2026From Codebase to Culprit (C2C): Reducing the Search Space for Bugs with Semantic Retrieval and Hierarchical Reinforcement Learning29 Sep 2026
- 2026Improved Bug Localization with AI Agents Leveraging Hypothesis and Dynamic Cognition18 Jan 2026
- 2025Generative AI for Self-Adaptive Systems: State of the Art and Research Roadmap4 Dec 2025
- 2025Taming System Complexity: Demystifying Software Engineering Agents in Diagnosing Linux Kernel Faults26 May 2025
- 2025Improved IR-based Bug Localization with Intelligent Relevance Feedback17 Jan 2025
- 2024BLAZE: Cross-Language and Cross-Project Bug Localization via Dynamic Chunking and Hard Example Learning24 Jul 2024
- 2024Studying the Impact of TensorFlow and PyTorch Bindings on Machine Learning Software Quality7 Jul 2024
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsification14 Apr 2024
- 2023Exploring Large Language Models in Resolving Environment-Related Crash Bugs: Localizing and Repairing16 Dec 2023
- 2023Large Language Models for Software Engineering: A Systematic Literature Review21 Aug 2023
- 2023Skill over Scale: The Case for Medium, Domain-Specific Models for SE5 Jun 2023
- 2023RLocator: Reinforcement Learning for Bug Localization9 May 2023
1 more
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 76
- 2023RLocator: Reinforcement Learning for Bug Localizationcited by 7
- 2024BLAZE: Cross-Language and Cross-Project Bug Localization via Dynamic Chunking and Hard Example Learningcited by 7
- 2025Improved IR-based Bug Localization with Intelligent Relevance Feedbackcited by 5
- 2025Generative AI for Self-Adaptive Systems: State of the Art and Research Roadmapcited by 5
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsificationcited by 2
- 2023Exploring Large Language Models in Resolving Environment-Related Crash Bugs: Localizing and Repairingcited by 1
- 2024Studying the Impact of TensorFlow and PyTorch Bindings on Machine Learning Software Qualitycited by 1
- 2023Skill over Scale: The Case for Medium, Domain-Specific Models for SEcited by 0
- 2026From Codebase to Culprit (C2C): Reducing the Search Space for Bugs with Semantic Retrieval and Hierarchical Reinforcement Learningcited by 0
- 2026From Codebase to Culprit (C2C): Reducing the Search Space for Bugs with Semantic Retrieval and Hierarchical Reinforcement Learning29 Sep 2026
- 2025Generative AI for Self-Adaptive Systems: State of the Art and Research Roadmap4 Dec 2025
- 2025Improved IR-based Bug Localization with Intelligent Relevance Feedback17 Jan 2025
- 2024BLAZE: Cross-Language and Cross-Project Bug Localization via Dynamic Chunking and Hard Example Learning24 Jul 2024
- 2024Studying the Impact of TensorFlow and PyTorch Bindings on Machine Learning Software Quality7 Jul 2024
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsification14 Apr 2024
- 2023Exploring Large Language Models in Resolving Environment-Related Crash Bugs: Localizing and Repairing16 Dec 2023
- 2023Large Language Models for Software Engineering: A Systematic Literature Review21 Aug 2023
- 2023Skill over Scale: The Case for Medium, Domain-Specific Models for SE5 Jun 2023
- 2023RLocator: Reinforcement Learning for Bug Localization9 May 2023
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?24 Apr 2023