A Deep Learning-Based Approach for Detecting Duplicate GitHub Issues in Open-Source Repositories Using LSTM

GitHub is a platform used along with the popular version control tool Git to provide hosting facilities to software repositories. Users can publish GitHub issues to notify the repository contributors about bugs, questions, and feature requests. GitHub hosts open-source repositories that are contributed by developers across the globe. The asynchronous and uncoordinated nature of these contributions in open-source repositories, increases the probability of posting duplicate GitHub issues, resulting in redundant efforts. The standard mechanism introduced by GitHub to mark duplicate issues is, adding a comment to that issue body mentioning the original issue. Then GitHub will add the corresponding duplicate tag and close that issue. However, due to manual labor, it requires to find duplicates, discourages developers from seeking similar issues before publishing a new issue to GitHub. The study’s main objective is to address this problem and propose an automated solution using deep learning algorithms. Our research introduces a novel approach that combines feature extraction and similarity calculations to identify duplicate GitHub issues. The proposed methodology extracted over 4000 GitHub issues covering different programming languages and repositories. After pre-processing, various features were extracted using multiple feature extraction techniques, and semantic similarity metrics such as cosine similarity were utilized to create the feature vector. The feature vector was used with different algorithms like Artificial Neural Network (ANN) and Recurrent Neural Network (RNN) including deep-learning algorithms like Long Short-Term Memory (LSTM) and Convolutional Neural Network (CNN). Algorithm results are compared to detect the most suitable approach for detecting Duplicate GitHub Issues. Based on the different evaluations, LSTM is the better approach resulting in 88% accuracy with the highest precision, recall, and f-measures while giving the lowest error rates. With this proposed methodology, Duplicate GitHub issues can be easily detected reducing the manual work.

Authors

Institutions

Publication Details

Published
2025-04-03
DOI
https://doi.org/10.1109/scse65633.2025.11030976
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Deep Learning-Based Approach for Detecting Duplicate GitHub Issues in Open-Source Repositories Using LSTM

Thanuja Dharmadasa, R. A. H. M. Rupasingha, Banage T. G. S. Kumara
Software Engineering Research
article

A Deep Learning-Based Approach for Detecting Duplicate GitHub Issues in Open-Source Repositories Using LSTM

Thanuja Dharmadasa, R. A. H. M. Rupasingha, Banage T. G. S. Kumara
article en

Abstract

GitHub is a platform used along with the popular version control tool Git to provide hosting facilities to software repositories. Users can publish GitHub issues to notify the repository contributors about bugs, questions, and feature requests. GitHub hosts open-source repositories that are contributed by developers across the globe. The asynchronous and uncoordinated nature of these contributions in open-source repositories, increases the probability of posting duplicate GitHub issues, resulting in redundant efforts. The standard mechanism introduced by GitHub to mark duplicate issues is, adding a comment to that issue body mentioning the original issue. Then GitHub will add the corresponding duplicate tag and close that issue. However, due to manual labor, it requires to find duplicates, discourages developers from seeking similar issues before publishing a new issue to GitHub. The study’s main objective is to address this problem and propose an automated solution using deep learning algorithms. Our research introduces a novel approach that combines feature extraction and similarity calculations to identify duplicate GitHub issues. The proposed methodology extracted over 4000 GitHub issues covering different programming languages and repositories. After pre-processing, various features were extracted using multiple feature extraction techniques, and semantic similarity metrics such as cosine similarity were utilized to create the feature vector. The feature vector was used with different algorithms like Artificial Neural Network (ANN) and Recurrent Neural Network (RNN) including deep-learning algorithms like Long Short-Term Memory (LSTM) and Convolutional Neural Network (CNN). Algorithm results are compared to detect the most suitable approach for detecting Duplicate GitHub Issues. Based on the different evaluations, LSTM is the better approach resulting in 88% accuracy with the highest precision, recall, and f-measures while giving the lowest error rates. With this proposed methodology, Duplicate GitHub issues can be easily detected reducing the manual work.

Sabaragamuwa University of Sri Lanka (LK)
Openalex Percentile: Top 81%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.