Mining Intentions to Improve Bug Report Summarization

Beibei Huai, Wenbo Li, Qiansheng Wu, Meiling WangProceedings/Proceedings 2018

Abstract

In recent years, various automatic summarization techniques have been proposed to extract important information from bug reports. However, existing techniques mainly focus on common text features and ignore human intentions implied in bug reports. In fact, each bug report generally contains multiple intentions which are distributed in different sentences. Bug report readers are usually more interested in content that contains intentions of certain categories (e.g. fix solution, bug description). Based on the above observation, we introduce an intention taxonomy and implement the intention classification algorithm in this paper. Furthermore, we propose a new Intention-based Bug Report Summarization approach, namely IBRS, which leverages intention taxonomy to enhance bug report summarization. We evaluate our approach on Intention-BRC corpus and the experimental result shows that IBRS outperforms the state-of-the-art approaches in terms of precision, recall, F-score, and pyramid precision.

Introduction

In large-scale open-source software development, bug reports serve as critical communication channels. However, these reports often become voluminous and cluttered with "noise"—such as stack traces, code snippets, and social interactions—making it difficult for developers to quickly grasp the core issues. While automated summarization tools have been developed to mitigate this, most treat bug reports as generic text, relying on surface-level features like word frequency. This paper argues that the key to better summaries lies in understanding the intent behind each sentence. By identifying whether a contributor is describing a bug, proposing a solution, or expressing an opinion, we can prioritize the information most valuable to developers.

Methodology

The proposed approach, IBRS (Intention-based Bug Report Summarization), follows a structured pipeline involving intention classification and weighted summarization.

Intention Taxonomy and Classification

The authors established a taxonomy of seven intention categories: Bug Description, Fix Solution, Opinion Expressed, Information Seeking, Information Giving, Meta/Code, and Emotion Expressed. To categorize sentences, a hybrid classifier was developed. It first utilizes 231 linguistic patterns (heuristics) to match sentences. If no match is found, a Random Forest classifier, trained on bag-of-words features, is employed.

The IBRS Model

The IBRS model integrates these intention labels into a scoring mechanism. The final importance score for a sentence is a weighted combination of its baseline importance (derived from the existing BRC model) and an "intention weight." This weight reflects the statistical likelihood of a specific intention category appearing in human-curated summaries.

Figure 1: The architecture of the IBRS framework, illustrating the training and testing phases.

Datasets

The model was evaluated using the Intention-BRC Corpus, a re-annotated version of the standard BRC benchmark. This dataset includes 36 bug reports from major projects like Eclipse and Mozilla, with every sentence manually labeled with one of the seven intention categories.

Results and Discussion

Experimental results demonstrate that IBRS significantly improves upon the state-of-the-art BRC model. Precision increased by 5% (from 0.54 to 0.59), and Pyramid Precision—a metric reflecting coverage of information prioritized by multiple humans—also saw a 5% boost.

Figure 4: Performance comparison between IBRS and the baseline BRC* model across different bug reports.

Analysis revealed that "Bug Description" and "Fix Solution" sentences are highly prioritized in summaries, whereas "Meta/Code" and "Emotion Expressed" are often filtered out as noise. Interestingly, even with a classifier accuracy of 59%, the summarization quality improved markedly. Tests using "perfect" human-labeled intentions (IBRS*) showed precision jumping to 65%, indicating that future improvements in intention classification will directly translate to better summaries.

Conclusion

IBRS demonstrates that mining human intentions is a powerful strategy for improving bug report summarization. By filtering technical noise and highlighting actionable content like bug descriptions and fix solutions, the model provides more useful summaries for developers. Future work will explore deep learning architectures for more accurate classification and abstractive summarization techniques to generate more concise, rewritten summaries.

Summary updated

BibTeX
@inproceedings{huai2018mining,
  author = {Beibei Huai and Wenbo Li and Qiansheng Wu and Meiling Wang},
  title = {{Mining Intentions to Improve Bug Report Summarization}},
  booktitle = {Proceedings/Proceedings},
  year = {2018},
  doi = {10.18293/seke2018-096},
}
Figure