MARATTO

article · Transactions on Machine Learning and Artificial Intelligence

AttentiveBugLocator: A Bug Localization Model using Attention-based Semantic Features and Information Retrieval

Abstract

In recent years, deep learning-based algorithms such as CNN, LSTM, and auto-encoders have been proposed to rank suspicious buggy files. Meanwhile, representational learning has served to be the best ap-proach to extract rich semantic features of bug reports and source code to reduce their lexical mismatch. In this paper, we propose AttentiveBu-gLocator, a Siamese-based representational learning model for improved bug localization performance. AttentiveBugLocator employs BERT and code2vec embedding models to produce richer semantic representations and a Siamese BiLSTM network with context attention to learn semantic matching between BRs and SFs. To further improve the effectiveness of AttentiveBugLocator, the semantic matching features are carefully fused with VSM, stack trace, and code complexity features. Evaluation results on four data sets show that AttentiveBugLocator can identify buggy files on the scale of 56% and 62% on MAP and MRR – thus, outperforms sev-eral state-of-the-art approaches.

Research topics

  • Software Engineering Research
  • Topic Modeling
  • Software Engineering Techniques and Practices

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.14738/tecs.122.16373

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.