Skip to main content
QUICK REVIEW

[Paper Review] Automated labeling of bugs and tickets using attention-based mechanisms in recurrent neural networks

Volodymyr Lyubinets, Taras Boiko|arXiv (Cornell University)|Jul 8, 2018
Topic ModelingComputer Science7 references4 citations
TL;DR

This paper proposes a novel hierarchical attention-based recurrent neural network (RNN) with gated recurrent units (GRUs) and a shallow auxiliary network for automated multi-class labeling of software bugs and support tickets. It outperforms prior methods, achieving 88.2% accuracy and 0.879 F1 score on the Chromium bug tracker dataset, and introduces two publicly available datasets for future research in NLP for software engineering.

ABSTRACT

We explore solutions for automated labeling of content in bug trackers and customer support systems. In order to do that, we classify content in terms of several criteria, such as priority or product area. In the first part of the paper, we provide an overview of existing methods used for text classification. These methods fall into two categories - the ones that rely on neural networks and the ones that don't. We evaluate results of several solutions of both kinds. In the second part of the paper we present our own recurrent neural network solution based on hierarchical attention paradigm. It consists of several Hierarchical Attention network blocks with varying Gated Recurrent Unit cell sizes and a complementary shallow network that goes alongside. Lastly, we evaluate above-mentioned methods when predicting fields from two datasets - Arch Linux bug tracker and Chromium bug tracker. Our contributions include a comprehensive benchmark between a variety of methods on relevant datasets; a novel solution that outperforms previous generation methods; and two new datasets that are made public for further research.

Motivation & Objective

  • To address the challenge of manual, time-consuming labeling of software bugs and customer support tickets across multiple criteria such as priority and product area.
  • To benchmark both classical (e.g., TF-IDF with SVM, Naive Bayes) and modern deep learning methods for multi-class text classification in real-world software and support systems.
  • To develop and evaluate a novel hierarchical attention-based RNN model with GRU cells and a complementary shallow network for improved classification performance.
  • To release two new, publicly available datasets from Arch Linux and Chromium bug trackers to support future research in automated software issue classification.

Proposed method

  • Employs a hierarchical attention mechanism with multiple stacked blocks of gated recurrent units (GRUs) to model text at both word and sentence levels.
  • Uses word embeddings trained via Word2Vec to represent input text, enabling effective learning of semantic representations.
  • Introduces a shallow feedforward network as a complementary branch to the main RNN to enhance feature representation and improve generalization.
  • Applies dropout regularization between RNN and fully connected layers to reduce overfitting, with a dropout rate of 0.5.
  • Optimizes the model using the RMSprop algorithm with learning rate tuned via grid search.
  • Trains the model end-to-end on two real-world datasets: Arch Linux and Chromium bug trackers, with 15% of data reserved for testing.

Experimental results

Research questions

  • RQ1How do classical text classification methods like Naive Bayes and TF-IDF with SVM compare to modern deep learning approaches in classifying software issue labels?
  • RQ2Can a hierarchical attention-based RNN with GRU cells and a shallow auxiliary network outperform existing state-of-the-art models in multi-class bug and ticket labeling?
  • RQ3What is the impact of architectural components such as attention mechanisms and residual connections on classification performance in low-resource, structured text from bug trackers?
  • RQ4How do different hyperparameters, such as dropout rate and learning rate, affect model generalization and robustness on real-world software issue datasets?
  • RQ5To what extent can the proposed model generalize across different domains, such as Linux kernel issues and Chromium feature requests?

Key findings

  • The proposed hierarchical attention RNN with GRUs and a shallow network achieved 69.1% accuracy and 0.579 F1 score on the Arch Linux bug tracker dataset for priority classification (9 classes), outperforming all baselines.
  • On the Chromium bug tracker dataset for type classification (3 classes), the model achieved 88.2% accuracy and 0.879 F1 score, significantly outperforming the next best method (DeepTriage) by 6.6 percentage points in accuracy.
  • Classical methods like TF-IDF with SVM achieved strong results (65.0% accuracy on Arch Linux priority), demonstrating continued relevance in low-resource settings.
  • Naive Bayes performed poorly on multi-class tasks, achieving only 51.6% accuracy on Arch Linux priority, confirming its limitations in complex classification scenarios.
  • The model showed strong performance on the Chromium dataset but underperformed on the product area classification (16 classes) in Arch Linux, suggesting domain-specific challenges in fine-grained categorization.
  • The study released two new public datasets from Arch Linux and Chromium bug trackers, enabling future benchmarking and reproducibility in NLP for software engineering.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.