iTiger: An Automatic Issue Title Generation Tool

Ting Zhang, Ivana Clairine Irsan, Ferdian Thung, DongGyun Han, David Lo, Lingxiao Jiang · DOI

Abstract

In both commercial and open-source software, bug reports and issues are essential for tracking bugs and feature requests. However, the quality of these issues varies significantly. Research indicates that high-quality bug reports receive more attention, and as a primary component of an issue, the title is critical for effective triaging. Issues are often viewed in lists where only the title and metadata are visible; thus, a concise, accurate title is vital for readers to grasp the issue's core concept. While previous work treated title generation as a one-sentence summarization task using sequence-to-sequence models, these approaches required vast amounts of domain-specific data. In this work, we present iTiger, the first tool to fine-tune the BART (Bidirectional and Auto-Regressive Transformers) model for issue title generation. iTiger was fine-tuned on 267,094 GitHub issues and evaluated against the state-of-the-art method, iTAPE. Automatic evaluations show that iTiger outperforms iTAPE by up to 50.8% in ROUGE scores, while manual evaluations show a 72.7% preference for iTiger’s titles. Evaluators found the tool useful, easy to use, and expressed interest in future adoption.

Introduction

In the ecosystem of open-source software, "issue triaging"—the process of reviewing, categorizing, and assigning bug reports—is a significant bottleneck. Maintainers often scan through long lists of issues where the title is the only immediate piece of information available. Vague titles like "It doesn't work" or missing titles entirely can lead to bugs being ignored or delayed in resolution.

While developers are generally proficient at providing detailed descriptions or reproduction steps, they often struggle to summarize this information into a punchy, informative title. Previous attempts to automate this process relied on standard sequence-to-sequence models that required massive amounts of domain-specific data to achieve proficiency. iTiger bridges this gap by leveraging modern transfer learning, utilizing a model already pre-trained on general English and teaching it the specific nuances of software bug reports.

Methodology

The core of iTiger is built upon BART, a pre-trained model renowned for its performance in text summarization tasks. The development of iTiger followed a two-pronged approach:

  1. Fine-Tuning: The researchers utilized the base BART model, which was pre-trained on 160GB of general English text, and fine-tuned it specifically on a large dataset of GitHub issue pairs (description and title). This process allows the model to adapt its general linguistic understanding to technical jargon and the specific structural requirements of bug reports.
  2. Tool Integration: To ensure practical utility, iTiger was implemented as a browser Userscript (via Tampermonkey). This integration adds a "Get Title Suggestion" button directly onto the GitHub "New Issue" page. When triggered, the script sends the description to a FastAPI backend, generates a title, and autofills the title field for the user to review or edit.

Experimental Setup

The study utilized a publicly available dataset of 333,563 GitHub issues collected from the top 200 most-starred repositories. To ensure the quality of the training data, the authors applied several heuristic filtering rules:

  • Removing issues with titles shorter than 5 words or longer than 15 words.
  • Filtering out titles that were direct "copy-pastes" of the description.

The final dataset was split into training, validation, and testing sets using an 8:1:1 ratio, resulting in 267,094 issues used for fine-tuning.

Results and Evaluation

iTiger was compared against iTAPE, the previous state-of-the-art tool for issue title generation, using both automatic metrics and human evaluation.

Automatic Metrics

Using ROUGE (Recall-Oriented Understudy for Gisting Evaluation) scores, iTiger demonstrated significant improvements over iTAPE:

  • ROUGE-1: 29.7% improvement
  • ROUGE-2: 50.7% improvement
  • ROUGE-L: 34.1% improvement

Human Evaluation

A blind study involving Ph.D. students and software engineers revealed a strong preference for iTiger. Evaluators preferred the titles generated by iTiger over those from iTAPE in 72.7% of cases. Furthermore, the tool received a perfect 5/5 for ease-of-use and a 3.8/5 for usefulness, indicating that the tool is not only accurate but also practical for real-world workflows.

Key Insights

  • The Power of Transfer Learning: A model pre-trained on general English (news, books, etc.) performs better at summarizing technical reports than a model trained from scratch on technical data alone. General linguistic structure provides a foundation that carries over into specialized domains.
  • Workflow Integration: By building a browser extension rather than a standalone web portal, iTiger reduces context switching. Meeting developers where they already work (on the GitHub issue page) is crucial for adoption.
  • Human-in-the-Loop: iTiger acts as a suggestion engine rather than a fully autonomous agent. This allows the human reporter to maintain final editorial control, ensuring the title is both automated and verified.

Limitations and Future Work

Despite its success, iTiger has areas for improvement. The quality of the generated title is inherently dependent on the quality of the input description; poor or empty descriptions will result in poor titles. Additionally, the current model is focused exclusively on English-language reports. Future work will involve training on even larger, more diverse datasets and exploring multilingual support to broaden the tool's impact across the global developer community.

Summary updated

BibTeX
@inproceedings{zhang2022itiger,
  author = {Ting Zhang and Ivana Clairine Irsan and Ferdian Thung and DongGyun Han and David Lo and Lingxiao Jiang},
  title = {{iTiger: An Automatic Issue Title Generation Tool}},
  booktitle = {ESEC/SIGSOFT FSE},
  year = {2022},
  doi = {10.1145/3540250.3558934},
}
Figure