Compositional Vector Space Models for Improved Bug Localization
Software developers and maintainers often need to locate code units responsible for a particular bug. A number of Information Retrieval (IR) techniques have been proposed to map natural language bug descriptions to the associated code units. The vector space model (VSM) with the standard tf-idf weig...
Saved in:
Main Authors: | , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2014
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/2427 https://ink.library.smu.edu.sg/context/sis_research/article/3427/viewcontent/wang_icsme.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-3427 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-34272015-11-21T05:10:20Z Compositional Vector Space Models for Improved Bug Localization Wang, Shaowei LO, David Lawall, Julia Software developers and maintainers often need to locate code units responsible for a particular bug. A number of Information Retrieval (IR) techniques have been proposed to map natural language bug descriptions to the associated code units. The vector space model (VSM) with the standard tf-idf weighting scheme (VSMnatural), has been shown to outperform nine other state-of-the-art IR techniques. However, there are multiple VSM variants with different weighting schemes, and their relative performance differs for different software systems. Based on this observation, we propose to compose various VSM variants, modelling their composition as an optimization problem. We propose a genetic algorithm (GA) based approach to explore the space of possible compositions and output a heuristically near-optimal composite model. We have evaluated our approach against several baselines on thousands of bug reports from AspectJ, Eclipse, and SWT. On average, our approach (VSMcomposite ) improves hit at 5 (Hit@5), mean average precision (MAP), and mean reciprocal rank (MRR) scores of VSMnatural by 18.4%, 20.6%, and 10.5% respectively. We also integrate our compositional model with AmaLgam, which is a stateof-art bug localization technique. The resultant model named AmaLgam composite on average can improve Hit@5, MAP, and MRR scores of AmaLgam by 8.0%, 14.4% and 6.5% respectively. 2014-10-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/2427 info:doi/10.1109/ICSME.2014.39 https://ink.library.smu.edu.sg/context/sis_research/article/3427/viewcontent/wang_icsme.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University genetic algorithms information retrieval natural language processing program debugging software maintenance vectors Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
genetic algorithms information retrieval natural language processing program debugging software maintenance vectors Software Engineering |
spellingShingle |
genetic algorithms information retrieval natural language processing program debugging software maintenance vectors Software Engineering Wang, Shaowei LO, David Lawall, Julia Compositional Vector Space Models for Improved Bug Localization |
description |
Software developers and maintainers often need to locate code units responsible for a particular bug. A number of Information Retrieval (IR) techniques have been proposed to map natural language bug descriptions to the associated code units. The vector space model (VSM) with the standard tf-idf weighting scheme (VSMnatural), has been shown to outperform nine other state-of-the-art IR techniques. However, there are multiple VSM variants with different weighting schemes, and their relative performance differs for different software systems. Based on this observation, we propose to compose various VSM variants, modelling their composition as an optimization problem. We propose a genetic algorithm (GA) based approach to explore the space of possible compositions and output a heuristically near-optimal composite model. We have evaluated our approach against several baselines on thousands of bug reports from AspectJ, Eclipse, and SWT. On average, our approach (VSMcomposite ) improves hit at 5 (Hit@5), mean average precision (MAP), and mean reciprocal rank (MRR) scores of VSMnatural by 18.4%, 20.6%, and 10.5% respectively. We also integrate our compositional model with AmaLgam, which is a stateof-art bug localization technique. The resultant model named AmaLgam composite on average can improve Hit@5, MAP, and MRR scores of AmaLgam by 8.0%, 14.4% and 6.5% respectively. |
format |
text |
author |
Wang, Shaowei LO, David Lawall, Julia |
author_facet |
Wang, Shaowei LO, David Lawall, Julia |
author_sort |
Wang, Shaowei |
title |
Compositional Vector Space Models for Improved Bug Localization |
title_short |
Compositional Vector Space Models for Improved Bug Localization |
title_full |
Compositional Vector Space Models for Improved Bug Localization |
title_fullStr |
Compositional Vector Space Models for Improved Bug Localization |
title_full_unstemmed |
Compositional Vector Space Models for Improved Bug Localization |
title_sort |
compositional vector space models for improved bug localization |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2014 |
url |
https://ink.library.smu.edu.sg/sis_research/2427 https://ink.library.smu.edu.sg/context/sis_research/article/3427/viewcontent/wang_icsme.pdf |
_version_ |
1770572143028862976 |